From 0505cac00aaa503c9f5034867956c789b69df389 Mon Sep 17 00:00:00 2001 From: Alexander Dahmen Date: Fri, 17 Oct 2025 08:32:48 +0200 Subject: [PATCH] Update pulumi provider bridge (terraform provider version v0.68.0) Signed-off-by: Alexander Dahmen --- .../bridge-metadata.json | 96 +- .../cmd/pulumi-resource-stackit/schema.json | 9072 +++++++++++------ sdk/dotnet/CdnCustomDomain.cs | 18 + sdk/dotnet/Config/Config.cs | 38 +- sdk/dotnet/GetCdnCustomDomain.cs | 25 +- sdk/dotnet/GetCdnDistribution.cs | 6 +- sdk/dotnet/GetGit.cs | 41 +- sdk/dotnet/GetIaasProject.cs | 141 + sdk/dotnet/GetImageV2.cs | 326 + sdk/dotnet/GetLoadbalancer.cs | 21 + sdk/dotnet/GetMachineType.cs | 210 + sdk/dotnet/GetMongodbflexInstance.cs | 19 + sdk/dotnet/GetMongodbflexUser.cs | 19 + sdk/dotnet/GetNetwork.cs | 32 +- sdk/dotnet/GetObservabilityInstance.cs | 6 +- sdk/dotnet/GetPublicIpRanges.cs | 55 + sdk/dotnet/GetResourcemanagerFolder.cs | 154 + sdk/dotnet/GetResourcemanagerProject.cs | 16 +- sdk/dotnet/GetRoutingTable.cs | 224 + sdk/dotnet/GetRoutingTableRoute.cs | 232 + sdk/dotnet/GetRoutingTableRoutes.cs | 182 + sdk/dotnet/GetRoutingTables.cs | 160 + sdk/dotnet/GetScfOrganization.cs | 196 + sdk/dotnet/GetScfOrganizationManager.cs | 182 + sdk/dotnet/GetScfPlatform.cs | 175 + sdk/dotnet/GetServerBackupSchedule.cs | 6 +- sdk/dotnet/GetServerBackupSchedules.cs | 6 +- sdk/dotnet/GetServerUpdateSchedule.cs | 6 +- sdk/dotnet/GetServerUpdateSchedules.cs | 6 +- sdk/dotnet/GetSkeCluster.cs | 23 +- sdk/dotnet/Git.cs | 86 +- .../Inputs/CdnCustomDomainCertificateArgs.cs | 58 + .../CdnCustomDomainCertificateGetArgs.cs | 58 + .../Inputs/CdnDistributionConfigArgs.cs | 18 + .../Inputs/CdnDistributionConfigGetArgs.cs | 18 + .../CdnDistributionConfigOptimizerArgs.cs | 23 + .../CdnDistributionConfigOptimizerGetArgs.cs | 23 + .../Inputs/GetCdnCustomDomainCertificate.cs | 26 + .../GetCdnCustomDomainCertificateArgs.cs | 26 + sdk/dotnet/Inputs/GetImageV2Filter.cs | 50 + sdk/dotnet/Inputs/GetImageV2FilterArgs.cs | 50 + .../ObservabilityInstanceAlertConfigArgs.cs | 2 +- ...ObservabilityInstanceAlertConfigGetArgs.cs | 2 +- ...tanceAlertConfigReceiverEmailConfigArgs.cs | 20 +- ...ceAlertConfigReceiverEmailConfigGetArgs.cs | 20 +- ...ceAlertConfigReceiverOpsgenieConfigArgs.cs | 12 + ...lertConfigReceiverOpsgenieConfigGetArgs.cs | 12 + ...ceAlertConfigReceiverWebhooksConfigArgs.cs | 26 +- ...lertConfigReceiverWebhooksConfigGetArgs.cs | 26 +- ...servabilityInstanceAlertConfigRouteArgs.cs | 24 - ...vabilityInstanceAlertConfigRouteGetArgs.cs | 24 - ...bilityInstanceAlertConfigRouteRouteArgs.cs | 24 +- ...ityInstanceAlertConfigRouteRouteGetArgs.cs | 24 +- .../OpensearchInstanceParametersArgs.cs | 10 +- .../OpensearchInstanceParametersGetArgs.cs | 10 +- .../RoutingTableRouteDestinationArgs.cs | 32 + .../RoutingTableRouteDestinationGetArgs.cs | 32 + .../Inputs/RoutingTableRouteNextHopArgs.cs | 32 + .../Inputs/RoutingTableRouteNextHopGetArgs.cs | 32 + sdk/dotnet/Inputs/SkeClusterExtensionsArgs.cs | 8 +- .../Inputs/SkeClusterExtensionsGetArgs.cs | 8 +- .../SkeClusterExtensionsObservabilityArgs.cs | 32 + ...keClusterExtensionsObservabilityGetArgs.cs | 32 + sdk/dotnet/KeyPair.cs | 2 + sdk/dotnet/Loadbalancer.cs | 48 + sdk/dotnet/MongodbflexInstance.cs | 18 + sdk/dotnet/MongodbflexUser.cs | 18 + sdk/dotnet/Network.cs | 42 + sdk/dotnet/ObservabilityCredential.cs | 18 + sdk/dotnet/ObservabilityInstance.cs | 18 +- .../Outputs/CdnCustomDomainCertificate.cs | 42 + sdk/dotnet/Outputs/CdnDistributionConfig.cs | 14 + .../Outputs/CdnDistributionConfigOptimizer.cs | 24 + .../GetCdnCustomDomainCertificateResult.cs | 27 + ...GetCdnDistributionConfigOptimizerResult.cs | 24 + .../Outputs/GetCdnDistributionConfigResult.cs | 14 + .../Outputs/GetImageV2ChecksumResult.cs | 35 + sdk/dotnet/Outputs/GetImageV2ConfigResult.cs | 112 + sdk/dotnet/Outputs/GetImageV2FilterResult.cs | 56 + ...nceAlertConfigReceiverEmailConfigResult.cs | 7 + ...AlertConfigReceiverOpsgenieConfigResult.cs | 14 + ...AlertConfigReceiverWebhooksConfigResult.cs | 14 + ...rvabilityInstanceAlertConfigRouteResult.cs | 14 - ...lityInstanceAlertConfigRouteRouteResult.cs | 18 +- .../GetRoutingTableRouteDestinationResult.cs | 35 + .../GetRoutingTableRouteNextHopResult.cs | 35 + ...outingTableRoutesRouteDestinationResult.cs | 35 + ...GetRoutingTableRoutesRouteNextHopResult.cs | 35 + .../GetRoutingTableRoutesRouteResult.cs | 63 + .../Outputs/GetRoutingTablesItemResult.cs | 77 + ...SkeClusterExtensionsObservabilityResult.cs | 35 + .../Outputs/GetSkeClusterExtensionsResult.cs | 11 +- .../ObservabilityInstanceAlertConfig.cs | 2 +- ...yInstanceAlertConfigReceiverEmailConfig.cs | 7 + ...stanceAlertConfigReceiverOpsgenieConfig.cs | 14 + ...stanceAlertConfigReceiverWebhooksConfig.cs | 14 + .../ObservabilityInstanceAlertConfigRoute.cs | 14 - ...ervabilityInstanceAlertConfigRouteRoute.cs | 18 +- .../Outputs/OpensearchInstanceParameters.cs | 4 +- .../Outputs/RoutingTableRouteDestination.cs | 35 + .../Outputs/RoutingTableRouteNextHop.cs | 35 + sdk/dotnet/Outputs/SkeClusterExtensions.cs | 11 +- .../SkeClusterExtensionsObservability.cs | 35 + sdk/dotnet/Provider.cs | 57 +- sdk/dotnet/ResourcemanagerFolder.cs | 214 + sdk/dotnet/ResourcemanagerProject.cs | 33 +- sdk/dotnet/RoutingTable.cs | 256 + sdk/dotnet/RoutingTableRoute.cs | 256 + sdk/dotnet/ScfOrganization.cs | 236 + sdk/dotnet/ScfOrganizationManager.cs | 220 + sdk/dotnet/Server.cs | 2 + sdk/dotnet/ServiceAccountAccessToken.cs | 3 + sdk/dotnet/SkeCluster.cs | 60 +- sdk/dotnet/SkeKubeconfig.cs | 36 + sdk/dotnet/SqlserverflexUser.cs | 2 +- sdk/go/stackit/cdnCustomDomain.go | 15 + sdk/go/stackit/config/config.go | 32 +- sdk/go/stackit/getCdnCustomDomain.go | 13 +- sdk/go/stackit/getCdnDistribution.go | 2 +- sdk/go/stackit/getGit.go | 39 +- sdk/go/stackit/getIaasProject.go | 120 + sdk/go/stackit/getImageV2.go | 194 + sdk/go/stackit/getLoadbalancer.go | 21 + sdk/go/stackit/getMachineType.go | 131 + sdk/go/stackit/getMongodbflexInstance.go | 19 +- sdk/go/stackit/getMongodbflexUser.go | 15 +- sdk/go/stackit/getNetwork.go | 24 + sdk/go/stackit/getObservabilityInstance.go | 12 +- sdk/go/stackit/getPublicIpRanges.go | 9 +- sdk/go/stackit/getResourcemanagerFolder.go | 129 + sdk/go/stackit/getResourcemanagerProject.go | 16 +- sdk/go/stackit/getRoutingTable.go | 169 + sdk/go/stackit/getRoutingTableRoute.go | 166 + sdk/go/stackit/getRoutingTableRoutes.go | 127 + sdk/go/stackit/getRoutingTables.go | 116 + sdk/go/stackit/getScfOrganization.go | 156 + sdk/go/stackit/getScfOrganizationManager.go | 142 + sdk/go/stackit/getScfPlatform.go | 135 + sdk/go/stackit/getServerBackupSchedule.go | 2 +- sdk/go/stackit/getServerBackupSchedules.go | 2 +- sdk/go/stackit/getServerUpdateSchedule.go | 2 +- sdk/go/stackit/getServerUpdateSchedules.go | 2 +- sdk/go/stackit/getSkeCluster.go | 33 +- sdk/go/stackit/git.go | 65 +- sdk/go/stackit/init.go | 35 + sdk/go/stackit/keyPair.go | 2 + sdk/go/stackit/loadbalancer.go | 41 + sdk/go/stackit/mongodbflexInstance.go | 51 +- sdk/go/stackit/mongodbflexUser.go | 15 + sdk/go/stackit/network.go | 42 + sdk/go/stackit/observabilityCredential.go | 15 + sdk/go/stackit/observabilityInstance.go | 36 +- sdk/go/stackit/provider.go | 104 +- sdk/go/stackit/pulumiTypes.go | 7459 +++++++++----- sdk/go/stackit/resourcemanagerFolder.go | 315 + sdk/go/stackit/resourcemanagerProject.go | 40 +- sdk/go/stackit/routingTable.go | 349 + sdk/go/stackit/routingTableRoute.go | 358 + sdk/go/stackit/scfOrganization.go | 340 + sdk/go/stackit/scfOrganizationManager.go | 324 + sdk/go/stackit/server.go | 2 + sdk/go/stackit/serviceAccountAccessToken.go | 3 + sdk/go/stackit/skeCluster.go | 65 +- sdk/go/stackit/skeKubeconfig.go | 30 + sdk/go/stackit/sqlserverflexUser.go | 3 + sdk/nodejs/affinityGroup.ts | 30 +- ...authorizationOrganizationRoleAssignment.ts | 24 +- .../authorizationProjectRoleAssignment.ts | 24 +- sdk/nodejs/cdnCustomDomain.ts | 46 +- sdk/nodejs/cdnDistribution.ts | 40 +- sdk/nodejs/config/vars.ts | 40 +- sdk/nodejs/dnsRecordSet.ts | 72 +- sdk/nodejs/dnsZone.ts | 118 +- sdk/nodejs/getCdnCustomDomain.ts | 20 +- sdk/nodejs/getCdnDistribution.ts | 4 +- sdk/nodejs/getGit.ts | 24 +- sdk/nodejs/getIaasProject.ts | 79 + sdk/nodejs/getImageV2.ts | 159 + sdk/nodejs/getLoadbalancer.ts | 12 + sdk/nodejs/getMachineType.ts | 79 + sdk/nodejs/getMongodbflexInstance.ts | 14 + sdk/nodejs/getMongodbflexUser.ts | 14 + sdk/nodejs/getNetwork.ts | 22 + sdk/nodejs/getObservabilityInstance.ts | 6 +- sdk/nodejs/getPublicIpRanges.ts | 4 + sdk/nodejs/getResourcemanagerFolder.ts | 87 + sdk/nodejs/getResourcemanagerProject.ts | 8 + sdk/nodejs/getRoutingTable.ts | 133 + sdk/nodejs/getRoutingTableRoute.ts | 141 + sdk/nodejs/getRoutingTableRoutes.ts | 111 + sdk/nodejs/getRoutingTables.ts | 97 + sdk/nodejs/getScfOrganization.ts | 115 + sdk/nodejs/getScfOrganizationManager.ts | 107 + sdk/nodejs/getScfPlatform.ts | 103 + sdk/nodejs/getServerBackupSchedule.ts | 4 +- sdk/nodejs/getServerBackupSchedules.ts | 4 +- sdk/nodejs/getServerUpdateSchedule.ts | 4 +- sdk/nodejs/getServerUpdateSchedules.ts | 4 +- sdk/nodejs/getSkeCluster.ts | 18 +- sdk/nodejs/git.ts | 86 +- sdk/nodejs/image.ts | 70 +- sdk/nodejs/index.ts | 95 + sdk/nodejs/keyPair.ts | 26 +- sdk/nodejs/loadbalancer.ts | 98 +- .../loadbalancerObservabilityCredential.ts | 42 +- sdk/nodejs/logmeCredential.ts | 40 +- sdk/nodejs/logmeInstance.ts | 64 +- sdk/nodejs/mariadbCredential.ts | 48 +- sdk/nodejs/mariadbInstance.ts | 64 +- sdk/nodejs/modelservingToken.ts | 54 +- sdk/nodejs/mongodbflexInstance.ts | 88 +- sdk/nodejs/mongodbflexUser.ts | 72 +- sdk/nodejs/network.ts | 146 +- sdk/nodejs/networkArea.ts | 68 +- sdk/nodejs/networkAreaRoute.ts | 42 +- sdk/nodejs/networkInterface.ts | 68 +- sdk/nodejs/objectstorageBucket.ts | 28 +- sdk/nodejs/objectstorageCredential.ts | 44 +- sdk/nodejs/objectstorageCredentialsGroup.ts | 28 +- sdk/nodejs/observabilityAlertgroup.ts | 36 +- sdk/nodejs/observabilityCredential.ts | 38 +- sdk/nodejs/observabilityInstance.ts | 148 +- sdk/nodejs/observabilityLogalertgroup.ts | 36 +- sdk/nodejs/observabilityScrapeconfig.ts | 74 +- sdk/nodejs/opensearchCredential.ts | 48 +- sdk/nodejs/opensearchInstance.ts | 64 +- sdk/nodejs/postgresflexDatabase.ts | 40 +- sdk/nodejs/postgresflexInstance.ts | 72 +- sdk/nodejs/postgresflexUser.ts | 58 +- sdk/nodejs/provider.ts | 199 +- sdk/nodejs/publicIp.ts | 28 +- sdk/nodejs/publicIpAssociate.ts | 28 +- sdk/nodejs/rabbitmqCredential.ts | 60 +- sdk/nodejs/rabbitmqInstance.ts | 64 +- sdk/nodejs/redisCredential.ts | 48 +- sdk/nodejs/redisInstance.ts | 64 +- sdk/nodejs/resourcemanagerFolder.ts | 176 + sdk/nodejs/resourcemanagerProject.ts | 65 +- sdk/nodejs/routingTable.ts | 208 + sdk/nodejs/routingTableRoute.ts | 219 + sdk/nodejs/scfOrganization.ts | 199 + sdk/nodejs/scfOrganizationManager.ts | 182 + sdk/nodejs/secretsmanagerInstance.ts | 24 +- sdk/nodejs/secretsmanagerUser.ts | 44 +- sdk/nodejs/securityGroup.ts | 36 +- sdk/nodejs/securityGroupRule.ts | 70 +- sdk/nodejs/server.ts | 94 +- sdk/nodejs/serverBackupSchedule.ts | 56 +- sdk/nodejs/serverNetworkInterfaceAttach.ts | 24 +- sdk/nodejs/serverServiceAccountAttach.ts | 24 +- sdk/nodejs/serverUpdateSchedule.ts | 56 +- sdk/nodejs/serverVolumeAttach.ts | 24 +- sdk/nodejs/serviceAccount.ts | 18 +- sdk/nodejs/serviceAccountAccessToken.ts | 51 +- sdk/nodejs/serviceAccountKey.ts | 42 +- sdk/nodejs/skeCluster.ts | 116 +- sdk/nodejs/skeKubeconfig.ts | 72 +- sdk/nodejs/sqlserverflexInstance.ts | 66 +- sdk/nodejs/sqlserverflexUser.ts | 57 +- sdk/nodejs/tsconfig.json | 18 +- sdk/nodejs/types/input.ts | 176 +- sdk/nodejs/types/output.ts | 395 +- sdk/nodejs/volume.ts | 60 +- sdk/python/README.md | 113 + sdk/python/pulumi_stackit/__init__.py | 58 +- sdk/python/pulumi_stackit/_inputs.py | 3685 ++++--- sdk/python/pulumi_stackit/affinity_group.py | 141 +- ...horization_organization_role_assignment.py | 105 +- .../authorization_project_role_assignment.py | 105 +- .../pulumi_stackit/cdn_custom_domain.py | 182 +- sdk/python/pulumi_stackit/cdn_distribution.py | 137 +- sdk/python/pulumi_stackit/config/__init__.py | 2 +- sdk/python/pulumi_stackit/config/__init__.pyi | 31 +- sdk/python/pulumi_stackit/config/vars.py | 107 +- sdk/python/pulumi_stackit/dns_record_set.py | 347 +- sdk/python/pulumi_stackit/dns_zone.py | 613 +- .../pulumi_stackit/get_affinity_group.py | 43 +- .../pulumi_stackit/get_cdn_custom_domain.py | 75 +- .../pulumi_stackit/get_cdn_distribution.py | 55 +- .../pulumi_stackit/get_dns_record_set.py | 79 +- sdk/python/pulumi_stackit/get_dns_zone.py | 115 +- sdk/python/pulumi_stackit/get_git.py | 119 +- sdk/python/pulumi_stackit/get_iaas_project.py | 165 + sdk/python/pulumi_stackit/get_image.py | 63 +- sdk/python/pulumi_stackit/get_image_v2.py | 305 + sdk/python/pulumi_stackit/get_key_pair.py | 31 +- sdk/python/pulumi_stackit/get_loadbalancer.py | 103 +- .../pulumi_stackit/get_logme_credential.py | 63 +- .../pulumi_stackit/get_logme_instance.py | 69 +- sdk/python/pulumi_stackit/get_machine_type.py | 195 + .../pulumi_stackit/get_mariadb_credential.py | 71 +- .../pulumi_stackit/get_mariadb_instance.py | 69 +- .../get_mongodbflex_instance.py | 79 +- .../pulumi_stackit/get_mongodbflex_user.py | 85 +- sdk/python/pulumi_stackit/get_network.py | 141 +- sdk/python/pulumi_stackit/get_network_area.py | 65 +- .../pulumi_stackit/get_network_area_route.py | 55 +- .../pulumi_stackit/get_network_interface.py | 79 +- .../get_objectstorage_bucket.py | 51 +- .../get_objectstorage_credential.py | 63 +- .../get_objectstorage_credentials_group.py | 51 +- .../get_observability_alertgroup.py | 49 +- .../get_observability_instance.py | 135 +- .../get_observability_logalertgroup.py | 49 +- .../get_observability_scrapeconfig.py | 69 +- .../get_opensearch_credential.py | 71 +- .../pulumi_stackit/get_opensearch_instance.py | 69 +- .../get_postgresflex_database.py | 63 +- .../get_postgresflex_instance.py | 67 +- .../pulumi_stackit/get_postgresflex_user.py | 71 +- sdk/python/pulumi_stackit/get_public_ip.py | 43 +- .../pulumi_stackit/get_public_ip_ranges.py | 25 +- .../pulumi_stackit/get_rabbitmq_credential.py | 83 +- .../pulumi_stackit/get_rabbitmq_instance.py | 69 +- .../pulumi_stackit/get_redis_credential.py | 71 +- .../pulumi_stackit/get_redis_instance.py | 69 +- .../get_resourcemanager_folder.py | 183 + .../get_resourcemanager_project.py | 79 +- .../pulumi_stackit/get_routing_table.py | 257 + .../pulumi_stackit/get_routing_table_route.py | 250 + .../get_routing_table_routes.py | 174 + .../pulumi_stackit/get_routing_tables.py | 154 + .../pulumi_stackit/get_scf_organization.py | 233 + .../get_scf_organization_manager.py | 205 + sdk/python/pulumi_stackit/get_scf_platform.py | 191 + .../get_secretsmanager_instance.py | 39 +- .../pulumi_stackit/get_secretsmanager_user.py | 55 +- .../pulumi_stackit/get_security_group.py | 47 +- .../pulumi_stackit/get_security_group_rule.py | 69 +- sdk/python/pulumi_stackit/get_server.py | 81 +- .../get_server_backup_schedule.py | 73 +- .../get_server_backup_schedules.py | 49 +- .../get_server_update_schedule.py | 75 +- .../get_server_update_schedules.py | 49 +- .../pulumi_stackit/get_service_account.py | 35 +- sdk/python/pulumi_stackit/get_ske_cluster.py | 113 +- .../get_sqlserverflex_instance.py | 69 +- .../pulumi_stackit/get_sqlserverflex_user.py | 71 +- sdk/python/pulumi_stackit/get_volume.py | 61 +- sdk/python/pulumi_stackit/git.py | 309 +- sdk/python/pulumi_stackit/image.py | 305 +- sdk/python/pulumi_stackit/key_pair.py | 127 +- sdk/python/pulumi_stackit/loadbalancer.py | 303 +- .../loadbalancer_observability_credential.py | 191 +- sdk/python/pulumi_stackit/logme_credential.py | 159 +- sdk/python/pulumi_stackit/logme_instance.py | 251 +- .../pulumi_stackit/mariadb_credential.py | 187 +- sdk/python/pulumi_stackit/mariadb_instance.py | 251 +- .../pulumi_stackit/modelserving_token.py | 279 +- .../pulumi_stackit/mongodbflex_instance.py | 274 +- sdk/python/pulumi_stackit/mongodbflex_user.py | 278 +- sdk/python/pulumi_stackit/network.py | 711 +- sdk/python/pulumi_stackit/network_area.py | 317 +- .../pulumi_stackit/network_area_route.py | 191 +- .../pulumi_stackit/network_interface.py | 347 +- .../pulumi_stackit/objectstorage_bucket.py | 133 +- .../objectstorage_credential.py | 199 +- .../objectstorage_credentials_group.py | 141 +- .../observability_alertgroup.py | 145 +- .../observability_credential.py | 154 +- .../pulumi_stackit/observability_instance.py | 607 +- .../observability_logalertgroup.py | 145 +- .../observability_scrapeconfig.py | 293 +- .../pulumi_stackit/opensearch_credential.py | 187 +- .../pulumi_stackit/opensearch_instance.py | 251 +- sdk/python/pulumi_stackit/outputs.py | 5260 ++++++---- .../pulumi_stackit/postgresflex_database.py | 191 +- .../pulumi_stackit/postgresflex_instance.py | 247 +- .../pulumi_stackit/postgresflex_user.py | 239 +- sdk/python/pulumi_stackit/provider.py | 830 +- sdk/python/pulumi_stackit/public_ip.py | 133 +- .../pulumi_stackit/public_ip_associate.py | 123 +- .../pulumi_stackit/rabbitmq_credential.py | 229 +- .../pulumi_stackit/rabbitmq_instance.py | 251 +- sdk/python/pulumi_stackit/redis_credential.py | 191 +- sdk/python/pulumi_stackit/redis_instance.py | 251 +- .../pulumi_stackit/resourcemanager_folder.py | 414 + .../pulumi_stackit/resourcemanager_project.py | 244 +- sdk/python/pulumi_stackit/routing_table.py | 527 + .../pulumi_stackit/routing_table_route.py | 532 + sdk/python/pulumi_stackit/scf_organization.py | 503 + .../scf_organization_manager.py | 421 + .../pulumi_stackit/secretsmanager_instance.py | 123 +- .../pulumi_stackit/secretsmanager_user.py | 193 +- sdk/python/pulumi_stackit/security_group.py | 191 +- .../pulumi_stackit/security_group_rule.py | 277 +- sdk/python/pulumi_stackit/server.py | 459 +- .../pulumi_stackit/server_backup_schedule.py | 231 +- .../server_network_interface_attach.py | 105 +- .../server_service_account_attach.py | 105 +- .../pulumi_stackit/server_update_schedule.py | 259 +- .../pulumi_stackit/server_volume_attach.py | 105 +- sdk/python/pulumi_stackit/service_account.py | 89 +- .../service_account_access_token.py | 235 +- .../pulumi_stackit/service_account_key.py | 209 +- sdk/python/pulumi_stackit/ske_cluster.py | 350 +- sdk/python/pulumi_stackit/ske_kubeconfig.py | 301 +- .../pulumi_stackit/sqlserverflex_instance.py | 249 +- .../pulumi_stackit/sqlserverflex_user.py | 252 +- sdk/python/pulumi_stackit/volume.py | 283 +- sdk/python/setup.py | 2 +- 401 files changed, 45095 insertions(+), 21068 deletions(-) create mode 100644 sdk/dotnet/GetIaasProject.cs create mode 100644 sdk/dotnet/GetImageV2.cs create mode 100644 sdk/dotnet/GetMachineType.cs create mode 100644 sdk/dotnet/GetResourcemanagerFolder.cs create mode 100644 sdk/dotnet/GetRoutingTable.cs create mode 100644 sdk/dotnet/GetRoutingTableRoute.cs create mode 100644 sdk/dotnet/GetRoutingTableRoutes.cs create mode 100644 sdk/dotnet/GetRoutingTables.cs create mode 100644 sdk/dotnet/GetScfOrganization.cs create mode 100644 sdk/dotnet/GetScfOrganizationManager.cs create mode 100644 sdk/dotnet/GetScfPlatform.cs create mode 100644 sdk/dotnet/Inputs/CdnCustomDomainCertificateArgs.cs create mode 100644 sdk/dotnet/Inputs/CdnCustomDomainCertificateGetArgs.cs create mode 100644 sdk/dotnet/Inputs/CdnDistributionConfigOptimizerArgs.cs create mode 100644 sdk/dotnet/Inputs/CdnDistributionConfigOptimizerGetArgs.cs create mode 100644 sdk/dotnet/Inputs/GetCdnCustomDomainCertificate.cs create mode 100644 sdk/dotnet/Inputs/GetCdnCustomDomainCertificateArgs.cs create mode 100644 sdk/dotnet/Inputs/GetImageV2Filter.cs create mode 100644 sdk/dotnet/Inputs/GetImageV2FilterArgs.cs create mode 100644 sdk/dotnet/Inputs/RoutingTableRouteDestinationArgs.cs create mode 100644 sdk/dotnet/Inputs/RoutingTableRouteDestinationGetArgs.cs create mode 100644 sdk/dotnet/Inputs/RoutingTableRouteNextHopArgs.cs create mode 100644 sdk/dotnet/Inputs/RoutingTableRouteNextHopGetArgs.cs create mode 100644 sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityArgs.cs create mode 100644 sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityGetArgs.cs create mode 100644 sdk/dotnet/Outputs/CdnCustomDomainCertificate.cs create mode 100644 sdk/dotnet/Outputs/CdnDistributionConfigOptimizer.cs create mode 100644 sdk/dotnet/Outputs/GetCdnCustomDomainCertificateResult.cs create mode 100644 sdk/dotnet/Outputs/GetCdnDistributionConfigOptimizerResult.cs create mode 100644 sdk/dotnet/Outputs/GetImageV2ChecksumResult.cs create mode 100644 sdk/dotnet/Outputs/GetImageV2ConfigResult.cs create mode 100644 sdk/dotnet/Outputs/GetImageV2FilterResult.cs create mode 100644 sdk/dotnet/Outputs/GetRoutingTableRouteDestinationResult.cs create mode 100644 sdk/dotnet/Outputs/GetRoutingTableRouteNextHopResult.cs create mode 100644 sdk/dotnet/Outputs/GetRoutingTableRoutesRouteDestinationResult.cs create mode 100644 sdk/dotnet/Outputs/GetRoutingTableRoutesRouteNextHopResult.cs create mode 100644 sdk/dotnet/Outputs/GetRoutingTableRoutesRouteResult.cs create mode 100644 sdk/dotnet/Outputs/GetRoutingTablesItemResult.cs create mode 100644 sdk/dotnet/Outputs/GetSkeClusterExtensionsObservabilityResult.cs create mode 100644 sdk/dotnet/Outputs/RoutingTableRouteDestination.cs create mode 100644 sdk/dotnet/Outputs/RoutingTableRouteNextHop.cs create mode 100644 sdk/dotnet/Outputs/SkeClusterExtensionsObservability.cs create mode 100644 sdk/dotnet/ResourcemanagerFolder.cs create mode 100644 sdk/dotnet/RoutingTable.cs create mode 100644 sdk/dotnet/RoutingTableRoute.cs create mode 100644 sdk/dotnet/ScfOrganization.cs create mode 100644 sdk/dotnet/ScfOrganizationManager.cs create mode 100644 sdk/go/stackit/getIaasProject.go create mode 100644 sdk/go/stackit/getImageV2.go create mode 100644 sdk/go/stackit/getMachineType.go create mode 100644 sdk/go/stackit/getResourcemanagerFolder.go create mode 100644 sdk/go/stackit/getRoutingTable.go create mode 100644 sdk/go/stackit/getRoutingTableRoute.go create mode 100644 sdk/go/stackit/getRoutingTableRoutes.go create mode 100644 sdk/go/stackit/getRoutingTables.go create mode 100644 sdk/go/stackit/getScfOrganization.go create mode 100644 sdk/go/stackit/getScfOrganizationManager.go create mode 100644 sdk/go/stackit/getScfPlatform.go create mode 100644 sdk/go/stackit/resourcemanagerFolder.go create mode 100644 sdk/go/stackit/routingTable.go create mode 100644 sdk/go/stackit/routingTableRoute.go create mode 100644 sdk/go/stackit/scfOrganization.go create mode 100644 sdk/go/stackit/scfOrganizationManager.go create mode 100644 sdk/nodejs/getIaasProject.ts create mode 100644 sdk/nodejs/getImageV2.ts create mode 100644 sdk/nodejs/getMachineType.ts create mode 100644 sdk/nodejs/getResourcemanagerFolder.ts create mode 100644 sdk/nodejs/getRoutingTable.ts create mode 100644 sdk/nodejs/getRoutingTableRoute.ts create mode 100644 sdk/nodejs/getRoutingTableRoutes.ts create mode 100644 sdk/nodejs/getRoutingTables.ts create mode 100644 sdk/nodejs/getScfOrganization.ts create mode 100644 sdk/nodejs/getScfOrganizationManager.ts create mode 100644 sdk/nodejs/getScfPlatform.ts create mode 100644 sdk/nodejs/resourcemanagerFolder.ts create mode 100644 sdk/nodejs/routingTable.ts create mode 100644 sdk/nodejs/routingTableRoute.ts create mode 100644 sdk/nodejs/scfOrganization.ts create mode 100644 sdk/nodejs/scfOrganizationManager.ts create mode 100644 sdk/python/README.md create mode 100644 sdk/python/pulumi_stackit/get_iaas_project.py create mode 100644 sdk/python/pulumi_stackit/get_image_v2.py create mode 100644 sdk/python/pulumi_stackit/get_machine_type.py create mode 100644 sdk/python/pulumi_stackit/get_resourcemanager_folder.py create mode 100644 sdk/python/pulumi_stackit/get_routing_table.py create mode 100644 sdk/python/pulumi_stackit/get_routing_table_route.py create mode 100644 sdk/python/pulumi_stackit/get_routing_table_routes.py create mode 100644 sdk/python/pulumi_stackit/get_routing_tables.py create mode 100644 sdk/python/pulumi_stackit/get_scf_organization.py create mode 100644 sdk/python/pulumi_stackit/get_scf_organization_manager.py create mode 100644 sdk/python/pulumi_stackit/get_scf_platform.py create mode 100644 sdk/python/pulumi_stackit/resourcemanager_folder.py create mode 100644 sdk/python/pulumi_stackit/routing_table.py create mode 100644 sdk/python/pulumi_stackit/routing_table_route.py create mode 100644 sdk/python/pulumi_stackit/scf_organization.py create mode 100644 sdk/python/pulumi_stackit/scf_organization_manager.py diff --git a/provider/cmd/pulumi-resource-stackit/bridge-metadata.json b/provider/cmd/pulumi-resource-stackit/bridge-metadata.json index ba563cac..a66dc30a 100644 --- a/provider/cmd/pulumi-resource-stackit/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-stackit/bridge-metadata.json @@ -28,6 +28,9 @@ "fields": { "config": { "fields": { + "blocked_countries": { + "maxItemsOne": false + }, "regions": { "maxItemsOne": false } @@ -65,7 +68,12 @@ } }, "stackit_git": { - "current": "stackit:index/git:Git" + "current": "stackit:index/git:Git", + "fields": { + "acl": { + "maxItemsOne": false + } + } }, "stackit_image": { "current": "stackit:index/image:Image" @@ -274,6 +282,9 @@ "fields": { "group_by": { "maxItemsOne": false + }, + "matchers": { + "maxItemsOne": false } } } @@ -328,6 +339,9 @@ }, "tls_ciphers": { "maxItemsOne": false + }, + "tls_protocols": { + "maxItemsOne": false } } } @@ -416,9 +430,24 @@ } } }, + "stackit_resourcemanager_folder": { + "current": "stackit:index/resourcemanagerFolder:ResourcemanagerFolder" + }, "stackit_resourcemanager_project": { "current": "stackit:index/resourcemanagerProject:ResourcemanagerProject" }, + "stackit_routing_table": { + "current": "stackit:index/routingTable:RoutingTable" + }, + "stackit_routing_table_route": { + "current": "stackit:index/routingTableRoute:RoutingTableRoute" + }, + "stackit_scf_organization": { + "current": "stackit:index/scfOrganization:ScfOrganization" + }, + "stackit_scf_organization_manager": { + "current": "stackit:index/scfOrganizationManager:ScfOrganizationManager" + }, "stackit_secretsmanager_instance": { "current": "stackit:index/secretsmanagerInstance:SecretsmanagerInstance", "fields": { @@ -516,6 +545,9 @@ } } } + }, + "pod_address_ranges": { + "maxItemsOne": false } } }, @@ -564,6 +596,9 @@ "fields": { "config": { "fields": { + "blocked_countries": { + "maxItemsOne": false + }, "regions": { "maxItemsOne": false } @@ -601,11 +636,22 @@ } }, "stackit_git": { - "current": "stackit:index/getGit:getGit" + "current": "stackit:index/getGit:getGit", + "fields": { + "acl": { + "maxItemsOne": false + } + } + }, + "stackit_iaas_project": { + "current": "stackit:index/getIaasProject:getIaasProject" }, "stackit_image": { "current": "stackit:index/getImage:getImage" }, + "stackit_image_v2": { + "current": "stackit:index/getImageV2:getImageV2" + }, "stackit_key_pair": { "current": "stackit:index/getKeyPair:getKeyPair" }, @@ -665,6 +711,9 @@ } } }, + "stackit_machine_type": { + "current": "stackit:index/getMachineType:getMachineType" + }, "stackit_mariadb_credential": { "current": "stackit:index/getMariadbCredential:getMariadbCredential", "fields": { @@ -801,6 +850,9 @@ "fields": { "group_by": { "maxItemsOne": false + }, + "matchers": { + "maxItemsOne": false } } } @@ -885,6 +937,9 @@ "stackit_public_ip_ranges": { "current": "stackit:index/getPublicIpRanges:getPublicIpRanges", "fields": { + "cidr_list": { + "maxItemsOne": false + }, "public_ip_ranges": { "maxItemsOne": false } @@ -948,9 +1003,43 @@ } } }, + "stackit_resourcemanager_folder": { + "current": "stackit:index/getResourcemanagerFolder:getResourcemanagerFolder" + }, "stackit_resourcemanager_project": { "current": "stackit:index/getResourcemanagerProject:getResourcemanagerProject" }, + "stackit_routing_table": { + "current": "stackit:index/getRoutingTable:getRoutingTable" + }, + "stackit_routing_table_route": { + "current": "stackit:index/getRoutingTableRoute:getRoutingTableRoute" + }, + "stackit_routing_table_routes": { + "current": "stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", + "fields": { + "routes": { + "maxItemsOne": false + } + } + }, + "stackit_routing_tables": { + "current": "stackit:index/getRoutingTables:getRoutingTables", + "fields": { + "items": { + "maxItemsOne": false + } + } + }, + "stackit_scf_organization": { + "current": "stackit:index/getScfOrganization:getScfOrganization" + }, + "stackit_scf_organization_manager": { + "current": "stackit:index/getScfOrganizationManager:getScfOrganizationManager" + }, + "stackit_scf_platform": { + "current": "stackit:index/getScfPlatform:getScfPlatform" + }, "stackit_secretsmanager_instance": { "current": "stackit:index/getSecretsmanagerInstance:getSecretsmanagerInstance", "fields": { @@ -1060,6 +1149,9 @@ } } } + }, + "pod_address_ranges": { + "maxItemsOne": false } } }, diff --git a/provider/cmd/pulumi-resource-stackit/schema.json b/provider/cmd/pulumi-resource-stackit/schema.json index 22e01f2d..979d8d15 100644 --- a/provider/cmd/pulumi-resource-stackit/schema.json +++ b/provider/cmd/pulumi-resource-stackit/schema.json @@ -54,169 +54,206 @@ }, "config": { "variables": { - "argusCustomEndpoint": { - "type": "string", - "description": "Custom endpoint for the Argus service\n", - "deprecationMessage": "Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observability_custom_endpoint` and `observability` resources instead, which offer the exact same functionality." - }, "authorizationCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Membership service\n" + "description": "Custom endpoint for the Membership service" }, "cdnCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the CDN service\n" + "description": "Custom endpoint for the CDN service" }, "credentialsPath": { "type": "string", - "description": "Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default\nvalue is `~/.stackit/credentials.json`.\n" + "description": "Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`." }, "defaultRegion": { "type": "string", - "description": "Region will be used as the default location for regional services. Not all services require a region, some are global\n" + "description": "Region will be used as the default location for regional services. Not all services require a region, some are global" }, "dnsCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the DNS service\n" + "description": "Custom endpoint for the DNS service" }, "enableBetaResources": { "type": "boolean", - "description": "Enable beta resources. Default is false.\n" + "description": "Enable beta resources. Default is false." }, "experiments": { "type": "array", "items": { "type": "string" }, - "description": "Enables experiments. These are unstable features without official support. More information can be found in the README.\nAvailable Experiments: [iam]\n" + "description": "Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network" }, "gitCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Git service\n" + "description": "Custom endpoint for the Git service" }, "iaasCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the IaaS service\n" + "description": "Custom endpoint for the IaaS service" }, "loadbalancerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Load Balancer service\n" + "description": "Custom endpoint for the Load Balancer service" }, "logmeCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the LogMe service\n" + "description": "Custom endpoint for the LogMe service" }, "mariadbCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the MariaDB service\n" + "description": "Custom endpoint for the MariaDB service" }, "modelservingCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the AI Model Serving service\n" + "description": "Custom endpoint for the AI Model Serving service" }, "mongodbflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the MongoDB Flex service\n" + "description": "Custom endpoint for the MongoDB Flex service" }, "objectstorageCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Object Storage service\n" + "description": "Custom endpoint for the Object Storage service" }, "observabilityCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Observability service\n" + "description": "Custom endpoint for the Observability service" }, "opensearchCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the OpenSearch service\n" + "description": "Custom endpoint for the OpenSearch service" }, "postgresflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the PostgresFlex service\n" + "description": "Custom endpoint for the PostgresFlex service" }, "privateKey": { "type": "string", - "description": "Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is\nincluded in the service account key.\n" + "description": "Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key." }, "privateKeyPath": { "type": "string", - "description": "Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private\nkey that is included in the service account key.\n" + "description": "Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key." }, "rabbitmqCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the RabbitMQ service\n" + "description": "Custom endpoint for the RabbitMQ service" }, "redisCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Redis service\n" + "description": "Custom endpoint for the Redis service" }, "region": { "type": "string", - "description": "Region will be used as the default location for regional services. Not all services require a region, some are global\n", + "description": "Region will be used as the default location for regional services. Not all services require a region, some are global", "deprecationMessage": "This attribute is deprecated. Use 'default_region' instead" }, "resourcemanagerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Resource Manager service\n" + "description": "Custom endpoint for the Resource Manager service" + }, + "scfCustomEndpoint": { + "type": "string", + "description": "Custom endpoint for the Cloud Foundry (SCF) service" }, "secretsmanagerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Secrets Manager service\n" + "description": "Custom endpoint for the Secrets Manager service" }, "serverBackupCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Server Backup service\n" + "description": "Custom endpoint for the Server Backup service" }, "serverUpdateCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Server Update service\n" + "description": "Custom endpoint for the Server Update service" }, "serviceAccountCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Service Account service\n" + "description": "Custom endpoint for the Service Account service" }, "serviceAccountEmail": { "type": "string", - "description": "Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required\nif you want to use the resource manager project resource.\n", + "description": "Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource.", "deprecationMessage": "The `service_account_email` field has been deprecated because it is not required. Will be removed after June 12th 2025." }, "serviceAccountKey": { "type": "string", - "description": "Service account key used for authentication. If set, the key flow will be used to authenticate all operations.\n" + "description": "Service account key used for authentication. If set, the key flow will be used to authenticate all operations." }, "serviceAccountKeyPath": { "type": "string", - "description": "Path for the service account key used for authentication. If set, the key flow will be used to authenticate all\noperations.\n" + "description": "Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations." }, "serviceAccountToken": { "type": "string", - "description": "Token used for authentication. If set, the token flow will be used to authenticate all operations.\n" + "description": "Token used for authentication. If set, the token flow will be used to authenticate all operations.", + "deprecationMessage": "Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `service_account_key` or `service_account_key_path` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html" }, "serviceEnablementCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Service Enablement API\n" + "description": "Custom endpoint for the Service Enablement API" }, "skeCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Kubernetes Engine (SKE) service\n" + "description": "Custom endpoint for the Kubernetes Engine (SKE) service" }, "sqlserverflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the SQL Server Flex service\n" + "description": "Custom endpoint for the SQL Server Flex service" }, "tokenCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the token API, which is used to request access tokens when using the key flow\n" + "description": "Custom endpoint for the token API, which is used to request access tokens when using the key flow" } } }, "types": { + "stackit:index/CdnCustomDomainCertificate:CdnCustomDomainCertificate": { + "properties": { + "certificate": { + "type": "string", + "description": "The PEM-encoded TLS certificate. Required for custom certificates.\n", + "secret": true + }, + "privateKey": { + "type": "string", + "description": "The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.\n", + "secret": true + }, + "version": { + "type": "integer", + "description": "A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "version" + ] + } + } + }, "stackit:index/CdnDistributionConfig:CdnDistributionConfig": { "properties": { "backend": { "$ref": "#/types/stackit:index/CdnDistributionConfigBackend:CdnDistributionConfigBackend", "description": "The configured backend for the distribution\n" }, + "blockedCountries": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The configured countries where distribution of content is blocked\n" + }, + "optimizer": { + "$ref": "#/types/stackit:index/CdnDistributionConfigOptimizer:CdnDistributionConfigOptimizer", + "description": "Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience.\n" + }, "regions": { "type": "array", "items": { @@ -229,7 +266,16 @@ "required": [ "backend", "regions" - ] + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "backend", + "optimizer", + "regions" + ] + } + } }, "stackit:index/CdnDistributionConfigBackend:CdnDistributionConfigBackend": { "properties": { @@ -255,6 +301,21 @@ "type" ] }, + "stackit:index/CdnDistributionConfigOptimizer:CdnDistributionConfigOptimizer": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "enabled" + ] + } + } + }, "stackit:index/CdnDistributionDomain:CdnDistributionDomain": { "properties": { "errors": { @@ -977,7 +1038,7 @@ "properties": { "global": { "$ref": "#/types/stackit:index/ObservabilityInstanceAlertConfigGlobal:ObservabilityInstanceAlertConfigGlobal", - "description": "Global configuration for the alerts.\n" + "description": "Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes.\n" }, "receivers": { "type": "array", @@ -1094,7 +1155,8 @@ }, "authPassword": { "type": "string", - "description": "SMTP authentication password.\n" + "description": "SMTP authentication password.\n", + "secret": true }, "authUsername": { "type": "string", @@ -1104,6 +1166,10 @@ "type": "string", "description": "The sender email address. Must be a valid email address\n" }, + "sendResolved": { + "type": "boolean", + "description": "Whether to notify about resolved alerts.\n" + }, "smartHost": { "type": "string", "description": "The SMTP host through which emails are sent.\n" @@ -1125,6 +1191,14 @@ "type": "string", "description": "The host to send OpsGenie API requests to. Must be a valid URL\n" }, + "priority": { + "type": "string", + "description": "Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`.\n" + }, + "sendResolved": { + "type": "boolean", + "description": "Whether to notify about resolved alerts.\n" + }, "tags": { "type": "string", "description": "Comma separated list of tags attached to the notifications.\n" @@ -1134,16 +1208,33 @@ }, "stackit:index/ObservabilityInstanceAlertConfigReceiverWebhooksConfig:ObservabilityInstanceAlertConfigReceiverWebhooksConfig": { "properties": { + "googleChat": { + "type": "boolean", + "description": "Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat.\n" + }, "msTeams": { "type": "boolean", "description": "Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams.\n" }, + "sendResolved": { + "type": "boolean", + "description": "Whether to notify about resolved alerts.\n" + }, "url": { "type": "string", - "description": "The endpoint to send HTTP POST requests to. Must be a valid URL\n" + "description": "The endpoint to send HTTP POST requests to. Must be a valid URL\n", + "secret": true } }, - "type": "object" + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "googleChat", + "msTeams" + ] + } + } }, "stackit:index/ObservabilityInstanceAlertConfigRoute:ObservabilityInstanceAlertConfigRoute": { "properties": { @@ -1162,20 +1253,6 @@ "type": "string", "description": "How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)\n" }, - "match": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A set of equality matchers an alert has to fulfill to match the node.\n" - }, - "matchRegex": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A set of regex-matchers an alert has to fulfill to match the node.\n" - }, "receiver": { "type": "string", "description": "The name of the receiver to route the alerts to.\n" @@ -1209,6 +1286,10 @@ }, "stackit:index/ObservabilityInstanceAlertConfigRouteRoute:ObservabilityInstanceAlertConfigRouteRoute": { "properties": { + "continue": { + "type": "boolean", + "description": "Whether an alert should continue matching subsequent sibling nodes.\n" + }, "groupBies": { "type": "array", "items": { @@ -1229,14 +1310,23 @@ "additionalProperties": { "type": "string" }, - "description": "A set of equality matchers an alert has to fulfill to match the node.\n" + "description": "A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead\n", + "deprecationMessage": "Use `matchers` in the `routes` instead." }, "matchRegex": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A set of regex-matchers an alert has to fulfill to match the node.\n" + "description": "A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead\n", + "deprecationMessage": "Use `matchers` in the `routes` instead." + }, + "matchers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics.\n" }, "receiver": { "type": "string", @@ -1417,7 +1507,10 @@ "description": "List of TLS ciphers to use.\n" }, "tlsProtocols": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "The TLS protocol to use.\n" } }, @@ -1704,6 +1797,39 @@ } } }, + "stackit:index/RoutingTableRouteDestination:RoutingTableRouteDestination": { + "properties": { + "type": { + "type": "string", + "description": "CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage.\n" + }, + "value": { + "type": "string", + "description": "An CIDR string.\n" + } + }, + "type": "object", + "required": [ + "type", + "value" + ] + }, + "stackit:index/RoutingTableRouteNextHop:RoutingTableRouteNextHop": { + "properties": { + "type": { + "type": "string", + "description": "Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage..\n" + }, + "value": { + "type": "string", + "description": "Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, "stackit:index/SecurityGroupRuleIcmpParameters:SecurityGroupRuleIcmpParameters": { "properties": { "code": { @@ -1831,11 +1957,16 @@ }, "argus": { "$ref": "#/types/stackit:index/SkeClusterExtensionsArgus:SkeClusterExtensionsArgus", - "description": "A single argus block as defined below.\n" + "description": "A single argus block as defined below. This field is deprecated and will be removed 06 January 2026.\n", + "deprecationMessage": "Use observability instead." }, "dns": { "$ref": "#/types/stackit:index/SkeClusterExtensionsDns:SkeClusterExtensionsDns", "description": "DNS extension configuration\n" + }, + "observability": { + "$ref": "#/types/stackit:index/SkeClusterExtensionsObservability:SkeClusterExtensionsObservability", + "description": "A single observability block as defined below.\n" } }, "type": "object" @@ -1903,6 +2034,22 @@ } } }, + "stackit:index/SkeClusterExtensionsObservability:SkeClusterExtensionsObservability": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Flag to enable/disable Observability extensions.\n" + }, + "instanceId": { + "type": "string", + "description": "Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`.\n" + } + }, + "type": "object", + "required": [ + "enabled" + ] + }, "stackit:index/SkeClusterHibernation:SkeClusterHibernation": { "properties": { "end": { @@ -2203,12 +2350,40 @@ "type" ] }, + "stackit:index/getCdnCustomDomainCertificate:getCdnCustomDomainCertificate": { + "properties": { + "version": { + "type": "integer", + "description": "A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.\n" + } + }, + "type": "object", + "required": [ + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "stackit:index/getCdnDistributionConfig:getCdnDistributionConfig": { "properties": { "backend": { "$ref": "#/types/stackit:index/getCdnDistributionConfigBackend:getCdnDistributionConfigBackend", "description": "The configured backend for the distribution\n" }, + "blockedCountries": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The configured countries where distribution of content is blocked\n" + }, + "optimizer": { + "$ref": "#/types/stackit:index/getCdnDistributionConfigOptimizer:getCdnDistributionConfigOptimizer", + "description": "Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience.\n" + }, "regions": { "type": "array", "items": { @@ -2220,6 +2395,7 @@ "type": "object", "required": [ "backend", + "optimizer", "regions" ], "language": { @@ -2258,6 +2434,22 @@ } } }, + "stackit:index/getCdnDistributionConfigOptimizer:getCdnDistributionConfigOptimizer": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object", + "required": [ + "enabled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "stackit:index/getCdnDistributionDomain:getCdnDistributionDomain": { "properties": { "errors": { @@ -2392,37 +2584,21 @@ } } }, - "stackit:index/getLoadbalancerListener:getLoadbalancerListener": { + "stackit:index/getImageV2Checksum:getImageV2Checksum": { "properties": { - "displayName": { - "type": "string" - }, - "port": { - "type": "integer", - "description": "Port number where we listen for traffic.\n" - }, - "protocol": { + "algorithm": { "type": "string", - "description": "Protocol is the highest network protocol we understand to load balance.\n" - }, - "serverNameIndicators": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/getLoadbalancerListenerServerNameIndicator:getLoadbalancerListenerServerNameIndicator" - }, - "description": "A list of domain names to match in order to pass TLS traffic to the target pool in the current listener\n" + "description": "Algorithm for the checksum of the image data.\n" }, - "targetPool": { + "digest": { "type": "string", - "description": "Reference target pool by target pool name.\n" + "description": "Hexdigest of the checksum of the image data.\n" } }, "type": "object", "required": [ - "displayName", - "port", - "protocol", - "targetPool" + "algorithm", + "digest" ], "language": { "nodejs": { @@ -2430,53 +2606,193 @@ } } }, - "stackit:index/getLoadbalancerListenerServerNameIndicator:getLoadbalancerListenerServerNameIndicator": { + "stackit:index/getImageV2Config:getImageV2Config": { "properties": { - "name": { + "bootMenu": { + "type": "boolean", + "description": "Enables the BIOS bootmenu.\n" + }, + "cdromBus": { "type": "string", - "description": "A domain name to match in order to pass TLS traffic to the target pool in the current listener\n" - } - }, - "type": "object" - }, - "stackit:index/getLoadbalancerNetwork:getLoadbalancerNetwork": { - "properties": { - "networkId": { + "description": "Sets CDROM bus controller type.\n" + }, + "diskBus": { "type": "string", - "description": "Openstack network ID.\n" + "description": "Sets Disk bus controller type.\n" }, - "role": { + "nicModel": { "type": "string", - "description": "The role defines how the load balancer is using the network.\n" - } - }, - "type": "object", - "required": [ - "networkId", - "role" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "stackit:index/getLoadbalancerOptions:getLoadbalancerOptions": { - "properties": { - "acls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Load Balancer is accessible only from an IP address in this range.\n" + "description": "Sets virtual network interface model.\n" }, - "observability": { - "$ref": "#/types/stackit:index/getLoadbalancerOptionsObservability:getLoadbalancerOptionsObservability", - "description": "We offer Load Balancer metrics observability via ARGUS or external solutions.\n" + "operatingSystem": { + "type": "string", + "description": "Enables operating system specific optimizations.\n" }, - "privateNetworkOnly": { - "type": "boolean", - "description": "If true, Load Balancer is accessible only via a private network IP address.\n" + "operatingSystemDistro": { + "type": "string", + "description": "Operating system distribution.\n" + }, + "operatingSystemVersion": { + "type": "string", + "description": "Version of the operating system.\n" + }, + "rescueBus": { + "type": "string", + "description": "Sets the device bus when the image is used as a rescue image.\n" + }, + "rescueDevice": { + "type": "string", + "description": "Sets the device when the image is used as a rescue image.\n" + }, + "secureBoot": { + "type": "boolean", + "description": "Enables Secure Boot.\n" + }, + "uefi": { + "type": "boolean", + "description": "Enables UEFI boot.\n" + }, + "videoModel": { + "type": "string", + "description": "Sets Graphic device model.\n" + }, + "virtioScsi": { + "type": "boolean", + "description": "Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.\n" + } + }, + "type": "object", + "required": [ + "bootMenu", + "cdromBus", + "diskBus", + "nicModel", + "operatingSystem", + "operatingSystemDistro", + "operatingSystemVersion", + "rescueBus", + "rescueDevice", + "secureBoot", + "uefi", + "videoModel", + "virtioScsi" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getImageV2Filter:getImageV2Filter": { + "properties": { + "distro": { + "type": "string", + "description": "Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc.\n" + }, + "os": { + "type": "string", + "description": "Filter images by operating system type, such as `linux` or `windows`.\n" + }, + "secureBoot": { + "type": "boolean", + "description": "Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot.\n" + }, + "uefi": { + "type": "boolean", + "description": "Filter images based on UEFI support. Set to `true` to match images that support UEFI.\n" + }, + "version": { + "type": "string", + "description": "Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`.\n" + } + }, + "type": "object" + }, + "stackit:index/getLoadbalancerListener:getLoadbalancerListener": { + "properties": { + "displayName": { + "type": "string" + }, + "port": { + "type": "integer", + "description": "Port number where we listen for traffic.\n" + }, + "protocol": { + "type": "string", + "description": "Protocol is the highest network protocol we understand to load balance.\n" + }, + "serverNameIndicators": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getLoadbalancerListenerServerNameIndicator:getLoadbalancerListenerServerNameIndicator" + }, + "description": "A list of domain names to match in order to pass TLS traffic to the target pool in the current listener\n" + }, + "targetPool": { + "type": "string", + "description": "Reference target pool by target pool name.\n" + } + }, + "type": "object", + "required": [ + "displayName", + "port", + "protocol", + "targetPool" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getLoadbalancerListenerServerNameIndicator:getLoadbalancerListenerServerNameIndicator": { + "properties": { + "name": { + "type": "string", + "description": "A domain name to match in order to pass TLS traffic to the target pool in the current listener\n" + } + }, + "type": "object" + }, + "stackit:index/getLoadbalancerNetwork:getLoadbalancerNetwork": { + "properties": { + "networkId": { + "type": "string", + "description": "Openstack network ID.\n" + }, + "role": { + "type": "string", + "description": "The role defines how the load balancer is using the network.\n" + } + }, + "type": "object", + "required": [ + "networkId", + "role" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getLoadbalancerOptions:getLoadbalancerOptions": { + "properties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Load Balancer is accessible only from an IP address in this range.\n" + }, + "observability": { + "$ref": "#/types/stackit:index/getLoadbalancerOptionsObservability:getLoadbalancerOptionsObservability", + "description": "We offer Load Balancer metrics observability via ARGUS or external solutions.\n" + }, + "privateNetworkOnly": { + "type": "boolean", + "description": "If true, Load Balancer is accessible only via a private network IP address.\n" } }, "type": "object", @@ -3124,7 +3440,8 @@ }, "authPassword": { "type": "string", - "description": "SMTP authentication password.\n" + "description": "SMTP authentication password.\n", + "secret": true }, "authUsername": { "type": "string", @@ -3134,6 +3451,10 @@ "type": "string", "description": "The sender email address. Must be a valid email address\n" }, + "sendResolved": { + "type": "boolean", + "description": "Whether to notify about resolved alerts.\n" + }, "smartHost": { "type": "string", "description": "The SMTP host through which emails are sent.\n" @@ -3149,6 +3470,7 @@ "authPassword", "authUsername", "from", + "sendResolved", "smartHost", "to" ], @@ -3168,6 +3490,14 @@ "type": "string", "description": "The host to send OpsGenie API requests to. Must be a valid URL\n" }, + "priority": { + "type": "string", + "description": "Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`.\n" + }, + "sendResolved": { + "type": "boolean", + "description": "Whether to notify about resolved alerts.\n" + }, "tags": { "type": "string", "description": "Comma separated list of tags attached to the notifications.\n" @@ -3177,6 +3507,8 @@ "required": [ "apiKey", "apiUrl", + "priority", + "sendResolved", "tags" ], "language": { @@ -3187,18 +3519,29 @@ }, "stackit:index/getObservabilityInstanceAlertConfigReceiverWebhooksConfig:getObservabilityInstanceAlertConfigReceiverWebhooksConfig": { "properties": { + "googleChat": { + "type": "boolean", + "description": "Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat.\n" + }, "msTeams": { "type": "boolean", "description": "Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams.\n" }, + "sendResolved": { + "type": "boolean", + "description": "Whether to notify about resolved alerts.\n" + }, "url": { "type": "string", - "description": "The endpoint to send HTTP POST requests to. Must be a valid URL\n" + "description": "The endpoint to send HTTP POST requests to. Must be a valid URL\n", + "secret": true } }, "type": "object", "required": [ + "googleChat", "msTeams", + "sendResolved", "url" ], "language": { @@ -3224,20 +3567,6 @@ "type": "string", "description": "How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) .\n" }, - "match": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A set of equality matchers an alert has to fulfill to match the node.\n" - }, - "matchRegex": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A set of regex-matchers an alert has to fulfill to match the node.\n" - }, "receiver": { "type": "string", "description": "The name of the receiver to route the alerts to.\n" @@ -3259,8 +3588,6 @@ "groupBies", "groupInterval", "groupWait", - "match", - "matchRegex", "receiver", "repeatInterval", "routes" @@ -3273,6 +3600,10 @@ }, "stackit:index/getObservabilityInstanceAlertConfigRouteRoute:getObservabilityInstanceAlertConfigRouteRoute": { "properties": { + "continue": { + "type": "boolean", + "description": "Whether an alert should continue matching subsequent sibling nodes.\n" + }, "groupBies": { "type": "array", "items": { @@ -3293,14 +3624,23 @@ "additionalProperties": { "type": "string" }, - "description": "A set of equality matchers an alert has to fulfill to match the node.\n" + "description": "A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead\n", + "deprecationMessage": "Use `matchers` in the `routes` instead." }, "matchRegex": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A set of regex-matchers an alert has to fulfill to match the node.\n" + "description": "A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead\n", + "deprecationMessage": "Use `matchers` in the `routes` instead." + }, + "matchers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics.\n" }, "receiver": { "type": "string", @@ -3313,11 +3653,13 @@ }, "type": "object", "required": [ + "continue", "groupBies", "groupInterval", "groupWait", "match", "matchRegex", + "matchers", "receiver", "repeatInterval" ], @@ -3811,21 +4153,21 @@ } } }, - "stackit:index/getSecurityGroupRuleIcmpParameters:getSecurityGroupRuleIcmpParameters": { + "stackit:index/getRoutingTableRouteDestination:getRoutingTableRouteDestination": { "properties": { - "code": { - "type": "integer", - "description": "ICMP code. Can be set if the protocol is ICMP.\n" - }, "type": { - "type": "integer", - "description": "ICMP type. Can be set if the protocol is ICMP.\n" + "type": "string", + "description": "CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage.\n" + }, + "value": { + "type": "string", + "description": "An CIDR string.\n" } }, "type": "object", "required": [ - "code", - "type" + "type", + "value" ], "language": { "nodejs": { @@ -3833,21 +4175,21 @@ } } }, - "stackit:index/getSecurityGroupRulePortRange:getSecurityGroupRulePortRange": { + "stackit:index/getRoutingTableRouteNextHop:getRoutingTableRouteNextHop": { "properties": { - "max": { - "type": "integer", - "description": "The maximum port number. Should be greater or equal to the minimum.\n" + "type": { + "type": "string", + "description": "Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage..\n" }, - "min": { - "type": "integer", - "description": "The minimum port number. Should be less or equal to the minimum.\n" + "value": { + "type": "string", + "description": "Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.\n" } }, "type": "object", "required": [ - "max", - "min" + "type", + "value" ], "language": { "nodejs": { @@ -3855,21 +4197,44 @@ } } }, - "stackit:index/getSecurityGroupRuleProtocol:getSecurityGroupRuleProtocol": { + "stackit:index/getRoutingTableRoutesRoute:getRoutingTableRoutesRoute": { "properties": { - "name": { + "createdAt": { "type": "string", - "description": "The protocol name which the rule should match.\n" + "description": "Date-time when the route was created\n" }, - "number": { - "type": "integer", - "description": "The protocol number which the rule should match.\n" + "destination": { + "$ref": "#/types/stackit:index/getRoutingTableRoutesRouteDestination:getRoutingTableRoutesRouteDestination", + "description": "Destination of the route.\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "nextHop": { + "$ref": "#/types/stackit:index/getRoutingTableRoutesRouteNextHop:getRoutingTableRoutesRouteNextHop", + "description": "Next hop destination.\n" + }, + "routeId": { + "type": "string", + "description": "Route ID.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the route was updated\n" } }, "type": "object", "required": [ - "name", - "number" + "createdAt", + "destination", + "labels", + "nextHop", + "routeId", + "updatedAt" ], "language": { "nodejs": { @@ -3877,15 +4242,180 @@ } } }, - "stackit:index/getServerBackupScheduleBackupProperties:getServerBackupScheduleBackupProperties": { + "stackit:index/getRoutingTableRoutesRouteDestination:getRoutingTableRoutesRouteDestination": { "properties": { - "name": { - "type": "string" - }, - "retentionPeriod": { - "type": "integer" + "type": { + "type": "string", + "description": "CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage.\n" }, - "volumeIds": { + "value": { + "type": "string", + "description": "An CIDR string.\n" + } + }, + "type": "object", + "required": [ + "type", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getRoutingTableRoutesRouteNextHop:getRoutingTableRoutesRouteNextHop": { + "properties": { + "type": { + "type": "string", + "description": "Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage..\n" + }, + "value": { + "type": "string", + "description": "Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.\n" + } + }, + "type": "object", + "required": [ + "type", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getRoutingTablesItem:getRoutingTablesItem": { + "properties": { + "createdAt": { + "type": "string", + "description": "Date-time when the routing table was created\n" + }, + "default": { + "type": "boolean", + "description": "When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.\n" + }, + "description": { + "type": "string", + "description": "Description of the routing table.\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { + "type": "string", + "description": "The name of the routing table.\n" + }, + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" + }, + "systemRoutes": { + "type": "boolean", + "description": "This controls whether the routes for project-to-project communication are created automatically or not.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the routing table was updated\n" + } + }, + "type": "object", + "required": [ + "createdAt", + "default", + "description", + "labels", + "name", + "routingTableId", + "systemRoutes", + "updatedAt" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getSecurityGroupRuleIcmpParameters:getSecurityGroupRuleIcmpParameters": { + "properties": { + "code": { + "type": "integer", + "description": "ICMP code. Can be set if the protocol is ICMP.\n" + }, + "type": { + "type": "integer", + "description": "ICMP type. Can be set if the protocol is ICMP.\n" + } + }, + "type": "object", + "required": [ + "code", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getSecurityGroupRulePortRange:getSecurityGroupRulePortRange": { + "properties": { + "max": { + "type": "integer", + "description": "The maximum port number. Should be greater or equal to the minimum.\n" + }, + "min": { + "type": "integer", + "description": "The minimum port number. Should be less or equal to the minimum.\n" + } + }, + "type": "object", + "required": [ + "max", + "min" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getSecurityGroupRuleProtocol:getSecurityGroupRuleProtocol": { + "properties": { + "name": { + "type": "string", + "description": "The protocol name which the rule should match.\n" + }, + "number": { + "type": "integer", + "description": "The protocol number which the rule should match.\n" + } + }, + "type": "object", + "required": [ + "name", + "number" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "stackit:index/getServerBackupScheduleBackupProperties:getServerBackupScheduleBackupProperties": { + "properties": { + "name": { + "type": "string" + }, + "retentionPeriod": { + "type": "integer" + }, + "volumeIds": { "type": "array", "items": { "type": "string" @@ -4033,18 +4563,24 @@ }, "argus": { "$ref": "#/types/stackit:index/getSkeClusterExtensionsArgus:getSkeClusterExtensionsArgus", - "description": "A single argus block as defined below\n" + "description": "A single argus block as defined below. This field is deprecated and will be removed 06 January 2026.\n", + "deprecationMessage": "Use observability instead." }, "dns": { "$ref": "#/types/stackit:index/getSkeClusterExtensionsDns:getSkeClusterExtensionsDns", "description": "DNS extension configuration\n" + }, + "observability": { + "$ref": "#/types/stackit:index/getSkeClusterExtensionsObservability:getSkeClusterExtensionsObservability", + "description": "A single observability block as defined below.\n" } }, "type": "object", "required": [ "acl", "argus", - "dns" + "dns", + "observability" ], "language": { "nodejs": { @@ -4124,6 +4660,28 @@ } } }, + "stackit:index/getSkeClusterExtensionsObservability:getSkeClusterExtensionsObservability": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Flag to enable/disable Observability extensions.\n" + }, + "instanceId": { + "type": "string", + "description": "Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`.\n" + } + }, + "type": "object", + "required": [ + "enabled", + "instanceId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "stackit:index/getSkeClusterHibernation:getSkeClusterHibernation": { "properties": { "end": { @@ -4427,315 +4985,315 @@ "provider": { "description": "The provider type for the stackit package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n", "properties": { - "argusCustomEndpoint": { - "type": "string", - "description": "Custom endpoint for the Argus service\n", - "deprecationMessage": "Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observability_custom_endpoint` and `observability` resources instead, which offer the exact same functionality." - }, "authorizationCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Membership service\n" + "description": "Custom endpoint for the Membership service" }, "cdnCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the CDN service\n" + "description": "Custom endpoint for the CDN service" }, "credentialsPath": { "type": "string", - "description": "Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default\nvalue is `~/.stackit/credentials.json`.\n" + "description": "Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`." }, "defaultRegion": { "type": "string", - "description": "Region will be used as the default location for regional services. Not all services require a region, some are global\n" + "description": "Region will be used as the default location for regional services. Not all services require a region, some are global" }, "dnsCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the DNS service\n" + "description": "Custom endpoint for the DNS service" }, "enableBetaResources": { "type": "boolean", - "description": "Enable beta resources. Default is false.\n" + "description": "Enable beta resources. Default is false." }, "experiments": { "type": "array", "items": { "type": "string" }, - "description": "Enables experiments. These are unstable features without official support. More information can be found in the README.\nAvailable Experiments: [iam]\n" + "description": "Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network" }, "gitCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Git service\n" + "description": "Custom endpoint for the Git service" }, "iaasCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the IaaS service\n" + "description": "Custom endpoint for the IaaS service" }, "loadbalancerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Load Balancer service\n" + "description": "Custom endpoint for the Load Balancer service" }, "logmeCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the LogMe service\n" + "description": "Custom endpoint for the LogMe service" }, "mariadbCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the MariaDB service\n" + "description": "Custom endpoint for the MariaDB service" }, "modelservingCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the AI Model Serving service\n" + "description": "Custom endpoint for the AI Model Serving service" }, "mongodbflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the MongoDB Flex service\n" + "description": "Custom endpoint for the MongoDB Flex service" }, "objectstorageCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Object Storage service\n" + "description": "Custom endpoint for the Object Storage service" }, "observabilityCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Observability service\n" + "description": "Custom endpoint for the Observability service" }, "opensearchCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the OpenSearch service\n" + "description": "Custom endpoint for the OpenSearch service" }, "postgresflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the PostgresFlex service\n" + "description": "Custom endpoint for the PostgresFlex service" }, "privateKey": { "type": "string", - "description": "Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is\nincluded in the service account key.\n" + "description": "Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key." }, "privateKeyPath": { "type": "string", - "description": "Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private\nkey that is included in the service account key.\n" + "description": "Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key." }, "rabbitmqCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the RabbitMQ service\n" + "description": "Custom endpoint for the RabbitMQ service" }, "redisCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Redis service\n" + "description": "Custom endpoint for the Redis service" }, "region": { "type": "string", - "description": "Region will be used as the default location for regional services. Not all services require a region, some are global\n", + "description": "Region will be used as the default location for regional services. Not all services require a region, some are global", "deprecationMessage": "This attribute is deprecated. Use 'default_region' instead" }, "resourcemanagerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Resource Manager service\n" + "description": "Custom endpoint for the Resource Manager service" + }, + "scfCustomEndpoint": { + "type": "string", + "description": "Custom endpoint for the Cloud Foundry (SCF) service" }, "secretsmanagerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Secrets Manager service\n" + "description": "Custom endpoint for the Secrets Manager service" }, "serverBackupCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Server Backup service\n" + "description": "Custom endpoint for the Server Backup service" }, "serverUpdateCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Server Update service\n" + "description": "Custom endpoint for the Server Update service" }, "serviceAccountCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Service Account service\n" + "description": "Custom endpoint for the Service Account service" }, "serviceAccountEmail": { "type": "string", - "description": "Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required\nif you want to use the resource manager project resource.\n", + "description": "Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource.", "deprecationMessage": "The `service_account_email` field has been deprecated because it is not required. Will be removed after June 12th 2025." }, "serviceAccountKey": { "type": "string", - "description": "Service account key used for authentication. If set, the key flow will be used to authenticate all operations.\n" + "description": "Service account key used for authentication. If set, the key flow will be used to authenticate all operations." }, "serviceAccountKeyPath": { "type": "string", - "description": "Path for the service account key used for authentication. If set, the key flow will be used to authenticate all\noperations.\n" + "description": "Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations." }, "serviceAccountToken": { "type": "string", - "description": "Token used for authentication. If set, the token flow will be used to authenticate all operations.\n" + "description": "Token used for authentication. If set, the token flow will be used to authenticate all operations.", + "deprecationMessage": "Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `service_account_key` or `service_account_key_path` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html" }, "serviceEnablementCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Service Enablement API\n" + "description": "Custom endpoint for the Service Enablement API" }, "skeCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Kubernetes Engine (SKE) service\n" + "description": "Custom endpoint for the Kubernetes Engine (SKE) service" }, "sqlserverflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the SQL Server Flex service\n" + "description": "Custom endpoint for the SQL Server Flex service" }, "tokenCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the token API, which is used to request access tokens when using the key flow\n" + "description": "Custom endpoint for the token API, which is used to request access tokens when using the key flow" } }, "inputProperties": { - "argusCustomEndpoint": { - "type": "string", - "description": "Custom endpoint for the Argus service\n", - "deprecationMessage": "Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observability_custom_endpoint` and `observability` resources instead, which offer the exact same functionality." - }, "authorizationCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Membership service\n" + "description": "Custom endpoint for the Membership service" }, "cdnCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the CDN service\n" + "description": "Custom endpoint for the CDN service" }, "credentialsPath": { "type": "string", - "description": "Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default\nvalue is `~/.stackit/credentials.json`.\n" + "description": "Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`." }, "defaultRegion": { "type": "string", - "description": "Region will be used as the default location for regional services. Not all services require a region, some are global\n" + "description": "Region will be used as the default location for regional services. Not all services require a region, some are global" }, "dnsCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the DNS service\n" + "description": "Custom endpoint for the DNS service" }, "enableBetaResources": { "type": "boolean", - "description": "Enable beta resources. Default is false.\n" + "description": "Enable beta resources. Default is false." }, "experiments": { "type": "array", "items": { "type": "string" }, - "description": "Enables experiments. These are unstable features without official support. More information can be found in the README.\nAvailable Experiments: [iam]\n" + "description": "Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network" }, "gitCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Git service\n" + "description": "Custom endpoint for the Git service" }, "iaasCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the IaaS service\n" + "description": "Custom endpoint for the IaaS service" }, "loadbalancerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Load Balancer service\n" + "description": "Custom endpoint for the Load Balancer service" }, "logmeCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the LogMe service\n" + "description": "Custom endpoint for the LogMe service" }, "mariadbCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the MariaDB service\n" + "description": "Custom endpoint for the MariaDB service" }, "modelservingCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the AI Model Serving service\n" + "description": "Custom endpoint for the AI Model Serving service" }, "mongodbflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the MongoDB Flex service\n" + "description": "Custom endpoint for the MongoDB Flex service" }, "objectstorageCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Object Storage service\n" + "description": "Custom endpoint for the Object Storage service" }, "observabilityCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Observability service\n" + "description": "Custom endpoint for the Observability service" }, "opensearchCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the OpenSearch service\n" + "description": "Custom endpoint for the OpenSearch service" }, "postgresflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the PostgresFlex service\n" + "description": "Custom endpoint for the PostgresFlex service" }, "privateKey": { "type": "string", - "description": "Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is\nincluded in the service account key.\n" + "description": "Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key." }, "privateKeyPath": { "type": "string", - "description": "Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private\nkey that is included in the service account key.\n" + "description": "Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key." }, "rabbitmqCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the RabbitMQ service\n" + "description": "Custom endpoint for the RabbitMQ service" }, "redisCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Redis service\n" + "description": "Custom endpoint for the Redis service" }, "region": { "type": "string", - "description": "Region will be used as the default location for regional services. Not all services require a region, some are global\n", + "description": "Region will be used as the default location for regional services. Not all services require a region, some are global", "deprecationMessage": "This attribute is deprecated. Use 'default_region' instead" }, "resourcemanagerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Resource Manager service\n" + "description": "Custom endpoint for the Resource Manager service" + }, + "scfCustomEndpoint": { + "type": "string", + "description": "Custom endpoint for the Cloud Foundry (SCF) service" }, "secretsmanagerCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Secrets Manager service\n" + "description": "Custom endpoint for the Secrets Manager service" }, "serverBackupCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Server Backup service\n" + "description": "Custom endpoint for the Server Backup service" }, "serverUpdateCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Server Update service\n" + "description": "Custom endpoint for the Server Update service" }, "serviceAccountCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Service Account service\n" + "description": "Custom endpoint for the Service Account service" }, "serviceAccountEmail": { "type": "string", - "description": "Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required\nif you want to use the resource manager project resource.\n", + "description": "Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource.", "deprecationMessage": "The `service_account_email` field has been deprecated because it is not required. Will be removed after June 12th 2025." }, "serviceAccountKey": { "type": "string", - "description": "Service account key used for authentication. If set, the key flow will be used to authenticate all operations.\n" + "description": "Service account key used for authentication. If set, the key flow will be used to authenticate all operations." }, "serviceAccountKeyPath": { "type": "string", - "description": "Path for the service account key used for authentication. If set, the key flow will be used to authenticate all\noperations.\n" + "description": "Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations." }, "serviceAccountToken": { "type": "string", - "description": "Token used for authentication. If set, the token flow will be used to authenticate all operations.\n" + "description": "Token used for authentication. If set, the token flow will be used to authenticate all operations.", + "deprecationMessage": "Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `service_account_key` or `service_account_key_path` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html" }, "serviceEnablementCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Service Enablement API\n" + "description": "Custom endpoint for the Service Enablement API" }, "skeCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the Kubernetes Engine (SKE) service\n" + "description": "Custom endpoint for the Kubernetes Engine (SKE) service" }, "sqlserverflexCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the SQL Server Flex service\n" + "description": "Custom endpoint for the SQL Server Flex service" }, "tokenCustomEndpoint": { "type": "string", - "description": "Custom endpoint for the token API, which is used to request access tokens when using the key flow\n" + "description": "Custom endpoint for the token API, which is used to request access tokens when using the key flow" } }, "methods": { @@ -4744,7 +5302,7 @@ }, "resources": { "stackit:index/affinityGroup:AffinityGroup": { - "description": "Affinity Group schema. Must have a `region` specified in the provider configuration.\n\n\n\n## Example Usage\n\n```terraform\nresource \"stackit_affinity_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-affinity-group-name\"\n policy = \"hard-anti-affinity\"\n}\n```\n", + "description": "Affinity Group schema. Must have a `region` specified in the provider configuration.\n\n\n\n## Example Usage\n\n```terraform\nresource \"stackit_affinity_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-affinity-group-name\"\n policy = \"hard-anti-affinity\"\n}\n\n# Only use the import statement, if you want to import an existing affinity group\nimport {\n to = stackit_affinity_group.import-example\n id = \"${var.project_id},${var.affinity_group_id}\"\n}\n```\n", "properties": { "affinityGroupId": { "type": "string", @@ -4826,7 +5384,7 @@ } }, "stackit:index/authorizationOrganizationRoleAssignment:AuthorizationOrganizationRoleAssignment": { - "description": "organization Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_authorization_organization_role_assignment\" \"example\" {\n resource_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n role = \"owner\"\n subject = \"john.doe@stackit.cloud\"\n}\n```\n", + "description": "organization Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_authorization_organization_role_assignment\" \"example\" {\n resource_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n role = \"owner\"\n subject = \"john.doe@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing organization role assignment\nimport {\n to = stackit_authorization_organization_role_assignment.import-example\n id = \"${var.organization_id},${var.org_role_assignment_role},${var.org_role_assignment_subject}\"\n}\n```\n", "properties": { "resourceId": { "type": "string", @@ -4885,7 +5443,7 @@ } }, "stackit:index/authorizationProjectRoleAssignment:AuthorizationProjectRoleAssignment": { - "description": "project Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_authorization_project_role_assignment\" \"example\" {\n resource_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n role = \"owner\"\n subject = \"john.doe@stackit.cloud\"\n}\n```\n", + "description": "project Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_authorization_project_role_assignment\" \"example\" {\n resource_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n role = \"owner\"\n subject = \"john.doe@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing project role assignment\nimport {\n to = stackit_authorization_project_role_assignment.import-example\n id = \"${var.project_id},${var.project_role_assignment_role},${var.project_role_assignment_subject}\"\n}\n```\n", "properties": { "resourceId": { "type": "string", @@ -4944,8 +5502,12 @@ } }, "stackit:index/cdnCustomDomain:CdnCustomDomain": { - "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_cdn_custom_domain\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n distribution_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"https://xxx.xxx\"\n}\n```\n", + "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_cdn_custom_domain\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n distribution_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"https://xxx.xxx\"\n certificate = {\n certificate = \"-----BEGIN CERTIFICATE-----\\nY2VydGlmaWNhdGVfZGF0YQ==\\n-----END CERTIFICATE---\"\n private_key = \"-----BEGIN RSA PRIVATE KEY-----\\nY2VydGlmaWNhdGVfZGF0YQ==\\n-----END RSA PRIVATE KEY---\"\n }\n}\n\n# Only use the import statement, if you want to import an existing cdn custom domain\nimport {\n to = stackit_cdn_custom_domain.import-example\n id = \"${var.project_id},${var.distribution_id},${var.custom_domain_name}\"\n}\n```\n", "properties": { + "certificate": { + "$ref": "#/types/stackit:index/CdnCustomDomainCertificate:CdnCustomDomainCertificate", + "description": "The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.\n" + }, "distributionId": { "type": "string", "description": "CDN distribution ID\n" @@ -4977,6 +5539,10 @@ "status" ], "inputProperties": { + "certificate": { + "$ref": "#/types/stackit:index/CdnCustomDomainCertificate:CdnCustomDomainCertificate", + "description": "The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.\n" + }, "distributionId": { "type": "string", "description": "CDN distribution ID\n" @@ -4996,6 +5562,10 @@ "stateInputs": { "description": "Input properties used for looking up and filtering CdnCustomDomain resources.\n", "properties": { + "certificate": { + "$ref": "#/types/stackit:index/CdnCustomDomainCertificate:CdnCustomDomainCertificate", + "description": "The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.\n" + }, "distributionId": { "type": "string", "description": "CDN distribution ID\n" @@ -5023,7 +5593,7 @@ } }, "stackit:index/cdnDistribution:CdnDistribution": { - "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_cdn_distribution\" \"example_distribution\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n config = {\n backend = {\n type = \"http\"\n origin_url = \"mybackend.onstackit.cloud\"\n }\n regions = [\"EU\", \"US\", \"ASIA\", \"AF\", \"SA\"]\n }\n}\n```\n", + "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_cdn_distribution\" \"example_distribution\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n config = {\n backend = {\n type = \"http\"\n origin_url = \"https://mybackend.onstackit.cloud\"\n }\n regions = [\"EU\", \"US\", \"ASIA\", \"AF\", \"SA\"]\n blocked_countries = [\"DE\", \"AT\", \"CH\"]\n\n optimizer = {\n enabled = true\n }\n }\n}\n\n# Only use the import statement, if you want to import an existing cdn distribution\nimport {\n to = stackit_cdn_distribution.import-example\n id = \"${var.project_id},${var.distribution_id}\"\n}\n```\n", "properties": { "config": { "$ref": "#/types/stackit:index/CdnDistributionConfig:CdnDistributionConfig", @@ -5134,7 +5704,7 @@ } }, "stackit:index/dnsRecordSet:DnsRecordSet": { - "description": "DNS Record Set Resource schema.\n\n## Example Usage\n\n```terraform\nresource \"stackit_dns_record_set\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n zone_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-record-set\"\n type = \"A\"\n comment = \"Example comment\"\n records = [\"1.2.3.4\"]\n}\n```\n", + "description": "DNS Record Set Resource schema.\n\n## Example Usage\n\n```terraform\nresource \"stackit_dns_record_set\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n zone_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-record-set\"\n type = \"A\"\n comment = \"Example comment\"\n records = [\"1.2.3.4\"]\n}\n\n# Only use the import statement, if you want to import an existing dns record set\nimport {\n to = stackit_dns_record_set.import-example\n id = \"${var.project_id},${var.zone_id},${var.record_set_id}\"\n}\n```\n", "properties": { "active": { "type": "boolean", @@ -5304,7 +5874,7 @@ } }, "stackit:index/dnsZone:DnsZone": { - "description": "DNS Zone resource schema.\n\n## Example Usage\n\n```terraform\nresource \"stackit_dns_zone\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"Example zone\"\n dns_name = \"example-zone.com\"\n contact_email = \"aa@bb.ccc\"\n type = \"primary\"\n acl = \"192.168.0.0/24\"\n description = \"Example description\"\n default_ttl = 1230\n}\n```\n", + "description": "DNS Zone resource schema.\n\n## Example Usage\n\n```terraform\nresource \"stackit_dns_zone\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"Example zone\"\n dns_name = \"example-zone.com\"\n contact_email = \"aa@bb.ccc\"\n type = \"primary\"\n acl = \"192.168.0.0/24\"\n description = \"Example description\"\n default_ttl = 1230\n}\n\n# Only use the import statement, if you want to import an existing dns zone\nimport {\n to = stackit_dns_zone.import-example\n id = \"${var.project_id},${var.zone_id}\"\n}\n```\n", "properties": { "acl": { "type": "string", @@ -5578,8 +6148,31 @@ } }, "stackit:index/git:Git": { - "description": "Git Instance resource schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_git\" \"git\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"git-example-instance\"\n}\n```\n", + "description": "Git Instance resource schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. This resource currently does not support updates. Changing the ACLs, flavor, or name will trigger resource recreation. Update functionality will be added soon. In the meantime, please proceed with caution. To update these attributes, please open a support ticket.\n\n## Example Usage\n\n```terraform\nresource \"stackit_git\" \"git\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"git-example-instance\"\n}\n\nresource \"stackit_git\" \"git\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"git-example-instance\"\n acl = [\n \"0.0.0.0/0\"\n ]\n flavor = \"git-100\"\n}\n\n# Only use the import statement, if you want to import an existing git resource\nimport {\n to = stackit_git.import-example\n id = \"${var.project_id},${var.git_instance_id}\"\n}\n```\n", "properties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Restricted ACL for instance access.\n" + }, + "consumedDisk": { + "type": "string", + "description": "How many bytes of disk space is consumed.\n" + }, + "consumedObjectStorage": { + "type": "string", + "description": "How many bytes of Object Storage is consumed.\n" + }, + "created": { + "type": "string", + "description": "Instance creation timestamp in RFC3339 format.\n" + }, + "flavor": { + "type": "string", + "description": "Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta`\n" + }, "instanceId": { "type": "string", "description": "ID linked to the git instance.\n" @@ -5602,6 +6195,11 @@ } }, "required": [ + "acls", + "consumedDisk", + "consumedObjectStorage", + "created", + "flavor", "instanceId", "name", "projectId", @@ -5609,6 +6207,17 @@ "version" ], "inputProperties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Restricted ACL for instance access.\n" + }, + "flavor": { + "type": "string", + "description": "Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta`\n" + }, "name": { "type": "string", "description": "Unique name linked to the git instance.\n" @@ -5624,6 +6233,29 @@ "stateInputs": { "description": "Input properties used for looking up and filtering Git resources.\n", "properties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Restricted ACL for instance access.\n" + }, + "consumedDisk": { + "type": "string", + "description": "How many bytes of disk space is consumed.\n" + }, + "consumedObjectStorage": { + "type": "string", + "description": "How many bytes of Object Storage is consumed.\n" + }, + "created": { + "type": "string", + "description": "Instance creation timestamp in RFC3339 format.\n" + }, + "flavor": { + "type": "string", + "description": "Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta`\n" + }, "instanceId": { "type": "string", "description": "ID linked to the git instance.\n" @@ -5649,7 +6281,7 @@ } }, "stackit:index/image:Image": { - "description": "Image resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_image\" \"example_image\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-image\"\n disk_format = \"qcow2\"\n local_file_path = \"./path/to/image.qcow2\"\n min_disk_size = 10\n min_ram = 5\n}\n```\n", + "description": "Image resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_image\" \"example_image\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-image\"\n disk_format = \"qcow2\"\n local_file_path = \"./path/to/image.qcow2\"\n min_disk_size = 10\n min_ram = 5\n}\n\n# Only use the import statement, if you want to import an existing image\n# Must set a configuration value for the local_file_path attribute as the provider has marked it as required.\n# Since this attribute is not fetched in general from the API call, after adding it this would replace your image resource after an pulumi up.\n# In order to prevent this you need to add:\n#lifecycle {\n# ignore_changes = [ local_file_path ]\n# }\nimport {\n to = stackit_image.import-example\n id = \"${var.project_id},${var.image_id}\"\n}\n```\n", "properties": { "checksum": { "$ref": "#/types/stackit:index/ImageChecksum:ImageChecksum", @@ -5817,7 +6449,7 @@ } }, "stackit:index/keyPair:KeyPair": { - "description": "Key pair resource schema. Must have a `region` specified in the provider configuration. Allows uploading an SSH public key to be used for server authentication.\n", + "description": "Key pair resource schema. Must have a `region` specified in the provider configuration. Allows uploading an SSH public key to be used for server authentication.\n\n\n\n## Example Usage\n\n```terraform\n# Create a key pair\nresource \"stackit_key_pair\" \"keypair\" {\n name = \"example-key-pair\"\n public_key = chomp(file(\"path/to/id_rsa.pub\"))\n}\n\n# Only use the import statement, if you want to import an existing key pair\nimport {\n to = stackit_key_pair.import-example\n id = var.keypair_name\n}\n```\n", "properties": { "fingerprint": { "type": "string", @@ -5891,8 +6523,12 @@ } }, "stackit:index/loadbalancer:Loadbalancer": { - "description": "## Example Usage\n\n```terraform\n# Create a network\nresource \"stackit_network\" \"example_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-network\"\n ipv4_nameservers = [\"8.8.8.8\"]\n ipv4_prefix = \"192.168.0.0/25\"\n labels = {\n \"key\" = \"value\"\n }\n routed = true\n}\n\n# Create a network interface\nresource \"stackit_network_interface\" \"nic\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = stackit_network.example_network.network_id\n}\n\n# Create a public IP for the load balancer\nresource \"stackit_public_ip\" \"public-ip\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n lifecycle {\n ignore_changes = [network_interface_id]\n }\n}\n\n# Create a key pair for accessing the server instance\nresource \"stackit_key_pair\" \"keypair\" {\n name = \"example-key-pair\"\n public_key = chomp(file(\"path/to/id_rsa.pub\"))\n}\n\n# Create a server instance\nresource \"stackit_server\" \"boot-from-image\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"59838a89-51b1-4892-b57f-b3caf598ee2f\" // Ubuntu 24.04\n }\n availability_zone = \"xxxx-x\"\n machine_type = \"g1.1\"\n keypair_name = stackit_key_pair.keypair.name\n network_interfaces = [\n stackit_network_interface.nic.network_interface_id\n ]\n}\n\n# Create a load balancer\nresource \"stackit_loadbalancer\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-load-balancer\"\n target_pools = [\n {\n name = \"example-target-pool\"\n target_port = 80\n targets = [\n {\n display_name = stackit_server.boot-from-image.name\n ip = stackit_network_interface.nic.ipv4\n }\n ]\n active_health_check = {\n healthy_threshold = 10\n interval = \"3s\"\n interval_jitter = \"3s\"\n timeout = \"3s\"\n unhealthy_threshold = 10\n }\n }\n ]\n listeners = [\n {\n display_name = \"example-listener\"\n port = 80\n protocol = \"PROTOCOL_TCP\"\n target_pool = \"example-target-pool\"\n }\n ]\n networks = [\n {\n network_id = stackit_network.example_network.network_id\n role = \"ROLE_LISTENERS_AND_TARGETS\"\n }\n ]\n external_address = stackit_public_ip.public-ip.ip\n options = {\n private_network_only = false\n }\n}\n```\n", + "description": "## Example Usage\n\n```terraform\n# Create a network\nresource \"stackit_network\" \"example_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-network\"\n ipv4_nameservers = [\"8.8.8.8\"]\n ipv4_prefix = \"192.168.0.0/25\"\n labels = {\n \"key\" = \"value\"\n }\n routed = true\n}\n\n# Create a network interface\nresource \"stackit_network_interface\" \"nic\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = stackit_network.example_network.network_id\n}\n\n# Create a public IP for the load balancer\nresource \"stackit_public_ip\" \"public-ip\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n lifecycle {\n ignore_changes = [network_interface_id]\n }\n}\n\n# Create a key pair for accessing the server instance\nresource \"stackit_key_pair\" \"keypair\" {\n name = \"example-key-pair\"\n public_key = chomp(file(\"path/to/id_rsa.pub\"))\n}\n\n# Create a server instance\nresource \"stackit_server\" \"boot-from-image\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"59838a89-51b1-4892-b57f-b3caf598ee2f\" // Ubuntu 24.04\n }\n availability_zone = \"xxxx-x\"\n machine_type = \"g2i.1\"\n keypair_name = stackit_key_pair.keypair.name\n network_interfaces = [\n stackit_network_interface.nic.network_interface_id\n ]\n}\n\n# Create a load balancer\nresource \"stackit_loadbalancer\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-load-balancer\"\n plan_id = \"p10\"\n target_pools = [\n {\n name = \"example-target-pool\"\n target_port = 80\n targets = [\n {\n display_name = stackit_server.boot-from-image.name\n ip = stackit_network_interface.nic.ipv4\n }\n ]\n active_health_check = {\n healthy_threshold = 10\n interval = \"3s\"\n interval_jitter = \"3s\"\n timeout = \"3s\"\n unhealthy_threshold = 10\n }\n }\n ]\n listeners = [\n {\n display_name = \"example-listener\"\n port = 80\n protocol = \"PROTOCOL_TCP\"\n target_pool = \"example-target-pool\"\n }\n ]\n networks = [\n {\n network_id = stackit_network.example_network.network_id\n role = \"ROLE_LISTENERS_AND_TARGETS\"\n }\n ]\n external_address = stackit_public_ip.public-ip.ip\n options = {\n private_network_only = false\n }\n}\n\n# This example demonstrates an advanced setup where the Load Balancer is in one\n# network and the target server is in another. This requires manual\n# security group configuration using the `disable_security_group_assignment`\n# and `security_group_id` attributes.\n\n# We create two separate networks: one for the load balancer and one for the target.\nresource \"stackit_network\" \"lb_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"lb-network-example\"\n ipv4_prefix = \"192.168.10.0/25\"\n ipv4_nameservers = [\"8.8.8.8\"]\n}\n\nresource \"stackit_network\" \"target_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"target-network-example\"\n ipv4_prefix = \"192.168.10.0/25\"\n ipv4_nameservers = [\"8.8.8.8\"]\n}\n\nresource \"stackit_public_ip\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\nresource \"stackit_loadbalancer\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-advanced-lb\"\n external_address = stackit_public_ip.example.ip\n\n # Key setting for manual mode: disables automatic security group handling.\n disable_security_group_assignment = true\n\n networks = [{\n network_id = stackit_network.lb_network.network_id\n role = \"ROLE_LISTENERS_AND_TARGETS\"\n }]\n\n listeners = [{\n port = 80\n protocol = \"PROTOCOL_TCP\"\n target_pool = \"cross-network-pool\"\n }]\n\n target_pools = [{\n name = \"cross-network-pool\"\n target_port = 80\n targets = [{\n display_name = stackit_server.example.name\n ip = stackit_network_interface.nic.ipv4\n }]\n }]\n}\n\n# Create a new security group to be assigned to the target server.\nresource \"stackit_security_group\" \"target_sg\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"target-sg-for-lb-access\"\n description = \"Allows ingress traffic from the example load balancer.\"\n}\n\n# Create a rule to allow traffic FROM the load balancer.\n# This rule uses the computed `security_group_id` of the load balancer.\nresource \"stackit_security_group_rule\" \"allow_lb_ingress\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n security_group_id = stackit_security_group.target_sg.security_group_id\n direction = \"ingress\"\n protocol = {\n name = \"tcp\"\n }\n\n # This is the crucial link: it allows traffic from the LB's security group.\n remote_security_group_id = stackit_loadbalancer.example.security_group_id\n\n port_range = {\n min = 80\n max = 80\n }\n}\n\nresource \"stackit_server\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-remote-target\"\n machine_type = \"g2i.2\"\n availability_zone = \"eu01-1\"\n\n boot_volume = {\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n size = 10\n }\n\n network_interfaces = [\n stackit_network_interface.nic.network_interface_id\n ]\n}\n\nresource \"stackit_network_interface\" \"nic\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = stackit_network.target_network.network_id\n security_group_ids = [stackit_security_group.target_sg.security_group_id]\n}\n# End of advanced example\n\n# Only use the import statement, if you want to import an existing loadbalancer\nimport {\n to = stackit_loadbalancer.import-example\n id = \"${var.project_id},${var.region},${var.loadbalancer_name}\"\n}\n```\n", "properties": { + "disableSecurityGroupAssignment": { + "type": "boolean", + "description": "If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.\n" + }, "externalAddress": { "type": "string", "description": "External Load Balancer IP address where this Load Balancer is exposed.\n" @@ -5919,6 +6555,10 @@ "$ref": "#/types/stackit:index/LoadbalancerOptions:LoadbalancerOptions", "description": "Defines any optional functionality you want to have enabled on your load balancer.\n" }, + "planId": { + "type": "string", + "description": "The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`.\n" + }, "privateAddress": { "type": "string", "description": "Transient private Load Balancer IP address. It can change any time.\n" @@ -5931,6 +6571,10 @@ "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, + "securityGroupId": { + "type": "string", + "description": "The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`.\n" + }, "targetPools": { "type": "array", "items": { @@ -5940,16 +6584,23 @@ } }, "required": [ + "disableSecurityGroupAssignment", "listeners", "name", "networks", "options", + "planId", "privateAddress", "projectId", "region", + "securityGroupId", "targetPools" ], "inputProperties": { + "disableSecurityGroupAssignment": { + "type": "boolean", + "description": "If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.\n" + }, "externalAddress": { "type": "string", "description": "External Load Balancer IP address where this Load Balancer is exposed.\n" @@ -5976,6 +6627,10 @@ "$ref": "#/types/stackit:index/LoadbalancerOptions:LoadbalancerOptions", "description": "Defines any optional functionality you want to have enabled on your load balancer.\n" }, + "planId": { + "type": "string", + "description": "The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`.\n" + }, "projectId": { "type": "string", "description": "STACKIT project ID to which the Load Balancer is associated.\n" @@ -6001,6 +6656,10 @@ "stateInputs": { "description": "Input properties used for looking up and filtering Loadbalancer resources.\n", "properties": { + "disableSecurityGroupAssignment": { + "type": "boolean", + "description": "If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.\n" + }, "externalAddress": { "type": "string", "description": "External Load Balancer IP address where this Load Balancer is exposed.\n" @@ -6027,6 +6686,10 @@ "$ref": "#/types/stackit:index/LoadbalancerOptions:LoadbalancerOptions", "description": "Defines any optional functionality you want to have enabled on your load balancer.\n" }, + "planId": { + "type": "string", + "description": "The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`.\n" + }, "privateAddress": { "type": "string", "description": "Transient private Load Balancer IP address. It can change any time.\n" @@ -6039,6 +6702,10 @@ "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, + "securityGroupId": { + "type": "string", + "description": "The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`.\n" + }, "targetPools": { "type": "array", "items": { @@ -6051,7 +6718,7 @@ } }, "stackit:index/loadbalancerObservabilityCredential:LoadbalancerObservabilityCredential": { - "description": "Load balancer observability credential resource schema. Must have a `region` specified in the provider configuration. These contain the username and password for the observability service (e.g. Argus) where the load balancer logs/metrics will be pushed into\n\n## Example Usage\n\n```terraform\nresource \"stackit_loadbalancer_observability_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n display_name = \"example-credentials\"\n username = \"example-user\"\n password = \"example-password\"\n}\n```\n", + "description": "Load balancer observability credential resource schema. Must have a `region` specified in the provider configuration. These contain the username and password for the observability service (e.g. Argus) where the load balancer logs/metrics will be pushed into\n\n## Example Usage\n\n```terraform\nresource \"stackit_loadbalancer_observability_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n display_name = \"example-credentials\"\n username = \"example-user\"\n password = \"example-password\"\n}\n\n# Only use the import statement, if you want to import an existing loadbalancer observability credential\nimport {\n to = stackit_loadbalancer_observability_credential.import-example\n id = \"${var.project_id},${var.region},${var.credentials_ref}\"\n}\n```\n", "properties": { "credentialsRef": { "type": "string", @@ -6146,7 +6813,7 @@ } }, "stackit:index/logmeCredential:LogmeCredential": { - "description": "LogMe credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_logme_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "LogMe credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_logme_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing logme credential\nimport {\n to = stackit_logme_credential.import-example\n id = \"${var.project_id},${var.logme_instance_id},${var.logme_credentials_id}\"\n}\n```\n", "properties": { "credentialId": { "type": "string", @@ -6239,7 +6906,7 @@ } }, "stackit:index/logmeInstance:LogmeInstance": { - "description": "LogMe instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_logme_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"2\"\n plan_name = \"stackit-logme2-1.2.50-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n }\n}\n```\n", + "description": "LogMe instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_logme_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"2\"\n plan_name = \"stackit-logme2-1.2.50-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n }\n}\n\n# Only use the import statement, if you want to import an existing logme instance\nimport {\n to = stackit_logme_instance.import-example\n id = \"${var.project_id},${var.logme_instance_id}\"\n}\n```\n", "properties": { "cfGuid": { "type": "string" @@ -6374,7 +7041,7 @@ } }, "stackit:index/mariadbCredential:MariadbCredential": { - "description": "MariaDB credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mariadb_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "MariaDB credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mariadb_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing mariadb credential\nimport {\n to = stackit_mariadb_credential.import-example\n id = \"${var.project_id},${var.mariadb_instance_id},${var.mariadb_credential_id}\"\n}\n```\n", "properties": { "credentialId": { "type": "string", @@ -6487,7 +7154,7 @@ } }, "stackit:index/mariadbInstance:MariadbInstance": { - "description": "MariaDB instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mariadb_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"10.11\"\n plan_name = \"stackit-mariadb-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n }\n}\n```\n", + "description": "MariaDB instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mariadb_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"10.11\"\n plan_name = \"stackit-mariadb-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n }\n}\n\n# Only use the import statement, if you want to import an existing mariadb instance\nimport {\n to = stackit_mariadb_instance.import-example\n id = \"${var.project_id},${var.mariadb_instance_id}\"\n}\n```\n", "properties": { "cfGuid": { "type": "string" @@ -6762,7 +7429,7 @@ } }, "stackit:index/mongodbflexInstance:MongodbflexInstance": { - "description": "MongoDB Flex instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mongodbflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acl = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n flavor = {\n cpu = 1\n ram = 4\n }\n replicas = 1\n storage = {\n class = \"class\"\n size = 10\n }\n version = \"7.0\"\n options = {\n type = \"Single\"\n snapshot_retention_days = 3\n point_in_time_window_hours = 30\n }\n backup_schedule = \"0 0 * * *\"\n}\n```\n", + "description": "MongoDB Flex instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mongodbflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acl = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n flavor = {\n cpu = 1\n ram = 4\n }\n replicas = 1\n storage = {\n class = \"class\"\n size = 10\n }\n version = \"7.0\"\n options = {\n type = \"Single\"\n snapshot_retention_days = 3\n point_in_time_window_hours = 30\n }\n backup_schedule = \"0 0 * * *\"\n}\n\n# Only use the import statement, if you want to import an existing mongodbflex instance\nimport {\n to = stackit_mongodbflex_instance.import-example\n id = \"${var.project_id},${var.region},${var.instance_id}\"\n}\n```\n", "properties": { "acls": { "type": "array", @@ -6793,6 +7460,10 @@ "type": "string", "description": "STACKIT project ID to which the instance is associated.\n" }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, "replicas": { "type": "integer" }, @@ -6811,6 +7482,7 @@ "name", "options", "projectId", + "region", "replicas", "storage", "version" @@ -6841,6 +7513,10 @@ "type": "string", "description": "STACKIT project ID to which the instance is associated.\n" }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, "replicas": { "type": "integer" }, @@ -6893,8 +7569,12 @@ "type": "string", "description": "STACKIT project ID to which the instance is associated.\n" }, - "replicas": { - "type": "integer" + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "replicas": { + "type": "integer" }, "storage": { "$ref": "#/types/stackit:index/MongodbflexInstanceStorage:MongodbflexInstanceStorage" @@ -6907,7 +7587,7 @@ } }, "stackit:index/mongodbflexUser:MongodbflexUser": { - "description": "MongoDB Flex user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mongodbflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n username = \"username\"\n roles = [\"role\"]\n database = \"database\"\n}\n```\n", + "description": "MongoDB Flex user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_mongodbflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n username = \"username\"\n roles = [\"role\"]\n database = \"database\"\n}\n\n# Only use the import statement, if you want to import an existing mongodbflex user\nimport {\n to = stackit_mongodbflex_user.import-example\n id = \"${var.project_id},${var.region},${var.instance_id},${user_id}\"\n}\n```\n", "properties": { "database": { "type": "string" @@ -6930,6 +7610,10 @@ "type": "string", "description": "STACKIT project ID to which the instance is associated.\n" }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, "roles": { "type": "array", "items": { @@ -6956,6 +7640,7 @@ "password", "port", "projectId", + "region", "roles", "uri", "userId", @@ -6973,6 +7658,10 @@ "type": "string", "description": "STACKIT project ID to which the instance is associated.\n" }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, "roles": { "type": "array", "items": { @@ -7014,6 +7703,10 @@ "type": "string", "description": "STACKIT project ID to which the instance is associated.\n" }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, "roles": { "type": "array", "items": { @@ -7037,7 +7730,7 @@ } }, "stackit:index/network:Network": { - "description": "Network resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network\" \"example_with_name\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-with-name\"\n}\n\nresource \"stackit_network\" \"example_routed_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-routed-network\"\n labels = {\n \"key\" = \"value\"\n }\n routed = true\n}\n\nresource \"stackit_network\" \"example_non_routed_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-non-routed-network\"\n ipv4_nameservers = [\"1.2.3.4\", \"5.6.7.8\"]\n ipv4_prefix_length = 24\n ipv4_gateway = \"10.1.2.3\"\n ipv4_prefix = \"10.1.2.0/24\"\n labels = {\n \"key\" = \"value\"\n }\n routed = false\n}\n```\n", + "description": "Network resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network\" \"example_with_name\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-with-name\"\n}\n\nresource \"stackit_network\" \"example_routed_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-routed-network\"\n labels = {\n \"key\" = \"value\"\n }\n routed = true\n}\n\nresource \"stackit_network\" \"example_non_routed_network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-non-routed-network\"\n ipv4_nameservers = [\"1.2.3.4\", \"5.6.7.8\"]\n ipv4_prefix_length = 24\n ipv4_gateway = \"10.1.2.3\"\n ipv4_prefix = \"10.1.2.0/24\"\n labels = {\n \"key\" = \"value\"\n }\n routed = false\n}\n\n# Only use the import statement, if you want to import an existing network\n# Note: There will be a conflict which needs to be resolved manually.\n# These attributes cannot be configured together: [ipv4_prefix,ipv4_prefix_length,ipv4_gateway]\nimport {\n to = stackit_network.import-example\n id = \"${var.project_id},${var.network_id}\"\n}\n```\n", "properties": { "ipv4Gateway": { "type": "string", @@ -7138,9 +7831,17 @@ "type": "string", "description": "The public IP of the network.\n" }, + "region": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set.\nThe resource region. If not defined, the provider region is used.\n" + }, "routed": { "type": "boolean", "description": "If set to `true`, the network is routed and therefore accessible from other networks.\n" + }, + "routingTableId": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set.\nThe ID of the routing table associated with the network.\n" } }, "required": [ @@ -7158,7 +7859,9 @@ "prefixes", "projectId", "publicIp", - "routed" + "region", + "routed", + "routingTableId" ], "inputProperties": { "ipv4Gateway": { @@ -7230,9 +7933,17 @@ "type": "string", "description": "STACKIT project ID to which the network is associated.\n" }, + "region": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set.\nThe resource region. If not defined, the provider region is used.\n" + }, "routed": { "type": "boolean", "description": "If set to `true`, the network is routed and therefore accessible from other networks.\n" + }, + "routingTableId": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set.\nThe ID of the routing table associated with the network.\n" } }, "requiredInputs": [ @@ -7340,16 +8051,24 @@ "type": "string", "description": "The public IP of the network.\n" }, + "region": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set.\nThe resource region. If not defined, the provider region is used.\n" + }, "routed": { "type": "boolean", "description": "If set to `true`, the network is routed and therefore accessible from other networks.\n" + }, + "routingTableId": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set.\nThe ID of the routing table associated with the network.\n" } }, "type": "object" } }, "stackit:index/networkArea:NetworkArea": { - "description": "Network area resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network_area\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-network-area\"\n network_ranges = [\n {\n prefix = \"192.168.0.0/24\"\n }\n ]\n transfer_network = \"192.168.0.0/24\"\n labels = {\n \"key\" = \"value\"\n }\n}\n```\n", + "description": "Network area resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network_area\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-network-area\"\n network_ranges = [\n {\n prefix = \"192.168.0.0/24\"\n }\n ]\n transfer_network = \"192.168.1.0/24\"\n labels = {\n \"key\" = \"value\"\n }\n}\n\n# Only use the import statement, if you want to import an existing network area\nimport {\n to = stackit_network_area.import-example\n id = \"${var.organization_id},${var.network_area_id}\"\n}\n```\n", "properties": { "defaultNameservers": { "type": "array", @@ -7529,7 +8248,7 @@ } }, "stackit:index/networkAreaRoute:NetworkAreaRoute": { - "description": "Network area route resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network_area_route\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n prefix = \"192.168.0.0/24\"\n next_hop = \"192.168.0.0\"\n labels = {\n \"key\" = \"value\"\n }\n}\n```\n", + "description": "Network area route resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network_area_route\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n prefix = \"192.168.0.0/24\"\n next_hop = \"192.168.0.0\"\n labels = {\n \"key\" = \"value\"\n }\n}\n\n# Only use the import statement, if you want to import an existing network area route\nimport {\n to = stackit_network_area_route.import-example\n id = \"${var.organization_id},${var.network_area_id},${var.network_area_route_id}\"\n}\n```\n", "properties": { "labels": { "type": "object", @@ -7632,7 +8351,7 @@ } }, "stackit:index/networkInterface:NetworkInterface": { - "description": "Network interface resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network_interface\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n allowed_addresses = [\"192.168.0.0/24\"]\n security_group_ids = [\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"]\n}\n```\n", + "description": "Network interface resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_network_interface\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n allowed_addresses = [\"192.168.0.0/24\"]\n security_group_ids = [\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"]\n}\n\n# Only use the import statement, if you want to import an existing network interface\nimport {\n to = stackit_network_interface.import-example\n id = \"${var.project_id},${var.network_id},${var.network_interface_id}\"\n}\n```\n", "properties": { "allowedAddresses": { "type": "array", @@ -7817,7 +8536,7 @@ } }, "stackit:index/objectstorageBucket:ObjectstorageBucket": { - "description": "ObjectStorage bucket resource schema. Must have a `region` specified in the provider configuration. If you are creating `credentialsgroup` and `bucket` resources simultaneously, please include the `depends_on` field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.\n\n## Example Usage\n\n```terraform\nresource \"stackit_objectstorage_bucket\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-bucket\"\n}\n```\n", + "description": "ObjectStorage bucket resource schema. Must have a `region` specified in the provider configuration. If you are creating `credentialsgroup` and `bucket` resources simultaneously, please include the `depends_on` field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.\n\n## Example Usage\n\n```terraform\nresource \"stackit_objectstorage_bucket\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-bucket\"\n}\n\n# Only use the import statement, if you want to import an existing objectstorage bucket\nimport {\n to = stackit_objectstorage_bucket.import-example\n id = \"${var.project_id},${var.region},${var.bucket_name}\"\n}\n```\n", "properties": { "name": { "type": "string", @@ -7888,7 +8607,7 @@ } }, "stackit:index/objectstorageCredential:ObjectstorageCredential": { - "description": "ObjectStorage credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_objectstorage_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credentials_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n expiration_timestamp = \"2027-01-02T03:04:05Z\"\n}\n```\n", + "description": "ObjectStorage credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_objectstorage_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credentials_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n expiration_timestamp = \"2027-01-02T03:04:05Z\"\n}\n\n# Only use the import statement, if you want to import an existing objectstorage credential\nimport {\n to = stackit_objectstorage_credential.import-example\n id = \"${var.project_id},${var.region},${var.bucket_credentials_group_id},${var.bucket_credential_id}\"\n}\n```\n", "properties": { "accessKey": { "type": "string" @@ -7991,7 +8710,7 @@ } }, "stackit:index/objectstorageCredentialsGroup:ObjectstorageCredentialsGroup": { - "description": "ObjectStorage credentials group resource schema. Must have a `region` specified in the provider configuration. If you are creating `credentialsgroup` and `bucket` resources simultaneously, please include the `depends_on` field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.\n\n## Example Usage\n\n```terraform\nresource \"stackit_objectstorage_credentials_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-credentials-group\"\n}\n```\n", + "description": "ObjectStorage credentials group resource schema. Must have a `region` specified in the provider configuration. If you are creating `credentialsgroup` and `bucket` resources simultaneously, please include the `depends_on` field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.\n\n## Example Usage\n\n```terraform\nresource \"stackit_objectstorage_credentials_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-credentials-group\"\n}\n\n# Only use the import statement, if you want to import an existing objectstorage credential group\nimport {\n to = stackit_objectstorage_credentials_group.import-example\n id = \"${var.project_id},${var.region},${var.bucket_credentials_group_id}\"\n}\n```\n", "properties": { "credentialsGroupId": { "type": "string", @@ -8066,7 +8785,7 @@ } }, "stackit:index/observabilityAlertgroup:ObservabilityAlertgroup": { - "description": "Observability alert group resource schema. Used to create alerts based on metrics (Thanos). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_alertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-alert-group\"\n interval = \"60s\"\n rules = [\n {\n alert = \"example-alert-name\"\n expression = \"kube_node_status_condition{condition=\\\"Ready\\\", status=\\\"false\\\"} \u003e 0\"\n for = \"60s\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n {\n alert = \"example-alert-name-2\"\n expression = \"kube_node_status_condition{condition=\\\"Ready\\\", status=\\\"false\\\"} \u003e 0\"\n for = \"1m\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n ]\n}\n```\n", + "description": "Observability alert group resource schema. Used to create alerts based on metrics (Thanos). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_alertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-alert-group\"\n interval = \"60s\"\n rules = [\n {\n alert = \"example-alert-name\"\n expression = \"kube_node_status_condition{condition=\\\"Ready\\\", status=\\\"false\\\"} \u003e 0\"\n for = \"60s\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n {\n alert = \"example-alert-name-2\"\n expression = \"kube_node_status_condition{condition=\\\"Ready\\\", status=\\\"false\\\"} \u003e 0\"\n for = \"1m\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n ]\n}\n\n# Only use the import statement, if you want to import an existing observability alertgroup\nimport {\n to = stackit_observability_alertgroup.import-example\n id = \"${var.project_id},${var.observability_instance_id},${var.observability_alertgroup_name}\"\n}\n```\n", "properties": { "instanceId": { "type": "string", @@ -8160,8 +8879,12 @@ } }, "stackit:index/observabilityCredential:ObservabilityCredential": { - "description": "Observability credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "Observability credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n description = \"Description of the credential.\"\n}\n```\n", "properties": { + "description": { + "type": "string", + "description": "A description of the credential.\n" + }, "instanceId": { "type": "string", "description": "The Observability Instance ID the credential belongs to.\n" @@ -8187,6 +8910,10 @@ "username" ], "inputProperties": { + "description": { + "type": "string", + "description": "A description of the credential.\n" + }, "instanceId": { "type": "string", "description": "The Observability Instance ID the credential belongs to.\n" @@ -8203,6 +8930,10 @@ "stateInputs": { "description": "Input properties used for looking up and filtering ObservabilityCredential resources.\n", "properties": { + "description": { + "type": "string", + "description": "A description of the credential.\n" + }, "instanceId": { "type": "string", "description": "The Observability Instance ID the credential belongs to.\n" @@ -8225,7 +8956,7 @@ } }, "stackit:index/observabilityInstance:ObservabilityInstance": { - "description": "Observability instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n plan_name = \"Observability-Monitoring-Medium-EU01\"\n acl = [\"1.1.1.1/32\", \"2.2.2.2/32\"]\n metrics_retention_days = 30\n metrics_retention_days_5m_downsampling = 10\n metrics_retention_days_1h_downsampling = 5\n}\n```\n", + "description": "Observability instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n plan_name = \"Observability-Monitoring-Medium-EU01\"\n acl = [\"1.1.1.1/32\", \"2.2.2.2/32\"]\n metrics_retention_days = 90\n metrics_retention_days_5m_downsampling = 90\n metrics_retention_days_1h_downsampling = 90\n}\n\n# Only use the import statement, if you want to import an existing observability instance\nimport {\n to = stackit_observability_instance.import-example\n id = \"${var.project_id},${var.observability_instance_id}\"\n}\n```\n", "properties": { "acls": { "type": "array", @@ -8291,15 +9022,15 @@ }, "metricsRetentionDays": { "type": "integer", - "description": "Specifies for how many days the raw metrics are kept.\n" + "description": "Specifies for how many days the raw metrics are kept. Default is set to `90`.\n" }, "metricsRetentionDays1hDownsampling": { "type": "integer", - "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled).\n" + "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`.\n" }, "metricsRetentionDays5mDownsampling": { "type": "integer", - "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled).\n" + "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`.\n" }, "metricsUrl": { "type": "string", @@ -8380,15 +9111,15 @@ }, "metricsRetentionDays": { "type": "integer", - "description": "Specifies for how many days the raw metrics are kept.\n" + "description": "Specifies for how many days the raw metrics are kept. Default is set to `90`.\n" }, "metricsRetentionDays1hDownsampling": { "type": "integer", - "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled).\n" + "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`.\n" }, "metricsRetentionDays5mDownsampling": { "type": "integer", - "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled).\n" + "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`.\n" }, "name": { "type": "string", @@ -8481,15 +9212,15 @@ }, "metricsRetentionDays": { "type": "integer", - "description": "Specifies for how many days the raw metrics are kept.\n" + "description": "Specifies for how many days the raw metrics are kept. Default is set to `90`.\n" }, "metricsRetentionDays1hDownsampling": { "type": "integer", - "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled).\n" + "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`.\n" }, "metricsRetentionDays5mDownsampling": { "type": "integer", - "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled).\n" + "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`.\n" }, "metricsUrl": { "type": "string", @@ -8533,7 +9264,7 @@ } }, "stackit:index/observabilityLogalertgroup:ObservabilityLogalertgroup": { - "description": "Observability log alert group resource schema. Used to create alerts based on logs (Loki). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_logalertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-log-alert-group\"\n interval = \"60m\"\n rules = [\n {\n alert = \"example-log-alert-name\"\n expression = \"sum(rate({namespace=\\\"example\\\", pod=\\\"logger\\\"} |= \\\"Simulated error message\\\" [1m])) \u003e 0\"\n for = \"60s\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n {\n alert = \"example-log-alert-name-2\"\n expression = \"sum(rate({namespace=\\\"example\\\", pod=\\\"logger\\\"} |= \\\"Another error message\\\" [1m])) \u003e 0\"\n for = \"60s\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n ]\n}\n```\n", + "description": "Observability log alert group resource schema. Used to create alerts based on logs (Loki). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_logalertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-log-alert-group\"\n interval = \"60m\"\n rules = [\n {\n alert = \"example-log-alert-name\"\n expression = \"sum(rate({namespace=\\\"example\\\", pod=\\\"logger\\\"} |= \\\"Simulated error message\\\" [1m])) \u003e 0\"\n for = \"60s\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n {\n alert = \"example-log-alert-name-2\"\n expression = \"sum(rate({namespace=\\\"example\\\", pod=\\\"logger\\\"} |= \\\"Another error message\\\" [1m])) \u003e 0\"\n for = \"60s\"\n labels = {\n severity = \"critical\"\n },\n annotations = {\n summary : \"example summary\"\n description : \"example description\"\n }\n },\n ]\n}\n\n# Only use the import statement, if you want to import an existing observability logalertgroup\nimport {\n to = stackit_observability_logalertgroup.import-example\n id = \"${var.project_id},${var.observability_instance_id},${var.observability_logalertgroup_name}\"\n}\n```\n", "properties": { "instanceId": { "type": "string", @@ -8627,7 +9358,7 @@ } }, "stackit:index/observabilityScrapeconfig:ObservabilityScrapeconfig": { - "description": "Observability scrape config resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_scrapeconfig\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-job\"\n metrics_path = \"/my-metrics\"\n saml2 = {\n enable_url_parameters = true\n }\n targets = [\n {\n urls = [\"url1\", \"urls2\"]\n labels = {\n \"url1\" = \"dev\"\n }\n }\n ]\n}\n```\n", + "description": "Observability scrape config resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_observability_scrapeconfig\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-job\"\n metrics_path = \"/my-metrics\"\n saml2 = {\n enable_url_parameters = true\n }\n targets = [\n {\n urls = [\"url1\", \"urls2\"]\n labels = {\n \"url1\" = \"dev\"\n }\n }\n ]\n}\n\n# Only use the import statement, if you want to import an existing observability scrapeconfig\nimport {\n to = stackit_observability_scrapeconfig.import-example\n id = \"${var.project_id},${var.observability_instance_id},${var.observability_scrapeconfig_name}\"\n}\n```\n", "properties": { "basicAuth": { "$ref": "#/types/stackit:index/ObservabilityScrapeconfigBasicAuth:ObservabilityScrapeconfigBasicAuth", @@ -8800,7 +9531,7 @@ } }, "stackit:index/opensearchCredential:OpensearchCredential": { - "description": "OpenSearch credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_opensearch_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "OpenSearch credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_opensearch_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing opensearch credential\nimport {\n to = stackit_opensearch_credential.import-example\n id = \"${var.project_id},${var.instance_id},${var.credential_id}\"\n}\n```\n", "properties": { "credentialId": { "type": "string", @@ -8913,7 +9644,7 @@ } }, "stackit:index/opensearchInstance:OpensearchInstance": { - "description": "OpenSearch instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_opensearch_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"2\"\n plan_name = \"stackit-opensearch-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n }\n}\n```\n", + "description": "OpenSearch instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_opensearch_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"2\"\n plan_name = \"stackit-opensearch-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n }\n}\n\n# Only use the import statement, if you want to import an existing opensearch instance\nimport {\n to = stackit_opensearch_instance.import-example\n id = \"${var.project_id},${var.instance_id}\"\n}\n```\n", "properties": { "cfGuid": { "type": "string" @@ -9048,7 +9779,7 @@ } }, "stackit:index/postgresflexDatabase:PostgresflexDatabase": { - "description": "Postgres Flex database resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_postgresflex_database\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"mydb\"\n owner = \"myusername\"\n}\n```\n", + "description": "Postgres Flex database resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_postgresflex_database\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"mydb\"\n owner = \"myusername\"\n}\n\n# Only use the import statement, if you want to import an existing postgresflex database\nimport {\n to = stackit_postgresflex_database.import-example\n id = \"${var.project_id},${var.region},${var.postgres_instance_id},${var.postgres_database_id}\"\n}\n```\n", "properties": { "databaseId": { "type": "string", @@ -9142,7 +9873,7 @@ } }, "stackit:index/postgresflexInstance:PostgresflexInstance": { - "description": "Postgres Flex instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_postgresflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acl = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n backup_schedule = \"00 00 * * *\"\n flavor = {\n cpu = 2\n ram = 4\n }\n replicas = 3\n storage = {\n class = \"class\"\n size = 5\n }\n version = 14\n}\n```\n", + "description": "Postgres Flex instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_postgresflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acl = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n backup_schedule = \"00 00 * * *\"\n flavor = {\n cpu = 2\n ram = 4\n }\n replicas = 3\n storage = {\n class = \"class\"\n size = 5\n }\n version = 14\n}\n\n# Only use the import statement, if you want to import an existing postgresflex instance\nimport {\n to = stackit_postgresflex_instance.import-example\n id = \"${var.project_id},${var.region},${var.postgres_instance_id}\"\n}\n```\n", "properties": { "acls": { "type": "array", @@ -9286,7 +10017,7 @@ } }, "stackit:index/postgresflexUser:PostgresflexUser": { - "description": "Postgres Flex user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_postgresflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n username = \"username\"\n roles = [\"role\"]\n}\n```\n", + "description": "Postgres Flex user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_postgresflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n username = \"username\"\n roles = [\"role\"]\n}\n\n# Only use the import statement, if you want to import an existing postgresflex user\nimport {\n to = stackit_postgresflex_user.import-example\n id = \"${var.project_id},${var.region},${var.postgres_instance_id},${var.user_id}\"\n}\n```\n", "properties": { "host": { "type": "string" @@ -9419,7 +10150,7 @@ } }, "stackit:index/publicIp:PublicIp": { - "description": "Public IP resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_public_ip\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n labels = {\n \"key\" = \"value\"\n }\n}\n```\n", + "description": "Public IP resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_public_ip\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n labels = {\n \"key\" = \"value\"\n }\n}\n\n# Only use the import statement, if you want to import an existing public ip\nimport {\n to = stackit_public_ip.import-example\n id = \"${var.project_id},${var.public_ip_id}\"\n}\n```\n", "properties": { "ip": { "type": "string", @@ -9499,7 +10230,7 @@ } }, "stackit:index/publicIpAssociate:PublicIpAssociate": { - "description": "Associates an existing public IP to a network interface. This is useful for situations where you have a pre-allocated public IP or unable to use the `stackit.PublicIp` resource to create a new public IP. Must have a `region` specified in the provider configuration.\n\n!\u003e The `stackit.PublicIpAssociate` resource should not be used together with the `stackit.PublicIp` resource for the same public IP or for the same network interface. \nUsing both resources together for the same public IP or network interface WILL lead to conflicts, as they both have control of the public IP and network interface association.\n\n## Example Usage\n\n```terraform\nresource \"stackit_public_ip_associate\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n public_ip_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "Associates an existing public IP to a network interface. This is useful for situations where you have a pre-allocated public IP or unable to use the `stackit.PublicIp` resource to create a new public IP. Must have a `region` specified in the provider configuration.\n\n!\u003e The `stackit.PublicIpAssociate` resource should not be used together with the `stackit.PublicIp` resource for the same public IP or for the same network interface. \nUsing both resources together for the same public IP or network interface WILL lead to conflicts, as they both have control of the public IP and network interface association.\n\n## Example Usage\n\n```terraform\nresource \"stackit_public_ip_associate\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n public_ip_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing public ip associate\nimport {\n to = stackit_public_ip_associate.import-example\n id = \"${var.project_id},${var.public_ip_id},${var.network_interface_id}\"\n}\n```\n", "properties": { "ip": { "type": "string", @@ -9567,7 +10298,7 @@ } }, "stackit:index/rabbitmqCredential:RabbitmqCredential": { - "description": "RabbitMQ credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_rabbitmq_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "RabbitMQ credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_rabbitmq_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing rabbitmq credential\nimport {\n to = stackit_rabbitmq_credential.import-example\n id = \"${var.project_id},${var.rabbitmq_instance_id},${var.rabbitmq_credential_id}\"\n}\n```\n", "properties": { "credentialId": { "type": "string", @@ -9713,7 +10444,7 @@ } }, "stackit:index/rabbitmqInstance:RabbitmqInstance": { - "description": "RabbitMQ instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_rabbitmq_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"3.13\"\n plan_name = \"stackit-rabbitmq-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n consumer_timeout = 18000000\n enable_monitoring = false\n plugins = [\"rabbitmq_consistent_hash_exchange\", \"rabbitmq_federation\", \"rabbitmq_tracing\"]\n }\n}\n```\n", + "description": "RabbitMQ instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_rabbitmq_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"3.13\"\n plan_name = \"stackit-rabbitmq-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n consumer_timeout = 18000000\n enable_monitoring = false\n plugins = [\"rabbitmq_consistent_hash_exchange\", \"rabbitmq_federation\", \"rabbitmq_tracing\"]\n }\n}\n\n# Only use the import statement, if you want to import an existing rabbitmq instance\nimport {\n to = stackit_rabbitmq_instance.import-example\n id = \"${var.project_id},${var.rabbitmq_instance_id}\"\n}\n```\n", "properties": { "cfGuid": { "type": "string" @@ -9848,7 +10579,7 @@ } }, "stackit:index/redisCredential:RedisCredential": { - "description": "Redis credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_redis_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "Redis credential resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_redis_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing redis credential\nimport {\n to = stackit_redis_credential.import-example\n id = \"${var.project_id},${var.redis_instance_id},${var.redis_credential_id}\"\n}\n```\n", "properties": { "credentialId": { "type": "string", @@ -9963,7 +10694,7 @@ } }, "stackit:index/redisInstance:RedisInstance": { - "description": "Redis instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_redis_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"7\"\n plan_name = \"stackit-redis-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n enable_monitoring = false\n down_after_milliseconds = 30000\n syslog = [\"logs4.your-syslog-endpoint.com:54321\"]\n }\n}\n```\n", + "description": "Redis instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_redis_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n version = \"7\"\n plan_name = \"stackit-redis-1.2.10-replica\"\n parameters = {\n sgw_acl = \"193.148.160.0/19,45.129.40.0/21,45.135.244.0/22\"\n enable_monitoring = false\n down_after_milliseconds = 30000\n syslog = [\"logs4.your-syslog-endpoint.com:54321\"]\n }\n}\n\n# Only use the import statement, if you want to import an existing redis instance\nimport {\n to = stackit_redis_instance.import-example\n id = \"${var.project_id},${var.redis_instance_id}\"\n}\n```\n", "properties": { "cfGuid": { "type": "string" @@ -10097,43 +10828,53 @@ "type": "object" } }, - "stackit:index/resourcemanagerProject:ResourcemanagerProject": { - "description": "## Example Usage\n\n```terraform\nresource \"stackit_resourcemanager_project\" \"example\" {\n parent_container_id = \"example-parent-container-abc123\"\n name = \"example-container\"\n labels = {\n \"Label 1\" = \"foo\"\n // \"networkArea\" = stackit_network_area.foo.network_area_id\n }\n owner_email = \"john.doe@stackit.cloud\"\n}\n```\n", + "stackit:index/resourcemanagerFolder:ResourcemanagerFolder": { + "description": "Resource Manager folder resource schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_resourcemanager_folder\" \"example\" {\n name = \"example-folder\"\n owner_email = \"foo.bar@stackit.cloud\"\n parent_container_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Note:\n# You can add projects under folders.\n# However, when deleting a project, be aware:\n# - Projects may remain \"invisible\" for up to 7 days after deletion\n# - During this time, deleting the parent folder may fail because the project is still technically linked\nresource \"stackit_resourcemanager_project\" \"example_project\" {\n name = \"example-project\"\n owner_email = \"foo.bar@stackit.cloud\"\n parent_container_id = stackit_resourcemanager_folder.example.container_id\n}\n\n# Only use the import statement, if you want to import an existing resourcemanager folder\n# Note: There will be a conflict which needs to be resolved manually.\n# Must set a configuration value for the owner_email attribute as the provider has marked it as required.\nimport {\n to = stackit_resourcemanager_folder.import-example\n id = var.container_id\n}\n```\n", "properties": { "containerId": { "type": "string", - "description": "Project container ID. Globally unique, user-friendly identifier.\n" + "description": "Folder container ID. Globally unique, user-friendly identifier.\n" + }, + "creationTime": { + "type": "string", + "description": "Date-time at which the folder was created.\n" + }, + "folderId": { + "type": "string", + "description": "Folder UUID identifier. Globally unique folder identifier\n" }, "labels": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=\u003cnetworkAreaID\u003e` is required.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}.\n" }, "name": { "type": "string", - "description": "Project name.\n" + "description": "The name of the folder.\n" }, "ownerEmail": { "type": "string", - "description": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.\n" + "description": "Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.\n" }, "parentContainerId": { "type": "string", - "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported\n" + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported.\n" }, - "projectId": { + "updateTime": { "type": "string", - "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.\n" + "description": "Date-time at which the folder was last modified.\n" } }, "required": [ "containerId", + "creationTime", + "folderId", "name", "ownerEmail", "parentContainerId", - "projectId" + "updateTime" ], "inputProperties": { "labels": { @@ -10141,19 +10882,19 @@ "additionalProperties": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=\u003cnetworkAreaID\u003e` is required.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}.\n" }, "name": { "type": "string", - "description": "Project name.\n" + "description": "The name of the folder.\n" }, "ownerEmail": { "type": "string", - "description": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.\n" + "description": "Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.\n" }, "parentContainerId": { "type": "string", - "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported\n" + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported.\n" } }, "requiredInputs": [ @@ -10161,221 +10902,317 @@ "parentContainerId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering ResourcemanagerProject resources.\n", + "description": "Input properties used for looking up and filtering ResourcemanagerFolder resources.\n", "properties": { "containerId": { "type": "string", - "description": "Project container ID. Globally unique, user-friendly identifier.\n" + "description": "Folder container ID. Globally unique, user-friendly identifier.\n" + }, + "creationTime": { + "type": "string", + "description": "Date-time at which the folder was created.\n" + }, + "folderId": { + "type": "string", + "description": "Folder UUID identifier. Globally unique folder identifier\n" }, "labels": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=\u003cnetworkAreaID\u003e` is required.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}.\n" }, "name": { "type": "string", - "description": "Project name.\n" + "description": "The name of the folder.\n" }, "ownerEmail": { "type": "string", - "description": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.\n" + "description": "Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.\n" }, "parentContainerId": { "type": "string", - "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported\n" + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported.\n" }, - "projectId": { + "updateTime": { "type": "string", - "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.\n" + "description": "Date-time at which the folder was last modified.\n" } }, "type": "object" } }, - "stackit:index/secretsmanagerInstance:SecretsmanagerInstance": { - "description": "Secrets Manager instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_secretsmanager_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acls = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n}\n```\n", + "stackit:index/resourcemanagerProject:ResourcemanagerProject": { + "description": "## Example Usage\n\n```terraform\nresource \"stackit_resourcemanager_project\" \"example\" {\n parent_container_id = \"example-parent-container-abc123\"\n name = \"example-container\"\n labels = {\n \"Label 1\" = \"foo\"\n // \"networkArea\" = stackit_network_area.foo.network_area_id\n }\n owner_email = \"john.doe@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing resourcemanager project\n# Note: There will be a conflict which needs to be resolved manually.\n# Must set a configuration value for the owner_email attribute as the provider has marked it as required.\nimport {\n to = stackit_resourcemanager_project.import-example\n id = var.container_id\n}\n```\n", "properties": { - "acls": { - "type": "array", - "items": { + "containerId": { + "type": "string", + "description": "Project container ID. Globally unique, user-friendly identifier." + }, + "creationTime": { + "type": "string", + "description": "Date-time at which the project was created." + }, + "labels": { + "type": "object", + "additionalProperties": { "type": "string" }, - "description": "The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation\n" + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. \nTo create a project within a STACKIT Network Area, setting the label `networkArea=\u003cnetworkAreaID\u003e` is required. This can not be changed after project creation." }, - "instanceId": { + "name": { "type": "string", - "description": "ID of the Secrets Manager instance.\n" + "description": "Project name." }, - "name": { + "ownerEmail": { "type": "string", - "description": "Instance name.\n" + "description": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect." + }, + "parentContainerId": { + "type": "string", + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project." + }, + "updateTime": { + "type": "string", + "description": "Date-time at which the project was last modified." } }, "required": [ - "instanceId", + "containerId", + "creationTime", "name", - "projectId" + "ownerEmail", + "parentContainerId", + "projectId", + "updateTime" ], "inputProperties": { - "acls": { - "type": "array", - "items": { + "labels": { + "type": "object", + "additionalProperties": { "type": "string" }, - "description": "The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation\n" + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. \nTo create a project within a STACKIT Network Area, setting the label `networkArea=\u003cnetworkAreaID\u003e` is required. This can not be changed after project creation." }, "name": { "type": "string", - "description": "Instance name.\n" + "description": "Project name." }, - "projectId": { + "ownerEmail": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect." + }, + "parentContainerId": { + "type": "string", + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported" } }, "requiredInputs": [ - "projectId" + "ownerEmail", + "parentContainerId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SecretsmanagerInstance resources.\n", + "description": "Input properties used for looking up and filtering ResourcemanagerProject resources.\n", "properties": { - "acls": { - "type": "array", - "items": { + "containerId": { + "type": "string", + "description": "Project container ID. Globally unique, user-friendly identifier." + }, + "creationTime": { + "type": "string", + "description": "Date-time at which the project was created." + }, + "labels": { + "type": "object", + "additionalProperties": { "type": "string" }, - "description": "The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation\n" + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. \nTo create a project within a STACKIT Network Area, setting the label `networkArea=\u003cnetworkAreaID\u003e` is required. This can not be changed after project creation." }, - "instanceId": { + "name": { "type": "string", - "description": "ID of the Secrets Manager instance.\n" + "description": "Project name." }, - "name": { + "ownerEmail": { "type": "string", - "description": "Instance name.\n" + "description": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect." + }, + "parentContainerId": { + "type": "string", + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project." + }, + "updateTime": { + "type": "string", + "description": "Date-time at which the project was last modified." } }, "type": "object" } }, - "stackit:index/secretsmanagerUser:SecretsmanagerUser": { - "description": "Secrets Manager user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_secretsmanager_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n description = \"Example user\"\n write_enabled = false\n}\n```\n", + "stackit:index/routingTable:RoutingTable": { + "description": "Routing table resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_routing_table\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example\"\n labels = {\n \"key\" = \"value\"\n }\n}\n\n# Only use the import statement, if you want to import an existing routing table\nimport {\n to = stackit_routing_table.import-example\n id = \"${var.organization_id},${var.region},${var.network_area_id},${var.routing_table_id}\"\n}\n```\n", "properties": { + "createdAt": { + "type": "string", + "description": "Date-time when the routing table was created\n" + }, "description": { "type": "string", - "description": "A user chosen description to differentiate between multiple users. Can't be changed after creation.\n" + "description": "Description of the routing table.\n" }, - "instanceId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { "type": "string", - "description": "ID of the Secrets Manager instance.\n" + "description": "The name of the routing table.\n" }, - "password": { + "networkAreaId": { "type": "string", - "description": "An auto-generated password.\n", - "secret": true + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "userId": { + "region": { "type": "string", - "description": "The user's ID.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "username": { + "routingTableId": { "type": "string", - "description": "An auto-generated user name.\n" + "description": "The routing tables ID.\n" }, - "writeEnabled": { + "systemRoutes": { "type": "boolean", - "description": "If true, the user has writeaccess to the secrets engine.\n" + "description": "This controls whether the routes for project-to-project communication are created automatically or not.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the routing table was updated\n" } }, "required": [ + "createdAt", "description", - "instanceId", - "password", - "projectId", - "userId", - "username", - "writeEnabled" + "name", + "networkAreaId", + "organizationId", + "region", + "routingTableId", + "systemRoutes", + "updatedAt" ], "inputProperties": { "description": { "type": "string", - "description": "A user chosen description to differentiate between multiple users. Can't be changed after creation.\n" + "description": "Description of the routing table.\n" }, - "instanceId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { "type": "string", - "description": "ID of the Secrets Manager instance.\n" + "description": "The name of the routing table.\n" }, - "projectId": { + "networkAreaId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "writeEnabled": { + "organizationId": { + "type": "string", + "description": "STACKIT organization ID to which the routing table is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "systemRoutes": { "type": "boolean", - "description": "If true, the user has writeaccess to the secrets engine.\n" + "description": "This controls whether the routes for project-to-project communication are created automatically or not.\n" } }, "requiredInputs": [ - "description", - "instanceId", - "projectId", - "writeEnabled" + "networkAreaId", + "organizationId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SecretsmanagerUser resources.\n", + "description": "Input properties used for looking up and filtering RoutingTable resources.\n", "properties": { + "createdAt": { + "type": "string", + "description": "Date-time when the routing table was created\n" + }, "description": { "type": "string", - "description": "A user chosen description to differentiate between multiple users. Can't be changed after creation.\n" + "description": "Description of the routing table.\n" }, - "instanceId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { "type": "string", - "description": "ID of the Secrets Manager instance.\n" + "description": "The name of the routing table.\n" }, - "password": { + "networkAreaId": { "type": "string", - "description": "An auto-generated password.\n", - "secret": true + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "userId": { + "region": { "type": "string", - "description": "The user's ID.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "username": { + "routingTableId": { "type": "string", - "description": "An auto-generated user name.\n" + "description": "The routing tables ID.\n" }, - "writeEnabled": { + "systemRoutes": { "type": "boolean", - "description": "If true, the user has writeaccess to the secrets engine.\n" + "description": "This controls whether the routes for project-to-project communication are created automatically or not.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the routing table was updated\n" } }, "type": "object" } }, - "stackit:index/securityGroup:SecurityGroup": { - "description": "Security group resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_security_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"my_security_group\"\n labels = {\n \"key\" = \"value\"\n }\n}\n```\n", + "stackit:index/routingTableRoute:RoutingTableRoute": { + "description": "Routing table route resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_routing_table_route\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n routing_table_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n destination = {\n type = \"cidrv4\"\n value = \"192.168.178.0/24\"\n }\n next_hop = {\n type = \"ipv4\"\n value = \"192.168.178.1\"\n }\n labels = {\n \"key\" = \"value\"\n }\n}\n\n# Only use the import statement, if you want to import an existing routing table route\nimport {\n to = stackit_routing_table_route.import-example\n id = \"${var.organization_id},${var.region},${var.network_area_id},${var.routing_table_id},${var.routing_table_route_id}\"\n}\n```\n", "properties": { - "description": { + "createdAt": { "type": "string", - "description": "The description of the security group.\n" + "description": "Date-time when the route was created.\n" + }, + "destination": { + "$ref": "#/types/stackit:index/RoutingTableRouteDestination:RoutingTableRouteDestination", + "description": "Destination of the route.\n" }, "labels": { "type": "object", @@ -10384,34 +11221,50 @@ }, "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "name": { + "networkAreaId": { "type": "string", - "description": "The name of the security group.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "nextHop": { + "$ref": "#/types/stackit:index/RoutingTableRouteNextHop:RoutingTableRouteNextHop", + "description": "Next hop destination.\n" + }, + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the security group is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "securityGroupId": { + "region": { "type": "string", - "description": "The security group ID.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "stateful": { - "type": "boolean", - "description": "Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server.\n" + "routeId": { + "type": "string", + "description": "The ID of the route.\n" + }, + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the route was updated.\n" } }, "required": [ - "description", - "name", - "projectId", - "securityGroupId", - "stateful" + "createdAt", + "destination", + "networkAreaId", + "nextHop", + "organizationId", + "region", + "routeId", + "routingTableId", + "updatedAt" ], "inputProperties": { - "description": { - "type": "string", - "description": "The description of the security group.\n" + "destination": { + "$ref": "#/types/stackit:index/RoutingTableRouteDestination:RoutingTableRouteDestination", + "description": "Destination of the route.\n" }, "labels": { "type": "object", @@ -10420,28 +11273,44 @@ }, "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "name": { + "networkAreaId": { "type": "string", - "description": "The name of the security group.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "nextHop": { + "$ref": "#/types/stackit:index/RoutingTableRouteNextHop:RoutingTableRouteNextHop", + "description": "Next hop destination.\n" + }, + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the security group is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "stateful": { - "type": "boolean", - "description": "Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server.\n" + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" } }, "requiredInputs": [ - "projectId" + "destination", + "networkAreaId", + "nextHop", + "organizationId", + "routingTableId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SecurityGroup resources.\n", + "description": "Input properties used for looking up and filtering RoutingTableRoute resources.\n", "properties": { - "description": { + "createdAt": { "type": "string", - "description": "The description of the security group.\n" + "description": "Date-time when the route was created.\n" + }, + "destination": { + "$ref": "#/types/stackit:index/RoutingTableRouteDestination:RoutingTableRouteDestination", + "description": "Destination of the route.\n" }, "labels": { "type": "object", @@ -10450,1970 +11319,3584 @@ }, "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "name": { + "networkAreaId": { "type": "string", - "description": "The name of the security group.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "nextHop": { + "$ref": "#/types/stackit:index/RoutingTableRouteNextHop:RoutingTableRouteNextHop", + "description": "Next hop destination.\n" + }, + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the security group is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "securityGroupId": { + "region": { "type": "string", - "description": "The security group ID.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "stateful": { - "type": "boolean", - "description": "Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server.\n" + "routeId": { + "type": "string", + "description": "The ID of the route.\n" + }, + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the route was updated.\n" } }, "type": "object" } }, - "stackit:index/securityGroupRule:SecurityGroupRule": { - "description": "Security group rule resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_security_group_rule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n security_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n direction = \"ingress\"\n icmp_parameters = {\n code = 0\n type = 8\n }\n protocol = {\n name = \"icmp\"\n }\n}\n```\n", + "stackit:index/scfOrganization:ScfOrganization": { + "description": "STACKIT Cloud Foundry organization resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_scf_organization\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example\"\n}\n\nresource \"stackit_scf_organization\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example\"\n platform_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n quota_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n suspended = false\n}\n\n# Only use the import statement, if you want to import an existing scf organization\nimport {\n to = stackit_scf_organization.import-example\n id = \"${var.project_id},${var.region},${var.org_id}\"\n}\n```\n", "properties": { - "description": { + "createdAt": { "type": "string", - "description": "The rule description.\n" + "description": "The time when the organization was created\n" }, - "direction": { + "name": { "type": "string", - "description": "The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`.\n" + "description": "The name of the organization\n" }, - "etherType": { + "orgId": { "type": "string", - "description": "The ethertype which the rule should match.\n" - }, - "icmpParameters": { - "$ref": "#/types/stackit:index/SecurityGroupRuleIcmpParameters:SecurityGroupRuleIcmpParameters", - "description": "ICMP Parameters. These parameters should only be provided if the protocol is ICMP.\n" + "description": "The ID of the Cloud Foundry Organization\n" }, - "ipRange": { + "platformId": { "type": "string", - "description": "The remote IP range which the rule should match.\n" - }, - "portRange": { - "$ref": "#/types/stackit:index/SecurityGroupRulePortRange:SecurityGroupRulePortRange", - "description": "The range of ports. This should only be provided if the protocol is not ICMP.\n" + "description": "The ID of the platform associated with the organization\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the security group rule is associated.\n" + "description": "The ID of the project associated with the organization\n" }, - "protocol": { - "$ref": "#/types/stackit:index/SecurityGroupRuleProtocol:SecurityGroupRuleProtocol", - "description": "The internet protocol which the rule should match.\n" + "quotaId": { + "type": "string", + "description": "The ID of the quota associated with the organization\n" }, - "remoteSecurityGroupId": { + "region": { "type": "string", - "description": "The remote security group which the rule should match.\n" + "description": "The resource region. If not defined, the provider region is used\n" }, - "securityGroupId": { + "status": { "type": "string", - "description": "The security group ID.\n" + "description": "The status of the organization (e.g., deleting, delete_failed)\n" }, - "securityGroupRuleId": { + "suspended": { + "type": "boolean", + "description": "A boolean indicating whether the organization is suspended\n" + }, + "updatedAt": { "type": "string", - "description": "The security group rule ID.\n" + "description": "The time when the organization was last updated\n" } }, "required": [ - "direction", - "etherType", - "icmpParameters", - "portRange", + "createdAt", + "name", + "orgId", + "platformId", "projectId", - "protocol", - "securityGroupId", - "securityGroupRuleId" + "quotaId", + "region", + "status", + "suspended", + "updatedAt" ], "inputProperties": { - "description": { - "type": "string", - "description": "The rule description.\n" - }, - "direction": { - "type": "string", - "description": "The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`.\n" - }, - "etherType": { + "name": { "type": "string", - "description": "The ethertype which the rule should match.\n" + "description": "The name of the organization\n" }, - "icmpParameters": { - "$ref": "#/types/stackit:index/SecurityGroupRuleIcmpParameters:SecurityGroupRuleIcmpParameters", - "description": "ICMP Parameters. These parameters should only be provided if the protocol is ICMP.\n" - }, - "ipRange": { + "platformId": { "type": "string", - "description": "The remote IP range which the rule should match.\n" - }, - "portRange": { - "$ref": "#/types/stackit:index/SecurityGroupRulePortRange:SecurityGroupRulePortRange", - "description": "The range of ports. This should only be provided if the protocol is not ICMP.\n" + "description": "The ID of the platform associated with the organization\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the security group rule is associated.\n" - }, - "protocol": { - "$ref": "#/types/stackit:index/SecurityGroupRuleProtocol:SecurityGroupRuleProtocol", - "description": "The internet protocol which the rule should match.\n" + "description": "The ID of the project associated with the organization\n" }, - "remoteSecurityGroupId": { + "quotaId": { "type": "string", - "description": "The remote security group which the rule should match.\n" + "description": "The ID of the quota associated with the organization\n" }, - "securityGroupId": { + "region": { "type": "string", - "description": "The security group ID.\n" + "description": "The resource region. If not defined, the provider region is used\n" + }, + "suspended": { + "type": "boolean", + "description": "A boolean indicating whether the organization is suspended\n" } }, "requiredInputs": [ - "direction", - "projectId", - "securityGroupId" + "projectId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SecurityGroupRule resources.\n", + "description": "Input properties used for looking up and filtering ScfOrganization resources.\n", "properties": { - "description": { + "createdAt": { "type": "string", - "description": "The rule description.\n" + "description": "The time when the organization was created\n" }, - "direction": { + "name": { "type": "string", - "description": "The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`.\n" + "description": "The name of the organization\n" }, - "etherType": { + "orgId": { "type": "string", - "description": "The ethertype which the rule should match.\n" - }, - "icmpParameters": { - "$ref": "#/types/stackit:index/SecurityGroupRuleIcmpParameters:SecurityGroupRuleIcmpParameters", - "description": "ICMP Parameters. These parameters should only be provided if the protocol is ICMP.\n" + "description": "The ID of the Cloud Foundry Organization\n" }, - "ipRange": { + "platformId": { "type": "string", - "description": "The remote IP range which the rule should match.\n" - }, - "portRange": { - "$ref": "#/types/stackit:index/SecurityGroupRulePortRange:SecurityGroupRulePortRange", - "description": "The range of ports. This should only be provided if the protocol is not ICMP.\n" + "description": "The ID of the platform associated with the organization\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the security group rule is associated.\n" + "description": "The ID of the project associated with the organization\n" }, - "protocol": { - "$ref": "#/types/stackit:index/SecurityGroupRuleProtocol:SecurityGroupRuleProtocol", - "description": "The internet protocol which the rule should match.\n" + "quotaId": { + "type": "string", + "description": "The ID of the quota associated with the organization\n" }, - "remoteSecurityGroupId": { + "region": { "type": "string", - "description": "The remote security group which the rule should match.\n" + "description": "The resource region. If not defined, the provider region is used\n" }, - "securityGroupId": { + "status": { "type": "string", - "description": "The security group ID.\n" + "description": "The status of the organization (e.g., deleting, delete_failed)\n" }, - "securityGroupRuleId": { + "suspended": { + "type": "boolean", + "description": "A boolean indicating whether the organization is suspended\n" + }, + "updatedAt": { "type": "string", - "description": "The security group rule ID.\n" + "description": "The time when the organization was last updated\n" } }, "type": "object" } }, - "stackit:index/server:Server": { - "description": "Server resource schema. Must have a region specified in the provider configuration.\n\n## Example Usage\n\n### With key pair\n```terraform\nresource \"stackit_key_pair\" \"keypair\" {\n name = \"example-key-pair\"\n public_key = chomp(file(\"path/to/id_rsa.pub\"))\n}\n\nresource \"stackit_server\" \"user-data-from-file\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-server\"\n machine_type = \"g1.1\"\n keypair_name = stackit_key_pair.keypair.name\n user_data = file(\"${path.module}/cloud-init.yaml\")\n}\n\n```\n\n### Boot from volume\n```terraform\nresource \"stackit_server\" \"boot-from-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n availability_zone = \"eu01-1\"\n machine_type = \"g1.1\"\n keypair_name = \"example-keypair\"\n}\n\n```\n\n### Boot from existing volume\n```terraform\nresource \"stackit_volume\" \"example-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n size = 12\n source = {\n type = \"image\"\n id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-volume\"\n availability_zone = \"eu01-1\"\n}\n\nresource \"stackit_server\" \"boot-from-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n source_type = \"volume\"\n source_id = stackit_volume.example-volume.volume_id\n }\n availability_zone = \"eu01-1\"\n machine_type = \"g1.1\"\n keypair_name = stackit_key_pair.keypair.name\n}\n\n```\n\n### Network setup\n```terraform\nresource \"stackit_network\" \"network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-network\"\n nameservers = [\"192.0.2.0\", \"198.51.100.0\", \"203.0.113.0\"]\n ipv4_prefix_length = 24\n}\n\nresource \"stackit_security_group\" \"sec-group\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-security-group\"\n stateful = true\n}\n\nresource \"stackit_security_group_rule\" \"rule\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n security_group_id = stackit_security_group.sec-group.security_group_id\n direction = \"ingress\"\n ether_type = \"IPv4\"\n}\n\nresource \"stackit_network_interface\" \"nic\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = stackit_network.network.network_id\n security_group_ids = [stackit_security_group.sec-group.security_group_id]\n}\n\nresource \"stackit_server\" \"server-with-network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n machine_type = \"g1.1\"\n keypair_name = stackit_key_pair.keypair.name\n network_interfaces = [\n stackit_network_interface.nic.network_interface_id\n ]\t\n}\n\nresource \"stackit_public_ip\" \"public-ip\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = stackit_network_interface.nic.network_interface_id\n}\n\n```\n\n### Server with attached volume\n```terraform\nresource \"stackit_volume\" \"example-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n size = 12\n performance_class = \"storage_premium_perf6\"\n name = \"example-volume\"\n availability_zone = \"eu01-1\"\n}\n\nresource \"stackit_server\" \"server-with-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n availability_zone = \"eu01-1\"\n machine_type = \"g1.1\"\n keypair_name = stackit_key_pair.keypair.name\n}\n\nresource \"stackit_server_volume_attach\" \"attach_volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = stackit_server.server-with-volume.server_id\n volume_id = stackit_volume.example-volume.volume_id\n}\n\n```\n\n### Server with user data (cloud-init)\n```terraform\nresource \"stackit_server\" \"user-data\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-server\"\n machine_type = \"g1.1\"\n keypair_name = stackit_key_pair.keypair.name\n user_data = \"#!/bin/bash\\n/bin/su\"\n}\n\nresource \"stackit_server\" \"user-data-from-file\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-server\"\n machine_type = \"g1.1\"\n keypair_name = stackit_key_pair.keypair.name\n user_data = file(\"${path.module}/cloud-init.yaml\")\n}\n\n```\n", + "stackit:index/scfOrganizationManager:ScfOrganizationManager": { + "description": "STACKIT Cloud Foundry organization manager resource schema.\n\n## Example Usage\n\n```terraform\nresource \"stackit_scf_organization_manager\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n org_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing scf org user\n# The password field is still null after import and must be entered manually in the state.\nimport {\n to = stackit_scf_organization_manager.import-example\n id = \"${var.project_id},${var.region},${var.org_id},${var.user_id}\"\n}\n```\n", "properties": { - "affinityGroup": { - "type": "string", - "description": "The affinity group the server is assigned to.\n" - }, - "availabilityZone": { - "type": "string", - "description": "The availability zone of the server.\n" - }, - "bootVolume": { - "$ref": "#/types/stackit:index/ServerBootVolume:ServerBootVolume", - "description": "The boot volume for the server\n" - }, "createdAt": { "type": "string", - "description": "Date-time when the server was created\n" - }, - "desiredStatus": { - "type": "string", - "description": "The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`.\n" - }, - "imageId": { - "type": "string", - "description": "The image ID to be used for an ephemeral disk on the server.\n" - }, - "keypairName": { - "type": "string", - "description": "The name of the keypair used during server creation.\n" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" + "description": "The time when the organization manager was created\n" }, - "launchedAt": { + "orgId": { "type": "string", - "description": "Date-time when the server was launched\n" + "description": "The ID of the Cloud Foundry Organization\n" }, - "machineType": { + "password": { "type": "string", - "description": "Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html)\n" + "description": "An auto-generated password\n", + "secret": true }, - "name": { + "platformId": { "type": "string", - "description": "The name of the server.\n" - }, - "networkInterfaces": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of network interfaces which should be attached to the server. Updating it will recreate the server.\n" + "description": "The ID of the platform associated with the organization of the organization manager\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the server is associated.\n" + "description": "The ID of the project associated with the organization of the organization manager\n" }, - "serverId": { + "region": { "type": "string", - "description": "The server ID.\n" + "description": "The region where the organization of the organization manager is located. If not defined, the provider region is used\n" }, "updatedAt": { "type": "string", - "description": "Date-time when the server was updated\n" + "description": "The time when the organization manager was last updated\n" }, - "userData": { + "userId": { "type": "string", - "description": "User data that is passed via cloud-init to the server.\n" + "description": "The ID of the organization manager user\n" + }, + "username": { + "type": "string", + "description": "An auto-generated organization manager user name\n" } }, "required": [ - "availabilityZone", "createdAt", - "launchedAt", - "machineType", - "name", + "orgId", + "password", + "platformId", "projectId", - "serverId", - "updatedAt" + "region", + "updatedAt", + "userId", + "username" ], "inputProperties": { - "affinityGroup": { - "type": "string", - "description": "The affinity group the server is assigned to.\n" - }, - "availabilityZone": { - "type": "string", - "description": "The availability zone of the server.\n" - }, - "bootVolume": { - "$ref": "#/types/stackit:index/ServerBootVolume:ServerBootVolume", - "description": "The boot volume for the server\n" - }, - "desiredStatus": { - "type": "string", - "description": "The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`.\n" - }, - "imageId": { - "type": "string", - "description": "The image ID to be used for an ephemeral disk on the server.\n" - }, - "keypairName": { - "type": "string", - "description": "The name of the keypair used during server creation.\n" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" - }, - "machineType": { - "type": "string", - "description": "Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html)\n" - }, - "name": { + "orgId": { "type": "string", - "description": "The name of the server.\n" - }, - "networkInterfaces": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of network interfaces which should be attached to the server. Updating it will recreate the server.\n" + "description": "The ID of the Cloud Foundry Organization\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the server is associated.\n" + "description": "The ID of the project associated with the organization of the organization manager\n" }, - "userData": { + "region": { "type": "string", - "description": "User data that is passed via cloud-init to the server.\n" + "description": "The region where the organization of the organization manager is located. If not defined, the provider region is used\n" } }, "requiredInputs": [ - "machineType", + "orgId", "projectId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering Server resources.\n", + "description": "Input properties used for looking up and filtering ScfOrganizationManager resources.\n", "properties": { - "affinityGroup": { - "type": "string", - "description": "The affinity group the server is assigned to.\n" - }, - "availabilityZone": { - "type": "string", - "description": "The availability zone of the server.\n" - }, - "bootVolume": { - "$ref": "#/types/stackit:index/ServerBootVolume:ServerBootVolume", - "description": "The boot volume for the server\n" - }, "createdAt": { "type": "string", - "description": "Date-time when the server was created\n" - }, - "desiredStatus": { - "type": "string", - "description": "The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`.\n" - }, - "imageId": { - "type": "string", - "description": "The image ID to be used for an ephemeral disk on the server.\n" - }, - "keypairName": { - "type": "string", - "description": "The name of the keypair used during server creation.\n" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" + "description": "The time when the organization manager was created\n" }, - "launchedAt": { + "orgId": { "type": "string", - "description": "Date-time when the server was launched\n" + "description": "The ID of the Cloud Foundry Organization\n" }, - "machineType": { + "password": { "type": "string", - "description": "Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html)\n" + "description": "An auto-generated password\n", + "secret": true }, - "name": { + "platformId": { "type": "string", - "description": "The name of the server.\n" - }, - "networkInterfaces": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IDs of network interfaces which should be attached to the server. Updating it will recreate the server.\n" + "description": "The ID of the platform associated with the organization of the organization manager\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the server is associated.\n" + "description": "The ID of the project associated with the organization of the organization manager\n" }, - "serverId": { + "region": { "type": "string", - "description": "The server ID.\n" + "description": "The region where the organization of the organization manager is located. If not defined, the provider region is used\n" }, "updatedAt": { "type": "string", - "description": "Date-time when the server was updated\n" + "description": "The time when the organization manager was last updated\n" }, - "userData": { + "userId": { "type": "string", - "description": "User data that is passed via cloud-init to the server.\n" + "description": "The ID of the organization manager user\n" + }, + "username": { + "type": "string", + "description": "An auto-generated organization manager user name\n" } }, "type": "object" } }, - "stackit:index/serverBackupSchedule:ServerBackupSchedule": { - "description": "Server backup schedule resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_backup_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example_backup_schedule_name\"\n rrule = \"DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1\"\n enabled = true\n backup_properties = {\n name = \"example_backup_name\"\n retention_period = 14\n volume_ids = null\n }\n}\n```\n", + "stackit:index/secretsmanagerInstance:SecretsmanagerInstance": { + "description": "Secrets Manager instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_secretsmanager_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acls = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n}\n\n# Only use the import statement, if you want to import an existing secretsmanager instance\nimport {\n to = stackit_secretsmanager_instance.import-example\n id = \"${var.project_id},${var.secret_instance_id}\"\n}\n```\n", "properties": { - "backupProperties": { - "$ref": "#/types/stackit:index/ServerBackupScheduleBackupProperties:ServerBackupScheduleBackupProperties", - "description": "Backup schedule details for the backups.\n" - }, - "backupScheduleId": { - "type": "integer", - "description": "Backup schedule ID.\n" + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation\n" }, - "enabled": { - "type": "boolean", - "description": "Is the backup schedule enabled or disabled.\n" + "instanceId": { + "type": "string", + "description": "ID of the Secrets Manager instance.\n" }, "name": { "type": "string", - "description": "The schedule name.\n" + "description": "Instance name.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the server is associated.\n" - }, - "region": { - "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" - }, - "rrule": { - "type": "string", - "description": "Backup schedule described in `rrule` (recurrence rule) format.\n" - }, - "serverId": { - "type": "string", - "description": "Server ID for the backup schedule.\n" + "description": "STACKIT project ID to which the instance is associated.\n" } }, "required": [ - "backupProperties", - "backupScheduleId", - "enabled", + "instanceId", "name", - "projectId", - "region", - "rrule", - "serverId" + "projectId" ], "inputProperties": { - "backupProperties": { - "$ref": "#/types/stackit:index/ServerBackupScheduleBackupProperties:ServerBackupScheduleBackupProperties", - "description": "Backup schedule details for the backups.\n" - }, - "enabled": { - "type": "boolean", - "description": "Is the backup schedule enabled or disabled.\n" + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation\n" }, "name": { "type": "string", - "description": "The schedule name.\n" + "description": "Instance name.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the server is associated.\n" - }, - "region": { - "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" - }, - "rrule": { - "type": "string", - "description": "Backup schedule described in `rrule` (recurrence rule) format.\n" - }, - "serverId": { - "type": "string", - "description": "Server ID for the backup schedule.\n" + "description": "STACKIT project ID to which the instance is associated.\n" } }, "requiredInputs": [ - "backupProperties", - "enabled", - "projectId", - "rrule", - "serverId" + "projectId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering ServerBackupSchedule resources.\n", + "description": "Input properties used for looking up and filtering SecretsmanagerInstance resources.\n", "properties": { - "backupProperties": { - "$ref": "#/types/stackit:index/ServerBackupScheduleBackupProperties:ServerBackupScheduleBackupProperties", - "description": "Backup schedule details for the backups.\n" - }, - "backupScheduleId": { - "type": "integer", - "description": "Backup schedule ID.\n" + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation\n" }, - "enabled": { - "type": "boolean", - "description": "Is the backup schedule enabled or disabled.\n" + "instanceId": { + "type": "string", + "description": "ID of the Secrets Manager instance.\n" }, "name": { "type": "string", - "description": "The schedule name.\n" + "description": "Instance name.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the server is associated.\n" - }, - "region": { - "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" - }, - "rrule": { - "type": "string", - "description": "Backup schedule described in `rrule` (recurrence rule) format.\n" - }, - "serverId": { - "type": "string", - "description": "Server ID for the backup schedule.\n" + "description": "STACKIT project ID to which the instance is associated.\n" } }, "type": "object" } }, - "stackit:index/serverNetworkInterfaceAttach:ServerNetworkInterfaceAttach": { - "description": "Network interface attachment resource schema. Attaches a network interface to a server. Must have a `region` specified in the provider configuration. The attachment only takes full effect after server reboot.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_network_interface_attach\" \"attached_network_interface\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/secretsmanagerUser:SecretsmanagerUser": { + "description": "Secrets Manager user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_secretsmanager_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n description = \"Example user\"\n write_enabled = false\n}\n\n# Only use the import statement, if you want to import an existing secretsmanager user\nimport {\n to = stackit_secretsmanager_user.import-example\n id = \"${var.project_id},${var.secret_instance_id},${var.secret_user_id}\"\n}\n```\n", "properties": { - "networkInterfaceId": { + "description": { "type": "string", - "description": "The network interface ID.\n" + "description": "A user chosen description to differentiate between multiple users. Can't be changed after creation.\n" + }, + "instanceId": { + "type": "string", + "description": "ID of the Secrets Manager instance.\n" + }, + "password": { + "type": "string", + "description": "An auto-generated password.\n", + "secret": true }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the network interface attachment is associated.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" }, - "serverId": { + "userId": { "type": "string", - "description": "The server ID.\n" + "description": "The user's ID.\n" + }, + "username": { + "type": "string", + "description": "An auto-generated user name.\n" + }, + "writeEnabled": { + "type": "boolean", + "description": "If true, the user has writeaccess to the secrets engine.\n" } }, "required": [ - "networkInterfaceId", + "description", + "instanceId", + "password", "projectId", - "serverId" + "userId", + "username", + "writeEnabled" ], "inputProperties": { - "networkInterfaceId": { + "description": { "type": "string", - "description": "The network interface ID.\n" + "description": "A user chosen description to differentiate between multiple users. Can't be changed after creation.\n" }, - "projectId": { + "instanceId": { "type": "string", - "description": "STACKIT project ID to which the network interface attachment is associated.\n" + "description": "ID of the Secrets Manager instance.\n" }, - "serverId": { + "projectId": { "type": "string", - "description": "The server ID.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" + }, + "writeEnabled": { + "type": "boolean", + "description": "If true, the user has writeaccess to the secrets engine.\n" } }, "requiredInputs": [ - "networkInterfaceId", + "description", + "instanceId", "projectId", - "serverId" + "writeEnabled" ], "stateInputs": { - "description": "Input properties used for looking up and filtering ServerNetworkInterfaceAttach resources.\n", + "description": "Input properties used for looking up and filtering SecretsmanagerUser resources.\n", "properties": { - "networkInterfaceId": { + "description": { "type": "string", - "description": "The network interface ID.\n" + "description": "A user chosen description to differentiate between multiple users. Can't be changed after creation.\n" + }, + "instanceId": { + "type": "string", + "description": "ID of the Secrets Manager instance.\n" + }, + "password": { + "type": "string", + "description": "An auto-generated password.\n", + "secret": true }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the network interface attachment is associated.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" }, - "serverId": { + "userId": { "type": "string", - "description": "The server ID.\n" + "description": "The user's ID.\n" + }, + "username": { + "type": "string", + "description": "An auto-generated user name.\n" + }, + "writeEnabled": { + "type": "boolean", + "description": "If true, the user has writeaccess to the secrets engine.\n" } }, "type": "object" } }, - "stackit:index/serverServiceAccountAttach:ServerServiceAccountAttach": { - "description": "Service account attachment resource schema. Attaches a service account to a server. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_service_account_attach\" \"attached_service_account\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n service_account_email = \"service-account@stackit.cloud\"\n}\n```\n", + "stackit:index/securityGroup:SecurityGroup": { + "description": "Security group resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_security_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"my_security_group\"\n labels = {\n \"key\" = \"value\"\n }\n}\n\n# Only use the import statement, if you want to import an existing security group\nimport {\n to = stackit_security_group.import-example\n id = \"${var.project_id},${var.security_group_id}\"\n}\n```\n", "properties": { - "projectId": { + "description": { "type": "string", - "description": "STACKIT project ID to which the service account attachment is associated.\n" + "description": "The description of the security group.\n" }, - "serverId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { "type": "string", - "description": "The server ID.\n" + "description": "The name of the security group.\n" }, - "serviceAccountEmail": { + "projectId": { "type": "string", - "description": "The service account email.\n" + "description": "STACKIT project ID to which the security group is associated.\n" + }, + "securityGroupId": { + "type": "string", + "description": "The security group ID.\n" + }, + "stateful": { + "type": "boolean", + "description": "Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server.\n" } }, "required": [ + "description", + "name", "projectId", - "serverId", - "serviceAccountEmail" + "securityGroupId", + "stateful" ], "inputProperties": { - "projectId": { + "description": { "type": "string", - "description": "STACKIT project ID to which the service account attachment is associated.\n" + "description": "The description of the security group.\n" }, - "serverId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { "type": "string", - "description": "The server ID.\n" + "description": "The name of the security group.\n" }, - "serviceAccountEmail": { + "projectId": { "type": "string", - "description": "The service account email.\n" + "description": "STACKIT project ID to which the security group is associated.\n" + }, + "stateful": { + "type": "boolean", + "description": "Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server.\n" } }, "requiredInputs": [ - "projectId", - "serverId", - "serviceAccountEmail" + "projectId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering ServerServiceAccountAttach resources.\n", + "description": "Input properties used for looking up and filtering SecurityGroup resources.\n", "properties": { - "projectId": { + "description": { "type": "string", - "description": "STACKIT project ID to which the service account attachment is associated.\n" + "description": "The description of the security group.\n" }, - "serverId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { "type": "string", - "description": "The server ID.\n" + "description": "The name of the security group.\n" }, - "serviceAccountEmail": { + "projectId": { "type": "string", - "description": "The service account email.\n" + "description": "STACKIT project ID to which the security group is associated.\n" + }, + "securityGroupId": { + "type": "string", + "description": "The security group ID.\n" + }, + "stateful": { + "type": "boolean", + "description": "Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server.\n" } }, "type": "object" } }, - "stackit:index/serverUpdateSchedule:ServerUpdateSchedule": { - "description": "Server update schedule resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_update_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example_update_schedule_name\"\n rrule = \"DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1\"\n enabled = true\n maintenance_window = 1\n}\n```\n", + "stackit:index/securityGroupRule:SecurityGroupRule": { + "description": "Security group rule resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_security_group_rule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n security_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n direction = \"ingress\"\n icmp_parameters = {\n code = 0\n type = 8\n }\n protocol = {\n name = \"icmp\"\n }\n}\n\n# Only use the import statement, if you want to import an existing security group rule\n# Note: There will be a conflict which needs to be resolved manually.\n# Attribute \"protocol.number\" cannot be specified when \"protocol.name\" is specified.\nimport {\n to = stackit_security_group_rule.import-example\n id = \"${var.project_id},${var.security_group_id},${var.security_group_rule_id}\"\n}\n```\n", "properties": { - "enabled": { - "type": "boolean", - "description": "Is the update schedule enabled or disabled.\n" + "description": { + "type": "string", + "description": "The rule description.\n" }, - "maintenanceWindow": { - "type": "integer", - "description": "Maintenance window [1..24].\n" + "direction": { + "type": "string", + "description": "The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`.\n" }, - "name": { + "etherType": { "type": "string", - "description": "The schedule name.\n" + "description": "The ethertype which the rule should match.\n" }, - "projectId": { + "icmpParameters": { + "$ref": "#/types/stackit:index/SecurityGroupRuleIcmpParameters:SecurityGroupRuleIcmpParameters", + "description": "ICMP Parameters. These parameters should only be provided if the protocol is ICMP.\n" + }, + "ipRange": { "type": "string", - "description": "STACKIT Project ID to which the server is associated.\n" + "description": "The remote IP range which the rule should match.\n" }, - "region": { + "portRange": { + "$ref": "#/types/stackit:index/SecurityGroupRulePortRange:SecurityGroupRulePortRange", + "description": "The range of ports. This should only be provided if the protocol is not ICMP.\n" + }, + "projectId": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "STACKIT project ID to which the security group rule is associated.\n" }, - "rrule": { + "protocol": { + "$ref": "#/types/stackit:index/SecurityGroupRuleProtocol:SecurityGroupRuleProtocol", + "description": "The internet protocol which the rule should match.\n" + }, + "remoteSecurityGroupId": { "type": "string", - "description": "Update schedule described in `rrule` (recurrence rule) format.\n" + "description": "The remote security group which the rule should match.\n" }, - "serverId": { + "securityGroupId": { "type": "string", - "description": "Server ID for the update schedule.\n" + "description": "The security group ID.\n" }, - "updateScheduleId": { - "type": "integer", - "description": "Update schedule ID.\n" + "securityGroupRuleId": { + "type": "string", + "description": "The security group rule ID.\n" } }, "required": [ - "enabled", - "maintenanceWindow", - "name", + "direction", + "etherType", + "icmpParameters", + "portRange", "projectId", - "region", - "rrule", - "serverId", - "updateScheduleId" + "protocol", + "securityGroupId", + "securityGroupRuleId" ], "inputProperties": { - "enabled": { - "type": "boolean", - "description": "Is the update schedule enabled or disabled.\n" - }, - "maintenanceWindow": { - "type": "integer", - "description": "Maintenance window [1..24].\n" - }, - "name": { + "description": { "type": "string", - "description": "The schedule name.\n" + "description": "The rule description.\n" }, - "projectId": { + "direction": { "type": "string", - "description": "STACKIT Project ID to which the server is associated.\n" + "description": "The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`.\n" }, - "region": { + "etherType": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "The ethertype which the rule should match.\n" }, - "rrule": { - "type": "string", - "description": "Update schedule described in `rrule` (recurrence rule) format.\n" + "icmpParameters": { + "$ref": "#/types/stackit:index/SecurityGroupRuleIcmpParameters:SecurityGroupRuleIcmpParameters", + "description": "ICMP Parameters. These parameters should only be provided if the protocol is ICMP.\n" }, - "serverId": { + "ipRange": { "type": "string", - "description": "Server ID for the update schedule.\n" - } - }, - "requiredInputs": [ - "enabled", - "maintenanceWindow", + "description": "The remote IP range which the rule should match.\n" + }, + "portRange": { + "$ref": "#/types/stackit:index/SecurityGroupRulePortRange:SecurityGroupRulePortRange", + "description": "The range of ports. This should only be provided if the protocol is not ICMP.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the security group rule is associated.\n" + }, + "protocol": { + "$ref": "#/types/stackit:index/SecurityGroupRuleProtocol:SecurityGroupRuleProtocol", + "description": "The internet protocol which the rule should match.\n" + }, + "remoteSecurityGroupId": { + "type": "string", + "description": "The remote security group which the rule should match.\n" + }, + "securityGroupId": { + "type": "string", + "description": "The security group ID.\n" + } + }, + "requiredInputs": [ + "direction", "projectId", - "rrule", - "serverId" + "securityGroupId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering ServerUpdateSchedule resources.\n", + "description": "Input properties used for looking up and filtering SecurityGroupRule resources.\n", "properties": { - "enabled": { - "type": "boolean", - "description": "Is the update schedule enabled or disabled.\n" + "description": { + "type": "string", + "description": "The rule description.\n" }, - "maintenanceWindow": { - "type": "integer", - "description": "Maintenance window [1..24].\n" + "direction": { + "type": "string", + "description": "The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`.\n" }, - "name": { + "etherType": { "type": "string", - "description": "The schedule name.\n" + "description": "The ethertype which the rule should match.\n" }, - "projectId": { + "icmpParameters": { + "$ref": "#/types/stackit:index/SecurityGroupRuleIcmpParameters:SecurityGroupRuleIcmpParameters", + "description": "ICMP Parameters. These parameters should only be provided if the protocol is ICMP.\n" + }, + "ipRange": { "type": "string", - "description": "STACKIT Project ID to which the server is associated.\n" + "description": "The remote IP range which the rule should match.\n" }, - "region": { + "portRange": { + "$ref": "#/types/stackit:index/SecurityGroupRulePortRange:SecurityGroupRulePortRange", + "description": "The range of ports. This should only be provided if the protocol is not ICMP.\n" + }, + "projectId": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "STACKIT project ID to which the security group rule is associated.\n" }, - "rrule": { + "protocol": { + "$ref": "#/types/stackit:index/SecurityGroupRuleProtocol:SecurityGroupRuleProtocol", + "description": "The internet protocol which the rule should match.\n" + }, + "remoteSecurityGroupId": { "type": "string", - "description": "Update schedule described in `rrule` (recurrence rule) format.\n" + "description": "The remote security group which the rule should match.\n" }, - "serverId": { + "securityGroupId": { "type": "string", - "description": "Server ID for the update schedule.\n" + "description": "The security group ID.\n" }, - "updateScheduleId": { - "type": "integer", - "description": "Update schedule ID.\n" + "securityGroupRuleId": { + "type": "string", + "description": "The security group rule ID.\n" } }, "type": "object" } }, - "stackit:index/serverVolumeAttach:ServerVolumeAttach": { - "description": "Volume attachment resource schema. Attaches a volume to a server. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_volume_attach\" \"attached_volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n volume_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/server:Server": { + "description": "Server resource schema. Must have a region specified in the provider configuration.\n\n## Example Usage\n\n### With key pair\n```terraform\nresource \"stackit_key_pair\" \"keypair\" {\n name = \"example-key-pair\"\n public_key = chomp(file(\"path/to/id_rsa.pub\"))\n}\n\nresource \"stackit_server\" \"user-data-from-file\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-server\"\n machine_type = \"g2i.1\"\n keypair_name = stackit_key_pair.keypair.name\n user_data = file(\"${path.module}/cloud-init.yaml\")\n}\n\n```\n\n### Boot from volume\n```terraform\nresource \"stackit_server\" \"boot-from-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n availability_zone = \"eu01-1\"\n machine_type = \"g2i.1\"\n keypair_name = \"example-keypair\"\n}\n\n```\n\n### Boot from existing volume\n```terraform\nresource \"stackit_volume\" \"example-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n size = 12\n source = {\n type = \"image\"\n id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-volume\"\n availability_zone = \"eu01-1\"\n}\n\nresource \"stackit_server\" \"boot-from-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n source_type = \"volume\"\n source_id = stackit_volume.example-volume.volume_id\n }\n availability_zone = \"eu01-1\"\n machine_type = \"g2i.1\"\n keypair_name = stackit_key_pair.keypair.name\n}\n\n```\n\n### Network setup\n```terraform\nresource \"stackit_network\" \"network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-network\"\n nameservers = [\"192.0.2.0\", \"198.51.100.0\", \"203.0.113.0\"]\n ipv4_prefix_length = 24\n}\n\nresource \"stackit_security_group\" \"sec-group\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-security-group\"\n stateful = true\n}\n\nresource \"stackit_security_group_rule\" \"rule\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n security_group_id = stackit_security_group.sec-group.security_group_id\n direction = \"ingress\"\n ether_type = \"IPv4\"\n}\n\nresource \"stackit_network_interface\" \"nic\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = stackit_network.network.network_id\n security_group_ids = [stackit_security_group.sec-group.security_group_id]\n}\n\nresource \"stackit_server\" \"server-with-network\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n machine_type = \"g2i.1\"\n keypair_name = stackit_key_pair.keypair.name\n network_interfaces = [\n stackit_network_interface.nic.network_interface_id\n ]\t\n}\n\nresource \"stackit_public_ip\" \"public-ip\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = stackit_network_interface.nic.network_interface_id\n}\n\n```\n\n### Server with attached volume\n```terraform\nresource \"stackit_volume\" \"example-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n size = 12\n performance_class = \"storage_premium_perf6\"\n name = \"example-volume\"\n availability_zone = \"eu01-1\"\n}\n\nresource \"stackit_server\" \"server-with-volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n availability_zone = \"eu01-1\"\n machine_type = \"g2i.1\"\n keypair_name = stackit_key_pair.keypair.name\n}\n\nresource \"stackit_server_volume_attach\" \"attach_volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = stackit_server.server-with-volume.server_id\n volume_id = stackit_volume.example-volume.volume_id\n}\n\n```\n\n### Server with user data (cloud-init)\n```terraform\nresource \"stackit_server\" \"user-data\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-server\"\n machine_type = \"g2i.1\"\n keypair_name = stackit_key_pair.keypair.name\n user_data = \"#!/bin/bash\\n/bin/su\"\n}\n\nresource \"stackit_server\" \"user-data-from-file\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n name = \"example-server\"\n machine_type = \"g2i.1\"\n keypair_name = stackit_key_pair.keypair.name\n user_data = file(\"${path.module}/cloud-init.yaml\")\n}\n\n```\n\n\n### Additional Examples\n\n```terraform\nresource \"stackit_server\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-server\"\n boot_volume = {\n size = 64\n source_type = \"image\"\n source_id = \"59838a89-51b1-4892-b57f-b3caf598ee2f\" // Ubuntu 24.04\n }\n availability_zone = \"xxxx-x\"\n machine_type = \"g2i.1\"\n network_interfaces = [\n stackit_network_interface.example.network_interface_id\n ]\n}\n\n# Only use the import statement, if you want to import an existing server\n# Note: There will be a conflict which needs to be resolved manually.\n# Must set a configuration value for the boot_volume.source_type and boot_volume.source_id attribute as the provider has marked it as required.\n# Since those attributes are not fetched in general from the API call, after adding them this would replace your server resource after an pulumi up.\n# In order to prevent this you need to add:\n# lifecycle {\n# ignore_changes = [ boot_volume ]\n# }\nimport {\n to = stackit_server.import-example\n id = \"${var.project_id},${var.server_id}\"\n}\n```\n", "properties": { - "projectId": { + "affinityGroup": { "type": "string", - "description": "STACKIT project ID to which the volume attachment is associated.\n" + "description": "The affinity group the server is assigned to.\n" }, - "serverId": { + "availabilityZone": { "type": "string", - "description": "The server ID.\n" + "description": "The availability zone of the server.\n" }, - "volumeId": { + "bootVolume": { + "$ref": "#/types/stackit:index/ServerBootVolume:ServerBootVolume", + "description": "The boot volume for the server\n" + }, + "createdAt": { "type": "string", - "description": "The volume ID.\n" - } - }, - "required": [ - "projectId", - "serverId", - "volumeId" - ], - "inputProperties": { - "projectId": { + "description": "Date-time when the server was created\n" + }, + "desiredStatus": { "type": "string", - "description": "STACKIT project ID to which the volume attachment is associated.\n" + "description": "The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`.\n" }, - "serverId": { + "imageId": { "type": "string", - "description": "The server ID.\n" + "description": "The image ID to be used for an ephemeral disk on the server.\n" }, - "volumeId": { + "keypairName": { "type": "string", - "description": "The volume ID.\n" - } - }, - "requiredInputs": [ - "projectId", - "serverId", - "volumeId" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering ServerVolumeAttach resources.\n", - "properties": { - "projectId": { - "type": "string", - "description": "STACKIT project ID to which the volume attachment is associated.\n" - }, - "serverId": { - "type": "string", - "description": "The server ID.\n" + "description": "The name of the keypair used during server creation.\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "volumeId": { - "type": "string", - "description": "The volume ID.\n" - } + "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "type": "object" - } - }, - "stackit:index/serviceAccount:ServiceAccount": { - "description": "Service account resource schema.\n\n## Example Usage\n\n```terraform\nresource \"stackit_service_account\" \"sa\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"sa01\"\n}\n```\n", - "properties": { - "email": { + "launchedAt": { "type": "string", - "description": "Email of the service account.\n" + "description": "Date-time when the server was launched\n" + }, + "machineType": { + "type": "string", + "description": "Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html)\n" }, "name": { "type": "string", - "description": "Name of the service account.\n" + "description": "The name of the server.\n" + }, + "networkInterfaces": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of network interfaces which should be attached to the server. Updating it will recreate the server.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the service account is associated.\n" + "description": "STACKIT project ID to which the server is associated.\n" + }, + "serverId": { + "type": "string", + "description": "The server ID.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the server was updated\n" + }, + "userData": { + "type": "string", + "description": "User data that is passed via cloud-init to the server.\n" } }, "required": [ - "email", + "availabilityZone", + "createdAt", + "launchedAt", + "machineType", "name", - "projectId" + "projectId", + "serverId", + "updatedAt" ], "inputProperties": { - "name": { + "affinityGroup": { "type": "string", - "description": "Name of the service account.\n" + "description": "The affinity group the server is assigned to.\n" }, - "projectId": { + "availabilityZone": { "type": "string", - "description": "STACKIT project ID to which the service account is associated.\n" - } - }, - "requiredInputs": [ - "projectId" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering ServiceAccount resources.\n", - "properties": { - "email": { - "type": "string", - "description": "Email of the service account.\n" - }, - "name": { - "type": "string", - "description": "Name of the service account.\n" - }, - "projectId": { - "type": "string", - "description": "STACKIT project ID to which the service account is associated.\n" - } + "description": "The availability zone of the server.\n" }, - "type": "object" - } - }, - "stackit:index/serviceAccountAccessToken:ServiceAccountAccessToken": { - "description": "Service account access token schema.\n## Example Usage\n\n### Automatically rotate access tokens\n```terraform\nresource \"stackit_service_account\" \"sa\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"sa01\"\n}\n\nresource \"time_rotating\" \"rotate\" {\n rotation_days = 80\n}\n\nresource \"stackit_service_account_access_token\" \"sa_token\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n service_account_email = stackit_service_account.sa.email\n ttl_days = 180\n\n rotate_when_changed = {\n rotation = time_rotating.rotate.id\n }\n}\n\n```\n", - "properties": { - "accessTokenId": { - "type": "string", - "description": "Identifier for the access token linked to the service account.\n" + "bootVolume": { + "$ref": "#/types/stackit:index/ServerBootVolume:ServerBootVolume", + "description": "The boot volume for the server\n" }, - "active": { - "type": "boolean", - "description": "Indicate whether the token is currently active or inactive\n" + "desiredStatus": { + "type": "string", + "description": "The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`.\n" }, - "createdAt": { + "imageId": { "type": "string", - "description": "Timestamp indicating when the access token was created.\n" + "description": "The image ID to be used for an ephemeral disk on the server.\n" }, - "projectId": { + "keypairName": { "type": "string", - "description": "STACKIT project ID associated with the service account token.\n" + "description": "The name of the keypair used during server creation.\n" }, - "rotateWhenChanged": { + "labels": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "serviceAccountEmail": { + "machineType": { "type": "string", - "description": "Email address linked to the service account.\n" + "description": "Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html)\n" }, - "token": { + "name": { "type": "string", - "description": "JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost.\n", - "secret": true - }, - "ttlDays": { - "type": "integer", - "description": "Specifies the token's validity duration in days. If unspecified, defaults to 90 days.\n" - }, - "validUntil": { - "type": "string", - "description": "Estimated expiration timestamp of the access token. For precise validity, check the JWT details.\n" - } - }, - "required": [ - "accessTokenId", - "active", - "createdAt", - "projectId", - "serviceAccountEmail", - "token", - "ttlDays", - "validUntil" - ], - "inputProperties": { - "projectId": { - "type": "string", - "description": "STACKIT project ID associated with the service account token.\n" + "description": "The name of the server.\n" }, - "rotateWhenChanged": { - "type": "object", - "additionalProperties": { + "networkInterfaces": { + "type": "array", + "items": { "type": "string" }, - "description": "A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.\n" + "description": "The IDs of network interfaces which should be attached to the server. Updating it will recreate the server.\n" }, - "serviceAccountEmail": { + "projectId": { "type": "string", - "description": "Email address linked to the service account.\n" + "description": "STACKIT project ID to which the server is associated.\n" }, - "ttlDays": { - "type": "integer", - "description": "Specifies the token's validity duration in days. If unspecified, defaults to 90 days.\n" + "userData": { + "type": "string", + "description": "User data that is passed via cloud-init to the server.\n" } }, "requiredInputs": [ - "projectId", - "serviceAccountEmail" + "machineType", + "projectId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering ServiceAccountAccessToken resources.\n", + "description": "Input properties used for looking up and filtering Server resources.\n", "properties": { - "accessTokenId": { + "affinityGroup": { "type": "string", - "description": "Identifier for the access token linked to the service account.\n" + "description": "The affinity group the server is assigned to.\n" }, - "active": { - "type": "boolean", - "description": "Indicate whether the token is currently active or inactive\n" + "availabilityZone": { + "type": "string", + "description": "The availability zone of the server.\n" + }, + "bootVolume": { + "$ref": "#/types/stackit:index/ServerBootVolume:ServerBootVolume", + "description": "The boot volume for the server\n" }, "createdAt": { "type": "string", - "description": "Timestamp indicating when the access token was created.\n" + "description": "Date-time when the server was created\n" }, - "projectId": { + "desiredStatus": { "type": "string", - "description": "STACKIT project ID associated with the service account token.\n" + "description": "The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`.\n" }, - "rotateWhenChanged": { + "imageId": { + "type": "string", + "description": "The image ID to be used for an ephemeral disk on the server.\n" + }, + "keypairName": { + "type": "string", + "description": "The name of the keypair used during server creation.\n" + }, + "labels": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "serviceAccountEmail": { + "launchedAt": { "type": "string", - "description": "Email address linked to the service account.\n" + "description": "Date-time when the server was launched\n" }, - "token": { + "machineType": { "type": "string", - "description": "JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost.\n", - "secret": true + "description": "Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html)\n" }, - "ttlDays": { - "type": "integer", - "description": "Specifies the token's validity duration in days. If unspecified, defaults to 90 days.\n" + "name": { + "type": "string", + "description": "The name of the server.\n" }, - "validUntil": { + "networkInterfaces": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IDs of network interfaces which should be attached to the server. Updating it will recreate the server.\n" + }, + "projectId": { "type": "string", - "description": "Estimated expiration timestamp of the access token. For precise validity, check the JWT details.\n" + "description": "STACKIT project ID to which the server is associated.\n" + }, + "serverId": { + "type": "string", + "description": "The server ID.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the server was updated\n" + }, + "userData": { + "type": "string", + "description": "User data that is passed via cloud-init to the server.\n" } }, "type": "object" } }, - "stackit:index/serviceAccountKey:ServiceAccountKey": { - "description": "Service account key schema.\n## Example Usage\n\n### Automatically rotate service account keys\n```terraform\nresource \"stackit_service_account\" \"sa\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"sa01\"\n}\n\nresource \"time_rotating\" \"rotate\" {\n rotation_days = 80\n}\n\nresource \"stackit_service_account_key\" \"sa_key\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n service_account_email = stackit_service_account.sa.email\n ttl_days = 90\n\n rotate_when_changed = {\n rotation = time_rotating.rotate.id\n }\t\n}\n\n```\n", + "stackit:index/serverBackupSchedule:ServerBackupSchedule": { + "description": "Server backup schedule resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_backup_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example_backup_schedule_name\"\n rrule = \"DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1\"\n enabled = true\n backup_properties = {\n name = \"example_backup_name\"\n retention_period = 14\n volume_ids = null\n }\n}\n\n# Only use the import statement, if you want to import an existing server backup schedule\nimport {\n to = stackit_server_backup_schedule.import-example\n id = \"${var.project_id},${var.region},${var.server_id},${var.server_backup_schedule_id}\"\n}\n```\n", "properties": { - "json": { - "type": "string", - "description": "The raw JSON representation of the service account key json, available for direct use.\n", - "secret": true + "backupProperties": { + "$ref": "#/types/stackit:index/ServerBackupScheduleBackupProperties:ServerBackupScheduleBackupProperties", + "description": "Backup schedule details for the backups.\n" }, - "keyId": { + "backupScheduleId": { + "type": "integer", + "description": "Backup schedule ID.\n" + }, + "enabled": { + "type": "boolean", + "description": "Is the backup schedule enabled or disabled.\n" + }, + "name": { "type": "string", - "description": "The unique identifier for the key associated with the service account.\n" + "description": "The schedule name.\n" }, "projectId": { "type": "string", - "description": "The STACKIT project ID associated with the service account key.\n" + "description": "STACKIT Project ID to which the server is associated.\n" }, - "publicKey": { + "region": { "type": "string", - "description": "Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key.\n" - }, - "rotateWhenChanged": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "serviceAccountEmail": { + "rrule": { "type": "string", - "description": "The email address associated with the service account, used for account identification and communication.\n" + "description": "Backup schedule described in `rrule` (recurrence rule) format.\n" }, - "ttlDays": { - "type": "integer", - "description": "Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted\n" + "serverId": { + "type": "string", + "description": "Server ID for the backup schedule.\n" } }, "required": [ - "json", - "keyId", + "backupProperties", + "backupScheduleId", + "enabled", + "name", "projectId", - "serviceAccountEmail" + "region", + "rrule", + "serverId" ], "inputProperties": { - "projectId": { + "backupProperties": { + "$ref": "#/types/stackit:index/ServerBackupScheduleBackupProperties:ServerBackupScheduleBackupProperties", + "description": "Backup schedule details for the backups.\n" + }, + "enabled": { + "type": "boolean", + "description": "Is the backup schedule enabled or disabled.\n" + }, + "name": { "type": "string", - "description": "The STACKIT project ID associated with the service account key.\n" + "description": "The schedule name.\n" }, - "publicKey": { + "projectId": { "type": "string", - "description": "Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key.\n" + "description": "STACKIT Project ID to which the server is associated.\n" }, - "rotateWhenChanged": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource.\n" + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" }, - "serviceAccountEmail": { + "rrule": { "type": "string", - "description": "The email address associated with the service account, used for account identification and communication.\n" + "description": "Backup schedule described in `rrule` (recurrence rule) format.\n" }, - "ttlDays": { - "type": "integer", - "description": "Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted\n" + "serverId": { + "type": "string", + "description": "Server ID for the backup schedule.\n" } }, "requiredInputs": [ + "backupProperties", + "enabled", "projectId", - "serviceAccountEmail" + "rrule", + "serverId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering ServiceAccountKey resources.\n", + "description": "Input properties used for looking up and filtering ServerBackupSchedule resources.\n", "properties": { - "json": { - "type": "string", - "description": "The raw JSON representation of the service account key json, available for direct use.\n", - "secret": true + "backupProperties": { + "$ref": "#/types/stackit:index/ServerBackupScheduleBackupProperties:ServerBackupScheduleBackupProperties", + "description": "Backup schedule details for the backups.\n" }, - "keyId": { + "backupScheduleId": { + "type": "integer", + "description": "Backup schedule ID.\n" + }, + "enabled": { + "type": "boolean", + "description": "Is the backup schedule enabled or disabled.\n" + }, + "name": { "type": "string", - "description": "The unique identifier for the key associated with the service account.\n" + "description": "The schedule name.\n" }, "projectId": { "type": "string", - "description": "The STACKIT project ID associated with the service account key.\n" + "description": "STACKIT Project ID to which the server is associated.\n" }, - "publicKey": { + "region": { "type": "string", - "description": "Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key.\n" - }, - "rotateWhenChanged": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "serviceAccountEmail": { + "rrule": { "type": "string", - "description": "The email address associated with the service account, used for account identification and communication.\n" + "description": "Backup schedule described in `rrule` (recurrence rule) format.\n" }, - "ttlDays": { - "type": "integer", - "description": "Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted\n" + "serverId": { + "type": "string", + "description": "Server ID for the backup schedule.\n" } }, "type": "object" } }, - "stackit:index/skeCluster:SkeCluster": { - "description": "SKE Cluster Resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e When updating `node_pools` of a `stackit.SkeCluster`, the pulumi preview might appear incorrect as it matches the node pools by index rather than by name. However, the SKE API correctly identifies node pools by name and applies the intended changes. Please review your changes carefully to ensure the correct configuration will be applied.\n\n## Example Usage\n\n```terraform\nresource \"stackit_ske_cluster\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example\"\n kubernetes_version = \"x.x\"\n node_pools = [\n {\n name = \"np-example\"\n machine_type = \"x.x\"\n os_version = \"x.x.x\"\n minimum = \"2\"\n maximum = \"3\"\n availability_zones = [\"eu01-3\"]\n }\n ]\n maintenance = {\n enable_kubernetes_version_updates = true\n enable_machine_image_version_updates = true\n start = \"01:00:00Z\"\n end = \"02:00:00Z\"\n }\n}\n```\n", + "stackit:index/serverNetworkInterfaceAttach:ServerNetworkInterfaceAttach": { + "description": "Network interface attachment resource schema. Attaches a network interface to a server. Must have a `region` specified in the provider configuration. The attachment only takes full effect after server reboot.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_network_interface_attach\" \"attached_network_interface\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing server network interface attachment\nimport {\n to = stackit_server_network_interface_attach.import-example\n id = \"${var.project_id},${var.server_id},${var.network_interface_id}\"\n}\n```\n", "properties": { - "allowPrivilegedContainers": { - "type": "boolean", - "description": "Flag to specify if privileged mode for containers is enabled or not.\nThis should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs).\nDeprecated as of Kubernetes 1.25 and later\n" - }, - "egressAddressRanges": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.\n" - }, - "extensions": { - "$ref": "#/types/stackit:index/SkeClusterExtensions:SkeClusterExtensions", - "description": "A single extensions block as defined below.\n" - }, - "hibernations": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/SkeClusterHibernation:SkeClusterHibernation" - }, - "description": "One or more hibernation block as defined below.\n" - }, - "kubernetesVersion": { - "type": "string", - "description": "Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead`\n", - "deprecationMessage": "Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster." - }, - "kubernetesVersionMin": { - "type": "string", - "description": "The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.\n" - }, - "kubernetesVersionUsed": { - "type": "string", - "description": "Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).\n" - }, - "maintenance": { - "$ref": "#/types/stackit:index/SkeClusterMaintenance:SkeClusterMaintenance", - "description": "A single maintenance block as defined below.\n" - }, - "name": { + "networkInterfaceId": { "type": "string", - "description": "The cluster name.\n" - }, - "network": { - "$ref": "#/types/stackit:index/SkeClusterNetwork:SkeClusterNetwork", - "description": "Network block as defined below.\n" - }, - "nodePools": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/SkeClusterNodePool:SkeClusterNodePool" - }, - "description": "One or more `node_pool` block as defined below.\n" + "description": "The network interface ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the cluster is associated.\n" + "description": "STACKIT project ID to which the network interface attachment is associated.\n" }, - "region": { + "serverId": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "The server ID.\n" } }, "required": [ - "egressAddressRanges", - "kubernetesVersionUsed", - "maintenance", - "name", - "nodePools", + "networkInterfaceId", "projectId", - "region" + "serverId" ], "inputProperties": { - "allowPrivilegedContainers": { - "type": "boolean", - "description": "Flag to specify if privileged mode for containers is enabled or not.\nThis should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs).\nDeprecated as of Kubernetes 1.25 and later\n" - }, - "extensions": { - "$ref": "#/types/stackit:index/SkeClusterExtensions:SkeClusterExtensions", - "description": "A single extensions block as defined below.\n" - }, - "hibernations": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/SkeClusterHibernation:SkeClusterHibernation" - }, - "description": "One or more hibernation block as defined below.\n" - }, - "kubernetesVersion": { - "type": "string", - "description": "Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead`\n", - "deprecationMessage": "Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster." - }, - "kubernetesVersionMin": { - "type": "string", - "description": "The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.\n" - }, - "maintenance": { - "$ref": "#/types/stackit:index/SkeClusterMaintenance:SkeClusterMaintenance", - "description": "A single maintenance block as defined below.\n" - }, - "name": { + "networkInterfaceId": { "type": "string", - "description": "The cluster name.\n" - }, - "network": { - "$ref": "#/types/stackit:index/SkeClusterNetwork:SkeClusterNetwork", - "description": "Network block as defined below.\n" - }, - "nodePools": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/SkeClusterNodePool:SkeClusterNodePool" - }, - "description": "One or more `node_pool` block as defined below.\n" + "description": "The network interface ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the cluster is associated.\n" + "description": "STACKIT project ID to which the network interface attachment is associated.\n" }, - "region": { + "serverId": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "The server ID.\n" } }, "requiredInputs": [ - "nodePools", - "projectId" + "networkInterfaceId", + "projectId", + "serverId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SkeCluster resources.\n", + "description": "Input properties used for looking up and filtering ServerNetworkInterfaceAttach resources.\n", "properties": { - "allowPrivilegedContainers": { - "type": "boolean", - "description": "Flag to specify if privileged mode for containers is enabled or not.\nThis should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs).\nDeprecated as of Kubernetes 1.25 and later\n" - }, - "egressAddressRanges": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.\n" - }, - "extensions": { - "$ref": "#/types/stackit:index/SkeClusterExtensions:SkeClusterExtensions", - "description": "A single extensions block as defined below.\n" - }, - "hibernations": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/SkeClusterHibernation:SkeClusterHibernation" - }, - "description": "One or more hibernation block as defined below.\n" - }, - "kubernetesVersion": { - "type": "string", - "description": "Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead`\n", - "deprecationMessage": "Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster." - }, - "kubernetesVersionMin": { - "type": "string", - "description": "The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.\n" - }, - "kubernetesVersionUsed": { - "type": "string", - "description": "Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).\n" - }, - "maintenance": { - "$ref": "#/types/stackit:index/SkeClusterMaintenance:SkeClusterMaintenance", - "description": "A single maintenance block as defined below.\n" - }, - "name": { + "networkInterfaceId": { "type": "string", - "description": "The cluster name.\n" - }, - "network": { - "$ref": "#/types/stackit:index/SkeClusterNetwork:SkeClusterNetwork", - "description": "Network block as defined below.\n" - }, - "nodePools": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/SkeClusterNodePool:SkeClusterNodePool" - }, - "description": "One or more `node_pool` block as defined below.\n" + "description": "The network interface ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the cluster is associated.\n" + "description": "STACKIT project ID to which the network interface attachment is associated.\n" }, - "region": { + "serverId": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "The server ID.\n" } }, "type": "object" } }, - "stackit:index/skeKubeconfig:SkeKubeconfig": { - "description": "SKE kubeconfig resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_ske_kubeconfig\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n cluster_name = \"example-cluster\"\n refresh = true\n}\n```\n", + "stackit:index/serverServiceAccountAttach:ServerServiceAccountAttach": { + "description": "Service account attachment resource schema. Attaches a service account to a server. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_service_account_attach\" \"attached_service_account\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n service_account_email = \"service-account@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing server service account attachment\nimport {\n to = stackit_server_service_account_attach.import-example\n id = \"${var.project_id},${var.server_id},${var.service_account_email}\"\n}\n```\n", "properties": { - "clusterName": { - "type": "string", - "description": "Name of the SKE cluster.\n" - }, - "creationTime": { - "type": "string", - "description": "Date-time when the kubeconfig was created\n" - }, - "expiration": { - "type": "integer", - "description": "Expiration time of the kubeconfig, in seconds. Defaults to `3600`\n" - }, - "expiresAt": { + "projectId": { "type": "string", - "description": "Timestamp when the kubeconfig expires\n" + "description": "STACKIT project ID to which the service account attachment is associated.\n" }, - "kubeConfig": { + "serverId": { "type": "string", - "description": "Raw short-lived admin kubeconfig.\n", - "secret": true - }, - "kubeConfigId": { - "type": "string" + "description": "The server ID.\n" }, - "projectId": { + "serviceAccountEmail": { "type": "string", - "description": "STACKIT project ID to which the cluster is associated.\n" - }, - "refresh": { - "type": "boolean", - "description": "If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place\n" + "description": "The service account email.\n" } }, "required": [ - "clusterName", - "creationTime", - "expiration", - "expiresAt", - "kubeConfig", - "kubeConfigId", - "projectId" + "projectId", + "serverId", + "serviceAccountEmail" ], "inputProperties": { - "clusterName": { + "projectId": { "type": "string", - "description": "Name of the SKE cluster.\n" - }, - "expiration": { - "type": "integer", - "description": "Expiration time of the kubeconfig, in seconds. Defaults to `3600`\n" + "description": "STACKIT project ID to which the service account attachment is associated.\n" }, - "projectId": { + "serverId": { "type": "string", - "description": "STACKIT project ID to which the cluster is associated.\n" + "description": "The server ID.\n" }, - "refresh": { - "type": "boolean", - "description": "If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place\n" + "serviceAccountEmail": { + "type": "string", + "description": "The service account email.\n" } }, "requiredInputs": [ - "clusterName", - "projectId" + "projectId", + "serverId", + "serviceAccountEmail" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SkeKubeconfig resources.\n", + "description": "Input properties used for looking up and filtering ServerServiceAccountAttach resources.\n", "properties": { - "clusterName": { + "projectId": { "type": "string", - "description": "Name of the SKE cluster.\n" + "description": "STACKIT project ID to which the service account attachment is associated.\n" }, - "creationTime": { + "serverId": { "type": "string", - "description": "Date-time when the kubeconfig was created\n" - }, - "expiration": { - "type": "integer", - "description": "Expiration time of the kubeconfig, in seconds. Defaults to `3600`\n" + "description": "The server ID.\n" }, - "expiresAt": { - "type": "string", - "description": "Timestamp when the kubeconfig expires\n" - }, - "kubeConfig": { - "type": "string", - "description": "Raw short-lived admin kubeconfig.\n", - "secret": true - }, - "kubeConfigId": { - "type": "string" - }, - "projectId": { + "serviceAccountEmail": { "type": "string", - "description": "STACKIT project ID to which the cluster is associated.\n" - }, - "refresh": { - "type": "boolean", - "description": "If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place\n" + "description": "The service account email.\n" } }, "type": "object" } }, - "stackit:index/sqlserverflexInstance:SqlserverflexInstance": { - "description": "SQLServer Flex instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_sqlserverflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acl = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n backup_schedule = \"00 00 * * *\"\n flavor = {\n cpu = 4\n ram = 16\n }\n storage = {\n class = \"class\"\n size = 5\n }\n version = 2022\n}\n```\n", + "stackit:index/serverUpdateSchedule:ServerUpdateSchedule": { + "description": "Server update schedule resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_update_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example_update_schedule_name\"\n rrule = \"DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1\"\n enabled = true\n maintenance_window = 1\n}\n\n# Only use the import statement, if you want to import an existing server update schedule\nimport {\n to = stackit_server_update_schedule.import-example\n id = \"${var.project_id},${var.region},${var.server_id},${var.server_update_schedule_id}\"\n}\n```\n", "properties": { - "acls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Access Control List (ACL) for the SQLServer Flex instance.\n" - }, - "backupSchedule": { - "type": "string", - "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\")\n" - }, - "flavor": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceFlavor:SqlserverflexInstanceFlavor" + "enabled": { + "type": "boolean", + "description": "Is the update schedule enabled or disabled.\n" }, - "instanceId": { - "type": "string", - "description": "ID of the SQLServer Flex instance.\n" + "maintenanceWindow": { + "type": "integer", + "description": "Maintenance window [1..24].\n" }, "name": { "type": "string", - "description": "Instance name.\n" - }, - "options": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceOptions:SqlserverflexInstanceOptions" + "description": "The schedule name.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT Project ID to which the server is associated.\n" }, "region": { "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, - "replicas": { - "type": "integer" + "rrule": { + "type": "string", + "description": "Update schedule described in `rrule` (recurrence rule) format.\n" }, - "storage": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceStorage:SqlserverflexInstanceStorage" + "serverId": { + "type": "string", + "description": "Server ID for the update schedule.\n" }, - "version": { - "type": "string" + "updateScheduleId": { + "type": "integer", + "description": "Update schedule ID.\n" } }, "required": [ - "acls", - "backupSchedule", - "flavor", - "instanceId", + "enabled", + "maintenanceWindow", "name", - "options", "projectId", "region", - "replicas", - "storage", - "version" + "rrule", + "serverId", + "updateScheduleId" ], "inputProperties": { - "acls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Access Control List (ACL) for the SQLServer Flex instance.\n" - }, - "backupSchedule": { - "type": "string", - "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\")\n" + "enabled": { + "type": "boolean", + "description": "Is the update schedule enabled or disabled.\n" }, - "flavor": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceFlavor:SqlserverflexInstanceFlavor" + "maintenanceWindow": { + "type": "integer", + "description": "Maintenance window [1..24].\n" }, "name": { "type": "string", - "description": "Instance name.\n" - }, - "options": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceOptions:SqlserverflexInstanceOptions" + "description": "The schedule name.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT Project ID to which the server is associated.\n" }, "region": { "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, - "storage": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceStorage:SqlserverflexInstanceStorage" + "rrule": { + "type": "string", + "description": "Update schedule described in `rrule` (recurrence rule) format.\n" }, - "version": { - "type": "string" + "serverId": { + "type": "string", + "description": "Server ID for the update schedule.\n" } }, "requiredInputs": [ - "flavor", - "projectId" + "enabled", + "maintenanceWindow", + "projectId", + "rrule", + "serverId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SqlserverflexInstance resources.\n", + "description": "Input properties used for looking up and filtering ServerUpdateSchedule resources.\n", "properties": { - "acls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Access Control List (ACL) for the SQLServer Flex instance.\n" - }, - "backupSchedule": { - "type": "string", - "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\")\n" - }, - "flavor": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceFlavor:SqlserverflexInstanceFlavor" + "enabled": { + "type": "boolean", + "description": "Is the update schedule enabled or disabled.\n" }, - "instanceId": { - "type": "string", - "description": "ID of the SQLServer Flex instance.\n" + "maintenanceWindow": { + "type": "integer", + "description": "Maintenance window [1..24].\n" }, "name": { "type": "string", - "description": "Instance name.\n" - }, - "options": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceOptions:SqlserverflexInstanceOptions" + "description": "The schedule name.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT Project ID to which the server is associated.\n" }, "region": { "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, - "replicas": { - "type": "integer" + "rrule": { + "type": "string", + "description": "Update schedule described in `rrule` (recurrence rule) format.\n" }, - "storage": { - "$ref": "#/types/stackit:index/SqlserverflexInstanceStorage:SqlserverflexInstanceStorage" + "serverId": { + "type": "string", + "description": "Server ID for the update schedule.\n" }, - "version": { - "type": "string" + "updateScheduleId": { + "type": "integer", + "description": "Update schedule ID.\n" } }, "type": "object" } }, - "stackit:index/sqlserverflexUser:SqlserverflexUser": { - "description": "SQLServer Flex user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_sqlserverflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n username = \"username\"\n roles = [\"role\"]\n}\n```\n", + "stackit:index/serverVolumeAttach:ServerVolumeAttach": { + "description": "Volume attachment resource schema. Attaches a volume to a server. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_server_volume_attach\" \"attached_volume\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n volume_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\n# Only use the import statement, if you want to import an existing server volume attachment\nimport {\n to = stackit_server_volume_attach.import-example\n id = \"${var.project_id},${var.server_id},${var.volume_id}\"\n}\n```\n", "properties": { - "host": { - "type": "string" - }, - "instanceId": { - "type": "string", - "description": "ID of the SQLServer Flex instance.\n" - }, - "password": { - "type": "string", - "description": "Password of the user account.\n", - "secret": true - }, - "port": { - "type": "integer" - }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" - }, - "region": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##`\n" + "description": "STACKIT project ID to which the volume attachment is associated.\n" }, - "userId": { + "serverId": { "type": "string", - "description": "User ID.\n" + "description": "The server ID.\n" }, - "username": { + "volumeId": { "type": "string", - "description": "Username of the SQLServer Flex instance.\n" + "description": "The volume ID.\n" } }, "required": [ - "host", - "instanceId", - "password", - "port", "projectId", - "region", - "userId", - "username" + "serverId", + "volumeId" ], "inputProperties": { - "instanceId": { - "type": "string", - "description": "ID of the SQLServer Flex instance.\n" - }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" - }, - "region": { - "type": "string" + "description": "STACKIT project ID to which the volume attachment is associated.\n" }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##`\n" + "serverId": { + "type": "string", + "description": "The server ID.\n" }, - "username": { + "volumeId": { "type": "string", - "description": "Username of the SQLServer Flex instance.\n" + "description": "The volume ID.\n" } }, "requiredInputs": [ - "instanceId", "projectId", - "username" + "serverId", + "volumeId" ], "stateInputs": { - "description": "Input properties used for looking up and filtering SqlserverflexUser resources.\n", + "description": "Input properties used for looking up and filtering ServerVolumeAttach resources.\n", "properties": { - "host": { - "type": "string" - }, - "instanceId": { + "projectId": { "type": "string", - "description": "ID of the SQLServer Flex instance.\n" + "description": "STACKIT project ID to which the volume attachment is associated.\n" }, - "password": { + "serverId": { "type": "string", - "description": "Password of the user account.\n", - "secret": true - }, - "port": { - "type": "integer" + "description": "The server ID.\n" }, - "projectId": { + "volumeId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" - }, - "region": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##`\n" + "description": "The volume ID.\n" + } + }, + "type": "object" + } + }, + "stackit:index/serviceAccount:ServiceAccount": { + "description": "Service account resource schema.\n\n## Example Usage\n\n```terraform\nresource \"stackit_service_account\" \"sa\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"sa01\"\n}\n\n# Only use the import statement, if you want to import an existing service account\nimport {\n to = stackit_service_account.import-example\n id = \"${var.project_id},${var.service_account_email}\"\n}\n```\n", + "properties": { + "email": { + "type": "string", + "description": "Email of the service account.\n" + }, + "name": { + "type": "string", + "description": "Name of the service account.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the service account is associated.\n" + } + }, + "required": [ + "email", + "name", + "projectId" + ], + "inputProperties": { + "name": { + "type": "string", + "description": "Name of the service account.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the service account is associated.\n" + } + }, + "requiredInputs": [ + "projectId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering ServiceAccount resources.\n", + "properties": { + "email": { + "type": "string", + "description": "Email of the service account.\n" }, - "userId": { + "name": { "type": "string", - "description": "User ID.\n" + "description": "Name of the service account.\n" }, - "username": { + "projectId": { "type": "string", - "description": "Username of the SQLServer Flex instance.\n" + "description": "STACKIT project ID to which the service account is associated.\n" } }, "type": "object" } }, - "stackit:index/volume:Volume": { - "description": "Volume resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_volume\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"my_volume\"\n availability_zone = \"eu01-1\"\n size = 64\n labels = {\n \"key\" = \"value\"\n }\n}\n```\n", + "stackit:index/serviceAccountAccessToken:ServiceAccountAccessToken": { + "description": "Service account access token schema.\n\n!\u003e This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations.\n\n## Example Usage\n\n### Automatically rotate access tokens\n```terraform\nresource \"stackit_service_account\" \"sa\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"sa01\"\n}\n\nresource \"time_rotating\" \"rotate\" {\n rotation_days = 80\n}\n\nresource \"stackit_service_account_access_token\" \"sa_token\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n service_account_email = stackit_service_account.sa.email\n ttl_days = 180\n\n rotate_when_changed = {\n rotation = time_rotating.rotate.id\n }\n}\n\n```\n", "properties": { - "availabilityZone": { + "accessTokenId": { "type": "string", - "description": "The availability zone of the volume.\n" + "description": "Identifier for the access token linked to the service account.\n" }, - "description": { + "active": { + "type": "boolean", + "description": "Indicate whether the token is currently active or inactive\n" + }, + "createdAt": { "type": "string", - "description": "The description of the volume.\n" + "description": "Timestamp indicating when the access token was created.\n" }, - "labels": { + "projectId": { + "type": "string", + "description": "STACKIT project ID associated with the service account token.\n" + }, + "rotateWhenChanged": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" - }, - "name": { - "type": "string", - "description": "The name of the volume.\n" - }, - "performanceClass": { - "type": "string", - "description": "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)\n" + "description": "A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.\n" }, - "projectId": { + "serviceAccountEmail": { "type": "string", - "description": "STACKIT project ID to which the volume is associated.\n" + "description": "Email address linked to the service account.\n" }, - "serverId": { + "token": { "type": "string", - "description": "The server ID of the server to which the volume is attached to.\n" + "description": "JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost.\n", + "secret": true }, - "size": { + "ttlDays": { "type": "integer", - "description": "The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided\n" - }, - "source": { - "$ref": "#/types/stackit:index/VolumeSource:VolumeSource", - "description": "The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided\n" + "description": "Specifies the token's validity duration in days. If unspecified, defaults to 90 days.\n" }, - "volumeId": { + "validUntil": { "type": "string", - "description": "The volume ID.\n" + "description": "Estimated expiration timestamp of the access token. For precise validity, check the JWT details.\n" } }, "required": [ - "availabilityZone", - "description", - "name", - "performanceClass", + "accessTokenId", + "active", + "createdAt", "projectId", - "serverId", - "size", - "volumeId" + "serviceAccountEmail", + "token", + "ttlDays", + "validUntil" ], "inputProperties": { - "availabilityZone": { - "type": "string", - "description": "The availability zone of the volume.\n" - }, - "description": { + "projectId": { "type": "string", - "description": "The description of the volume.\n" + "description": "STACKIT project ID associated with the service account token.\n" }, - "labels": { + "rotateWhenChanged": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" - }, - "name": { - "type": "string", - "description": "The name of the volume.\n" - }, - "performanceClass": { - "type": "string", - "description": "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)\n" + "description": "A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.\n" }, - "projectId": { + "serviceAccountEmail": { "type": "string", - "description": "STACKIT project ID to which the volume is associated.\n" + "description": "Email address linked to the service account.\n" }, - "size": { + "ttlDays": { "type": "integer", - "description": "The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided\n" - }, - "source": { - "$ref": "#/types/stackit:index/VolumeSource:VolumeSource", - "description": "The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided\n" + "description": "Specifies the token's validity duration in days. If unspecified, defaults to 90 days.\n" } }, "requiredInputs": [ - "availabilityZone", - "projectId" + "projectId", + "serviceAccountEmail" ], "stateInputs": { - "description": "Input properties used for looking up and filtering Volume resources.\n", + "description": "Input properties used for looking up and filtering ServiceAccountAccessToken resources.\n", "properties": { - "availabilityZone": { + "accessTokenId": { "type": "string", - "description": "The availability zone of the volume.\n" + "description": "Identifier for the access token linked to the service account.\n" }, - "description": { + "active": { + "type": "boolean", + "description": "Indicate whether the token is currently active or inactive\n" + }, + "createdAt": { "type": "string", - "description": "The description of the volume.\n" + "description": "Timestamp indicating when the access token was created.\n" }, - "labels": { + "projectId": { + "type": "string", + "description": "STACKIT project ID associated with the service account token.\n" + }, + "rotateWhenChanged": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" - }, - "name": { - "type": "string", - "description": "The name of the volume.\n" - }, - "performanceClass": { - "type": "string", - "description": "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)\n" + "description": "A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.\n" }, - "projectId": { + "serviceAccountEmail": { "type": "string", - "description": "STACKIT project ID to which the volume is associated.\n" + "description": "Email address linked to the service account.\n" }, - "serverId": { + "token": { "type": "string", - "description": "The server ID of the server to which the volume is attached to.\n" + "description": "JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost.\n", + "secret": true }, - "size": { + "ttlDays": { "type": "integer", - "description": "The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided\n" - }, - "source": { - "$ref": "#/types/stackit:index/VolumeSource:VolumeSource", - "description": "The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided\n" + "description": "Specifies the token's validity duration in days. If unspecified, defaults to 90 days.\n" }, - "volumeId": { + "validUntil": { "type": "string", - "description": "The volume ID.\n" + "description": "Estimated expiration timestamp of the access token. For precise validity, check the JWT details.\n" } }, "type": "object" } - } - }, - "functions": { - "pulumi:providers:stackit/terraformConfig": { - "description": "This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.", - "inputs": { - "properties": { - "__self__": { - "type": "ref", - "$ref": "#/resources/pulumi:providers:stackit" + }, + "stackit:index/serviceAccountKey:ServiceAccountKey": { + "description": "Service account key schema.\n## Example Usage\n\n### Automatically rotate service account keys\n```terraform\nresource \"stackit_service_account\" \"sa\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"sa01\"\n}\n\nresource \"time_rotating\" \"rotate\" {\n rotation_days = 80\n}\n\nresource \"stackit_service_account_key\" \"sa_key\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n service_account_email = stackit_service_account.sa.email\n ttl_days = 90\n\n rotate_when_changed = {\n rotation = time_rotating.rotate.id\n }\t\n}\n\n```\n", + "properties": { + "json": { + "type": "string", + "description": "The raw JSON representation of the service account key json, available for direct use.\n", + "secret": true + }, + "keyId": { + "type": "string", + "description": "The unique identifier for the key associated with the service account.\n" + }, + "projectId": { + "type": "string", + "description": "The STACKIT project ID associated with the service account key.\n" + }, + "publicKey": { + "type": "string", + "description": "Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key.\n" + }, + "rotateWhenChanged": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource.\n" + }, + "serviceAccountEmail": { + "type": "string", + "description": "The email address associated with the service account, used for account identification and communication.\n" + }, + "ttlDays": { + "type": "integer", + "description": "Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted\n" + } + }, + "required": [ + "json", + "keyId", + "projectId", + "serviceAccountEmail" + ], + "inputProperties": { + "projectId": { + "type": "string", + "description": "The STACKIT project ID associated with the service account key.\n" + }, + "publicKey": { + "type": "string", + "description": "Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key.\n" + }, + "rotateWhenChanged": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource.\n" + }, + "serviceAccountEmail": { + "type": "string", + "description": "The email address associated with the service account, used for account identification and communication.\n" + }, + "ttlDays": { + "type": "integer", + "description": "Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted\n" + } + }, + "requiredInputs": [ + "projectId", + "serviceAccountEmail" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering ServiceAccountKey resources.\n", + "properties": { + "json": { + "type": "string", + "description": "The raw JSON representation of the service account key json, available for direct use.\n", + "secret": true + }, + "keyId": { + "type": "string", + "description": "The unique identifier for the key associated with the service account.\n" + }, + "projectId": { + "type": "string", + "description": "The STACKIT project ID associated with the service account key.\n" + }, + "publicKey": { + "type": "string", + "description": "Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key.\n" + }, + "rotateWhenChanged": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource.\n" + }, + "serviceAccountEmail": { + "type": "string", + "description": "The email address associated with the service account, used for account identification and communication.\n" + }, + "ttlDays": { + "type": "integer", + "description": "Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted\n" + } + }, + "type": "object" + } + }, + "stackit:index/skeCluster:SkeCluster": { + "description": "SKE Cluster Resource schema. Must have a `region` specified in the provider configuration.\n\n\u003e When updating `node_pools` of a `stackit.SkeCluster`, the pulumi preview might appear incorrect as it matches the node pools by index rather than by name. However, the SKE API correctly identifies node pools by name and applies the intended changes. Please review your changes carefully to ensure the correct configuration will be applied.\n\n## Example Usage\n\n```terraform\nresource \"stackit_ske_cluster\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example\"\n kubernetes_version_min = \"x.x\"\n node_pools = [\n {\n name = \"np-example\"\n machine_type = \"x.x\"\n os_version = \"x.x.x\"\n minimum = \"2\"\n maximum = \"3\"\n availability_zones = [\"eu01-3\"]\n }\n ]\n maintenance = {\n enable_kubernetes_version_updates = true\n enable_machine_image_version_updates = true\n start = \"01:00:00Z\"\n end = \"02:00:00Z\"\n }\n}\n\n# Only use the import statement, if you want to import an existing ske cluster\nimport {\n to = stackit_ske_cluster.import-example\n id = \"${var.project_id},${var.region},${var.ske_name}\"\n}\n```\n", + "properties": { + "egressAddressRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.\n" + }, + "extensions": { + "$ref": "#/types/stackit:index/SkeClusterExtensions:SkeClusterExtensions", + "description": "A single extensions block as defined below.\n" + }, + "hibernations": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/SkeClusterHibernation:SkeClusterHibernation" + }, + "description": "One or more hibernation block as defined below.\n" + }, + "kubernetesVersionMin": { + "type": "string", + "description": "The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.\n" + }, + "kubernetesVersionUsed": { + "type": "string", + "description": "Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).\n" + }, + "maintenance": { + "$ref": "#/types/stackit:index/SkeClusterMaintenance:SkeClusterMaintenance", + "description": "A single maintenance block as defined below.\n" + }, + "name": { + "type": "string", + "description": "The cluster name.\n" + }, + "network": { + "$ref": "#/types/stackit:index/SkeClusterNetwork:SkeClusterNetwork", + "description": "Network block as defined below.\n" + }, + "nodePools": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/SkeClusterNodePool:SkeClusterNodePool" + }, + "description": "One or more `node_pool` block as defined below.\n" + }, + "podAddressRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The network ranges (in CIDR notation) used by pods of the cluster.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the cluster is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "required": [ + "egressAddressRanges", + "kubernetesVersionUsed", + "maintenance", + "name", + "nodePools", + "podAddressRanges", + "projectId", + "region" + ], + "inputProperties": { + "extensions": { + "$ref": "#/types/stackit:index/SkeClusterExtensions:SkeClusterExtensions", + "description": "A single extensions block as defined below.\n" + }, + "hibernations": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/SkeClusterHibernation:SkeClusterHibernation" + }, + "description": "One or more hibernation block as defined below.\n" + }, + "kubernetesVersionMin": { + "type": "string", + "description": "The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.\n" + }, + "maintenance": { + "$ref": "#/types/stackit:index/SkeClusterMaintenance:SkeClusterMaintenance", + "description": "A single maintenance block as defined below.\n" + }, + "name": { + "type": "string", + "description": "The cluster name.\n" + }, + "network": { + "$ref": "#/types/stackit:index/SkeClusterNetwork:SkeClusterNetwork", + "description": "Network block as defined below.\n" + }, + "nodePools": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/SkeClusterNodePool:SkeClusterNodePool" + }, + "description": "One or more `node_pool` block as defined below.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the cluster is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "requiredInputs": [ + "nodePools", + "projectId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SkeCluster resources.\n", + "properties": { + "egressAddressRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.\n" + }, + "extensions": { + "$ref": "#/types/stackit:index/SkeClusterExtensions:SkeClusterExtensions", + "description": "A single extensions block as defined below.\n" + }, + "hibernations": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/SkeClusterHibernation:SkeClusterHibernation" + }, + "description": "One or more hibernation block as defined below.\n" + }, + "kubernetesVersionMin": { + "type": "string", + "description": "The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field.\n" + }, + "kubernetesVersionUsed": { + "type": "string", + "description": "Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html).\n" + }, + "maintenance": { + "$ref": "#/types/stackit:index/SkeClusterMaintenance:SkeClusterMaintenance", + "description": "A single maintenance block as defined below.\n" + }, + "name": { + "type": "string", + "description": "The cluster name.\n" + }, + "network": { + "$ref": "#/types/stackit:index/SkeClusterNetwork:SkeClusterNetwork", + "description": "Network block as defined below.\n" + }, + "nodePools": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/SkeClusterNodePool:SkeClusterNodePool" + }, + "description": "One or more `node_pool` block as defined below.\n" + }, + "podAddressRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The network ranges (in CIDR notation) used by pods of the cluster.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the cluster is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "type": "object" + } + }, + "stackit:index/skeKubeconfig:SkeKubeconfig": { + "description": "SKE kubeconfig resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_ske_kubeconfig\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n cluster_name = \"example-cluster\"\n\n refresh = true\n expiration = 7200 # 2 hours\n refresh_before = 3600 # 1 hour\n}\n```\n", + "properties": { + "clusterName": { + "type": "string", + "description": "Name of the SKE cluster.\n" + }, + "creationTime": { + "type": "string", + "description": "Date-time when the kubeconfig was created\n" + }, + "expiration": { + "type": "integer", + "description": "Expiration time of the kubeconfig, in seconds. Defaults to `3600`\n" + }, + "expiresAt": { + "type": "string", + "description": "Timestamp when the kubeconfig expires\n" + }, + "kubeConfig": { + "type": "string", + "description": "Raw short-lived admin kubeconfig.\n", + "secret": true + }, + "kubeConfigId": { + "type": "string" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the cluster is associated.\n" + }, + "refresh": { + "type": "boolean", + "description": "If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place\n" + }, + "refreshBefore": { + "type": "integer", + "description": "Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "required": [ + "clusterName", + "creationTime", + "expiration", + "expiresAt", + "kubeConfig", + "kubeConfigId", + "projectId", + "region" + ], + "inputProperties": { + "clusterName": { + "type": "string", + "description": "Name of the SKE cluster.\n" + }, + "expiration": { + "type": "integer", + "description": "Expiration time of the kubeconfig, in seconds. Defaults to `3600`\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the cluster is associated.\n" + }, + "refresh": { + "type": "boolean", + "description": "If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place\n" + }, + "refreshBefore": { + "type": "integer", + "description": "Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "requiredInputs": [ + "clusterName", + "projectId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SkeKubeconfig resources.\n", + "properties": { + "clusterName": { + "type": "string", + "description": "Name of the SKE cluster.\n" + }, + "creationTime": { + "type": "string", + "description": "Date-time when the kubeconfig was created\n" + }, + "expiration": { + "type": "integer", + "description": "Expiration time of the kubeconfig, in seconds. Defaults to `3600`\n" + }, + "expiresAt": { + "type": "string", + "description": "Timestamp when the kubeconfig expires\n" + }, + "kubeConfig": { + "type": "string", + "description": "Raw short-lived admin kubeconfig.\n", + "secret": true + }, + "kubeConfigId": { + "type": "string" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the cluster is associated.\n" + }, + "refresh": { + "type": "boolean", + "description": "If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place\n" + }, + "refreshBefore": { + "type": "integer", + "description": "Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "type": "object" + } + }, + "stackit:index/sqlserverflexInstance:SqlserverflexInstance": { + "description": "SQLServer Flex instance resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_sqlserverflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n acl = [\"XXX.XXX.XXX.X/XX\", \"XX.XXX.XX.X/XX\"]\n backup_schedule = \"00 00 * * *\"\n flavor = {\n cpu = 4\n ram = 16\n }\n storage = {\n class = \"class\"\n size = 5\n }\n version = 2022\n}\n\n# Only use the import statement, if you want to import an existing sqlserverflex instance\nimport {\n to = stackit_sqlserverflex_instance.import-example\n id = \"${var.project_id},${var.region},${var.sql_instance_id}\"\n}\n```\n", + "properties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Access Control List (ACL) for the SQLServer Flex instance.\n" + }, + "backupSchedule": { + "type": "string", + "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\")\n" + }, + "flavor": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceFlavor:SqlserverflexInstanceFlavor" + }, + "instanceId": { + "type": "string", + "description": "ID of the SQLServer Flex instance.\n" + }, + "name": { + "type": "string", + "description": "Instance name.\n" + }, + "options": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceOptions:SqlserverflexInstanceOptions" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "replicas": { + "type": "integer" + }, + "storage": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceStorage:SqlserverflexInstanceStorage" + }, + "version": { + "type": "string" + } + }, + "required": [ + "acls", + "backupSchedule", + "flavor", + "instanceId", + "name", + "options", + "projectId", + "region", + "replicas", + "storage", + "version" + ], + "inputProperties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Access Control List (ACL) for the SQLServer Flex instance.\n" + }, + "backupSchedule": { + "type": "string", + "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\")\n" + }, + "flavor": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceFlavor:SqlserverflexInstanceFlavor" + }, + "name": { + "type": "string", + "description": "Instance name.\n" + }, + "options": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceOptions:SqlserverflexInstanceOptions" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "storage": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceStorage:SqlserverflexInstanceStorage" + }, + "version": { + "type": "string" + } + }, + "requiredInputs": [ + "flavor", + "projectId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SqlserverflexInstance resources.\n", + "properties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Access Control List (ACL) for the SQLServer Flex instance.\n" + }, + "backupSchedule": { + "type": "string", + "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\")\n" + }, + "flavor": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceFlavor:SqlserverflexInstanceFlavor" + }, + "instanceId": { + "type": "string", + "description": "ID of the SQLServer Flex instance.\n" + }, + "name": { + "type": "string", + "description": "Instance name.\n" + }, + "options": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceOptions:SqlserverflexInstanceOptions" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "replicas": { + "type": "integer" + }, + "storage": { + "$ref": "#/types/stackit:index/SqlserverflexInstanceStorage:SqlserverflexInstanceStorage" + }, + "version": { + "type": "string" + } + }, + "type": "object" + } + }, + "stackit:index/sqlserverflexUser:SqlserverflexUser": { + "description": "SQLServer Flex user resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_sqlserverflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n username = \"username\"\n roles = [\"role\"]\n}\n\n# Only use the import statement, if you want to import an existing sqlserverflex user\nimport {\n to = stackit_sqlserverflex_user.import-example\n id = \"${var.project_id},${var.region},${var.sql_instance_id},${var.sql_user_id}\"\n}\n```\n", + "properties": { + "host": { + "type": "string" + }, + "instanceId": { + "type": "string", + "description": "ID of the SQLServer Flex instance.\n" + }, + "password": { + "type": "string", + "description": "Password of the user account.\n", + "secret": true + }, + "port": { + "type": "integer" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "region": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##`\n" + }, + "userId": { + "type": "string", + "description": "User ID.\n" + }, + "username": { + "type": "string", + "description": "Username of the SQLServer Flex instance.\n" + } + }, + "required": [ + "host", + "instanceId", + "password", + "port", + "projectId", + "region", + "roles", + "userId", + "username" + ], + "inputProperties": { + "instanceId": { + "type": "string", + "description": "ID of the SQLServer Flex instance.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "region": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##`\n" + }, + "username": { + "type": "string", + "description": "Username of the SQLServer Flex instance.\n" + } + }, + "requiredInputs": [ + "instanceId", + "projectId", + "roles", + "username" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SqlserverflexUser resources.\n", + "properties": { + "host": { + "type": "string" + }, + "instanceId": { + "type": "string", + "description": "ID of the SQLServer Flex instance.\n" + }, + "password": { + "type": "string", + "description": "Password of the user account.\n", + "secret": true + }, + "port": { + "type": "integer" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "region": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##`\n" + }, + "userId": { + "type": "string", + "description": "User ID.\n" + }, + "username": { + "type": "string", + "description": "Username of the SQLServer Flex instance.\n" + } + }, + "type": "object" + } + }, + "stackit:index/volume:Volume": { + "description": "Volume resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\nresource \"stackit_volume\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"my_volume\"\n availability_zone = \"eu01-1\"\n size = 64\n labels = {\n \"key\" = \"value\"\n }\n}\n\n# Only use the import statement, if you want to import an existing volume\nimport {\n to = stackit_volume.import-example\n id = \"${var.project_id},${var.volume_id}\"\n}\n```\n", + "properties": { + "availabilityZone": { + "type": "string", + "description": "The availability zone of the volume.\n" + }, + "description": { + "type": "string", + "description": "The description of the volume.\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { + "type": "string", + "description": "The name of the volume.\n" + }, + "performanceClass": { + "type": "string", + "description": "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the volume is associated.\n" + }, + "serverId": { + "type": "string", + "description": "The server ID of the server to which the volume is attached to.\n" + }, + "size": { + "type": "integer", + "description": "The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided\n" + }, + "source": { + "$ref": "#/types/stackit:index/VolumeSource:VolumeSource", + "description": "The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided\n" + }, + "volumeId": { + "type": "string", + "description": "The volume ID.\n" + } + }, + "required": [ + "availabilityZone", + "description", + "name", + "performanceClass", + "projectId", + "serverId", + "size", + "volumeId" + ], + "inputProperties": { + "availabilityZone": { + "type": "string", + "description": "The availability zone of the volume.\n" + }, + "description": { + "type": "string", + "description": "The description of the volume.\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { + "type": "string", + "description": "The name of the volume.\n" + }, + "performanceClass": { + "type": "string", + "description": "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the volume is associated.\n" + }, + "size": { + "type": "integer", + "description": "The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided\n" + }, + "source": { + "$ref": "#/types/stackit:index/VolumeSource:VolumeSource", + "description": "The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided\n" + } + }, + "requiredInputs": [ + "availabilityZone", + "projectId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Volume resources.\n", + "properties": { + "availabilityZone": { + "type": "string", + "description": "The availability zone of the volume.\n" + }, + "description": { + "type": "string", + "description": "The description of the volume.\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { + "type": "string", + "description": "The name of the volume.\n" + }, + "performanceClass": { + "type": "string", + "description": "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the volume is associated.\n" + }, + "serverId": { + "type": "string", + "description": "The server ID of the server to which the volume is attached to.\n" + }, + "size": { + "type": "integer", + "description": "The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided\n" + }, + "source": { + "$ref": "#/types/stackit:index/VolumeSource:VolumeSource", + "description": "The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided\n" + }, + "volumeId": { + "type": "string", + "description": "The volume ID.\n" + } + }, + "type": "object" + } + } + }, + "functions": { + "pulumi:providers:stackit/terraformConfig": { + "description": "This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.", + "inputs": { + "properties": { + "__self__": { + "type": "ref", + "$ref": "#/provider" + } + }, + "type": "pulumi:providers:stackit/terraformConfig", + "required": [ + "__self__" + ] + }, + "outputs": { + "properties": { + "result": { + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + } + }, + "stackit:index/getAffinityGroup:getAffinityGroup": { + "description": "Affinity Group schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_affinity_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n affinity_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getAffinityGroup.\n", + "properties": { + "affinityGroupId": { + "type": "string", + "description": "The affinity group ID.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT Project ID to which the affinity group is associated.\n" + } + }, + "type": "object", + "required": [ + "affinityGroupId", + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAffinityGroup.\n", + "properties": { + "affinityGroupId": { + "type": "string", + "description": "The affinity group ID.\n" + }, + "id": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Affinity Group schema. Must have a `region` specified in the provider configuration.\n" + }, + "name": { + "type": "string", + "description": "The name of the affinity group.\n" + }, + "policy": { + "type": "string", + "description": "The policy of the affinity group.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT Project ID to which the affinity group is associated.\n" + } + }, + "type": "object", + "required": [ + "affinityGroupId", + "id", + "members", + "name", + "policy", + "projectId" + ] + } + }, + "stackit:index/getCdnCustomDomain:getCdnCustomDomain": { + "description": "CDN distribution data source schema.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_cdn_custom_domain\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n distribution_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"https://xxx.xxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getCdnCustomDomain.\n", + "properties": { + "certificate": { + "$ref": "#/types/stackit:index/getCdnCustomDomainCertificate:getCdnCustomDomainCertificate", + "description": "The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.\n" + }, + "distributionId": { + "type": "string", + "description": "CDN distribution ID\n" + }, + "name": { + "type": "string" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID associated with the distribution\n" + } + }, + "type": "object", + "required": [ + "distributionId", + "name", + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getCdnCustomDomain.\n", + "properties": { + "certificate": { + "$ref": "#/types/stackit:index/getCdnCustomDomainCertificate:getCdnCustomDomainCertificate", + "description": "The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used.\n" + }, + "distributionId": { + "type": "string", + "description": "CDN distribution ID\n" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of distribution errors\n" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID associated with the distribution\n" + }, + "status": { + "type": "string", + "description": "Status of the distribution\n" + } + }, + "type": "object", + "required": [ + "distributionId", + "errors", + "id", + "name", + "projectId", + "status" + ] + } + }, + "stackit:index/getCdnDistribution:getCdnDistribution": { + "description": "CDN distribution data source schema.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_cdn_distribution\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n distribution_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getCdnDistribution.\n", + "properties": { + "distributionId": { + "type": "string", + "description": "STACKIT project ID associated with the distribution\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID associated with the distribution\n" + } + }, + "type": "object", + "required": [ + "distributionId", + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getCdnDistribution.\n", + "properties": { + "config": { + "$ref": "#/types/stackit:index/getCdnDistributionConfig:getCdnDistributionConfig", + "description": "The distribution configuration\n" + }, + "createdAt": { + "type": "string", + "description": "Time when the distribution was created\n" + }, + "distributionId": { + "type": "string", + "description": "STACKIT project ID associated with the distribution\n" + }, + "domains": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getCdnDistributionDomain:getCdnDistributionDomain" + }, + "description": "List of configured domains for the distribution\n" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of distribution errors\n" + }, + "id": { + "type": "string" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID associated with the distribution\n" + }, + "status": { + "type": "string", + "description": "Status of the distribution\n" + }, + "updatedAt": { + "type": "string", + "description": "Time when the distribution was last updated\n" + } + }, + "type": "object", + "required": [ + "config", + "createdAt", + "distributionId", + "domains", + "errors", + "id", + "projectId", + "status", + "updatedAt" + ] + } + }, + "stackit:index/getDnsRecordSet:getDnsRecordSet": { + "description": "DNS Record Set Resource schema.\n\n## Example Usage\n\n```terraform\ndata \"stackit_dns_record_set\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n zone_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n record_set_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getDnsRecordSet.\n", + "properties": { + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the dns record set is associated.\n" + }, + "recordSetId": { + "type": "string", + "description": "The rr set id.\n" + }, + "zoneId": { + "type": "string", + "description": "The zone ID to which is dns record set is associated.\n" + } + }, + "type": "object", + "required": [ + "projectId", + "recordSetId", + "zoneId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDnsRecordSet.\n", + "properties": { + "active": { + "type": "boolean", + "description": "Specifies if the record set is active or not.\n" + }, + "comment": { + "type": "string", + "description": "Comment.\n" + }, + "error": { + "type": "string", + "description": "Error shows error in case create/update/delete failed.\n" + }, + "fqdn": { + "type": "string", + "description": "Fully qualified domain name (FQDN) of the record set.\n" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com`\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the dns record set is associated.\n" + }, + "recordSetId": { + "type": "string", + "description": "The rr set id.\n" + }, + "records": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Records.\n" + }, + "state": { + "type": "string", + "description": "Record set state.\n" + }, + "ttl": { + "type": "integer", + "description": "Time to live. E.g. 3600\n" + }, + "type": { + "type": "string", + "description": "The record set type. E.g. `A` or `CNAME`\n" + }, + "zoneId": { + "type": "string", + "description": "The zone ID to which is dns record set is associated.\n" + } + }, + "type": "object", + "required": [ + "active", + "comment", + "error", + "fqdn", + "id", + "name", + "projectId", + "recordSetId", + "records", + "state", + "ttl", + "type", + "zoneId" + ] + } + }, + "stackit:index/getDnsZone:getDnsZone": { + "description": "DNS Zone resource schema.\n\n## Example Usage\n\n```terraform\ndata \"stackit_dns_zone\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n zone_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getDnsZone.\n", + "properties": { + "dnsName": { + "type": "string", + "description": "The zone name. E.g. `example.com`\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the dns zone is associated.\n" + }, + "zoneId": { + "type": "string", + "description": "The zone ID.\n" + } + }, + "type": "object", + "required": [ + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDnsZone.\n", + "properties": { + "acl": { + "type": "string", + "description": "The access control list.\n" + }, + "active": { + "type": "boolean" + }, + "contactEmail": { + "type": "string", + "description": "A contact e-mail for the zone.\n" + }, + "defaultTtl": { + "type": "integer", + "description": "Default time to live.\n" + }, + "description": { + "type": "string", + "description": "Description of the zone.\n" + }, + "dnsName": { + "type": "string", + "description": "The zone name. E.g. `example.com`\n" + }, + "expireTime": { + "type": "integer", + "description": "Expire time.\n" + }, + "id": { + "type": "string" + }, + "isReverseZone": { + "type": "boolean", + "description": "Specifies, if the zone is a reverse zone or not.\n" + }, + "name": { + "type": "string", + "description": "The user given name of the zone.\n" + }, + "negativeCache": { + "type": "integer", + "description": "Negative caching.\n" + }, + "primaries": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Primary name server for secondary zone.\n" + }, + "primaryNameServer": { + "type": "string", + "description": "Primary name server. FQDN.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the dns zone is associated.\n" + }, + "recordCount": { + "type": "integer", + "description": "Record count how many records are in the zone.\n" + }, + "refreshTime": { + "type": "integer", + "description": "Refresh time.\n" + }, + "retryTime": { + "type": "integer", + "description": "Retry time.\n" + }, + "serialNumber": { + "type": "integer", + "description": "Serial number.\n" + }, + "state": { + "type": "string", + "description": "Zone state.\n" + }, + "type": { + "type": "string", + "description": "Zone type.\n" + }, + "visibility": { + "type": "string", + "description": "Visibility of the zone.\n" + }, + "zoneId": { + "type": "string", + "description": "The zone ID.\n" + } + }, + "type": "object", + "required": [ + "acl", + "active", + "contactEmail", + "defaultTtl", + "description", + "expireTime", + "id", + "isReverseZone", + "name", + "negativeCache", + "primaries", + "primaryNameServer", + "projectId", + "recordCount", + "refreshTime", + "retryTime", + "serialNumber", + "state", + "type", + "visibility" + ] + } + }, + "stackit:index/getGit:getGit": { + "description": "Git Instance datasource schema.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_git\" \"git\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getGit.\n", + "properties": { + "instanceId": { + "type": "string", + "description": "ID linked to the git instance.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the git instance is associated.\n" + } + }, + "type": "object", + "required": [ + "instanceId", + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getGit.\n", + "properties": { + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Restricted ACL for instance access.\n" + }, + "consumedDisk": { + "type": "string", + "description": "How many bytes of disk space is consumed.\n" + }, + "consumedObjectStorage": { + "type": "string", + "description": "How many bytes of Object Storage is consumed.\n" + }, + "created": { + "type": "string", + "description": "Instance creation timestamp in RFC3339 format.\n" + }, + "flavor": { + "type": "string", + "description": "Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta`\n" + }, + "id": { + "type": "string" + }, + "instanceId": { + "type": "string", + "description": "ID linked to the git instance.\n" + }, + "name": { + "type": "string", + "description": "Unique name linked to the git instance.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the git instance is associated.\n" + }, + "url": { + "type": "string", + "description": "Url linked to the git instance.\n" + }, + "version": { + "type": "string", + "description": "Version linked to the git instance.\n" + } + }, + "type": "object", + "required": [ + "acls", + "consumedDisk", + "consumedObjectStorage", + "created", + "flavor", + "id", + "instanceId", + "name", + "projectId", + "url", + "version" + ] + } + }, + "stackit:index/getIaasProject:getIaasProject": { + "description": "Project details. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_iaas_project\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getIaasProject.\n", + "properties": { + "projectId": { + "type": "string", + "description": "STACKIT project ID.\n" + } + }, + "type": "object", + "required": [ + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getIaasProject.\n", + "properties": { + "areaId": { + "type": "string", + "description": "The area ID to which the project belongs to.\n" + }, + "createdAt": { + "type": "string", + "description": "Date-time when the project was created.\n" + }, + "id": { + "type": "string" + }, + "internetAccess": { + "type": "boolean", + "description": "Specifies if the project has internet_access\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID.\n" + }, + "state": { + "type": "string", + "description": "Specifies the state of the project.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the project was last updated.\n" + } + }, + "type": "object", + "required": [ + "areaId", + "createdAt", + "id", + "internetAccess", + "projectId", + "state", + "updatedAt" + ] + } + }, + "stackit:index/getImage:getImage": { + "description": "Image datasource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_image\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n image_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getImage.\n", + "properties": { + "imageId": { + "type": "string", + "description": "The image ID.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the image is associated.\n" + } + }, + "type": "object", + "required": [ + "imageId", + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getImage.\n", + "properties": { + "checksum": { + "$ref": "#/types/stackit:index/getImageChecksum:getImageChecksum", + "description": "Representation of an image checksum.\n" + }, + "config": { + "$ref": "#/types/stackit:index/getImageConfig:getImageConfig", + "description": "Properties to set hardware and scheduling settings for an image.\n" + }, + "diskFormat": { + "type": "string", + "description": "The disk format of the image.\n" + }, + "id": { + "type": "string" + }, + "imageId": { + "type": "string", + "description": "The image ID.\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "minDiskSize": { + "type": "integer", + "description": "The minimum disk size of the image in GB.\n" + }, + "minRam": { + "type": "integer", + "description": "The minimum RAM of the image in MB.\n" + }, + "name": { + "type": "string", + "description": "The name of the image.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the image is associated.\n" + }, + "protected": { + "type": "boolean", + "description": "Whether the image is protected.\n" + }, + "scope": { + "type": "string", + "description": "The scope of the image.\n" + } + }, + "type": "object", + "required": [ + "checksum", + "config", + "diskFormat", + "id", + "imageId", + "labels", + "minDiskSize", + "minRam", + "name", + "projectId", + "protected", + "scope" + ] + } + }, + "stackit:index/getImageV2:getImageV2": { + "description": "## Example Usage\n\n```terraform\ndata \"stackit_image_v2\" \"default\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n image_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\ndata \"stackit_image_v2\" \"name_match\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"Ubuntu 22.04\"\n}\n\ndata \"stackit_image_v2\" \"name_regex_latest\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name_regex = \"^Ubuntu .*\"\n}\n\ndata \"stackit_image_v2\" \"name_regex_oldest\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name_regex = \"^Ubuntu .*\"\n sort_ascending = true\n}\n\ndata \"stackit_image_v2\" \"filter_distro_version\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n filter = {\n distro = \"debian\"\n version = \"11\"\n }\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getImageV2.\n", + "properties": { + "filter": { + "$ref": "#/types/stackit:index/getImageV2Filter:getImageV2Filter", + "description": "Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`.\n" + }, + "imageId": { + "type": "string", + "description": "Image ID to fetch directly\n" + }, + "name": { + "type": "string", + "description": "Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`.\n" + }, + "nameRegex": { + "type": "string", + "description": "Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the image is associated.\n" + }, + "sortAscending": { + "type": "boolean", + "description": "If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`).\n" + } + }, + "type": "object", + "required": [ + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getImageV2.\n", + "properties": { + "checksum": { + "$ref": "#/types/stackit:index/getImageV2Checksum:getImageV2Checksum", + "description": "Representation of an image checksum.\n" + }, + "config": { + "$ref": "#/types/stackit:index/getImageV2Config:getImageV2Config", + "description": "Properties to set hardware and scheduling settings for an image.\n" + }, + "diskFormat": { + "type": "string", + "description": "The disk format of the image.\n" + }, + "filter": { + "$ref": "#/types/stackit:index/getImageV2Filter:getImageV2Filter", + "description": "Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`.\n" + }, + "id": { + "type": "string" + }, + "imageId": { + "type": "string", + "description": "Image ID to fetch directly\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "minDiskSize": { + "type": "integer", + "description": "The minimum disk size of the image in GB.\n" + }, + "minRam": { + "type": "integer", + "description": "The minimum RAM of the image in MB.\n" + }, + "name": { + "type": "string", + "description": "Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`.\n" + }, + "nameRegex": { + "type": "string", + "description": "Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the image is associated.\n" + }, + "protected": { + "type": "boolean", + "description": "Whether the image is protected.\n" + }, + "scope": { + "type": "string", + "description": "The scope of the image.\n" + }, + "sortAscending": { + "type": "boolean", + "description": "If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`).\n" + } + }, + "type": "object", + "required": [ + "checksum", + "config", + "diskFormat", + "id", + "labels", + "minDiskSize", + "minRam", + "projectId", + "protected", + "scope" + ] + } + }, + "stackit:index/getKeyPair:getKeyPair": { + "description": "Key pair resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_key_pair\" \"example\" {\n name = \"example-key-pair-name\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getKeyPair.\n", + "properties": { + "name": { + "type": "string", + "description": "The name of the SSH key pair.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "outputs": { + "description": "A collection of values returned by getKeyPair.\n", + "properties": { + "fingerprint": { + "type": "string", + "description": "The fingerprint of the public SSH key.\n" + }, + "id": { + "type": "string" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container.\n" + }, + "name": { + "type": "string", + "description": "The name of the SSH key pair.\n" + }, + "publicKey": { + "type": "string", + "description": "A string representation of the public SSH key. E.g., `ssh-rsa \u003ckey_data\u003e` or `ssh-ed25519 \u003ckey-data\u003e`.\n" + } + }, + "type": "object", + "required": [ + "fingerprint", + "id", + "labels", + "name", + "publicKey" + ] + } + }, + "stackit:index/getLoadbalancer:getLoadbalancer": { + "description": "Load Balancer data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_loadbalancer\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-load-balancer\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getLoadbalancer.\n", + "properties": { + "name": { + "type": "string", + "description": "Load balancer name.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the Load Balancer is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "type": "object", + "required": [ + "name", + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getLoadbalancer.\n", + "properties": { + "disableSecurityGroupAssignment": { + "type": "boolean", + "description": "If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT Network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created.\n" + }, + "externalAddress": { + "type": "string", + "description": "External Load Balancer IP address where this Load Balancer is exposed.\n" + }, + "id": { + "type": "string" + }, + "listeners": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getLoadbalancerListener:getLoadbalancerListener" + }, + "description": "List of all listeners which will accept traffic. Limited to 20.\n" + }, + "name": { + "type": "string", + "description": "Load balancer name.\n" + }, + "networks": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getLoadbalancerNetwork:getLoadbalancerNetwork" + }, + "description": "List of networks that listeners and targets reside in.\n" + }, + "options": { + "$ref": "#/types/stackit:index/getLoadbalancerOptions:getLoadbalancerOptions", + "description": "Defines any optional functionality you want to have enabled on your load balancer.\n" + }, + "planId": { + "type": "string", + "description": "The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`.\n" + }, + "privateAddress": { + "type": "string", + "description": "Transient private Load Balancer IP address. It can change any time.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the Load Balancer is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "securityGroupId": { + "type": "string", + "description": "The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`.\n" + }, + "targetPools": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getLoadbalancerTargetPool:getLoadbalancerTargetPool" + }, + "description": "List of all target pools which will be used in the Load Balancer. Limited to 20.\n" + } + }, + "type": "object", + "required": [ + "disableSecurityGroupAssignment", + "externalAddress", + "id", + "listeners", + "name", + "networks", + "options", + "planId", + "privateAddress", + "projectId", + "securityGroupId", + "targetPools" + ] + } + }, + "stackit:index/getLogmeCredential:getLogmeCredential": { + "description": "LogMe credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_logme_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getLogmeCredential.\n", + "properties": { + "credentialId": { + "type": "string", + "description": "The credential's ID.\n" + }, + "instanceId": { + "type": "string", + "description": "ID of the LogMe instance.\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + } + }, + "type": "object", + "required": [ + "credentialId", + "instanceId", + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getLogmeCredential.\n", + "properties": { + "credentialId": { + "type": "string", + "description": "The credential's ID.\n" + }, + "host": { + "type": "string" + }, + "id": { + "type": "string" + }, + "instanceId": { + "type": "string", + "description": "ID of the LogMe instance.\n" + }, + "password": { + "type": "string", + "secret": true + }, + "port": { + "type": "integer" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "uri": { + "type": "string", + "secret": true + }, + "username": { + "type": "string" } }, - "type": "pulumi:providers:stackit/terraformConfig", + "type": "object", "required": [ - "__self__" + "credentialId", + "host", + "id", + "instanceId", + "password", + "port", + "projectId", + "uri", + "username" ] - }, - "outputs": { - "properties": { - "result": { - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "type": "object" - } - }, - "required": [ - "result" - ], - "type": "object" } }, - "stackit:index/getAffinityGroup:getAffinityGroup": { - "description": "Affinity Group schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_affinity_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n affinity_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getLogmeInstance:getLogmeInstance": { + "description": "LogMe instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_logme_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getAffinityGroup.\n", + "description": "A collection of arguments for invoking getLogmeInstance.\n", "properties": { - "affinityGroupId": { + "instanceId": { "type": "string", - "description": "The affinity group ID.\n" + "description": "ID of the LogMe instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the affinity group is associated.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" } }, "type": "object", "required": [ - "affinityGroupId", + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getAffinityGroup.\n", + "description": "A collection of values returned by getLogmeInstance.\n", "properties": { - "affinityGroupId": { - "type": "string", - "description": "The affinity group ID.\n" + "cfGuid": { + "type": "string" + }, + "cfOrganizationGuid": { + "type": "string" + }, + "cfSpaceGuid": { + "type": "string" + }, + "dashboardUrl": { + "type": "string" }, "id": { "type": "string" }, - "members": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Affinity Group schema. Must have a `region` specified in the provider configuration.\n" + "imageUrl": { + "type": "string" + }, + "instanceId": { + "type": "string", + "description": "ID of the LogMe instance.\n" }, "name": { "type": "string", - "description": "The name of the affinity group.\n" + "description": "Instance name.\n" }, - "policy": { + "parameters": { + "$ref": "#/types/stackit:index/getLogmeInstanceParameters:getLogmeInstanceParameters" + }, + "planId": { "type": "string", - "description": "The policy of the affinity group.\n" + "description": "The selected plan ID.\n" + }, + "planName": { + "type": "string", + "description": "The selected plan name.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the affinity group is associated.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" + }, + "version": { + "type": "string", + "description": "The service version.\n" } }, "type": "object", "required": [ - "affinityGroupId", + "cfGuid", + "cfOrganizationGuid", + "cfSpaceGuid", + "dashboardUrl", "id", - "members", + "imageUrl", + "instanceId", "name", - "policy", - "projectId" + "parameters", + "planId", + "planName", + "projectId", + "version" ] } }, - "stackit:index/getCdnCustomDomain:getCdnCustomDomain": { - "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_cdn_custom_domain\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n distribution_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"https://xxx.xxx\"\n}\n```\n", + "stackit:index/getMachineType:getMachineType": { + "description": "Machine type data source.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_machine_type\" \"two_vcpus_filter\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n filter = \"vcpus==2\"\n}\n\ndata \"stackit_machine_type\" \"filter_sorted_ascending_false\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n filter = \"vcpus \u003e= 2 \u0026\u0026 ram \u003e= 2048\"\n sort_ascending = false\n}\n\ndata \"stackit_machine_type\" \"intel_icelake_generic_filter\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n filter = \"extraSpecs.cpu==\\\"intel-icelake-generic\\\" \u0026\u0026 vcpus == 2\"\n}\n\n# returns warning\ndata \"stackit_machine_type\" \"no_match\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n filter = \"vcpus == 99\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getCdnCustomDomain.\n", + "description": "A collection of arguments for invoking getMachineType.\n", "properties": { - "distributionId": { + "filter": { "type": "string", - "description": "CDN distribution ID\n" + "description": "Expr-lang filter for filtering machine types.\n" }, - "name": { + "projectId": { "type": "string" }, - "projectId": { - "type": "string", - "description": "STACKIT project ID associated with the distribution\n" + "sortAscending": { + "type": "boolean" } }, "type": "object", "required": [ - "distributionId", - "name", + "filter", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getCdnCustomDomain.\n", + "description": "A collection of values returned by getMachineType.\n", "properties": { - "distributionId": { - "type": "string", - "description": "CDN distribution ID\n" + "description": { + "type": "string" }, - "errors": { - "type": "array", - "items": { + "disk": { + "type": "integer" + }, + "extraSpecs": { + "type": "object", + "additionalProperties": { "type": "string" - }, - "description": "List of distribution errors\n" + } + }, + "filter": { + "type": "string", + "description": "Expr-lang filter for filtering machine types.\n" }, "id": { "type": "string" @@ -12422,1627 +14905,1592 @@ "type": "string" }, "projectId": { - "type": "string", - "description": "STACKIT project ID associated with the distribution\n" + "type": "string" }, - "status": { - "type": "string", - "description": "Status of the distribution\n" + "ram": { + "type": "integer" + }, + "sortAscending": { + "type": "boolean" + }, + "vcpus": { + "type": "integer" } }, "type": "object", "required": [ - "distributionId", - "errors", + "description", + "disk", + "extraSpecs", + "filter", "id", "name", "projectId", - "status" + "ram", + "vcpus" ] } }, - "stackit:index/getCdnDistribution:getCdnDistribution": { - "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_cdn_distribution\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n distribution_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getMariadbCredential:getMariadbCredential": { + "description": "MariaDB credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mariadb_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getCdnDistribution.\n", + "description": "A collection of arguments for invoking getMariadbCredential.\n", "properties": { - "distributionId": { + "credentialId": { "type": "string", - "description": "STACKIT project ID associated with the distribution\n" + "description": "The credential's ID.\n" + }, + "instanceId": { + "type": "string", + "description": "ID of the MariaDB instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID associated with the distribution\n" + "description": "STACKIT project ID to which the instance is associated.\n" } }, "type": "object", "required": [ - "distributionId", + "credentialId", + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getCdnDistribution.\n", + "description": "A collection of values returned by getMariadbCredential.\n", "properties": { - "config": { - "$ref": "#/types/stackit:index/getCdnDistributionConfig:getCdnDistributionConfig", - "description": "The distribution configuration\n" - }, - "createdAt": { - "type": "string", - "description": "Time when the distribution was created\n" - }, - "distributionId": { + "credentialId": { "type": "string", - "description": "STACKIT project ID associated with the distribution\n" + "description": "The credential's ID.\n" }, - "domains": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/getCdnDistributionDomain:getCdnDistributionDomain" - }, - "description": "List of configured domains for the distribution\n" + "host": { + "type": "string" }, - "errors": { + "hosts": { "type": "array", "items": { "type": "string" - }, - "description": "List of distribution errors\n" + } }, "id": { "type": "string" }, - "projectId": { + "instanceId": { "type": "string", - "description": "STACKIT project ID associated with the distribution\n" + "description": "ID of the MariaDB instance.\n" }, - "status": { + "name": { + "type": "string" + }, + "password": { "type": "string", - "description": "Status of the distribution\n" + "secret": true }, - "updatedAt": { + "port": { + "type": "integer" + }, + "projectId": { "type": "string", - "description": "Time when the distribution was last updated\n" + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "uri": { + "type": "string", + "secret": true + }, + "username": { + "type": "string" } }, "type": "object", "required": [ - "config", - "createdAt", - "distributionId", - "domains", - "errors", + "credentialId", + "host", + "hosts", "id", + "instanceId", + "name", + "password", + "port", "projectId", - "status", - "updatedAt" + "uri", + "username" ] } }, - "stackit:index/getDnsRecordSet:getDnsRecordSet": { - "description": "DNS Record Set Resource schema.\n\n## Example Usage\n\n```terraform\ndata \"stackit_dns_record_set\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n zone_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n record_set_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", - "inputs": { - "description": "A collection of arguments for invoking getDnsRecordSet.\n", - "properties": { - "projectId": { - "type": "string", - "description": "STACKIT project ID to which the dns record set is associated.\n" - }, - "recordSetId": { + "stackit:index/getMariadbInstance:getMariadbInstance": { + "description": "MariaDB instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mariadb_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getMariadbInstance.\n", + "properties": { + "instanceId": { "type": "string", - "description": "The rr set id.\n" + "description": "ID of the MariaDB instance.\n" }, - "zoneId": { + "projectId": { "type": "string", - "description": "The zone ID to which is dns record set is associated.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" } }, "type": "object", "required": [ - "projectId", - "recordSetId", - "zoneId" + "instanceId", + "projectId" ] }, "outputs": { - "description": "A collection of values returned by getDnsRecordSet.\n", + "description": "A collection of values returned by getMariadbInstance.\n", "properties": { - "active": { - "type": "boolean", - "description": "Specifies if the record set is active or not.\n" + "cfGuid": { + "type": "string" }, - "comment": { - "type": "string", - "description": "Comment.\n" + "cfOrganizationGuid": { + "type": "string" }, - "error": { - "type": "string", - "description": "Error shows error in case create/update/delete failed.\n" + "cfSpaceGuid": { + "type": "string" }, - "fqdn": { - "type": "string", - "description": "Fully qualified domain name (FQDN) of the record set.\n" + "dashboardUrl": { + "type": "string" }, "id": { "type": "string" }, - "name": { - "type": "string", - "description": "Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com`\n" + "imageUrl": { + "type": "string" }, - "projectId": { + "instanceId": { "type": "string", - "description": "STACKIT project ID to which the dns record set is associated.\n" + "description": "ID of the MariaDB instance.\n" }, - "recordSetId": { + "name": { "type": "string", - "description": "The rr set id.\n" + "description": "Instance name.\n" }, - "records": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Records.\n" + "parameters": { + "$ref": "#/types/stackit:index/getMariadbInstanceParameters:getMariadbInstanceParameters" }, - "state": { + "planId": { "type": "string", - "description": "Record set state.\n" + "description": "The selected plan ID.\n" }, - "ttl": { - "type": "integer", - "description": "Time to live. E.g. 3600\n" + "planName": { + "type": "string", + "description": "The selected plan name.\n" }, - "type": { + "projectId": { "type": "string", - "description": "The record set type. E.g. `A` or `CNAME`\n" + "description": "STACKIT Project ID to which the instance is associated.\n" }, - "zoneId": { + "version": { "type": "string", - "description": "The zone ID to which is dns record set is associated.\n" + "description": "The service version.\n" } }, "type": "object", "required": [ - "active", - "comment", - "error", - "fqdn", + "cfGuid", + "cfOrganizationGuid", + "cfSpaceGuid", + "dashboardUrl", "id", + "imageUrl", + "instanceId", "name", + "parameters", + "planId", + "planName", "projectId", - "recordSetId", - "records", - "state", - "ttl", - "type", - "zoneId" + "version" ] } }, - "stackit:index/getDnsZone:getDnsZone": { - "description": "DNS Zone resource schema.\n\n## Example Usage\n\n```terraform\ndata \"stackit_dns_zone\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n zone_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getMongodbflexInstance:getMongodbflexInstance": { + "description": "MongoDB Flex instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mongodbflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getDnsZone.\n", + "description": "A collection of arguments for invoking getMongodbflexInstance.\n", "properties": { - "dnsName": { + "instanceId": { "type": "string", - "description": "The zone name. E.g. `example.com`\n" + "description": "ID of the MongoDB Flex instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the dns zone is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, - "zoneId": { + "region": { "type": "string", - "description": "The zone ID.\n" + "description": "The resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getDnsZone.\n", + "description": "A collection of values returned by getMongodbflexInstance.\n", "properties": { - "acl": { - "type": "string", - "description": "The access control list.\n" - }, - "active": { - "type": "boolean" - }, - "contactEmail": { - "type": "string", - "description": "A contact e-mail for the zone.\n" - }, - "defaultTtl": { - "type": "integer", - "description": "Default time to live.\n" - }, - "description": { - "type": "string", - "description": "Description of the zone.\n" + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Access Control List (ACL) for the MongoDB Flex instance.\n" }, - "dnsName": { + "backupSchedule": { "type": "string", - "description": "The zone name. E.g. `example.com`\n" + "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\").\n" }, - "expireTime": { - "type": "integer", - "description": "Expire time.\n" + "flavor": { + "$ref": "#/types/stackit:index/getMongodbflexInstanceFlavor:getMongodbflexInstanceFlavor" }, "id": { "type": "string" }, - "isReverseZone": { - "type": "boolean", - "description": "Specifies, if the zone is a reverse zone or not.\n" + "instanceId": { + "type": "string", + "description": "ID of the MongoDB Flex instance.\n" }, "name": { "type": "string", - "description": "The user given name of the zone.\n" - }, - "negativeCache": { - "type": "integer", - "description": "Negative caching.\n" - }, - "primaries": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Primary name server for secondary zone.\n" + "description": "Instance name.\n" }, - "primaryNameServer": { - "type": "string", - "description": "Primary name server. FQDN.\n" + "options": { + "$ref": "#/types/stackit:index/getMongodbflexInstanceOptions:getMongodbflexInstanceOptions", + "description": "Custom parameters for the MongoDB Flex instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the dns zone is associated.\n" - }, - "recordCount": { - "type": "integer", - "description": "Record count how many records are in the zone.\n" - }, - "refreshTime": { - "type": "integer", - "description": "Refresh time.\n" - }, - "retryTime": { - "type": "integer", - "description": "Retry time.\n" - }, - "serialNumber": { - "type": "integer", - "description": "Serial number.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, - "state": { + "region": { "type": "string", - "description": "Zone state.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "type": { - "type": "string", - "description": "Zone type.\n" + "replicas": { + "type": "integer" }, - "visibility": { - "type": "string", - "description": "Visibility of the zone.\n" + "storage": { + "$ref": "#/types/stackit:index/getMongodbflexInstanceStorage:getMongodbflexInstanceStorage" }, - "zoneId": { - "type": "string", - "description": "The zone ID.\n" + "version": { + "type": "string" } }, "type": "object", "required": [ - "acl", - "active", - "contactEmail", - "defaultTtl", - "description", - "expireTime", + "acls", + "backupSchedule", + "flavor", "id", - "isReverseZone", + "instanceId", "name", - "negativeCache", - "primaries", - "primaryNameServer", + "options", "projectId", - "recordCount", - "refreshTime", - "retryTime", - "serialNumber", - "state", - "type", - "visibility" + "region", + "replicas", + "storage", + "version" ] } }, - "stackit:index/getGit:getGit": { - "description": "Git Instance datasource schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_git\" \"git\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getMongodbflexUser:getMongodbflexUser": { + "description": "MongoDB Flex user data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mongodbflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n user_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getGit.\n", + "description": "A collection of arguments for invoking getMongodbflexUser.\n", "properties": { "instanceId": { "type": "string", - "description": "ID linked to the git instance.\n" + "description": "ID of the MongoDB Flex instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the git instance is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "userId": { + "type": "string", + "description": "User ID.\n" } }, "type": "object", "required": [ "instanceId", - "projectId" + "projectId", + "userId" ] }, "outputs": { - "description": "A collection of values returned by getGit.\n", + "description": "A collection of values returned by getMongodbflexUser.\n", "properties": { + "database": { + "type": "string" + }, + "host": { + "type": "string" + }, "id": { "type": "string" }, "instanceId": { "type": "string", - "description": "ID linked to the git instance.\n" + "description": "ID of the MongoDB Flex instance.\n" }, - "name": { - "type": "string", - "description": "Unique name linked to the git instance.\n" + "port": { + "type": "integer" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the git instance is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, - "url": { + "region": { "type": "string", - "description": "Url linked to the git instance.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "version": { + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "userId": { "type": "string", - "description": "Version linked to the git instance.\n" + "description": "User ID.\n" + }, + "username": { + "type": "string" } }, "type": "object", "required": [ + "database", + "host", "id", "instanceId", - "name", + "port", "projectId", - "url", - "version" + "region", + "roles", + "userId", + "username" ] } }, - "stackit:index/getImage:getImage": { - "description": "Image datasource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_image\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n image_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getNetwork:getNetwork": { + "description": "Network resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getImage.\n", + "description": "A collection of arguments for invoking getNetwork.\n", "properties": { - "imageId": { + "networkId": { "type": "string", - "description": "The image ID.\n" + "description": "The network ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the image is associated.\n" + "description": "STACKIT project ID to which the network is associated.\n" + }, + "region": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set. This is likely going to undergo significant changes or be removed in the future.\nThe resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ - "imageId", + "networkId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getImage.\n", + "description": "A collection of values returned by getNetwork.\n", "properties": { - "checksum": { - "$ref": "#/types/stackit:index/getImageChecksum:getImageChecksum", - "description": "Representation of an image checksum.\n" - }, - "config": { - "$ref": "#/types/stackit:index/getImageConfig:getImageConfig", - "description": "Properties to set hardware and scheduling settings for an image.\n" - }, - "diskFormat": { - "type": "string", - "description": "The disk format of the image.\n" - }, "id": { "type": "string" }, - "imageId": { + "ipv4Gateway": { "type": "string", - "description": "The image ID.\n" + "description": "The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.\n" }, - "labels": { - "type": "object", - "additionalProperties": { + "ipv4Nameservers": { + "type": "array", + "items": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" + "description": "The IPv4 nameservers of the network.\n" }, - "minDiskSize": { - "type": "integer", - "description": "The minimum disk size of the image in GB.\n" + "ipv4Prefix": { + "type": "string", + "description": "The IPv4 prefix of the network (CIDR).\n", + "deprecationMessage": "The API supports reading multiple prefixes. So using the attribute 'ipv4_prefixes` should be preferred. This attribute will be populated with the first element from the list" }, - "minRam": { + "ipv4PrefixLength": { "type": "integer", - "description": "The minimum RAM of the image in MB.\n" + "description": "The IPv4 prefix length of the network.\n" }, - "name": { - "type": "string", - "description": "The name of the image.\n" + "ipv4Prefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IPv4 prefixes of the network.\n" }, - "projectId": { + "ipv6Gateway": { "type": "string", - "description": "STACKIT project ID to which the image is associated.\n" + "description": "The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.\n" }, - "protected": { - "type": "boolean", - "description": "Whether the image is protected.\n" + "ipv6Nameservers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IPv6 nameservers of the network.\n" }, - "scope": { - "type": "string", - "description": "The scope of the image.\n" - } - }, - "type": "object", - "required": [ - "checksum", - "config", - "diskFormat", - "id", - "imageId", - "labels", - "minDiskSize", - "minRam", - "name", - "projectId", - "protected", - "scope" - ] - } - }, - "stackit:index/getKeyPair:getKeyPair": { - "description": "Key pair resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_key_pair\" \"example\" {\n name = \"example-key-pair-name\"\n}\n```\n", - "inputs": { - "description": "A collection of arguments for invoking getKeyPair.\n", - "properties": { - "name": { - "type": "string", - "description": "The name of the SSH key pair.\n" - } - }, - "type": "object", - "required": [ - "name" - ] - }, - "outputs": { - "description": "A collection of values returned by getKeyPair.\n", - "properties": { - "fingerprint": { + "ipv6Prefix": { "type": "string", - "description": "The fingerprint of the public SSH key.\n" + "description": "The IPv6 prefix of the network (CIDR).\n", + "deprecationMessage": "The API supports reading multiple prefixes. So using the attribute 'ipv6_prefixes` should be preferred. This attribute will be populated with the first element from the list" }, - "id": { - "type": "string" + "ipv6PrefixLength": { + "type": "integer", + "description": "The IPv6 prefix length of the network.\n" + }, + "ipv6Prefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The IPv6 prefixes of the network.\n" }, "labels": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Labels are key-value string pairs which can be attached to a resource container.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, "name": { "type": "string", - "description": "The name of the SSH key pair.\n" + "description": "The name of the network.\n" }, - "publicKey": { + "nameservers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4.\n", + "deprecationMessage": "Use `ipv4_nameservers` to configure the nameservers for IPv4." + }, + "networkId": { "type": "string", - "description": "A string representation of the public SSH key. E.g., `ssh-rsa \u003ckey_data\u003e` or `ssh-ed25519 \u003ckey-data\u003e`.\n" + "description": "The network ID.\n" + }, + "prefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks.\n", + "deprecationMessage": "Use `ipv4_prefixes` to read the prefixes of the IPv4 networks." + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the network is associated.\n" + }, + "publicIp": { + "type": "string", + "description": "The public IP of the network.\n" + }, + "region": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set. This is likely going to undergo significant changes or be removed in the future.\nThe resource region. If not defined, the provider region is used.\n" + }, + "routed": { + "type": "boolean", + "description": "Shows if the network is routed and therefore accessible from other networks.\n" + }, + "routingTableId": { + "type": "string", + "description": "Can only be used when experimental \"network\" is set. This is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\nThe ID of the routing table associated with the network.\n" } }, "type": "object", "required": [ - "fingerprint", "id", + "ipv4Gateway", + "ipv4Nameservers", + "ipv4Prefix", + "ipv4PrefixLength", + "ipv4Prefixes", + "ipv6Gateway", + "ipv6Nameservers", + "ipv6Prefix", + "ipv6PrefixLength", + "ipv6Prefixes", "labels", "name", - "publicKey" + "nameservers", + "networkId", + "prefixes", + "projectId", + "publicIp", + "routed", + "routingTableId" ] } }, - "stackit:index/getLoadbalancer:getLoadbalancer": { - "description": "Load Balancer data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_loadbalancer\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-load-balancer\"\n}\n```\n", + "stackit:index/getNetworkArea:getNetworkArea": { + "description": "Network area datasource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network_area\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getLoadbalancer.\n", + "description": "A collection of arguments for invoking getNetworkArea.\n", "properties": { - "name": { - "type": "string", - "description": "Load balancer name.\n" - }, - "projectId": { + "networkAreaId": { "type": "string", - "description": "STACKIT project ID to which the Load Balancer is associated.\n" + "description": "The network area ID.\n" }, - "region": { + "organizationId": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "STACKIT organization ID to which the network area is associated.\n" } }, "type": "object", "required": [ - "name", - "projectId" + "networkAreaId", + "organizationId" ] }, "outputs": { - "description": "A collection of values returned by getLoadbalancer.\n", + "description": "A collection of values returned by getNetworkArea.\n", "properties": { - "externalAddress": { - "type": "string", - "description": "External Load Balancer IP address where this Load Balancer is exposed.\n" + "defaultNameservers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of DNS Servers/Nameservers.\n" + }, + "defaultPrefixLength": { + "type": "integer", + "description": "The default prefix length for networks in the network area.\n" }, "id": { "type": "string" }, - "listeners": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/getLoadbalancerListener:getLoadbalancerListener" + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "description": "List of all listeners which will accept traffic. Limited to 20.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "maxPrefixLength": { + "type": "integer", + "description": "The maximal prefix length for networks in the network area.\n" + }, + "minPrefixLength": { + "type": "integer", + "description": "The minimal prefix length for networks in the network area.\n" }, "name": { "type": "string", - "description": "Load balancer name.\n" + "description": "The name of the network area.\n" }, - "networks": { + "networkAreaId": { + "type": "string", + "description": "The network area ID.\n" + }, + "networkRanges": { "type": "array", "items": { - "$ref": "#/types/stackit:index/getLoadbalancerNetwork:getLoadbalancerNetwork" + "$ref": "#/types/stackit:index/getNetworkAreaNetworkRange:getNetworkAreaNetworkRange" }, - "description": "List of networks that listeners and targets reside in.\n" - }, - "options": { - "$ref": "#/types/stackit:index/getLoadbalancerOptions:getLoadbalancerOptions", - "description": "Defines any optional functionality you want to have enabled on your load balancer.\n" + "description": "List of Network ranges.\n" }, - "privateAddress": { + "organizationId": { "type": "string", - "description": "Transient private Load Balancer IP address. It can change any time.\n" + "description": "STACKIT organization ID to which the network area is associated.\n" }, - "projectId": { - "type": "string", - "description": "STACKIT project ID to which the Load Balancer is associated.\n" + "projectCount": { + "type": "integer", + "description": "The amount of projects currently referencing this area.\n" }, - "region": { + "transferNetwork": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" - }, - "targetPools": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/getLoadbalancerTargetPool:getLoadbalancerTargetPool" - }, - "description": "List of all target pools which will be used in the Load Balancer. Limited to 20.\n" + "description": "Classless Inter-Domain Routing (CIDR).\n" } }, "type": "object", "required": [ - "externalAddress", + "defaultNameservers", + "defaultPrefixLength", "id", - "listeners", + "labels", + "maxPrefixLength", + "minPrefixLength", "name", - "networks", - "options", - "privateAddress", - "projectId", - "targetPools" + "networkAreaId", + "networkRanges", + "organizationId", + "projectCount", + "transferNetwork" ] } }, - "stackit:index/getLogmeCredential:getLogmeCredential": { - "description": "LogMe credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_logme_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getNetworkAreaRoute:getNetworkAreaRoute": { + "description": "Network area route data resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network_area_route\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_route_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getLogmeCredential.\n", + "description": "A collection of arguments for invoking getNetworkAreaRoute.\n", "properties": { - "credentialId": { + "networkAreaId": { "type": "string", - "description": "The credential's ID.\n" + "description": "The network area ID to which the network area route is associated.\n" }, - "instanceId": { + "networkAreaRouteId": { "type": "string", - "description": "ID of the LogMe instance.\n" + "description": "The network area route ID.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the network area is associated.\n" } }, "type": "object", "required": [ - "credentialId", - "instanceId", - "projectId" + "networkAreaId", + "networkAreaRouteId", + "organizationId" ] }, "outputs": { - "description": "A collection of values returned by getLogmeCredential.\n", + "description": "A collection of values returned by getNetworkAreaRoute.\n", "properties": { - "credentialId": { - "type": "string", - "description": "The credential's ID.\n" - }, - "host": { - "type": "string" - }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "ID of the LogMe instance.\n" + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "password": { + "networkAreaId": { "type": "string", - "secret": true + "description": "The network area ID to which the network area route is associated.\n" }, - "port": { - "type": "integer" + "networkAreaRouteId": { + "type": "string", + "description": "The network area route ID.\n" }, - "projectId": { + "nextHop": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address.\n" }, - "uri": { + "organizationId": { "type": "string", - "secret": true + "description": "STACKIT organization ID to which the network area is associated.\n" }, - "username": { - "type": "string" + "prefix": { + "type": "string", + "description": "The network, that is reachable though the Next Hop. Should use CIDR notation.\n" } }, "type": "object", "required": [ - "credentialId", - "host", "id", - "instanceId", - "password", - "port", - "projectId", - "uri", - "username" + "labels", + "networkAreaId", + "networkAreaRouteId", + "nextHop", + "organizationId", + "prefix" ] } }, - "stackit:index/getLogmeInstance:getLogmeInstance": { - "description": "LogMe instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_logme_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getNetworkInterface:getNetworkInterface": { + "description": "Network interface datasource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network_interface\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getLogmeInstance.\n", + "description": "A collection of arguments for invoking getNetworkInterface.\n", "properties": { - "instanceId": { + "networkId": { "type": "string", - "description": "ID of the LogMe instance.\n" + "description": "The network ID to which the network interface is associated.\n" + }, + "networkInterfaceId": { + "type": "string", + "description": "The network interface ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT project ID to which the network interface is associated.\n" } }, "type": "object", "required": [ - "instanceId", + "networkId", + "networkInterfaceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getLogmeInstance.\n", + "description": "A collection of values returned by getNetworkInterface.\n", "properties": { - "cfGuid": { - "type": "string" - }, - "cfOrganizationGuid": { - "type": "string" - }, - "cfSpaceGuid": { - "type": "string" + "allowedAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of CIDR (Classless Inter-Domain Routing) notations.\n" }, - "dashboardUrl": { - "type": "string" + "device": { + "type": "string", + "description": "The device UUID of the network interface.\n" }, "id": { "type": "string" }, - "imageUrl": { - "type": "string" + "ipv4": { + "type": "string", + "description": "The IPv4 address.\n" }, - "instanceId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a network interface.\n" + }, + "mac": { "type": "string", - "description": "ID of the LogMe instance.\n" + "description": "The MAC address of network interface.\n" }, "name": { "type": "string", - "description": "Instance name.\n" - }, - "parameters": { - "$ref": "#/types/stackit:index/getLogmeInstanceParameters:getLogmeInstanceParameters" + "description": "The name of the network interface.\n" }, - "planId": { + "networkId": { "type": "string", - "description": "The selected plan ID.\n" + "description": "The network ID to which the network interface is associated.\n" }, - "planName": { + "networkInterfaceId": { "type": "string", - "description": "The selected plan name.\n" + "description": "The network interface ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT project ID to which the network interface is associated.\n" }, - "version": { + "security": { + "type": "boolean", + "description": "The Network Interface Security. If set to false, then no security groups will apply to this network interface.\n" + }, + "securityGroupIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of security group UUIDs. If security is set to false, setting this field will lead to an error.\n" + }, + "type": { "type": "string", - "description": "The service version.\n" + "description": "Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`.\n" } }, "type": "object", "required": [ - "cfGuid", - "cfOrganizationGuid", - "cfSpaceGuid", - "dashboardUrl", + "allowedAddresses", + "device", "id", - "imageUrl", - "instanceId", + "ipv4", + "labels", + "mac", "name", - "parameters", - "planId", - "planName", + "networkId", + "networkInterfaceId", "projectId", - "version" + "security", + "securityGroupIds", + "type" ] } }, - "stackit:index/getMariadbCredential:getMariadbCredential": { - "description": "MariaDB credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mariadb_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getObjectstorageBucket:getObjectstorageBucket": { + "description": "ObjectStorage bucket data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_objectstorage_bucket\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-name\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getMariadbCredential.\n", + "description": "A collection of arguments for invoking getObjectstorageBucket.\n", "properties": { - "credentialId": { + "name": { "type": "string", - "description": "The credential's ID.\n" + "description": "The bucket name. It must be DNS conform.\n" }, - "instanceId": { + "projectId": { "type": "string", - "description": "ID of the MariaDB instance.\n" + "description": "STACKIT Project ID to which the bucket is associated.\n" }, - "projectId": { + "region": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "The resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ - "credentialId", - "instanceId", + "name", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getMariadbCredential.\n", + "description": "A collection of values returned by getObjectstorageBucket.\n", "properties": { - "credentialId": { - "type": "string", - "description": "The credential's ID.\n" - }, - "host": { - "type": "string" - }, - "hosts": { - "type": "array", - "items": { - "type": "string" - } - }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "ID of the MariaDB instance.\n" - }, "name": { - "type": "string" - }, - "password": { "type": "string", - "secret": true - }, - "port": { - "type": "integer" + "description": "The bucket name. It must be DNS conform.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT Project ID to which the bucket is associated.\n" }, - "uri": { + "region": { "type": "string", - "secret": true + "description": "The resource region. If not defined, the provider region is used.\n" }, - "username": { + "urlPathStyle": { + "type": "string" + }, + "urlVirtualHostedStyle": { "type": "string" } }, "type": "object", "required": [ - "credentialId", - "host", - "hosts", "id", - "instanceId", "name", - "password", - "port", "projectId", - "uri", - "username" + "urlPathStyle", + "urlVirtualHostedStyle" ] } }, - "stackit:index/getMariadbInstance:getMariadbInstance": { - "description": "MariaDB instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mariadb_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getObjectstorageCredential:getObjectstorageCredential": { + "description": "ObjectStorage credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_objectstorage_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credentials_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getMariadbInstance.\n", + "description": "A collection of arguments for invoking getObjectstorageCredential.\n", "properties": { - "instanceId": { + "credentialId": { "type": "string", - "description": "ID of the MariaDB instance.\n" + "description": "The credential ID.\n" + }, + "credentialsGroupId": { + "type": "string", + "description": "The credential group ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT Project ID to which the credential group is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ - "instanceId", + "credentialId", + "credentialsGroupId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getMariadbInstance.\n", + "description": "A collection of values returned by getObjectstorageCredential.\n", "properties": { - "cfGuid": { - "type": "string" - }, - "cfOrganizationGuid": { - "type": "string" + "credentialId": { + "type": "string", + "description": "The credential ID.\n" }, - "cfSpaceGuid": { - "type": "string" + "credentialsGroupId": { + "type": "string", + "description": "The credential group ID.\n" }, - "dashboardUrl": { + "expirationTimestamp": { "type": "string" }, "id": { "type": "string" }, - "imageUrl": { - "type": "string" - }, - "instanceId": { - "type": "string", - "description": "ID of the MariaDB instance.\n" - }, "name": { - "type": "string", - "description": "Instance name.\n" - }, - "parameters": { - "$ref": "#/types/stackit:index/getMariadbInstanceParameters:getMariadbInstanceParameters" - }, - "planId": { - "type": "string", - "description": "The selected plan ID.\n" - }, - "planName": { - "type": "string", - "description": "The selected plan name.\n" + "type": "string" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT Project ID to which the credential group is associated.\n" }, - "version": { + "region": { "type": "string", - "description": "The service version.\n" + "description": "The resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ - "cfGuid", - "cfOrganizationGuid", - "cfSpaceGuid", - "dashboardUrl", + "credentialId", + "credentialsGroupId", + "expirationTimestamp", "id", - "imageUrl", - "instanceId", "name", - "parameters", - "planId", - "planName", - "projectId", - "version" + "projectId" ] } }, - "stackit:index/getMongodbflexInstance:getMongodbflexInstance": { - "description": "MongoDB Flex instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mongodbflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getObjectstorageCredentialsGroup:getObjectstorageCredentialsGroup": { + "description": "ObjectStorage credentials group data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_objectstorage_credentials_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credentials_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getMongodbflexInstance.\n", + "description": "A collection of arguments for invoking getObjectstorageCredentialsGroup.\n", "properties": { - "instanceId": { + "credentialsGroupId": { "type": "string", - "description": "ID of the MongoDB Flex instance.\n" + "description": "The credentials group ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "Object Storage Project ID to which the credentials group is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ - "instanceId", + "credentialsGroupId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getMongodbflexInstance.\n", + "description": "A collection of values returned by getObjectstorageCredentialsGroup.\n", "properties": { - "acls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Access Control List (ACL) for the MongoDB Flex instance.\n" - }, - "backupSchedule": { + "credentialsGroupId": { "type": "string", - "description": "The backup schedule. Should follow the cron scheduling system format (e.g. \"0 0 * * *\").\n" - }, - "flavor": { - "$ref": "#/types/stackit:index/getMongodbflexInstanceFlavor:getMongodbflexInstanceFlavor" + "description": "The credentials group ID.\n" }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "ID of the MongoDB Flex instance.\n" - }, "name": { "type": "string", - "description": "Instance name.\n" - }, - "options": { - "$ref": "#/types/stackit:index/getMongodbflexInstanceOptions:getMongodbflexInstanceOptions", - "description": "Custom parameters for the MongoDB Flex instance.\n" + "description": "The credentials group's display name.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" - }, - "replicas": { - "type": "integer" + "description": "Object Storage Project ID to which the credentials group is associated.\n" }, - "storage": { - "$ref": "#/types/stackit:index/getMongodbflexInstanceStorage:getMongodbflexInstanceStorage" + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" }, - "version": { - "type": "string" + "urn": { + "type": "string", + "description": "Credentials group uniform resource name (URN)\n" } }, "type": "object", "required": [ - "acls", - "backupSchedule", - "flavor", + "credentialsGroupId", "id", - "instanceId", "name", - "options", "projectId", - "replicas", - "storage", - "version" + "urn" ] } }, - "stackit:index/getMongodbflexUser:getMongodbflexUser": { - "description": "MongoDB Flex user data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_mongodbflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n user_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getObservabilityAlertgroup:getObservabilityAlertgroup": { + "description": "Observability alert group datasource schema. Used to create alerts based on metrics (Thanos). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_alertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-alert-group\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getMongodbflexUser.\n", + "description": "A collection of arguments for invoking getObservabilityAlertgroup.\n", "properties": { "instanceId": { "type": "string", - "description": "ID of the MongoDB Flex instance.\n" + "description": "Observability instance ID to which the alert group is associated.\n" }, - "projectId": { + "name": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "The name of the alert group. Is the identifier and must be unique in the group.\n" }, - "userId": { + "projectId": { "type": "string", - "description": "User ID.\n" + "description": "STACKIT project ID to which the alert group is associated.\n" } }, "type": "object", "required": [ "instanceId", - "projectId", - "userId" + "name", + "projectId" ] }, "outputs": { - "description": "A collection of values returned by getMongodbflexUser.\n", + "description": "A collection of values returned by getObservabilityAlertgroup.\n", "properties": { - "database": { - "type": "string" - }, - "host": { - "type": "string" - }, "id": { "type": "string" }, "instanceId": { "type": "string", - "description": "ID of the MongoDB Flex instance.\n" + "description": "Observability instance ID to which the alert group is associated.\n" }, - "port": { - "type": "integer" + "interval": { + "type": "string", + "description": "Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.\n" + }, + "name": { + "type": "string", + "description": "The name of the alert group. Is the identifier and must be unique in the group.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT project ID to which the alert group is associated.\n" }, - "roles": { + "rules": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/stackit:index/getObservabilityAlertgroupRule:getObservabilityAlertgroupRule" } - }, - "userId": { - "type": "string", - "description": "User ID.\n" - }, - "username": { - "type": "string" } }, "type": "object", "required": [ - "database", - "host", "id", "instanceId", - "port", + "interval", + "name", "projectId", - "roles", - "userId", - "username" + "rules" ] } }, - "stackit:index/getNetwork:getNetwork": { - "description": "Network resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getObservabilityInstance:getObservabilityInstance": { + "description": "Observability instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getNetwork.\n", + "description": "A collection of arguments for invoking getObservabilityInstance.\n", "properties": { - "networkId": { + "instanceId": { "type": "string", - "description": "The network ID.\n" + "description": "The Observability instance ID.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the network is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" } }, "type": "object", "required": [ - "networkId", + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getNetwork.\n", + "description": "A collection of values returned by getObservabilityInstance.\n", "properties": { - "id": { - "type": "string" - }, - "ipv4Gateway": { - "type": "string", - "description": "The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.\n" - }, - "ipv4Nameservers": { + "acls": { "type": "array", "items": { "type": "string" }, - "description": "The IPv4 nameservers of the network.\n" + "description": "The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation.\n" }, - "ipv4Prefix": { + "alertConfig": { + "$ref": "#/types/stackit:index/getObservabilityInstanceAlertConfig:getObservabilityInstanceAlertConfig", + "description": "Alert configuration for the instance.\n" + }, + "alertingUrl": { "type": "string", - "description": "The IPv4 prefix of the network (CIDR).\n", - "deprecationMessage": "The API supports reading multiple prefixes. So using the attribute 'ipv4_prefixes` should be preferred. This attribute will be populated with the first element from the list" + "description": "Specifies Alerting URL.\n" }, - "ipv4PrefixLength": { - "type": "integer", - "description": "The IPv4 prefix length of the network.\n" + "dashboardUrl": { + "type": "string", + "description": "Specifies Observability instance dashboard URL.\n" }, - "ipv4Prefixes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IPv4 prefixes of the network.\n" + "grafanaInitialAdminPassword": { + "type": "string", + "description": "Specifies an initial Grafana admin password.\n", + "secret": true }, - "ipv6Gateway": { + "grafanaInitialAdminUser": { "type": "string", - "description": "The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.\n" + "description": "Specifies an initial Grafana admin username.\n" }, - "ipv6Nameservers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IPv6 nameservers of the network.\n" + "grafanaPublicReadAccess": { + "type": "boolean", + "description": "If true, anyone can access Grafana dashboards without logging in.\n" }, - "ipv6Prefix": { + "grafanaUrl": { "type": "string", - "description": "The IPv6 prefix of the network (CIDR).\n", - "deprecationMessage": "The API supports reading multiple prefixes. So using the attribute 'ipv6_prefixes` should be preferred. This attribute will be populated with the first element from the list" + "description": "Specifies Grafana URL.\n" }, - "ipv6PrefixLength": { + "id": { + "type": "string" + }, + "instanceId": { + "type": "string", + "description": "The Observability instance ID.\n" + }, + "isUpdatable": { + "type": "boolean", + "description": "Specifies if the instance can be updated.\n" + }, + "jaegerTracesUrl": { + "type": "string" + }, + "jaegerUiUrl": { + "type": "string" + }, + "logsPushUrl": { + "type": "string", + "description": "Specifies URL for pushing logs.\n" + }, + "logsUrl": { + "type": "string", + "description": "Specifies Logs URL.\n" + }, + "metricsPushUrl": { + "type": "string", + "description": "Specifies URL for pushing metrics.\n" + }, + "metricsRetentionDays": { "type": "integer", - "description": "The IPv6 prefix length of the network.\n" + "description": "Specifies for how many days the raw metrics are kept. Default is set to `90`.\n" }, - "ipv6Prefixes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The IPv6 prefixes of the network.\n" + "metricsRetentionDays1hDownsampling": { + "type": "integer", + "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`.\n" }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" + "metricsRetentionDays5mDownsampling": { + "type": "integer", + "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`.\n" + }, + "metricsUrl": { + "type": "string", + "description": "Specifies metrics URL.\n" }, "name": { "type": "string", - "description": "The name of the network.\n" + "description": "The name of the Observability instance.\n" }, - "nameservers": { - "type": "array", - "items": { + "otlpTracesUrl": { + "type": "string" + }, + "parameters": { + "type": "object", + "additionalProperties": { "type": "string" }, - "description": "The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4.\n", - "deprecationMessage": "Use `ipv4_nameservers` to configure the nameservers for IPv4." + "description": "Additional parameters.\n" }, - "networkId": { + "planId": { "type": "string", - "description": "The network ID.\n" + "description": "The Observability plan ID.\n" }, - "prefixes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks.\n", - "deprecationMessage": "Use `ipv4_prefixes` to read the prefixes of the IPv4 networks." + "planName": { + "type": "string", + "description": "Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the network is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, - "publicIp": { + "targetsUrl": { "type": "string", - "description": "The public IP of the network.\n" + "description": "Specifies Targets URL.\n" }, - "routed": { - "type": "boolean", - "description": "Shows if the network is routed and therefore accessible from other networks.\n" + "zipkinSpansUrl": { + "type": "string" } }, "type": "object", "required": [ + "acls", + "alertConfig", + "alertingUrl", + "dashboardUrl", + "grafanaInitialAdminPassword", + "grafanaInitialAdminUser", + "grafanaPublicReadAccess", + "grafanaUrl", "id", - "ipv4Gateway", - "ipv4Nameservers", - "ipv4Prefix", - "ipv4PrefixLength", - "ipv4Prefixes", - "ipv6Gateway", - "ipv6Nameservers", - "ipv6Prefix", - "ipv6PrefixLength", - "ipv6Prefixes", - "labels", + "instanceId", + "isUpdatable", + "jaegerTracesUrl", + "jaegerUiUrl", + "logsPushUrl", + "logsUrl", + "metricsPushUrl", + "metricsRetentionDays", + "metricsRetentionDays1hDownsampling", + "metricsRetentionDays5mDownsampling", + "metricsUrl", "name", - "nameservers", - "networkId", - "prefixes", + "otlpTracesUrl", + "parameters", + "planId", + "planName", "projectId", - "publicIp", - "routed" + "targetsUrl", + "zipkinSpansUrl" ] } }, - "stackit:index/getNetworkArea:getNetworkArea": { - "description": "Network area datasource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network_area\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getObservabilityLogalertgroup:getObservabilityLogalertgroup": { + "description": "Observability log alert group datasource schema. Used to create alerts based on logs (Loki). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_logalertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-log-alert-group\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getNetworkArea.\n", + "description": "A collection of arguments for invoking getObservabilityLogalertgroup.\n", "properties": { - "networkAreaId": { + "instanceId": { "type": "string", - "description": "The network area ID.\n" + "description": "Observability instance ID to which the log alert group is associated.\n" }, - "organizationId": { + "name": { + "type": "string", + "description": "The name of the log alert group. Is the identifier and must be unique in the group.\n" + }, + "projectId": { "type": "string", - "description": "STACKIT organization ID to which the network area is associated.\n" + "description": "STACKIT project ID to which the log alert group is associated.\n" } }, "type": "object", "required": [ - "networkAreaId", - "organizationId" + "instanceId", + "name", + "projectId" ] }, "outputs": { - "description": "A collection of values returned by getNetworkArea.\n", + "description": "A collection of values returned by getObservabilityLogalertgroup.\n", "properties": { - "defaultNameservers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of DNS Servers/Nameservers.\n" - }, - "defaultPrefixLength": { - "type": "integer", - "description": "The default prefix length for networks in the network area.\n" - }, "id": { "type": "string" }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" - }, - "maxPrefixLength": { - "type": "integer", - "description": "The maximal prefix length for networks in the network area.\n" + "instanceId": { + "type": "string", + "description": "Observability instance ID to which the log alert group is associated.\n" }, - "minPrefixLength": { - "type": "integer", - "description": "The minimal prefix length for networks in the network area.\n" + "interval": { + "type": "string", + "description": "Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.\n" }, "name": { "type": "string", - "description": "The name of the network area.\n" + "description": "The name of the log alert group. Is the identifier and must be unique in the group.\n" }, - "networkAreaId": { + "projectId": { "type": "string", - "description": "The network area ID.\n" + "description": "STACKIT project ID to which the log alert group is associated.\n" }, - "networkRanges": { + "rules": { "type": "array", "items": { - "$ref": "#/types/stackit:index/getNetworkAreaNetworkRange:getNetworkAreaNetworkRange" - }, - "description": "List of Network ranges.\n" - }, - "organizationId": { - "type": "string", - "description": "STACKIT organization ID to which the network area is associated.\n" - }, - "projectCount": { - "type": "integer", - "description": "The amount of projects currently referencing this area.\n" - }, - "transferNetwork": { - "type": "string", - "description": "Classless Inter-Domain Routing (CIDR).\n" + "$ref": "#/types/stackit:index/getObservabilityLogalertgroupRule:getObservabilityLogalertgroupRule" + } } }, "type": "object", "required": [ - "defaultNameservers", - "defaultPrefixLength", "id", - "labels", - "maxPrefixLength", - "minPrefixLength", + "instanceId", + "interval", "name", - "networkAreaId", - "networkRanges", - "organizationId", - "projectCount", - "transferNetwork" + "projectId", + "rules" ] } }, - "stackit:index/getNetworkAreaRoute:getNetworkAreaRoute": { - "description": "Network area route data resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network_area_route\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_route_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getObservabilityScrapeconfig:getObservabilityScrapeconfig": { + "description": "Observability scrape config data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_scrapeconfig\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getNetworkAreaRoute.\n", + "description": "A collection of arguments for invoking getObservabilityScrapeconfig.\n", "properties": { - "networkAreaId": { + "instanceId": { "type": "string", - "description": "The network area ID to which the network area route is associated.\n" + "description": "Observability instance ID to which the scraping job is associated.\n" }, - "networkAreaRouteId": { + "name": { "type": "string", - "description": "The network area route ID.\n" + "description": "Specifies the name of the scraping job\n" }, - "organizationId": { + "projectId": { "type": "string", - "description": "STACKIT organization ID to which the network area is associated.\n" + "description": "STACKIT project ID to which the scraping job is associated.\n" } }, "type": "object", "required": [ - "networkAreaId", - "networkAreaRouteId", - "organizationId" + "instanceId", + "name", + "projectId" ] }, "outputs": { - "description": "A collection of values returned by getNetworkAreaRoute.\n", + "description": "A collection of values returned by getObservabilityScrapeconfig.\n", "properties": { + "basicAuth": { + "$ref": "#/types/stackit:index/getObservabilityScrapeconfigBasicAuth:getObservabilityScrapeconfigBasicAuth", + "description": "A basic authentication block.\n" + }, "id": { "type": "string" }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a resource container\n" + "instanceId": { + "type": "string", + "description": "Observability instance ID to which the scraping job is associated.\n" }, - "networkAreaId": { + "metricsPath": { "type": "string", - "description": "The network area ID to which the network area route is associated.\n" + "description": "Specifies the job scraping url path.\n" }, - "networkAreaRouteId": { + "name": { "type": "string", - "description": "The network area route ID.\n" + "description": "Specifies the name of the scraping job\n" }, - "nextHop": { + "projectId": { "type": "string", - "description": "The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address.\n" + "description": "STACKIT project ID to which the scraping job is associated.\n" }, - "organizationId": { + "saml2": { + "$ref": "#/types/stackit:index/getObservabilityScrapeconfigSaml2:getObservabilityScrapeconfigSaml2", + "description": "A SAML2 configuration block.\n" + }, + "sampleLimit": { + "type": "integer", + "description": "Specifies the scrape sample limit.\n" + }, + "scheme": { "type": "string", - "description": "STACKIT organization ID to which the network area is associated.\n" + "description": "Specifies the http scheme.\n" }, - "prefix": { + "scrapeInterval": { "type": "string", - "description": "The network, that is reachable though the Next Hop. Should use CIDR notation.\n" + "description": "Specifies the scrape interval as duration string.\n" + }, + "scrapeTimeout": { + "type": "string", + "description": "Specifies the scrape timeout as duration string.\n" + }, + "targets": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getObservabilityScrapeconfigTarget:getObservabilityScrapeconfigTarget" + }, + "description": "The targets list (specified by the static config).\n" } }, "type": "object", "required": [ + "basicAuth", "id", - "labels", - "networkAreaId", - "networkAreaRouteId", - "nextHop", - "organizationId", - "prefix" + "instanceId", + "metricsPath", + "name", + "projectId", + "saml2", + "sampleLimit", + "scheme", + "scrapeInterval", + "scrapeTimeout", + "targets" ] } }, - "stackit:index/getNetworkInterface:getNetworkInterface": { - "description": "Network interface datasource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_network_interface\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_interface_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getOpensearchCredential:getOpensearchCredential": { + "description": "OpenSearch credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_opensearch_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getNetworkInterface.\n", + "description": "A collection of arguments for invoking getOpensearchCredential.\n", "properties": { - "networkId": { + "credentialId": { "type": "string", - "description": "The network ID to which the network interface is associated.\n" + "description": "The credential's ID.\n" }, - "networkInterfaceId": { + "instanceId": { "type": "string", - "description": "The network interface ID.\n" + "description": "ID of the OpenSearch instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the network interface is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" } }, "type": "object", "required": [ - "networkId", - "networkInterfaceId", + "credentialId", + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getNetworkInterface.\n", + "description": "A collection of values returned by getOpensearchCredential.\n", "properties": { - "allowedAddresses": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of CIDR (Classless Inter-Domain Routing) notations.\n" - }, - "device": { + "credentialId": { "type": "string", - "description": "The device UUID of the network interface.\n" + "description": "The credential's ID.\n" }, - "id": { + "host": { "type": "string" }, - "ipv4": { - "type": "string", - "description": "The IPv4 address.\n" - }, - "labels": { - "type": "object", - "additionalProperties": { + "hosts": { + "type": "array", + "items": { "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a network interface.\n" + } }, - "mac": { - "type": "string", - "description": "The MAC address of network interface.\n" + "id": { + "type": "string" }, - "name": { + "instanceId": { "type": "string", - "description": "The name of the network interface.\n" + "description": "ID of the OpenSearch instance.\n" }, - "networkId": { + "password": { "type": "string", - "description": "The network ID to which the network interface is associated.\n" + "secret": true }, - "networkInterfaceId": { - "type": "string", - "description": "The network interface ID.\n" + "port": { + "type": "integer" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the network interface is associated.\n" - }, - "security": { - "type": "boolean", - "description": "The Network Interface Security. If set to false, then no security groups will apply to this network interface.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, - "securityGroupIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of security group UUIDs. If security is set to false, setting this field will lead to an error.\n" + "scheme": { + "type": "string" }, - "type": { + "uri": { "type": "string", - "description": "Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`.\n" + "secret": true + }, + "username": { + "type": "string" } }, "type": "object", "required": [ - "allowedAddresses", - "device", + "credentialId", + "host", + "hosts", "id", - "ipv4", - "labels", - "mac", - "name", - "networkId", - "networkInterfaceId", + "instanceId", + "password", + "port", "projectId", - "security", - "securityGroupIds", - "type" + "scheme", + "uri", + "username" ] } }, - "stackit:index/getObjectstorageBucket:getObjectstorageBucket": { - "description": "ObjectStorage bucket data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_objectstorage_bucket\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-name\"\n}\n```\n", + "stackit:index/getOpensearchInstance:getOpensearchInstance": { + "description": "OpenSearch instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_opensearch_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getObjectstorageBucket.\n", + "description": "A collection of arguments for invoking getOpensearchInstance.\n", "properties": { - "name": { + "instanceId": { "type": "string", - "description": "The bucket name. It must be DNS conform.\n" + "description": "ID of the OpenSearch instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the bucket is associated.\n" - }, - "region": { - "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" } }, "type": "object", "required": [ - "name", + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getObjectstorageBucket.\n", + "description": "A collection of values returned by getOpensearchInstance.\n", "properties": { + "cfGuid": { + "type": "string" + }, + "cfOrganizationGuid": { + "type": "string" + }, + "cfSpaceGuid": { + "type": "string" + }, + "dashboardUrl": { + "type": "string" + }, "id": { "type": "string" }, + "imageUrl": { + "type": "string" + }, + "instanceId": { + "type": "string", + "description": "ID of the OpenSearch instance.\n" + }, "name": { "type": "string", - "description": "The bucket name. It must be DNS conform.\n" + "description": "Instance name.\n" }, - "projectId": { + "parameters": { + "$ref": "#/types/stackit:index/getOpensearchInstanceParameters:getOpensearchInstanceParameters" + }, + "planId": { "type": "string", - "description": "STACKIT Project ID to which the bucket is associated.\n" + "description": "The selected plan ID.\n" }, - "region": { + "planName": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "The selected plan name.\n" }, - "urlPathStyle": { - "type": "string" + "projectId": { + "type": "string", + "description": "STACKIT Project ID to which the instance is associated.\n" }, - "urlVirtualHostedStyle": { - "type": "string" + "version": { + "type": "string", + "description": "The service version.\n" } }, "type": "object", "required": [ + "cfGuid", + "cfOrganizationGuid", + "cfSpaceGuid", + "dashboardUrl", "id", + "imageUrl", + "instanceId", "name", + "parameters", + "planId", + "planName", "projectId", - "urlPathStyle", - "urlVirtualHostedStyle" + "version" ] } }, - "stackit:index/getObjectstorageCredential:getObjectstorageCredential": { - "description": "ObjectStorage credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_objectstorage_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credentials_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getPostgresflexDatabase:getPostgresflexDatabase": { + "description": "Postgres Flex database resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_postgresflex_database\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n database_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getObjectstorageCredential.\n", + "description": "A collection of arguments for invoking getPostgresflexDatabase.\n", "properties": { - "credentialId": { + "databaseId": { "type": "string", - "description": "The credential ID.\n" + "description": "Database ID.\n" }, - "credentialsGroupId": { + "instanceId": { "type": "string", - "description": "The credential group ID.\n" + "description": "ID of the Postgres Flex instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the credential group is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, "region": { "type": "string", @@ -14051,34 +16499,36 @@ }, "type": "object", "required": [ - "credentialId", - "credentialsGroupId", + "databaseId", + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getObjectstorageCredential.\n", + "description": "A collection of values returned by getPostgresflexDatabase.\n", "properties": { - "credentialId": { - "type": "string", - "description": "The credential ID.\n" - }, - "credentialsGroupId": { + "databaseId": { "type": "string", - "description": "The credential group ID.\n" - }, - "expirationTimestamp": { - "type": "string" + "description": "Database ID.\n" }, "id": { "type": "string" }, + "instanceId": { + "type": "string", + "description": "ID of the Postgres Flex instance.\n" + }, "name": { - "type": "string" + "type": "string", + "description": "Database name.\n" + }, + "owner": { + "type": "string", + "description": "Username of the database owner.\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the credential group is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, "region": { "type": "string", @@ -14087,27 +16537,27 @@ }, "type": "object", "required": [ - "credentialId", - "credentialsGroupId", - "expirationTimestamp", + "databaseId", "id", + "instanceId", "name", + "owner", "projectId" ] } }, - "stackit:index/getObjectstorageCredentialsGroup:getObjectstorageCredentialsGroup": { - "description": "ObjectStorage credentials group data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_objectstorage_credentials_group\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credentials_group_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getPostgresflexInstance:getPostgresflexInstance": { + "description": "Postgres Flex instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_postgresflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getObjectstorageCredentialsGroup.\n", + "description": "A collection of arguments for invoking getPostgresflexInstance.\n", "properties": { - "credentialsGroupId": { + "instanceId": { "type": "string", - "description": "The credentials group ID.\n" + "description": "ID of the PostgresFlex instance.\n" }, "projectId": { "type": "string", - "description": "Object Storage Project ID to which the credentials group is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, "region": { "type": "string", @@ -14116,448 +16566,437 @@ }, "type": "object", "required": [ - "credentialsGroupId", + "instanceId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getObjectstorageCredentialsGroup.\n", + "description": "A collection of values returned by getPostgresflexInstance.\n", "properties": { - "credentialsGroupId": { - "type": "string", - "description": "The credentials group ID.\n" + "acls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Access Control List (ACL) for the PostgresFlex instance.\n" + }, + "backupSchedule": { + "type": "string" + }, + "flavor": { + "$ref": "#/types/stackit:index/getPostgresflexInstanceFlavor:getPostgresflexInstanceFlavor" }, "id": { "type": "string" }, + "instanceId": { + "type": "string", + "description": "ID of the PostgresFlex instance.\n" + }, "name": { "type": "string", - "description": "The credentials group's display name.\n" + "description": "Instance name.\n" }, "projectId": { "type": "string", - "description": "Object Storage Project ID to which the credentials group is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, "region": { "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, - "urn": { - "type": "string", - "description": "Credentials group uniform resource name (URN)\n" + "replicas": { + "type": "integer" + }, + "storage": { + "$ref": "#/types/stackit:index/getPostgresflexInstanceStorage:getPostgresflexInstanceStorage" + }, + "version": { + "type": "string" } }, "type": "object", "required": [ - "credentialsGroupId", + "acls", + "backupSchedule", + "flavor", "id", + "instanceId", "name", "projectId", - "urn" + "replicas", + "storage", + "version" ] } }, - "stackit:index/getObservabilityAlertgroup:getObservabilityAlertgroup": { - "description": "Observability alert group datasource schema. Used to create alerts based on metrics (Thanos). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_alertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-alert-group\"\n}\n```\n", + "stackit:index/getPostgresflexUser:getPostgresflexUser": { + "description": "Postgres Flex user data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_postgresflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n user_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getObservabilityAlertgroup.\n", + "description": "A collection of arguments for invoking getPostgresflexUser.\n", "properties": { "instanceId": { "type": "string", - "description": "Observability instance ID to which the alert group is associated.\n" + "description": "ID of the PostgresFlex instance.\n" }, - "name": { + "projectId": { "type": "string", - "description": "The name of the alert group. Is the identifier and must be unique in the group.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, - "projectId": { + "region": { "type": "string", - "description": "STACKIT project ID to which the alert group is associated.\n" + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "userId": { + "type": "string", + "description": "User ID.\n" } }, "type": "object", "required": [ "instanceId", - "name", - "projectId" + "projectId", + "userId" ] }, "outputs": { - "description": "A collection of values returned by getObservabilityAlertgroup.\n", + "description": "A collection of values returned by getPostgresflexUser.\n", "properties": { + "host": { + "type": "string" + }, "id": { "type": "string" }, "instanceId": { "type": "string", - "description": "Observability instance ID to which the alert group is associated.\n" + "description": "ID of the PostgresFlex instance.\n" }, - "interval": { - "type": "string", - "description": "Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.\n" + "port": { + "type": "integer" }, - "name": { + "projectId": { "type": "string", - "description": "The name of the alert group. Is the identifier and must be unique in the group.\n" + "description": "STACKIT project ID to which the instance is associated.\n" }, - "projectId": { + "region": { "type": "string", - "description": "STACKIT project ID to which the alert group is associated.\n" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "rules": { + "roles": { "type": "array", "items": { - "$ref": "#/types/stackit:index/getObservabilityAlertgroupRule:getObservabilityAlertgroupRule" + "type": "string" } + }, + "userId": { + "type": "string", + "description": "User ID.\n" + }, + "username": { + "type": "string" } }, "type": "object", "required": [ + "host", "id", "instanceId", - "interval", - "name", + "port", "projectId", - "rules" + "roles", + "userId", + "username" ] } }, - "stackit:index/getObservabilityInstance:getObservabilityInstance": { - "description": "Observability instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getPublicIp:getPublicIp": { + "description": "Public IP resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_public_ip\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n public_ip_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getObservabilityInstance.\n", + "description": "A collection of arguments for invoking getPublicIp.\n", "properties": { - "instanceId": { + "projectId": { "type": "string", - "description": "The Observability instance ID.\n" + "description": "STACKIT project ID to which the public IP is associated.\n" }, - "projectId": { + "publicIpId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "The public IP ID.\n" } }, "type": "object", "required": [ - "instanceId", - "projectId" + "projectId", + "publicIpId" ] }, "outputs": { - "description": "A collection of values returned by getObservabilityInstance.\n", + "description": "A collection of values returned by getPublicIp.\n", "properties": { - "acls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation.\n" - }, - "alertConfig": { - "$ref": "#/types/stackit:index/getObservabilityInstanceAlertConfig:getObservabilityInstanceAlertConfig", - "description": "Alert configuration for the instance.\n" - }, - "alertingUrl": { - "type": "string", - "description": "Specifies Alerting URL.\n" - }, - "dashboardUrl": { - "type": "string", - "description": "Specifies Observability instance dashboard URL.\n" - }, - "grafanaInitialAdminPassword": { - "type": "string", - "description": "Specifies an initial Grafana admin password.\n", - "secret": true - }, - "grafanaInitialAdminUser": { - "type": "string", - "description": "Specifies an initial Grafana admin username.\n" - }, - "grafanaPublicReadAccess": { - "type": "boolean", - "description": "If true, anyone can access Grafana dashboards without logging in.\n" - }, - "grafanaUrl": { - "type": "string", - "description": "Specifies Grafana URL.\n" - }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "The Observability instance ID.\n" - }, - "isUpdatable": { - "type": "boolean", - "description": "Specifies if the instance can be updated.\n" - }, - "jaegerTracesUrl": { - "type": "string" - }, - "jaegerUiUrl": { - "type": "string" - }, - "logsPushUrl": { - "type": "string", - "description": "Specifies URL for pushing logs.\n" - }, - "logsUrl": { - "type": "string", - "description": "Specifies Logs URL.\n" - }, - "metricsPushUrl": { - "type": "string", - "description": "Specifies URL for pushing metrics.\n" - }, - "metricsRetentionDays": { - "type": "integer", - "description": "Specifies for how many days the raw metrics are kept.\n" - }, - "metricsRetentionDays1hDownsampling": { - "type": "integer", - "description": "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled).\n" - }, - "metricsRetentionDays5mDownsampling": { - "type": "integer", - "description": "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled).\n" - }, - "metricsUrl": { - "type": "string", - "description": "Specifies metrics URL.\n" - }, - "name": { + "ip": { "type": "string", - "description": "The name of the Observability instance.\n" - }, - "otlpTracesUrl": { - "type": "string" + "description": "The IP address.\n" }, - "parameters": { + "labels": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Additional parameters.\n" - }, - "planId": { - "type": "string", - "description": "The Observability plan ID.\n" + "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "planName": { + "networkInterfaceId": { "type": "string", - "description": "Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`.\n" + "description": "Associates the public IP with a network interface or a virtual IP (ID).\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT project ID to which the public IP is associated.\n" }, - "targetsUrl": { + "publicIpId": { "type": "string", - "description": "Specifies Targets URL.\n" + "description": "The public IP ID.\n" + } + }, + "type": "object", + "required": [ + "id", + "ip", + "labels", + "networkInterfaceId", + "projectId", + "publicIpId" + ] + } + }, + "stackit:index/getPublicIpRanges:getPublicIpRanges": { + "description": "A list of all public IP ranges that STACKIT uses.\n\n## Example Usage\n\n```terraform\ndata \"stackit_public_ip_ranges\" \"example\" {}\n\n# example usage: allow stackit services and customer vpn cidr to access observability apis\nlocals {\n vpn_cidrs = [\"X.X.X.X/32\", \"X.X.X.X/24\"]\n}\n\nresource \"stackit_observability_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-instance\"\n plan_name = \"Observability-Monitoring-Medium-EU01\"\n # Allow all stackit services and customer vpn cidr to access observability apis\n acl = concat(data.stackit_public_ip_ranges.example.cidr_list, local.vpn_cidrs)\n metrics_retention_days = 90\n metrics_retention_days_5m_downsampling = 90\n metrics_retention_days_1h_downsampling = 90\n}\n```\n", + "outputs": { + "description": "A collection of values returned by getPublicIpRanges.\n", + "properties": { + "cidrLists": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of IP range strings (CIDRs) extracted from the public*ip*ranges for easy consumption.\n" }, - "zipkinSpansUrl": { + "id": { "type": "string" + }, + "publicIpRanges": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getPublicIpRangesPublicIpRange:getPublicIpRangesPublicIpRange" + }, + "description": "A list of all public IP ranges.\n" } }, "type": "object", "required": [ - "acls", - "alertConfig", - "alertingUrl", - "dashboardUrl", - "grafanaInitialAdminPassword", - "grafanaInitialAdminUser", - "grafanaPublicReadAccess", - "grafanaUrl", + "cidrLists", "id", - "instanceId", - "isUpdatable", - "jaegerTracesUrl", - "jaegerUiUrl", - "logsPushUrl", - "logsUrl", - "metricsPushUrl", - "metricsRetentionDays", - "metricsRetentionDays1hDownsampling", - "metricsRetentionDays5mDownsampling", - "metricsUrl", - "name", - "otlpTracesUrl", - "parameters", - "planId", - "planName", - "projectId", - "targetsUrl", - "zipkinSpansUrl" + "publicIpRanges" ] } }, - "stackit:index/getObservabilityLogalertgroup:getObservabilityLogalertgroup": { - "description": "Observability log alert group datasource schema. Used to create alerts based on logs (Loki). Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_logalertgroup\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-log-alert-group\"\n}\n```\n", + "stackit:index/getRabbitmqCredential:getRabbitmqCredential": { + "description": "RabbitMQ credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_rabbitmq_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getObservabilityLogalertgroup.\n", + "description": "A collection of arguments for invoking getRabbitmqCredential.\n", "properties": { - "instanceId": { + "credentialId": { "type": "string", - "description": "Observability instance ID to which the log alert group is associated.\n" + "description": "The credential's ID.\n" }, - "name": { + "instanceId": { "type": "string", - "description": "The name of the log alert group. Is the identifier and must be unique in the group.\n" + "description": "ID of the RabbitMQ instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the log alert group is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" } }, "type": "object", "required": [ + "credentialId", "instanceId", - "name", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getObservabilityLogalertgroup.\n", + "description": "A collection of values returned by getRabbitmqCredential.\n", "properties": { + "credentialId": { + "type": "string", + "description": "The credential's ID.\n" + }, + "host": { + "type": "string" + }, + "hosts": { + "type": "array", + "items": { + "type": "string" + } + }, + "httpApiUri": { + "type": "string" + }, + "httpApiUris": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" }, "instanceId": { "type": "string", - "description": "Observability instance ID to which the log alert group is associated.\n" + "description": "ID of the RabbitMQ instance.\n" }, - "interval": { - "type": "string", - "description": "Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.\n" + "management": { + "type": "string" }, - "name": { + "password": { "type": "string", - "description": "The name of the log alert group. Is the identifier and must be unique in the group.\n" + "secret": true + }, + "port": { + "type": "integer" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the log alert group is associated.\n" + "description": "STACKIT project ID to which the instance is associated.\n" + }, + "uri": { + "type": "string", + "secret": true }, - "rules": { + "uris": { "type": "array", "items": { - "$ref": "#/types/stackit:index/getObservabilityLogalertgroupRule:getObservabilityLogalertgroupRule" + "type": "string" } + }, + "username": { + "type": "string" } }, "type": "object", "required": [ + "credentialId", + "host", + "hosts", + "httpApiUri", + "httpApiUris", "id", "instanceId", - "interval", - "name", + "management", + "password", + "port", "projectId", - "rules" + "uri", + "uris", + "username" ] } }, - "stackit:index/getObservabilityScrapeconfig:getObservabilityScrapeconfig": { - "description": "Observability scrape config data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_observability_scrapeconfig\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example\"\n}\n```\n", + "stackit:index/getRabbitmqInstance:getRabbitmqInstance": { + "description": "RabbitMQ instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_rabbitmq_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getObservabilityScrapeconfig.\n", + "description": "A collection of arguments for invoking getRabbitmqInstance.\n", "properties": { "instanceId": { "type": "string", - "description": "Observability instance ID to which the scraping job is associated.\n" - }, - "name": { - "type": "string", - "description": "Specifies the name of the scraping job\n" + "description": "ID of the RabbitMQ instance.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the scraping job is associated.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" } }, "type": "object", "required": [ "instanceId", - "name", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getObservabilityScrapeconfig.\n", + "description": "A collection of values returned by getRabbitmqInstance.\n", "properties": { - "basicAuth": { - "$ref": "#/types/stackit:index/getObservabilityScrapeconfigBasicAuth:getObservabilityScrapeconfigBasicAuth", - "description": "A basic authentication block.\n" + "cfGuid": { + "type": "string" + }, + "cfOrganizationGuid": { + "type": "string" + }, + "cfSpaceGuid": { + "type": "string" + }, + "dashboardUrl": { + "type": "string" }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "Observability instance ID to which the scraping job is associated.\n" + "imageUrl": { + "type": "string" }, - "metricsPath": { + "instanceId": { "type": "string", - "description": "Specifies the job scraping url path.\n" + "description": "ID of the RabbitMQ instance.\n" }, "name": { "type": "string", - "description": "Specifies the name of the scraping job\n" - }, - "projectId": { - "type": "string", - "description": "STACKIT project ID to which the scraping job is associated.\n" - }, - "saml2": { - "$ref": "#/types/stackit:index/getObservabilityScrapeconfigSaml2:getObservabilityScrapeconfigSaml2", - "description": "A SAML2 configuration block.\n" + "description": "Instance name.\n" }, - "sampleLimit": { - "type": "integer", - "description": "Specifies the scrape sample limit.\n" + "parameters": { + "$ref": "#/types/stackit:index/getRabbitmqInstanceParameters:getRabbitmqInstanceParameters" }, - "scheme": { + "planId": { "type": "string", - "description": "Specifies the http scheme.\n" + "description": "The selected plan ID.\n" }, - "scrapeInterval": { + "planName": { "type": "string", - "description": "Specifies the scrape interval as duration string.\n" + "description": "The selected plan name.\n" }, - "scrapeTimeout": { + "projectId": { "type": "string", - "description": "Specifies the scrape timeout as duration string.\n" + "description": "STACKIT Project ID to which the instance is associated.\n" }, - "targets": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/getObservabilityScrapeconfigTarget:getObservabilityScrapeconfigTarget" - }, - "description": "The targets list (specified by the static config).\n" + "version": { + "type": "string", + "description": "The service version.\n" } }, "type": "object", "required": [ - "basicAuth", + "cfGuid", + "cfOrganizationGuid", + "cfSpaceGuid", + "dashboardUrl", "id", + "imageUrl", "instanceId", - "metricsPath", "name", + "parameters", + "planId", + "planName", "projectId", - "saml2", - "sampleLimit", - "scheme", - "scrapeInterval", - "scrapeTimeout", - "targets" + "version" ] } }, - "stackit:index/getOpensearchCredential:getOpensearchCredential": { - "description": "OpenSearch credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_opensearch_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getRedisCredential:getRedisCredential": { + "description": "Redis credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_redis_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getOpensearchCredential.\n", + "description": "A collection of arguments for invoking getRedisCredential.\n", "properties": { "credentialId": { "type": "string", @@ -14565,7 +17004,7 @@ }, "instanceId": { "type": "string", - "description": "ID of the OpenSearch instance.\n" + "description": "ID of the Redis instance.\n" }, "projectId": { "type": "string", @@ -14580,7 +17019,7 @@ ] }, "outputs": { - "description": "A collection of values returned by getOpensearchCredential.\n", + "description": "A collection of values returned by getRedisCredential.\n", "properties": { "credentialId": { "type": "string", @@ -14600,7 +17039,10 @@ }, "instanceId": { "type": "string", - "description": "ID of the OpenSearch instance.\n" + "description": "ID of the Redis instance.\n" + }, + "loadBalancedHost": { + "type": "string" }, "password": { "type": "string", @@ -14613,11 +17055,9 @@ "type": "string", "description": "STACKIT project ID to which the instance is associated.\n" }, - "scheme": { - "type": "string" - }, "uri": { "type": "string", + "description": "Connection URI.\n", "secret": true }, "username": { @@ -14631,23 +17071,23 @@ "hosts", "id", "instanceId", + "loadBalancedHost", "password", "port", "projectId", - "scheme", "uri", "username" ] } }, - "stackit:index/getOpensearchInstance:getOpensearchInstance": { - "description": "OpenSearch instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_opensearch_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getRedisInstance:getRedisInstance": { + "description": "Redis instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_redis_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getOpensearchInstance.\n", + "description": "A collection of arguments for invoking getRedisInstance.\n", "properties": { "instanceId": { "type": "string", - "description": "ID of the OpenSearch instance.\n" + "description": "ID of the Redis instance.\n" }, "projectId": { "type": "string", @@ -14661,7 +17101,7 @@ ] }, "outputs": { - "description": "A collection of values returned by getOpensearchInstance.\n", + "description": "A collection of values returned by getRedisInstance.\n", "properties": { "cfGuid": { "type": "string" @@ -14683,14 +17123,14 @@ }, "instanceId": { "type": "string", - "description": "ID of the OpenSearch instance.\n" + "description": "ID of the Redis instance.\n" }, "name": { "type": "string", "description": "Instance name.\n" }, "parameters": { - "$ref": "#/types/stackit:index/getOpensearchInstanceParameters:getOpensearchInstanceParameters" + "$ref": "#/types/stackit:index/getRedisInstanceParameters:getRedisInstanceParameters" }, "planId": { "type": "string", @@ -14727,271 +17167,284 @@ ] } }, - "stackit:index/getPostgresflexDatabase:getPostgresflexDatabase": { - "description": "Postgres Flex database resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_postgresflex_database\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n database_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getResourcemanagerFolder:getResourcemanagerFolder": { + "description": "Resource Manager folder data source schema. To identify the folder, you need to provide the container_id.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_resourcemanager_folder\" \"example\" {\n container_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getPostgresflexDatabase.\n", + "description": "A collection of arguments for invoking getResourcemanagerFolder.\n", "properties": { - "databaseId": { - "type": "string", - "description": "Database ID.\n" - }, - "instanceId": { - "type": "string", - "description": "ID of the Postgres Flex instance.\n" - }, - "projectId": { - "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" - }, - "region": { + "containerId": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "Folder container ID. Globally unique, user-friendly identifier.\n" } }, "type": "object", "required": [ - "databaseId", - "instanceId", - "projectId" + "containerId" ] }, "outputs": { - "description": "A collection of values returned by getPostgresflexDatabase.\n", + "description": "A collection of values returned by getResourcemanagerFolder.\n", "properties": { - "databaseId": { + "containerId": { "type": "string", - "description": "Database ID.\n" + "description": "Folder container ID. Globally unique, user-friendly identifier.\n" + }, + "creationTime": { + "type": "string", + "description": "Date-time at which the folder was created.\n" + }, + "folderId": { + "type": "string", + "description": "Folder UUID identifier. Globally unique folder identifier\n" }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "ID of the Postgres Flex instance.\n" + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}.\n" }, "name": { "type": "string", - "description": "Database name.\n" - }, - "owner": { - "type": "string", - "description": "Username of the database owner.\n" + "description": "The name of the folder.\n" }, - "projectId": { + "parentContainerId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported.\n" }, - "region": { + "updateTime": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "Date-time at which the folder was last modified.\n" } }, "type": "object", "required": [ - "databaseId", + "containerId", + "creationTime", + "folderId", "id", - "instanceId", + "labels", "name", - "owner", - "projectId" + "parentContainerId", + "updateTime" ] } }, - "stackit:index/getPostgresflexInstance:getPostgresflexInstance": { - "description": "Postgres Flex instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_postgresflex_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getResourcemanagerProject:getResourcemanagerProject": { + "description": "Resource Manager project data source schema. To identify the project, you need to provider either project_id or container_id. If you provide both, project_id will be used.\n\n## Example Usage\n\n```terraform\ndata \"stackit_resourcemanager_project\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n container_id = \"example-container-abc123\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getPostgresflexInstance.\n", + "description": "A collection of arguments for invoking getResourcemanagerProject.\n", "properties": { - "instanceId": { + "containerId": { "type": "string", - "description": "ID of the PostgresFlex instance.\n" + "description": "Project container ID. Globally unique, user-friendly identifier.\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" - }, - "region": { - "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" + "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.\n" } }, - "type": "object", - "required": [ - "instanceId", - "projectId" - ] + "type": "object" }, "outputs": { - "description": "A collection of values returned by getPostgresflexInstance.\n", + "description": "A collection of values returned by getResourcemanagerProject.\n", "properties": { - "acls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Access Control List (ACL) for the PostgresFlex instance.\n" - }, - "backupSchedule": { - "type": "string" + "containerId": { + "type": "string", + "description": "Project container ID. Globally unique, user-friendly identifier.\n" }, - "flavor": { - "$ref": "#/types/stackit:index/getPostgresflexInstanceFlavor:getPostgresflexInstanceFlavor" + "creationTime": { + "type": "string", + "description": "Date-time at which the project was created.\n" }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "ID of the PostgresFlex instance.\n" + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}\n" }, "name": { "type": "string", - "description": "Instance name.\n" + "description": "Project name.\n" + }, + "parentContainerId": { + "type": "string", + "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.\n" }, - "region": { + "updateTime": { "type": "string", - "description": "The resource region. If not defined, the provider region is used.\n" - }, - "replicas": { - "type": "integer" - }, - "storage": { - "$ref": "#/types/stackit:index/getPostgresflexInstanceStorage:getPostgresflexInstanceStorage" - }, - "version": { - "type": "string" + "description": "Date-time at which the project was last modified.\n" } }, "type": "object", "required": [ - "acls", - "backupSchedule", - "flavor", + "creationTime", "id", - "instanceId", + "labels", "name", - "projectId", - "replicas", - "storage", - "version" + "parentContainerId", + "updateTime" ] } }, - "stackit:index/getPostgresflexUser:getPostgresflexUser": { - "description": "Postgres Flex user data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_postgresflex_user\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n user_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getRoutingTable:getRoutingTable": { + "description": "Routing table datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\ndata \"stackit_routing_table\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n routing_table_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getPostgresflexUser.\n", + "description": "A collection of arguments for invoking getRoutingTable.\n", "properties": { - "instanceId": { + "networkAreaId": { "type": "string", - "description": "ID of the PostgresFlex instance.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, "region": { "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, - "userId": { + "routingTableId": { "type": "string", - "description": "User ID.\n" + "description": "The routing tables ID.\n" } }, "type": "object", "required": [ - "instanceId", - "projectId", - "userId" + "networkAreaId", + "organizationId", + "routingTableId" ] }, "outputs": { - "description": "A collection of values returned by getPostgresflexUser.\n", + "description": "A collection of values returned by getRoutingTable.\n", "properties": { - "host": { - "type": "string" + "createdAt": { + "type": "string", + "description": "Date-time when the routing table was created\n" + }, + "default": { + "type": "boolean", + "description": "When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.\n" + }, + "description": { + "type": "string", + "description": "Description of the routing table.\n" }, "id": { "type": "string" }, - "instanceId": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Labels are key-value string pairs which can be attached to a resource container\n" + }, + "name": { "type": "string", - "description": "ID of the PostgresFlex instance.\n" + "description": "The name of the routing table.\n" }, - "port": { - "type": "integer" + "networkAreaId": { + "type": "string", + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, "region": { "type": "string", "description": "The resource region. If not defined, the provider region is used.\n" }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "userId": { + "routingTableId": { "type": "string", - "description": "User ID.\n" + "description": "The routing tables ID.\n" }, - "username": { - "type": "string" + "systemRoutes": { + "type": "boolean", + "description": "This controls whether the routes for project-to-project communication are created automatically or not.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the routing table was updated\n" } }, "type": "object", "required": [ - "host", + "createdAt", + "default", + "description", "id", - "instanceId", - "port", - "projectId", - "roles", - "userId", - "username" + "labels", + "name", + "networkAreaId", + "organizationId", + "routingTableId", + "systemRoutes", + "updatedAt" ] } }, - "stackit:index/getPublicIp:getPublicIp": { - "description": "Public IP resource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_public_ip\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n public_ip_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getRoutingTableRoute:getRoutingTableRoute": { + "description": "Routing table route datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\ndata \"stackit_routing_table_route\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n routing_table_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n route_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getPublicIp.\n", + "description": "A collection of arguments for invoking getRoutingTableRoute.\n", "properties": { - "projectId": { + "networkAreaId": { "type": "string", - "description": "STACKIT project ID to which the public IP is associated.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "publicIpId": { + "organizationId": { "type": "string", - "description": "The public IP ID.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "routeId": { + "type": "string", + "description": "Route ID.\n" + }, + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" } }, "type": "object", "required": [ - "projectId", - "publicIpId" + "networkAreaId", + "organizationId", + "routeId", + "routingTableId" ] }, "outputs": { - "description": "A collection of values returned by getPublicIp.\n", + "description": "A collection of values returned by getRoutingTableRoute.\n", "properties": { + "createdAt": { + "type": "string", + "description": "Date-time when the route was created\n" + }, + "destination": { + "$ref": "#/types/stackit:index/getRoutingTableRouteDestination:getRoutingTableRouteDestination", + "description": "Destination of the route.\n" + }, "id": { "type": "string" }, - "ip": { - "type": "string", - "description": "The IP address.\n" - }, "labels": { "type": "object", "additionalProperties": { @@ -14999,470 +17452,411 @@ }, "description": "Labels are key-value string pairs which can be attached to a resource container\n" }, - "networkInterfaceId": { + "networkAreaId": { "type": "string", - "description": "Associates the public IP with a network interface or a virtual IP (ID).\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "nextHop": { + "$ref": "#/types/stackit:index/getRoutingTableRouteNextHop:getRoutingTableRouteNextHop", + "description": "Next hop destination.\n" + }, + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the public IP is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "publicIpId": { + "region": { "type": "string", - "description": "The public IP ID.\n" - } - }, - "type": "object", - "required": [ - "id", - "ip", - "labels", - "networkInterfaceId", - "projectId", - "publicIpId" - ] - } - }, - "stackit:index/getPublicIpRanges:getPublicIpRanges": { - "description": "A list of all public IP ranges that STACKIT uses.\n\n## Example Usage\n\n```terraform\ndata \"stackit_public_ip_ranges\" \"example\" {}\n```\n", - "outputs": { - "description": "A collection of values returned by getPublicIpRanges.\n", - "properties": { - "id": { - "type": "string" + "description": "The resource region. If not defined, the provider region is used.\n" }, - "publicIpRanges": { - "type": "array", - "items": { - "$ref": "#/types/stackit:index/getPublicIpRangesPublicIpRange:getPublicIpRangesPublicIpRange" - }, - "description": "A list of all public IP ranges.\n" + "routeId": { + "type": "string", + "description": "Route ID.\n" + }, + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" + }, + "updatedAt": { + "type": "string", + "description": "Date-time when the route was updated\n" } }, "type": "object", "required": [ + "createdAt", + "destination", "id", - "publicIpRanges" + "labels", + "networkAreaId", + "nextHop", + "organizationId", + "routeId", + "routingTableId", + "updatedAt" ] } }, - "stackit:index/getRabbitmqCredential:getRabbitmqCredential": { - "description": "RabbitMQ credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_rabbitmq_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getRoutingTableRoutes:getRoutingTableRoutes": { + "description": "Routing table routes datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\ndata \"stackit_routing_table_routes\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n routing_table_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getRabbitmqCredential.\n", + "description": "A collection of arguments for invoking getRoutingTableRoutes.\n", "properties": { - "credentialId": { + "networkAreaId": { "type": "string", - "description": "The credential's ID.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "instanceId": { + "organizationId": { "type": "string", - "description": "ID of the RabbitMQ instance.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "projectId": { + "region": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "The datasource region. If not defined, the provider region is used.\n" + }, + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" } }, "type": "object", "required": [ - "credentialId", - "instanceId", - "projectId" + "networkAreaId", + "organizationId", + "routingTableId" ] }, "outputs": { - "description": "A collection of values returned by getRabbitmqCredential.\n", + "description": "A collection of values returned by getRoutingTableRoutes.\n", "properties": { - "credentialId": { - "type": "string", - "description": "The credential's ID.\n" - }, - "host": { - "type": "string" - }, - "hosts": { - "type": "array", - "items": { - "type": "string" - } - }, - "httpApiUri": { - "type": "string" - }, - "httpApiUris": { - "type": "array", - "items": { - "type": "string" - } - }, "id": { "type": "string" }, - "instanceId": { - "type": "string", - "description": "ID of the RabbitMQ instance.\n" - }, - "management": { - "type": "string" - }, - "password": { + "networkAreaId": { "type": "string", - "secret": true - }, - "port": { - "type": "integer" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "uri": { + "region": { "type": "string", - "secret": true + "description": "The datasource region. If not defined, the provider region is used.\n" }, - "uris": { + "routes": { "type": "array", "items": { - "type": "string" - } + "$ref": "#/types/stackit:index/getRoutingTableRoutesRoute:getRoutingTableRoutesRoute" + }, + "description": "List of routes.\n" }, - "username": { - "type": "string" + "routingTableId": { + "type": "string", + "description": "The routing tables ID.\n" } }, "type": "object", "required": [ - "credentialId", - "host", - "hosts", - "httpApiUri", - "httpApiUris", - "id", - "instanceId", - "management", - "password", - "port", - "projectId", - "uri", - "uris", - "username" + "id", + "networkAreaId", + "organizationId", + "routes", + "routingTableId" ] } }, - "stackit:index/getRabbitmqInstance:getRabbitmqInstance": { - "description": "RabbitMQ instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_rabbitmq_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getRoutingTables:getRoutingTables": { + "description": "Routing table datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\ndata \"stackit_routing_tables\" \"example\" {\n organization_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n network_area_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getRabbitmqInstance.\n", + "description": "A collection of arguments for invoking getRoutingTables.\n", "properties": { - "instanceId": { + "networkAreaId": { "type": "string", - "description": "ID of the RabbitMQ instance.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ - "instanceId", - "projectId" + "networkAreaId", + "organizationId" ] }, "outputs": { - "description": "A collection of values returned by getRabbitmqInstance.\n", + "description": "A collection of values returned by getRoutingTables.\n", "properties": { - "cfGuid": { - "type": "string" - }, - "cfOrganizationGuid": { - "type": "string" - }, - "cfSpaceGuid": { - "type": "string" - }, - "dashboardUrl": { - "type": "string" - }, "id": { "type": "string" }, - "imageUrl": { - "type": "string" - }, - "instanceId": { - "type": "string", - "description": "ID of the RabbitMQ instance.\n" - }, - "name": { - "type": "string", - "description": "Instance name.\n" - }, - "parameters": { - "$ref": "#/types/stackit:index/getRabbitmqInstanceParameters:getRabbitmqInstanceParameters" - }, - "planId": { - "type": "string", - "description": "The selected plan ID.\n" + "items": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getRoutingTablesItem:getRoutingTablesItem" + }, + "description": "List of routing tables.\n" }, - "planName": { + "networkAreaId": { "type": "string", - "description": "The selected plan name.\n" + "description": "The network area ID to which the routing table is associated.\n" }, - "projectId": { + "organizationId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "STACKIT organization ID to which the routing table is associated.\n" }, - "version": { + "region": { "type": "string", - "description": "The service version.\n" + "description": "The resource region. If not defined, the provider region is used.\n" } }, "type": "object", "required": [ - "cfGuid", - "cfOrganizationGuid", - "cfSpaceGuid", - "dashboardUrl", "id", - "imageUrl", - "instanceId", - "name", - "parameters", - "planId", - "planName", - "projectId", - "version" + "items", + "networkAreaId", + "organizationId" ] } }, - "stackit:index/getRedisCredential:getRedisCredential": { - "description": "Redis credential data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_redis_credential\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n credential_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getScfOrganization:getScfOrganization": { + "description": "STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_scf_organization\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n org_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getRedisCredential.\n", + "description": "A collection of arguments for invoking getScfOrganization.\n", "properties": { - "credentialId": { + "orgId": { "type": "string", - "description": "The credential's ID.\n" + "description": "The ID of the Cloud Foundry Organization\n" }, - "instanceId": { + "projectId": { "type": "string", - "description": "ID of the Redis instance.\n" + "description": "The ID of the project associated with the organization\n" }, - "projectId": { + "region": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "The resource region. If not defined, the provider region is used\n" } }, "type": "object", "required": [ - "credentialId", - "instanceId", + "orgId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getRedisCredential.\n", + "description": "A collection of values returned by getScfOrganization.\n", "properties": { - "credentialId": { + "createdAt": { "type": "string", - "description": "The credential's ID.\n" - }, - "host": { - "type": "string" - }, - "hosts": { - "type": "array", - "items": { - "type": "string" - } + "description": "The time when the organization was created\n" }, "id": { "type": "string" }, - "instanceId": { + "name": { "type": "string", - "description": "ID of the Redis instance.\n" + "description": "The name of the organization\n" }, - "loadBalancedHost": { - "type": "string" - }, - "password": { + "orgId": { "type": "string", - "secret": true + "description": "The ID of the Cloud Foundry Organization\n" }, - "port": { - "type": "integer" + "platformId": { + "type": "string", + "description": "The ID of the platform associated with the organization\n" }, "projectId": { "type": "string", - "description": "STACKIT project ID to which the instance is associated.\n" + "description": "The ID of the project associated with the organization\n" }, - "uri": { + "quotaId": { "type": "string", - "description": "Connection URI.\n", - "secret": true + "description": "The ID of the quota associated with the organization\n" }, - "username": { - "type": "string" + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used\n" + }, + "status": { + "type": "string", + "description": "The status of the organization (e.g., deleting, delete_failed)\n" + }, + "suspended": { + "type": "boolean", + "description": "A boolean indicating whether the organization is suspended\n" + }, + "updatedAt": { + "type": "string", + "description": "The time when the organization was last updated\n" } }, "type": "object", "required": [ - "credentialId", - "host", - "hosts", + "createdAt", "id", - "instanceId", - "loadBalancedHost", - "password", - "port", + "name", + "orgId", + "platformId", "projectId", - "uri", - "username" + "quotaId", + "region", + "status", + "suspended", + "updatedAt" ] } }, - "stackit:index/getRedisInstance:getRedisInstance": { - "description": "Redis instance data source schema. Must have a `region` specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_redis_instance\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n instance_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "stackit:index/getScfOrganizationManager:getScfOrganizationManager": { + "description": "STACKIT Cloud Foundry organization manager datasource schema.\n\n## Example Usage\n\n```terraform\ndata \"stackit_scf_organization_manager\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n org_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getRedisInstance.\n", + "description": "A collection of arguments for invoking getScfOrganizationManager.\n", "properties": { - "instanceId": { + "orgId": { "type": "string", - "description": "ID of the Redis instance.\n" + "description": "The ID of the Cloud Foundry Organization\n" }, "projectId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "The ID of the project associated with the organization of the organization manager\n" + }, + "region": { + "type": "string", + "description": "The region where the organization of the organization manager is located. If not defined, the provider region is used\n" } }, "type": "object", "required": [ - "instanceId", + "orgId", "projectId" ] }, "outputs": { - "description": "A collection of values returned by getRedisInstance.\n", + "description": "A collection of values returned by getScfOrganizationManager.\n", "properties": { - "cfGuid": { - "type": "string" - }, - "cfOrganizationGuid": { - "type": "string" - }, - "cfSpaceGuid": { - "type": "string" - }, - "dashboardUrl": { - "type": "string" + "createdAt": { + "type": "string", + "description": "The time when the organization manager was created\n" }, "id": { "type": "string" }, - "imageUrl": { - "type": "string" - }, - "instanceId": { + "orgId": { "type": "string", - "description": "ID of the Redis instance.\n" + "description": "The ID of the Cloud Foundry Organization\n" }, - "name": { + "platformId": { "type": "string", - "description": "Instance name.\n" + "description": "The ID of the platform associated with the organization of the organization manager\n" }, - "parameters": { - "$ref": "#/types/stackit:index/getRedisInstanceParameters:getRedisInstanceParameters" + "projectId": { + "type": "string", + "description": "The ID of the project associated with the organization of the organization manager\n" }, - "planId": { + "region": { "type": "string", - "description": "The selected plan ID.\n" + "description": "The region where the organization of the organization manager is located. If not defined, the provider region is used\n" }, - "planName": { + "updatedAt": { "type": "string", - "description": "The selected plan name.\n" + "description": "The time when the organization manager was last updated\n" }, - "projectId": { + "userId": { "type": "string", - "description": "STACKIT Project ID to which the instance is associated.\n" + "description": "The ID of the organization manager user\n" }, - "version": { + "username": { "type": "string", - "description": "The service version.\n" + "description": "An auto-generated organization manager user name\n" } }, "type": "object", "required": [ - "cfGuid", - "cfOrganizationGuid", - "cfSpaceGuid", - "dashboardUrl", + "createdAt", "id", - "imageUrl", - "instanceId", - "name", - "parameters", - "planId", - "planName", + "orgId", + "platformId", "projectId", - "version" + "region", + "updatedAt", + "userId", + "username" ] } }, - "stackit:index/getResourcemanagerProject:getResourcemanagerProject": { - "description": "Resource Manager project data source schema. To identify the project, you need to provider either project_id or container_id. If you provide both, project_id will be used.\n\n## Example Usage\n\n```terraform\ndata \"stackit_resourcemanager_project\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n container_id = \"example-container-abc123\"\n}\n```\n", + "stackit:index/getScfPlatform:getScfPlatform": { + "description": "STACKIT Cloud Foundry Platform datasource schema.\n\n## Example Usage\n\n```terraform\ndata \"stackit_scf_platform\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n platform_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { - "description": "A collection of arguments for invoking getResourcemanagerProject.\n", + "description": "A collection of arguments for invoking getScfPlatform.\n", "properties": { - "containerId": { + "platformId": { "type": "string", - "description": "Project container ID. Globally unique, user-friendly identifier.\n" + "description": "The unique id of the platform\n" }, "projectId": { "type": "string", - "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.\n" + "description": "The ID of the project associated with the platform\n" + }, + "region": { + "type": "string", + "description": "The region where the platform is located. If not defined, the provider region is used\n" } }, - "type": "object" + "type": "object", + "required": [ + "platformId", + "projectId" + ] }, "outputs": { - "description": "A collection of values returned by getResourcemanagerProject.\n", + "description": "A collection of values returned by getScfPlatform.\n", "properties": { - "containerId": { + "apiUrl": { "type": "string", - "description": "Project container ID. Globally unique, user-friendly identifier.\n" + "description": "The CF API Url of the platform\n" + }, + "consoleUrl": { + "type": "string", + "description": "The Stratos URL of the platform\n" + }, + "displayName": { + "type": "string", + "description": "The name of the platform\n" }, "id": { "type": "string" }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}\n" + "platformId": { + "type": "string", + "description": "The unique id of the platform\n" }, - "name": { + "projectId": { "type": "string", - "description": "Project name.\n" + "description": "The ID of the project associated with the platform\n" }, - "parentContainerId": { + "region": { "type": "string", - "description": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported\n" + "description": "The region where the platform is located. If not defined, the provider region is used\n" }, - "projectId": { + "systemId": { "type": "string", - "description": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.\n" + "description": "The ID of the platform System\n" } }, "type": "object", "required": [ + "apiUrl", + "consoleUrl", + "displayName", "id", - "labels", - "name", - "parentContainerId" + "platformId", + "projectId", + "region", + "systemId" ] } }, @@ -15864,7 +18258,7 @@ } }, "stackit:index/getServerBackupSchedule:getServerBackupSchedule": { - "description": "Server backup schedule datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_backup_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n backup_schedule_id = xxxxx\n}\n```\n", + "description": "Server backup schedule datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_backup_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n backup_schedule_id = xxxxx\n}\n```\n", "inputs": { "description": "A collection of arguments for invoking getServerBackupSchedule.\n", "properties": { @@ -15945,7 +18339,7 @@ } }, "stackit:index/getServerBackupSchedules:getServerBackupSchedules": { - "description": "Server backup schedules datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_backup_schedules\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "Server backup schedules datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_backup_schedules\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { "description": "A collection of arguments for invoking getServerBackupSchedules.\n", "properties": { @@ -16003,7 +18397,7 @@ } }, "stackit:index/getServerUpdateSchedule:getServerUpdateSchedule": { - "description": "Server update schedule datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_update_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n update_schedule_id = xxxxx\n}\n```\n", + "description": "Server update schedule datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_update_schedule\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n update_schedule_id = xxxxx\n}\n```\n", "inputs": { "description": "A collection of arguments for invoking getServerUpdateSchedule.\n", "properties": { @@ -16084,7 +18478,7 @@ } }, "stackit:index/getServerUpdateSchedules:getServerUpdateSchedules": { - "description": "Server update schedules datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_update_schedules\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "description": "Server update schedules datasource schema. Must have a `region` specified in the provider configuration.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_server_update_schedules\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n server_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", "inputs": { "description": "A collection of arguments for invoking getServerUpdateSchedules.\n", "properties": { @@ -16216,11 +18610,6 @@ "outputs": { "description": "A collection of values returned by getSkeCluster.\n", "properties": { - "allowPrivilegedContainers": { - "type": "boolean", - "description": "DEPRECATED as of Kubernetes 1.25+\nFlag to specify if privileged mode for containers is enabled or not.\nThis should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs).\n", - "deprecationMessage": "Please remove this flag from your configuration when using Kubernetes version 1.25+." - }, "egressAddressRanges": { "type": "array", "items": { @@ -16242,11 +18631,6 @@ "id": { "type": "string" }, - "kubernetesVersion": { - "type": "string", - "description": "Kubernetes version. This field is deprecated, use `kubernetes_version_used` instead\n", - "deprecationMessage": "This field is always nil, use `kubernetes_version_used` to get the cluster kubernetes version. This field would cause errors when the cluster got a kubernetes version minor upgrade, either triggered by automatic or forceful updates." - }, "kubernetesVersionMin": { "type": "string", "description": "The minimum Kubernetes version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the `kubernetes_version_used` field.\n" @@ -16274,6 +18658,13 @@ }, "description": "One or more `node_pool` block as defined below.\n" }, + "podAddressRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The network ranges (in CIDR notation) used by pods of the cluster.\n" + }, "projectId": { "type": "string", "description": "STACKIT project ID to which the cluster is associated.\n" @@ -16285,18 +18676,17 @@ }, "type": "object", "required": [ - "allowPrivilegedContainers", "egressAddressRanges", "extensions", "hibernations", "id", - "kubernetesVersion", "kubernetesVersionMin", "kubernetesVersionUsed", "maintenance", "name", "network", "nodePools", + "podAddressRanges", "projectId" ] } diff --git a/sdk/dotnet/CdnCustomDomain.cs b/sdk/dotnet/CdnCustomDomain.cs index 4457dff6..f154974f 100644 --- a/sdk/dotnet/CdnCustomDomain.cs +++ b/sdk/dotnet/CdnCustomDomain.cs @@ -19,6 +19,12 @@ namespace Pulumi.Stackit [StackitResourceType("stackit:index/cdnCustomDomain:CdnCustomDomain")] public partial class CdnCustomDomain : global::Pulumi.CustomResource { + /// + /// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + /// + [Output("certificate")] + public Output Certificate { get; private set; } = null!; + /// /// CDN distribution ID /// @@ -93,6 +99,12 @@ public static CdnCustomDomain Get(string name, Input id, CdnCustomDomain public sealed class CdnCustomDomainArgs : global::Pulumi.ResourceArgs { + /// + /// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + /// + [Input("certificate")] + public Input? Certificate { get; set; } + /// /// CDN distribution ID /// @@ -116,6 +128,12 @@ public CdnCustomDomainArgs() public sealed class CdnCustomDomainState : global::Pulumi.ResourceArgs { + /// + /// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + /// + [Input("certificate")] + public Input? Certificate { get; set; } + /// /// CDN distribution ID /// diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index 8a47f151..3630cfc9 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -32,16 +32,6 @@ public void Set(T value) private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("stackit"); - private static readonly __Value _argusCustomEndpoint = new __Value(() => __config.Get("argusCustomEndpoint")); - /// - /// Custom endpoint for the Argus service - /// - public static string? ArgusCustomEndpoint - { - get => _argusCustomEndpoint.Get(); - set => _argusCustomEndpoint.Set(value); - } - private static readonly __Value _authorizationCustomEndpoint = new __Value(() => __config.Get("authorizationCustomEndpoint")); /// /// Custom endpoint for the Membership service @@ -64,8 +54,7 @@ public static string? CdnCustomEndpoint private static readonly __Value _credentialsPath = new __Value(() => __config.Get("credentialsPath")); /// - /// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - /// value is `~/.stackit/credentials.json`. + /// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. /// public static string? CredentialsPath { @@ -105,8 +94,7 @@ public static bool? EnableBetaResources private static readonly __Value> _experiments = new __Value>(() => __config.GetObject>("experiments")); /// - /// Enables experiments. These are unstable features without official support. More information can be found in the README. - /// Available Experiments: [iam] + /// Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network /// public static ImmutableArray Experiments { @@ -226,8 +214,7 @@ public static string? PostgresflexCustomEndpoint private static readonly __Value _privateKey = new __Value(() => __config.Get("privateKey")); /// - /// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - /// included in the service account key. + /// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. /// public static string? PrivateKey { @@ -237,8 +224,7 @@ public static string? PrivateKey private static readonly __Value _privateKeyPath = new __Value(() => __config.Get("privateKeyPath")); /// - /// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - /// key that is included in the service account key. + /// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. /// public static string? PrivateKeyPath { @@ -286,6 +272,16 @@ public static string? ResourcemanagerCustomEndpoint set => _resourcemanagerCustomEndpoint.Set(value); } + private static readonly __Value _scfCustomEndpoint = new __Value(() => __config.Get("scfCustomEndpoint")); + /// + /// Custom endpoint for the Cloud Foundry (SCF) service + /// + public static string? ScfCustomEndpoint + { + get => _scfCustomEndpoint.Get(); + set => _scfCustomEndpoint.Set(value); + } + private static readonly __Value _secretsmanagerCustomEndpoint = new __Value(() => __config.Get("secretsmanagerCustomEndpoint")); /// /// Custom endpoint for the Secrets Manager service @@ -328,8 +324,7 @@ public static string? ServiceAccountCustomEndpoint private static readonly __Value _serviceAccountEmail = new __Value(() => __config.Get("serviceAccountEmail")); /// - /// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - /// if you want to use the resource manager project resource. + /// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. /// public static string? ServiceAccountEmail { @@ -349,8 +344,7 @@ public static string? ServiceAccountKey private static readonly __Value _serviceAccountKeyPath = new __Value(() => __config.Get("serviceAccountKeyPath")); /// - /// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - /// operations. + /// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. /// public static string? ServiceAccountKeyPath { diff --git a/sdk/dotnet/GetCdnCustomDomain.cs b/sdk/dotnet/GetCdnCustomDomain.cs index 693b7e75..57d8d61e 100644 --- a/sdk/dotnet/GetCdnCustomDomain.cs +++ b/sdk/dotnet/GetCdnCustomDomain.cs @@ -14,7 +14,7 @@ public static class GetCdnCustomDomain /// /// CDN distribution data source schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -32,7 +32,7 @@ public static Task InvokeAsync(GetCdnCustomDomainArgs /// /// CDN distribution data source schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -50,7 +50,7 @@ public static Output Invoke(GetCdnCustomDomainInvokeAr /// /// CDN distribution data source schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -69,6 +69,12 @@ public static Output Invoke(GetCdnCustomDomainInvokeAr public sealed class GetCdnCustomDomainArgs : global::Pulumi.InvokeArgs { + /// + /// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + /// + [Input("certificate")] + public Inputs.GetCdnCustomDomainCertificateArgs? Certificate { get; set; } + /// /// CDN distribution ID /// @@ -92,6 +98,12 @@ public GetCdnCustomDomainArgs() public sealed class GetCdnCustomDomainInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + /// + [Input("certificate")] + public Input? Certificate { get; set; } + /// /// CDN distribution ID /// @@ -117,6 +129,10 @@ public GetCdnCustomDomainInvokeArgs() [OutputType] public sealed class GetCdnCustomDomainResult { + /// + /// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + /// + public readonly Outputs.GetCdnCustomDomainCertificateResult? Certificate; /// /// CDN distribution ID /// @@ -138,6 +154,8 @@ public sealed class GetCdnCustomDomainResult [OutputConstructor] private GetCdnCustomDomainResult( + Outputs.GetCdnCustomDomainCertificateResult? certificate, + string distributionId, ImmutableArray errors, @@ -150,6 +168,7 @@ private GetCdnCustomDomainResult( string status) { + Certificate = certificate; DistributionId = distributionId; Errors = errors; Id = id; diff --git a/sdk/dotnet/GetCdnDistribution.cs b/sdk/dotnet/GetCdnDistribution.cs index 9d6ad4bc..18916f16 100644 --- a/sdk/dotnet/GetCdnDistribution.cs +++ b/sdk/dotnet/GetCdnDistribution.cs @@ -14,7 +14,7 @@ public static class GetCdnDistribution /// /// CDN distribution data source schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -31,7 +31,7 @@ public static Task InvokeAsync(GetCdnDistributionArgs /// /// CDN distribution data source schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -48,7 +48,7 @@ public static Output Invoke(GetCdnDistributionInvokeAr /// /// CDN distribution data source schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetGit.cs b/sdk/dotnet/GetGit.cs index 5419e9d0..2745e8de 100644 --- a/sdk/dotnet/GetGit.cs +++ b/sdk/dotnet/GetGit.cs @@ -14,7 +14,7 @@ public static class GetGit /// /// Git Instance datasource schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -31,7 +31,7 @@ public static Task InvokeAsync(GetGitArgs args, InvokeOptions? opt /// /// Git Instance datasource schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -48,7 +48,7 @@ public static Output Invoke(GetGitInvokeArgs args, InvokeOptions? /// /// Git Instance datasource schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -108,6 +108,26 @@ public GetGitInvokeArgs() [OutputType] public sealed class GetGitResult { + /// + /// Restricted ACL for instance access. + /// + public readonly ImmutableArray Acls; + /// + /// How many bytes of disk space is consumed. + /// + public readonly string ConsumedDisk; + /// + /// How many bytes of Object Storage is consumed. + /// + public readonly string ConsumedObjectStorage; + /// + /// Instance creation timestamp in RFC3339 format. + /// + public readonly string Created; + /// + /// Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + /// + public readonly string Flavor; public readonly string Id; /// /// ID linked to the git instance. @@ -132,6 +152,16 @@ public sealed class GetGitResult [OutputConstructor] private GetGitResult( + ImmutableArray acls, + + string consumedDisk, + + string consumedObjectStorage, + + string created, + + string flavor, + string id, string instanceId, @@ -144,6 +174,11 @@ private GetGitResult( string version) { + Acls = acls; + ConsumedDisk = consumedDisk; + ConsumedObjectStorage = consumedObjectStorage; + Created = created; + Flavor = flavor; Id = id; InstanceId = instanceId; Name = name; diff --git a/sdk/dotnet/GetIaasProject.cs b/sdk/dotnet/GetIaasProject.cs new file mode 100644 index 00000000..9c1d1321 --- /dev/null +++ b/sdk/dotnet/GetIaasProject.cs @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetIaasProject + { + /// + /// Project details. Must have a `region` specified in the provider configuration. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_iaas_project" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetIaasProjectArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getIaasProject:getIaasProject", args ?? new GetIaasProjectArgs(), options.WithDefaults()); + + /// + /// Project details. Must have a `region` specified in the provider configuration. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_iaas_project" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetIaasProjectInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getIaasProject:getIaasProject", args ?? new GetIaasProjectInvokeArgs(), options.WithDefaults()); + + /// + /// Project details. Must have a `region` specified in the provider configuration. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_iaas_project" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetIaasProjectInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getIaasProject:getIaasProject", args ?? new GetIaasProjectInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIaasProjectArgs : global::Pulumi.InvokeArgs + { + /// + /// STACKIT project ID. + /// + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + public GetIaasProjectArgs() + { + } + public static new GetIaasProjectArgs Empty => new GetIaasProjectArgs(); + } + + public sealed class GetIaasProjectInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// STACKIT project ID. + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + public GetIaasProjectInvokeArgs() + { + } + public static new GetIaasProjectInvokeArgs Empty => new GetIaasProjectInvokeArgs(); + } + + + [OutputType] + public sealed class GetIaasProjectResult + { + /// + /// The area ID to which the project belongs to. + /// + public readonly string AreaId; + /// + /// Date-time when the project was created. + /// + public readonly string CreatedAt; + public readonly string Id; + /// + /// Specifies if the project has internet_access + /// + public readonly bool InternetAccess; + /// + /// STACKIT project ID. + /// + public readonly string ProjectId; + /// + /// Specifies the state of the project. + /// + public readonly string State; + /// + /// Date-time when the project was last updated. + /// + public readonly string UpdatedAt; + + [OutputConstructor] + private GetIaasProjectResult( + string areaId, + + string createdAt, + + string id, + + bool internetAccess, + + string projectId, + + string state, + + string updatedAt) + { + AreaId = areaId; + CreatedAt = createdAt; + Id = id; + InternetAccess = internetAccess; + ProjectId = projectId; + State = state; + UpdatedAt = updatedAt; + } + } +} diff --git a/sdk/dotnet/GetImageV2.cs b/sdk/dotnet/GetImageV2.cs new file mode 100644 index 00000000..49c7ab06 --- /dev/null +++ b/sdk/dotnet/GetImageV2.cs @@ -0,0 +1,326 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetImageV2 + { + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_image_v2" "default" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// image_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// + /// data "stackit_image_v2" "name_match" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name = "Ubuntu 22.04" + /// } + /// + /// data "stackit_image_v2" "name_regex_latest" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name_regex = "^Ubuntu .*" + /// } + /// + /// data "stackit_image_v2" "name_regex_oldest" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name_regex = "^Ubuntu .*" + /// sort_ascending = true + /// } + /// + /// data "stackit_image_v2" "filter_distro_version" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = { + /// distro = "debian" + /// version = "11" + /// } + /// } + /// ``` + /// + public static Task InvokeAsync(GetImageV2Args args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getImageV2:getImageV2", args ?? new GetImageV2Args(), options.WithDefaults()); + + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_image_v2" "default" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// image_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// + /// data "stackit_image_v2" "name_match" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name = "Ubuntu 22.04" + /// } + /// + /// data "stackit_image_v2" "name_regex_latest" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name_regex = "^Ubuntu .*" + /// } + /// + /// data "stackit_image_v2" "name_regex_oldest" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name_regex = "^Ubuntu .*" + /// sort_ascending = true + /// } + /// + /// data "stackit_image_v2" "filter_distro_version" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = { + /// distro = "debian" + /// version = "11" + /// } + /// } + /// ``` + /// + public static Output Invoke(GetImageV2InvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getImageV2:getImageV2", args ?? new GetImageV2InvokeArgs(), options.WithDefaults()); + + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_image_v2" "default" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// image_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// + /// data "stackit_image_v2" "name_match" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name = "Ubuntu 22.04" + /// } + /// + /// data "stackit_image_v2" "name_regex_latest" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name_regex = "^Ubuntu .*" + /// } + /// + /// data "stackit_image_v2" "name_regex_oldest" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name_regex = "^Ubuntu .*" + /// sort_ascending = true + /// } + /// + /// data "stackit_image_v2" "filter_distro_version" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = { + /// distro = "debian" + /// version = "11" + /// } + /// } + /// ``` + /// + public static Output Invoke(GetImageV2InvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getImageV2:getImageV2", args ?? new GetImageV2InvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetImageV2Args : global::Pulumi.InvokeArgs + { + /// + /// Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`. + /// + [Input("filter")] + public Inputs.GetImageV2FilterArgs? Filter { get; set; } + + /// + /// Image ID to fetch directly + /// + [Input("imageId")] + public string? ImageId { get; set; } + + /// + /// Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`. + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + /// + [Input("nameRegex")] + public string? NameRegex { get; set; } + + /// + /// STACKIT project ID to which the image is associated. + /// + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + /// + /// If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + /// + [Input("sortAscending")] + public bool? SortAscending { get; set; } + + public GetImageV2Args() + { + } + public static new GetImageV2Args Empty => new GetImageV2Args(); + } + + public sealed class GetImageV2InvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`. + /// + [Input("filter")] + public Input? Filter { get; set; } + + /// + /// Image ID to fetch directly + /// + [Input("imageId")] + public Input? ImageId { get; set; } + + /// + /// Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + /// + [Input("nameRegex")] + public Input? NameRegex { get; set; } + + /// + /// STACKIT project ID to which the image is associated. + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + /// + /// If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + /// + [Input("sortAscending")] + public Input? SortAscending { get; set; } + + public GetImageV2InvokeArgs() + { + } + public static new GetImageV2InvokeArgs Empty => new GetImageV2InvokeArgs(); + } + + + [OutputType] + public sealed class GetImageV2Result + { + /// + /// Representation of an image checksum. + /// + public readonly Outputs.GetImageV2ChecksumResult Checksum; + /// + /// Properties to set hardware and scheduling settings for an image. + /// + public readonly Outputs.GetImageV2ConfigResult Config; + /// + /// The disk format of the image. + /// + public readonly string DiskFormat; + /// + /// Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`. + /// + public readonly Outputs.GetImageV2FilterResult? Filter; + public readonly string Id; + /// + /// Image ID to fetch directly + /// + public readonly string? ImageId; + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public readonly ImmutableDictionary Labels; + /// + /// The minimum disk size of the image in GB. + /// + public readonly int MinDiskSize; + /// + /// The minimum RAM of the image in MB. + /// + public readonly int MinRam; + /// + /// Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`. + /// + public readonly string? Name; + /// + /// Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + /// + public readonly string? NameRegex; + /// + /// STACKIT project ID to which the image is associated. + /// + public readonly string ProjectId; + /// + /// Whether the image is protected. + /// + public readonly bool Protected; + /// + /// The scope of the image. + /// + public readonly string Scope; + /// + /// If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + /// + public readonly bool? SortAscending; + + [OutputConstructor] + private GetImageV2Result( + Outputs.GetImageV2ChecksumResult checksum, + + Outputs.GetImageV2ConfigResult config, + + string diskFormat, + + Outputs.GetImageV2FilterResult? filter, + + string id, + + string? imageId, + + ImmutableDictionary labels, + + int minDiskSize, + + int minRam, + + string? name, + + string? nameRegex, + + string projectId, + + bool @protected, + + string scope, + + bool? sortAscending) + { + Checksum = checksum; + Config = config; + DiskFormat = diskFormat; + Filter = filter; + Id = id; + ImageId = imageId; + Labels = labels; + MinDiskSize = minDiskSize; + MinRam = minRam; + Name = name; + NameRegex = nameRegex; + ProjectId = projectId; + Protected = @protected; + Scope = scope; + SortAscending = sortAscending; + } + } +} diff --git a/sdk/dotnet/GetLoadbalancer.cs b/sdk/dotnet/GetLoadbalancer.cs index 8aa8e105..4bcdf6fa 100644 --- a/sdk/dotnet/GetLoadbalancer.cs +++ b/sdk/dotnet/GetLoadbalancer.cs @@ -114,6 +114,10 @@ public GetLoadbalancerInvokeArgs() [OutputType] public sealed class GetLoadbalancerResult { + /// + /// If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT Network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + /// + public readonly bool DisableSecurityGroupAssignment; /// /// External Load Balancer IP address where this Load Balancer is exposed. /// @@ -136,6 +140,10 @@ public sealed class GetLoadbalancerResult /// public readonly Outputs.GetLoadbalancerOptionsResult Options; /// + /// The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + /// + public readonly string PlanId; + /// /// Transient private Load Balancer IP address. It can change any time. /// public readonly string PrivateAddress; @@ -148,12 +156,18 @@ public sealed class GetLoadbalancerResult /// public readonly string? Region; /// + /// The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. + /// + public readonly string SecurityGroupId; + /// /// List of all target pools which will be used in the Load Balancer. Limited to 20. /// public readonly ImmutableArray TargetPools; [OutputConstructor] private GetLoadbalancerResult( + bool disableSecurityGroupAssignment, + string externalAddress, string id, @@ -166,23 +180,30 @@ private GetLoadbalancerResult( Outputs.GetLoadbalancerOptionsResult options, + string planId, + string privateAddress, string projectId, string? region, + string securityGroupId, + ImmutableArray targetPools) { + DisableSecurityGroupAssignment = disableSecurityGroupAssignment; ExternalAddress = externalAddress; Id = id; Listeners = listeners; Name = name; Networks = networks; Options = options; + PlanId = planId; PrivateAddress = privateAddress; ProjectId = projectId; Region = region; + SecurityGroupId = securityGroupId; TargetPools = targetPools; } } diff --git a/sdk/dotnet/GetMachineType.cs b/sdk/dotnet/GetMachineType.cs new file mode 100644 index 00000000..b36cf582 --- /dev/null +++ b/sdk/dotnet/GetMachineType.cs @@ -0,0 +1,210 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetMachineType + { + /// + /// Machine type data source. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_machine_type" "two_vcpus_filter" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus==2" + /// } + /// + /// data "stackit_machine_type" "filter_sorted_ascending_false" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus >= 2 && ram >= 2048" + /// sort_ascending = false + /// } + /// + /// data "stackit_machine_type" "intel_icelake_generic_filter" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "extraSpecs.cpu==\"intel-icelake-generic\" && vcpus == 2" + /// } + /// + /// # returns warning + /// data "stackit_machine_type" "no_match" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus == 99" + /// } + /// ``` + /// + public static Task InvokeAsync(GetMachineTypeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getMachineType:getMachineType", args ?? new GetMachineTypeArgs(), options.WithDefaults()); + + /// + /// Machine type data source. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_machine_type" "two_vcpus_filter" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus==2" + /// } + /// + /// data "stackit_machine_type" "filter_sorted_ascending_false" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus >= 2 && ram >= 2048" + /// sort_ascending = false + /// } + /// + /// data "stackit_machine_type" "intel_icelake_generic_filter" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "extraSpecs.cpu==\"intel-icelake-generic\" && vcpus == 2" + /// } + /// + /// # returns warning + /// data "stackit_machine_type" "no_match" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus == 99" + /// } + /// ``` + /// + public static Output Invoke(GetMachineTypeInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getMachineType:getMachineType", args ?? new GetMachineTypeInvokeArgs(), options.WithDefaults()); + + /// + /// Machine type data source. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_machine_type" "two_vcpus_filter" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus==2" + /// } + /// + /// data "stackit_machine_type" "filter_sorted_ascending_false" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus >= 2 && ram >= 2048" + /// sort_ascending = false + /// } + /// + /// data "stackit_machine_type" "intel_icelake_generic_filter" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "extraSpecs.cpu==\"intel-icelake-generic\" && vcpus == 2" + /// } + /// + /// # returns warning + /// data "stackit_machine_type" "no_match" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// filter = "vcpus == 99" + /// } + /// ``` + /// + public static Output Invoke(GetMachineTypeInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getMachineType:getMachineType", args ?? new GetMachineTypeInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMachineTypeArgs : global::Pulumi.InvokeArgs + { + /// + /// Expr-lang filter for filtering machine types. + /// + [Input("filter", required: true)] + public string Filter { get; set; } = null!; + + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + [Input("sortAscending")] + public bool? SortAscending { get; set; } + + public GetMachineTypeArgs() + { + } + public static new GetMachineTypeArgs Empty => new GetMachineTypeArgs(); + } + + public sealed class GetMachineTypeInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Expr-lang filter for filtering machine types. + /// + [Input("filter", required: true)] + public Input Filter { get; set; } = null!; + + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + [Input("sortAscending")] + public Input? SortAscending { get; set; } + + public GetMachineTypeInvokeArgs() + { + } + public static new GetMachineTypeInvokeArgs Empty => new GetMachineTypeInvokeArgs(); + } + + + [OutputType] + public sealed class GetMachineTypeResult + { + public readonly string Description; + public readonly int Disk; + public readonly ImmutableDictionary ExtraSpecs; + /// + /// Expr-lang filter for filtering machine types. + /// + public readonly string Filter; + public readonly string Id; + public readonly string Name; + public readonly string ProjectId; + public readonly int Ram; + public readonly bool? SortAscending; + public readonly int Vcpus; + + [OutputConstructor] + private GetMachineTypeResult( + string description, + + int disk, + + ImmutableDictionary extraSpecs, + + string filter, + + string id, + + string name, + + string projectId, + + int ram, + + bool? sortAscending, + + int vcpus) + { + Description = description; + Disk = disk; + ExtraSpecs = extraSpecs; + Filter = filter; + Id = id; + Name = name; + ProjectId = projectId; + Ram = ram; + SortAscending = sortAscending; + Vcpus = vcpus; + } + } +} diff --git a/sdk/dotnet/GetMongodbflexInstance.cs b/sdk/dotnet/GetMongodbflexInstance.cs index f272d91e..9260c592 100644 --- a/sdk/dotnet/GetMongodbflexInstance.cs +++ b/sdk/dotnet/GetMongodbflexInstance.cs @@ -72,6 +72,12 @@ public sealed class GetMongodbflexInstanceArgs : global::Pulumi.InvokeArgs [Input("projectId", required: true)] public string ProjectId { get; set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + public GetMongodbflexInstanceArgs() { } @@ -92,6 +98,12 @@ public sealed class GetMongodbflexInstanceInvokeArgs : global::Pulumi.InvokeArgs [Input("projectId", required: true)] public Input ProjectId { get; set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + public GetMongodbflexInstanceInvokeArgs() { } @@ -128,6 +140,10 @@ public sealed class GetMongodbflexInstanceResult /// STACKIT project ID to which the instance is associated. /// public readonly string ProjectId; + /// + /// The resource region. If not defined, the provider region is used. + /// + public readonly string Region; public readonly int Replicas; public readonly Outputs.GetMongodbflexInstanceStorageResult Storage; public readonly string Version; @@ -150,6 +166,8 @@ private GetMongodbflexInstanceResult( string projectId, + string region, + int replicas, Outputs.GetMongodbflexInstanceStorageResult storage, @@ -164,6 +182,7 @@ private GetMongodbflexInstanceResult( Name = name; Options = options; ProjectId = projectId; + Region = region; Replicas = replicas; Storage = storage; Version = version; diff --git a/sdk/dotnet/GetMongodbflexUser.cs b/sdk/dotnet/GetMongodbflexUser.cs index 6c590265..8528b05c 100644 --- a/sdk/dotnet/GetMongodbflexUser.cs +++ b/sdk/dotnet/GetMongodbflexUser.cs @@ -75,6 +75,12 @@ public sealed class GetMongodbflexUserArgs : global::Pulumi.InvokeArgs [Input("projectId", required: true)] public string ProjectId { get; set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + /// /// User ID. /// @@ -101,6 +107,12 @@ public sealed class GetMongodbflexUserInvokeArgs : global::Pulumi.InvokeArgs [Input("projectId", required: true)] public Input ProjectId { get; set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + /// /// User ID. /// @@ -129,6 +141,10 @@ public sealed class GetMongodbflexUserResult /// STACKIT project ID to which the instance is associated. /// public readonly string ProjectId; + /// + /// The resource region. If not defined, the provider region is used. + /// + public readonly string Region; public readonly ImmutableArray Roles; /// /// User ID. @@ -150,6 +166,8 @@ private GetMongodbflexUserResult( string projectId, + string region, + ImmutableArray roles, string userId, @@ -162,6 +180,7 @@ private GetMongodbflexUserResult( InstanceId = instanceId; Port = port; ProjectId = projectId; + Region = region; Roles = roles; UserId = userId; Username = username; diff --git a/sdk/dotnet/GetNetwork.cs b/sdk/dotnet/GetNetwork.cs index afe1c195..c8bce50e 100644 --- a/sdk/dotnet/GetNetwork.cs +++ b/sdk/dotnet/GetNetwork.cs @@ -72,6 +72,13 @@ public sealed class GetNetworkArgs : global::Pulumi.InvokeArgs [Input("projectId", required: true)] public string ProjectId { get; set; } = null!; + /// + /// Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + public GetNetworkArgs() { } @@ -92,6 +99,13 @@ public sealed class GetNetworkInvokeArgs : global::Pulumi.InvokeArgs [Input("projectId", required: true)] public Input ProjectId { get; set; } = null!; + /// + /// Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + public GetNetworkInvokeArgs() { } @@ -172,9 +186,19 @@ public sealed class GetNetworkResult /// public readonly string PublicIp; /// + /// Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + /// The resource region. If not defined, the provider region is used. + /// + public readonly string? Region; + /// /// Shows if the network is routed and therefore accessible from other networks. /// public readonly bool Routed; + /// + /// Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// The ID of the routing table associated with the network. + /// + public readonly string RoutingTableId; [OutputConstructor] private GetNetworkResult( @@ -214,7 +238,11 @@ private GetNetworkResult( string publicIp, - bool routed) + string? region, + + bool routed, + + string routingTableId) { Id = id; Ipv4Gateway = ipv4Gateway; @@ -234,7 +262,9 @@ private GetNetworkResult( Prefixes = prefixes; ProjectId = projectId; PublicIp = publicIp; + Region = region; Routed = routed; + RoutingTableId = routingTableId; } } } diff --git a/sdk/dotnet/GetObservabilityInstance.cs b/sdk/dotnet/GetObservabilityInstance.cs index 72d29d93..d8ba22ac 100644 --- a/sdk/dotnet/GetObservabilityInstance.cs +++ b/sdk/dotnet/GetObservabilityInstance.cs @@ -158,15 +158,15 @@ public sealed class GetObservabilityInstanceResult /// public readonly string MetricsPushUrl; /// - /// Specifies for how many days the raw metrics are kept. + /// Specifies for how many days the raw metrics are kept. Default is set to `90`. /// public readonly int MetricsRetentionDays; /// - /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. /// public readonly int MetricsRetentionDays1hDownsampling; /// - /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. /// public readonly int MetricsRetentionDays5mDownsampling; /// diff --git a/sdk/dotnet/GetPublicIpRanges.cs b/sdk/dotnet/GetPublicIpRanges.cs index 89b308c9..b7bb703b 100644 --- a/sdk/dotnet/GetPublicIpRanges.cs +++ b/sdk/dotnet/GetPublicIpRanges.cs @@ -18,6 +18,22 @@ public static class GetPublicIpRanges /// /// ```terraform /// data "stackit_public_ip_ranges" "example" {} + /// + /// # example usage: allow stackit services and customer vpn cidr to access observability apis + /// locals { + /// vpn_cidrs = ["X.X.X.X/32", "X.X.X.X/24"] + /// } + /// + /// resource "stackit_observability_instance" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name = "example-instance" + /// plan_name = "Observability-Monitoring-Medium-EU01" + /// # Allow all stackit services and customer vpn cidr to access observability apis + /// acl = concat(data.stackit_public_ip_ranges.example.cidr_list, local.vpn_cidrs) + /// metrics_retention_days = 90 + /// metrics_retention_days_5m_downsampling = 90 + /// metrics_retention_days_1h_downsampling = 90 + /// } /// ``` /// public static Task InvokeAsync(InvokeOptions? options = null) @@ -30,6 +46,22 @@ public static Task InvokeAsync(InvokeOptions? options = /// /// ```terraform /// data "stackit_public_ip_ranges" "example" {} + /// + /// # example usage: allow stackit services and customer vpn cidr to access observability apis + /// locals { + /// vpn_cidrs = ["X.X.X.X/32", "X.X.X.X/24"] + /// } + /// + /// resource "stackit_observability_instance" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name = "example-instance" + /// plan_name = "Observability-Monitoring-Medium-EU01" + /// # Allow all stackit services and customer vpn cidr to access observability apis + /// acl = concat(data.stackit_public_ip_ranges.example.cidr_list, local.vpn_cidrs) + /// metrics_retention_days = 90 + /// metrics_retention_days_5m_downsampling = 90 + /// metrics_retention_days_1h_downsampling = 90 + /// } /// ``` /// public static Output Invoke(InvokeOptions? options = null) @@ -42,6 +74,22 @@ public static Output Invoke(InvokeOptions? options = nu /// /// ```terraform /// data "stackit_public_ip_ranges" "example" {} + /// + /// # example usage: allow stackit services and customer vpn cidr to access observability apis + /// locals { + /// vpn_cidrs = ["X.X.X.X/32", "X.X.X.X/24"] + /// } + /// + /// resource "stackit_observability_instance" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// name = "example-instance" + /// plan_name = "Observability-Monitoring-Medium-EU01" + /// # Allow all stackit services and customer vpn cidr to access observability apis + /// acl = concat(data.stackit_public_ip_ranges.example.cidr_list, local.vpn_cidrs) + /// metrics_retention_days = 90 + /// metrics_retention_days_5m_downsampling = 90 + /// metrics_retention_days_1h_downsampling = 90 + /// } /// ``` /// public static Output Invoke(InvokeOutputOptions options) @@ -52,6 +100,10 @@ public static Output Invoke(InvokeOutputOptions options [OutputType] public sealed class GetPublicIpRangesResult { + /// + /// A list of IP range strings (CIDRs) extracted from the public*ip*ranges for easy consumption. + /// + public readonly ImmutableArray CidrLists; public readonly string Id; /// /// A list of all public IP ranges. @@ -60,10 +112,13 @@ public sealed class GetPublicIpRangesResult [OutputConstructor] private GetPublicIpRangesResult( + ImmutableArray cidrLists, + string id, ImmutableArray publicIpRanges) { + CidrLists = cidrLists; Id = id; PublicIpRanges = publicIpRanges; } diff --git a/sdk/dotnet/GetResourcemanagerFolder.cs b/sdk/dotnet/GetResourcemanagerFolder.cs new file mode 100644 index 00000000..f3df9af4 --- /dev/null +++ b/sdk/dotnet/GetResourcemanagerFolder.cs @@ -0,0 +1,154 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetResourcemanagerFolder + { + /// + /// Resource Manager folder data source schema. To identify the folder, you need to provide the container_id. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_resourcemanager_folder" "example" { + /// container_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetResourcemanagerFolderArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getResourcemanagerFolder:getResourcemanagerFolder", args ?? new GetResourcemanagerFolderArgs(), options.WithDefaults()); + + /// + /// Resource Manager folder data source schema. To identify the folder, you need to provide the container_id. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_resourcemanager_folder" "example" { + /// container_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetResourcemanagerFolderInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getResourcemanagerFolder:getResourcemanagerFolder", args ?? new GetResourcemanagerFolderInvokeArgs(), options.WithDefaults()); + + /// + /// Resource Manager folder data source schema. To identify the folder, you need to provide the container_id. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_resourcemanager_folder" "example" { + /// container_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetResourcemanagerFolderInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getResourcemanagerFolder:getResourcemanagerFolder", args ?? new GetResourcemanagerFolderInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetResourcemanagerFolderArgs : global::Pulumi.InvokeArgs + { + /// + /// Folder container ID. Globally unique, user-friendly identifier. + /// + [Input("containerId", required: true)] + public string ContainerId { get; set; } = null!; + + public GetResourcemanagerFolderArgs() + { + } + public static new GetResourcemanagerFolderArgs Empty => new GetResourcemanagerFolderArgs(); + } + + public sealed class GetResourcemanagerFolderInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Folder container ID. Globally unique, user-friendly identifier. + /// + [Input("containerId", required: true)] + public Input ContainerId { get; set; } = null!; + + public GetResourcemanagerFolderInvokeArgs() + { + } + public static new GetResourcemanagerFolderInvokeArgs Empty => new GetResourcemanagerFolderInvokeArgs(); + } + + + [OutputType] + public sealed class GetResourcemanagerFolderResult + { + /// + /// Folder container ID. Globally unique, user-friendly identifier. + /// + public readonly string ContainerId; + /// + /// Date-time at which the folder was created. + /// + public readonly string CreationTime; + /// + /// Folder UUID identifier. Globally unique folder identifier + /// + public readonly string FolderId; + public readonly string Id; + /// + /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + /// + public readonly ImmutableDictionary Labels; + /// + /// The name of the folder. + /// + public readonly string Name; + /// + /// Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + /// + public readonly string ParentContainerId; + /// + /// Date-time at which the folder was last modified. + /// + public readonly string UpdateTime; + + [OutputConstructor] + private GetResourcemanagerFolderResult( + string containerId, + + string creationTime, + + string folderId, + + string id, + + ImmutableDictionary labels, + + string name, + + string parentContainerId, + + string updateTime) + { + ContainerId = containerId; + CreationTime = creationTime; + FolderId = folderId; + Id = id; + Labels = labels; + Name = name; + ParentContainerId = parentContainerId; + UpdateTime = updateTime; + } + } +} diff --git a/sdk/dotnet/GetResourcemanagerProject.cs b/sdk/dotnet/GetResourcemanagerProject.cs index 31c64754..982e0aca 100644 --- a/sdk/dotnet/GetResourcemanagerProject.cs +++ b/sdk/dotnet/GetResourcemanagerProject.cs @@ -106,6 +106,10 @@ public sealed class GetResourcemanagerProjectResult /// Project container ID. Globally unique, user-friendly identifier. /// public readonly string? ContainerId; + /// + /// Date-time at which the project was created. + /// + public readonly string CreationTime; public readonly string Id; /// /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64} @@ -123,11 +127,17 @@ public sealed class GetResourcemanagerProjectResult /// Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. /// public readonly string? ProjectId; + /// + /// Date-time at which the project was last modified. + /// + public readonly string UpdateTime; [OutputConstructor] private GetResourcemanagerProjectResult( string? containerId, + string creationTime, + string id, ImmutableDictionary labels, @@ -136,14 +146,18 @@ private GetResourcemanagerProjectResult( string parentContainerId, - string? projectId) + string? projectId, + + string updateTime) { ContainerId = containerId; + CreationTime = creationTime; Id = id; Labels = labels; Name = name; ParentContainerId = parentContainerId; ProjectId = projectId; + UpdateTime = updateTime; } } } diff --git a/sdk/dotnet/GetRoutingTable.cs b/sdk/dotnet/GetRoutingTable.cs new file mode 100644 index 00000000..de404e79 --- /dev/null +++ b/sdk/dotnet/GetRoutingTable.cs @@ -0,0 +1,224 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetRoutingTable + { + /// + /// Routing table datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetRoutingTableArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getRoutingTable:getRoutingTable", args ?? new GetRoutingTableArgs(), options.WithDefaults()); + + /// + /// Routing table datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTableInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTable:getRoutingTable", args ?? new GetRoutingTableInvokeArgs(), options.WithDefaults()); + + /// + /// Routing table datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTableInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTable:getRoutingTable", args ?? new GetRoutingTableInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRoutingTableArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public string NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public string OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + + /// + /// The routing tables ID. + /// + [Input("routingTableId", required: true)] + public string RoutingTableId { get; set; } = null!; + + public GetRoutingTableArgs() + { + } + public static new GetRoutingTableArgs Empty => new GetRoutingTableArgs(); + } + + public sealed class GetRoutingTableInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public Input NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// The routing tables ID. + /// + [Input("routingTableId", required: true)] + public Input RoutingTableId { get; set; } = null!; + + public GetRoutingTableInvokeArgs() + { + } + public static new GetRoutingTableInvokeArgs Empty => new GetRoutingTableInvokeArgs(); + } + + + [OutputType] + public sealed class GetRoutingTableResult + { + /// + /// Date-time when the routing table was created + /// + public readonly string CreatedAt; + /// + /// When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + /// + public readonly bool Default; + /// + /// Description of the routing table. + /// + public readonly string Description; + public readonly string Id; + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public readonly ImmutableDictionary Labels; + /// + /// The name of the routing table. + /// + public readonly string Name; + /// + /// The network area ID to which the routing table is associated. + /// + public readonly string NetworkAreaId; + /// + /// STACKIT organization ID to which the routing table is associated. + /// + public readonly string OrganizationId; + /// + /// The resource region. If not defined, the provider region is used. + /// + public readonly string? Region; + /// + /// The routing tables ID. + /// + public readonly string RoutingTableId; + /// + /// This controls whether the routes for project-to-project communication are created automatically or not. + /// + public readonly bool SystemRoutes; + /// + /// Date-time when the routing table was updated + /// + public readonly string UpdatedAt; + + [OutputConstructor] + private GetRoutingTableResult( + string createdAt, + + bool @default, + + string description, + + string id, + + ImmutableDictionary labels, + + string name, + + string networkAreaId, + + string organizationId, + + string? region, + + string routingTableId, + + bool systemRoutes, + + string updatedAt) + { + CreatedAt = createdAt; + Default = @default; + Description = description; + Id = id; + Labels = labels; + Name = name; + NetworkAreaId = networkAreaId; + OrganizationId = organizationId; + Region = region; + RoutingTableId = routingTableId; + SystemRoutes = systemRoutes; + UpdatedAt = updatedAt; + } + } +} diff --git a/sdk/dotnet/GetRoutingTableRoute.cs b/sdk/dotnet/GetRoutingTableRoute.cs new file mode 100644 index 00000000..2ee8b37a --- /dev/null +++ b/sdk/dotnet/GetRoutingTableRoute.cs @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetRoutingTableRoute + { + /// + /// Routing table route datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table_route" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// route_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetRoutingTableRouteArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getRoutingTableRoute:getRoutingTableRoute", args ?? new GetRoutingTableRouteArgs(), options.WithDefaults()); + + /// + /// Routing table route datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table_route" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// route_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTableRouteInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTableRoute:getRoutingTableRoute", args ?? new GetRoutingTableRouteInvokeArgs(), options.WithDefaults()); + + /// + /// Routing table route datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table_route" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// route_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTableRouteInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTableRoute:getRoutingTableRoute", args ?? new GetRoutingTableRouteInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRoutingTableRouteArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public string NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public string OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + + /// + /// Route ID. + /// + [Input("routeId", required: true)] + public string RouteId { get; set; } = null!; + + /// + /// The routing tables ID. + /// + [Input("routingTableId", required: true)] + public string RoutingTableId { get; set; } = null!; + + public GetRoutingTableRouteArgs() + { + } + public static new GetRoutingTableRouteArgs Empty => new GetRoutingTableRouteArgs(); + } + + public sealed class GetRoutingTableRouteInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public Input NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// Route ID. + /// + [Input("routeId", required: true)] + public Input RouteId { get; set; } = null!; + + /// + /// The routing tables ID. + /// + [Input("routingTableId", required: true)] + public Input RoutingTableId { get; set; } = null!; + + public GetRoutingTableRouteInvokeArgs() + { + } + public static new GetRoutingTableRouteInvokeArgs Empty => new GetRoutingTableRouteInvokeArgs(); + } + + + [OutputType] + public sealed class GetRoutingTableRouteResult + { + /// + /// Date-time when the route was created + /// + public readonly string CreatedAt; + /// + /// Destination of the route. + /// + public readonly Outputs.GetRoutingTableRouteDestinationResult Destination; + public readonly string Id; + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public readonly ImmutableDictionary Labels; + /// + /// The network area ID to which the routing table is associated. + /// + public readonly string NetworkAreaId; + /// + /// Next hop destination. + /// + public readonly Outputs.GetRoutingTableRouteNextHopResult NextHop; + /// + /// STACKIT organization ID to which the routing table is associated. + /// + public readonly string OrganizationId; + /// + /// The resource region. If not defined, the provider region is used. + /// + public readonly string? Region; + /// + /// Route ID. + /// + public readonly string RouteId; + /// + /// The routing tables ID. + /// + public readonly string RoutingTableId; + /// + /// Date-time when the route was updated + /// + public readonly string UpdatedAt; + + [OutputConstructor] + private GetRoutingTableRouteResult( + string createdAt, + + Outputs.GetRoutingTableRouteDestinationResult destination, + + string id, + + ImmutableDictionary labels, + + string networkAreaId, + + Outputs.GetRoutingTableRouteNextHopResult nextHop, + + string organizationId, + + string? region, + + string routeId, + + string routingTableId, + + string updatedAt) + { + CreatedAt = createdAt; + Destination = destination; + Id = id; + Labels = labels; + NetworkAreaId = networkAreaId; + NextHop = nextHop; + OrganizationId = organizationId; + Region = region; + RouteId = routeId; + RoutingTableId = routingTableId; + UpdatedAt = updatedAt; + } + } +} diff --git a/sdk/dotnet/GetRoutingTableRoutes.cs b/sdk/dotnet/GetRoutingTableRoutes.cs new file mode 100644 index 00000000..1146be0f --- /dev/null +++ b/sdk/dotnet/GetRoutingTableRoutes.cs @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetRoutingTableRoutes + { + /// + /// Routing table routes datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table_routes" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetRoutingTableRoutesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", args ?? new GetRoutingTableRoutesArgs(), options.WithDefaults()); + + /// + /// Routing table routes datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table_routes" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTableRoutesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", args ?? new GetRoutingTableRoutesInvokeArgs(), options.WithDefaults()); + + /// + /// Routing table routes datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_table_routes" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTableRoutesInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", args ?? new GetRoutingTableRoutesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRoutingTableRoutesArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public string NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public string OrganizationId { get; set; } = null!; + + /// + /// The datasource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + + /// + /// The routing tables ID. + /// + [Input("routingTableId", required: true)] + public string RoutingTableId { get; set; } = null!; + + public GetRoutingTableRoutesArgs() + { + } + public static new GetRoutingTableRoutesArgs Empty => new GetRoutingTableRoutesArgs(); + } + + public sealed class GetRoutingTableRoutesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public Input NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + /// + /// The datasource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// The routing tables ID. + /// + [Input("routingTableId", required: true)] + public Input RoutingTableId { get; set; } = null!; + + public GetRoutingTableRoutesInvokeArgs() + { + } + public static new GetRoutingTableRoutesInvokeArgs Empty => new GetRoutingTableRoutesInvokeArgs(); + } + + + [OutputType] + public sealed class GetRoutingTableRoutesResult + { + public readonly string Id; + /// + /// The network area ID to which the routing table is associated. + /// + public readonly string NetworkAreaId; + /// + /// STACKIT organization ID to which the routing table is associated. + /// + public readonly string OrganizationId; + /// + /// The datasource region. If not defined, the provider region is used. + /// + public readonly string? Region; + /// + /// List of routes. + /// + public readonly ImmutableArray Routes; + /// + /// The routing tables ID. + /// + public readonly string RoutingTableId; + + [OutputConstructor] + private GetRoutingTableRoutesResult( + string id, + + string networkAreaId, + + string organizationId, + + string? region, + + ImmutableArray routes, + + string routingTableId) + { + Id = id; + NetworkAreaId = networkAreaId; + OrganizationId = organizationId; + Region = region; + Routes = routes; + RoutingTableId = routingTableId; + } + } +} diff --git a/sdk/dotnet/GetRoutingTables.cs b/sdk/dotnet/GetRoutingTables.cs new file mode 100644 index 00000000..e621269b --- /dev/null +++ b/sdk/dotnet/GetRoutingTables.cs @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetRoutingTables + { + /// + /// Routing table datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_tables" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetRoutingTablesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getRoutingTables:getRoutingTables", args ?? new GetRoutingTablesArgs(), options.WithDefaults()); + + /// + /// Routing table datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_tables" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTablesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTables:getRoutingTables", args ?? new GetRoutingTablesInvokeArgs(), options.WithDefaults()); + + /// + /// Routing table datasource schema. Must have a `region` specified in the provider configuration. + /// + /// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_routing_tables" "example" { + /// organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetRoutingTablesInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getRoutingTables:getRoutingTables", args ?? new GetRoutingTablesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRoutingTablesArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public string NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public string OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + + public GetRoutingTablesArgs() + { + } + public static new GetRoutingTablesArgs Empty => new GetRoutingTablesArgs(); + } + + public sealed class GetRoutingTablesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public Input NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + public GetRoutingTablesInvokeArgs() + { + } + public static new GetRoutingTablesInvokeArgs Empty => new GetRoutingTablesInvokeArgs(); + } + + + [OutputType] + public sealed class GetRoutingTablesResult + { + public readonly string Id; + /// + /// List of routing tables. + /// + public readonly ImmutableArray Items; + /// + /// The network area ID to which the routing table is associated. + /// + public readonly string NetworkAreaId; + /// + /// STACKIT organization ID to which the routing table is associated. + /// + public readonly string OrganizationId; + /// + /// The resource region. If not defined, the provider region is used. + /// + public readonly string? Region; + + [OutputConstructor] + private GetRoutingTablesResult( + string id, + + ImmutableArray items, + + string networkAreaId, + + string organizationId, + + string? region) + { + Id = id; + Items = items; + NetworkAreaId = networkAreaId; + OrganizationId = organizationId; + Region = region; + } + } +} diff --git a/sdk/dotnet/GetScfOrganization.cs b/sdk/dotnet/GetScfOrganization.cs new file mode 100644 index 00000000..087f0f4f --- /dev/null +++ b/sdk/dotnet/GetScfOrganization.cs @@ -0,0 +1,196 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetScfOrganization + { + /// + /// STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_organization" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetScfOrganizationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getScfOrganization:getScfOrganization", args ?? new GetScfOrganizationArgs(), options.WithDefaults()); + + /// + /// STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_organization" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetScfOrganizationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getScfOrganization:getScfOrganization", args ?? new GetScfOrganizationInvokeArgs(), options.WithDefaults()); + + /// + /// STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_organization" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetScfOrganizationInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getScfOrganization:getScfOrganization", args ?? new GetScfOrganizationInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScfOrganizationArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Cloud Foundry Organization + /// + [Input("orgId", required: true)] + public string OrgId { get; set; } = null!; + + /// + /// The ID of the project associated with the organization + /// + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used + /// + [Input("region")] + public string? Region { get; set; } + + public GetScfOrganizationArgs() + { + } + public static new GetScfOrganizationArgs Empty => new GetScfOrganizationArgs(); + } + + public sealed class GetScfOrganizationInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Cloud Foundry Organization + /// + [Input("orgId", required: true)] + public Input OrgId { get; set; } = null!; + + /// + /// The ID of the project associated with the organization + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used + /// + [Input("region")] + public Input? Region { get; set; } + + public GetScfOrganizationInvokeArgs() + { + } + public static new GetScfOrganizationInvokeArgs Empty => new GetScfOrganizationInvokeArgs(); + } + + + [OutputType] + public sealed class GetScfOrganizationResult + { + /// + /// The time when the organization was created + /// + public readonly string CreatedAt; + public readonly string Id; + /// + /// The name of the organization + /// + public readonly string Name; + /// + /// The ID of the Cloud Foundry Organization + /// + public readonly string OrgId; + /// + /// The ID of the platform associated with the organization + /// + public readonly string PlatformId; + /// + /// The ID of the project associated with the organization + /// + public readonly string ProjectId; + /// + /// The ID of the quota associated with the organization + /// + public readonly string QuotaId; + /// + /// The resource region. If not defined, the provider region is used + /// + public readonly string Region; + /// + /// The status of the organization (e.g., deleting, delete_failed) + /// + public readonly string Status; + /// + /// A boolean indicating whether the organization is suspended + /// + public readonly bool Suspended; + /// + /// The time when the organization was last updated + /// + public readonly string UpdatedAt; + + [OutputConstructor] + private GetScfOrganizationResult( + string createdAt, + + string id, + + string name, + + string orgId, + + string platformId, + + string projectId, + + string quotaId, + + string region, + + string status, + + bool suspended, + + string updatedAt) + { + CreatedAt = createdAt; + Id = id; + Name = name; + OrgId = orgId; + PlatformId = platformId; + ProjectId = projectId; + QuotaId = quotaId; + Region = region; + Status = status; + Suspended = suspended; + UpdatedAt = updatedAt; + } + } +} diff --git a/sdk/dotnet/GetScfOrganizationManager.cs b/sdk/dotnet/GetScfOrganizationManager.cs new file mode 100644 index 00000000..f9f1191e --- /dev/null +++ b/sdk/dotnet/GetScfOrganizationManager.cs @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetScfOrganizationManager + { + /// + /// STACKIT Cloud Foundry organization manager datasource schema. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_organization_manager" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetScfOrganizationManagerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getScfOrganizationManager:getScfOrganizationManager", args ?? new GetScfOrganizationManagerArgs(), options.WithDefaults()); + + /// + /// STACKIT Cloud Foundry organization manager datasource schema. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_organization_manager" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetScfOrganizationManagerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getScfOrganizationManager:getScfOrganizationManager", args ?? new GetScfOrganizationManagerInvokeArgs(), options.WithDefaults()); + + /// + /// STACKIT Cloud Foundry organization manager datasource schema. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_organization_manager" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// org_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetScfOrganizationManagerInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getScfOrganizationManager:getScfOrganizationManager", args ?? new GetScfOrganizationManagerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScfOrganizationManagerArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Cloud Foundry Organization + /// + [Input("orgId", required: true)] + public string OrgId { get; set; } = null!; + + /// + /// The ID of the project associated with the organization of the organization manager + /// + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + /// + /// The region where the organization of the organization manager is located. If not defined, the provider region is used + /// + [Input("region")] + public string? Region { get; set; } + + public GetScfOrganizationManagerArgs() + { + } + public static new GetScfOrganizationManagerArgs Empty => new GetScfOrganizationManagerArgs(); + } + + public sealed class GetScfOrganizationManagerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the Cloud Foundry Organization + /// + [Input("orgId", required: true)] + public Input OrgId { get; set; } = null!; + + /// + /// The ID of the project associated with the organization of the organization manager + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + /// + /// The region where the organization of the organization manager is located. If not defined, the provider region is used + /// + [Input("region")] + public Input? Region { get; set; } + + public GetScfOrganizationManagerInvokeArgs() + { + } + public static new GetScfOrganizationManagerInvokeArgs Empty => new GetScfOrganizationManagerInvokeArgs(); + } + + + [OutputType] + public sealed class GetScfOrganizationManagerResult + { + /// + /// The time when the organization manager was created + /// + public readonly string CreatedAt; + public readonly string Id; + /// + /// The ID of the Cloud Foundry Organization + /// + public readonly string OrgId; + /// + /// The ID of the platform associated with the organization of the organization manager + /// + public readonly string PlatformId; + /// + /// The ID of the project associated with the organization of the organization manager + /// + public readonly string ProjectId; + /// + /// The region where the organization of the organization manager is located. If not defined, the provider region is used + /// + public readonly string Region; + /// + /// The time when the organization manager was last updated + /// + public readonly string UpdatedAt; + /// + /// The ID of the organization manager user + /// + public readonly string UserId; + /// + /// An auto-generated organization manager user name + /// + public readonly string Username; + + [OutputConstructor] + private GetScfOrganizationManagerResult( + string createdAt, + + string id, + + string orgId, + + string platformId, + + string projectId, + + string region, + + string updatedAt, + + string userId, + + string username) + { + CreatedAt = createdAt; + Id = id; + OrgId = orgId; + PlatformId = platformId; + ProjectId = projectId; + Region = region; + UpdatedAt = updatedAt; + UserId = userId; + Username = username; + } + } +} diff --git a/sdk/dotnet/GetScfPlatform.cs b/sdk/dotnet/GetScfPlatform.cs new file mode 100644 index 00000000..d4ff399a --- /dev/null +++ b/sdk/dotnet/GetScfPlatform.cs @@ -0,0 +1,175 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetScfPlatform + { + /// + /// STACKIT Cloud Foundry Platform datasource schema. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_platform" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// platform_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetScfPlatformArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getScfPlatform:getScfPlatform", args ?? new GetScfPlatformArgs(), options.WithDefaults()); + + /// + /// STACKIT Cloud Foundry Platform datasource schema. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_platform" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// platform_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetScfPlatformInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getScfPlatform:getScfPlatform", args ?? new GetScfPlatformInvokeArgs(), options.WithDefaults()); + + /// + /// STACKIT Cloud Foundry Platform datasource schema. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_scf_platform" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// platform_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetScfPlatformInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getScfPlatform:getScfPlatform", args ?? new GetScfPlatformInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetScfPlatformArgs : global::Pulumi.InvokeArgs + { + /// + /// The unique id of the platform + /// + [Input("platformId", required: true)] + public string PlatformId { get; set; } = null!; + + /// + /// The ID of the project associated with the platform + /// + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + /// + /// The region where the platform is located. If not defined, the provider region is used + /// + [Input("region")] + public string? Region { get; set; } + + public GetScfPlatformArgs() + { + } + public static new GetScfPlatformArgs Empty => new GetScfPlatformArgs(); + } + + public sealed class GetScfPlatformInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The unique id of the platform + /// + [Input("platformId", required: true)] + public Input PlatformId { get; set; } = null!; + + /// + /// The ID of the project associated with the platform + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + /// + /// The region where the platform is located. If not defined, the provider region is used + /// + [Input("region")] + public Input? Region { get; set; } + + public GetScfPlatformInvokeArgs() + { + } + public static new GetScfPlatformInvokeArgs Empty => new GetScfPlatformInvokeArgs(); + } + + + [OutputType] + public sealed class GetScfPlatformResult + { + /// + /// The CF API Url of the platform + /// + public readonly string ApiUrl; + /// + /// The Stratos URL of the platform + /// + public readonly string ConsoleUrl; + /// + /// The name of the platform + /// + public readonly string DisplayName; + public readonly string Id; + /// + /// The unique id of the platform + /// + public readonly string PlatformId; + /// + /// The ID of the project associated with the platform + /// + public readonly string ProjectId; + /// + /// The region where the platform is located. If not defined, the provider region is used + /// + public readonly string Region; + /// + /// The ID of the platform System + /// + public readonly string SystemId; + + [OutputConstructor] + private GetScfPlatformResult( + string apiUrl, + + string consoleUrl, + + string displayName, + + string id, + + string platformId, + + string projectId, + + string region, + + string systemId) + { + ApiUrl = apiUrl; + ConsoleUrl = consoleUrl; + DisplayName = displayName; + Id = id; + PlatformId = platformId; + ProjectId = projectId; + Region = region; + SystemId = systemId; + } + } +} diff --git a/sdk/dotnet/GetServerBackupSchedule.cs b/sdk/dotnet/GetServerBackupSchedule.cs index ac0542f9..09a46458 100644 --- a/sdk/dotnet/GetServerBackupSchedule.cs +++ b/sdk/dotnet/GetServerBackupSchedule.cs @@ -14,7 +14,7 @@ public static class GetServerBackupSchedule /// /// Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -32,7 +32,7 @@ public static Task InvokeAsync(GetServerBackupSch /// /// Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -50,7 +50,7 @@ public static Output Invoke(GetServerBackupSchedu /// /// Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetServerBackupSchedules.cs b/sdk/dotnet/GetServerBackupSchedules.cs index 066b054d..3e15ce58 100644 --- a/sdk/dotnet/GetServerBackupSchedules.cs +++ b/sdk/dotnet/GetServerBackupSchedules.cs @@ -14,7 +14,7 @@ public static class GetServerBackupSchedules /// /// Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -31,7 +31,7 @@ public static Task InvokeAsync(GetServerBackupSc /// /// Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -48,7 +48,7 @@ public static Output Invoke(GetServerBackupSched /// /// Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetServerUpdateSchedule.cs b/sdk/dotnet/GetServerUpdateSchedule.cs index 3bb992e5..b6738709 100644 --- a/sdk/dotnet/GetServerUpdateSchedule.cs +++ b/sdk/dotnet/GetServerUpdateSchedule.cs @@ -14,7 +14,7 @@ public static class GetServerUpdateSchedule /// /// Server update schedule datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -32,7 +32,7 @@ public static Task InvokeAsync(GetServerUpdateSch /// /// Server update schedule datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -50,7 +50,7 @@ public static Output Invoke(GetServerUpdateSchedu /// /// Server update schedule datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetServerUpdateSchedules.cs b/sdk/dotnet/GetServerUpdateSchedules.cs index 369d7628..7eab3597 100644 --- a/sdk/dotnet/GetServerUpdateSchedules.cs +++ b/sdk/dotnet/GetServerUpdateSchedules.cs @@ -14,7 +14,7 @@ public static class GetServerUpdateSchedules /// /// Server update schedules datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -31,7 +31,7 @@ public static Task InvokeAsync(GetServerUpdateSc /// /// Server update schedules datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// @@ -48,7 +48,7 @@ public static Output Invoke(GetServerUpdateSched /// /// Server update schedules datasource schema. Must have a `region` specified in the provider configuration. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. /// /// ## Example Usage /// diff --git a/sdk/dotnet/GetSkeCluster.cs b/sdk/dotnet/GetSkeCluster.cs index 6855e117..d0ec9aa6 100644 --- a/sdk/dotnet/GetSkeCluster.cs +++ b/sdk/dotnet/GetSkeCluster.cs @@ -114,12 +114,6 @@ public GetSkeClusterInvokeArgs() [OutputType] public sealed class GetSkeClusterResult { - /// - /// DEPRECATED as of Kubernetes 1.25+ - /// Flag to specify if privileged mode for containers is enabled or not. - /// This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - /// - public readonly bool AllowPrivilegedContainers; /// /// The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. /// @@ -134,10 +128,6 @@ public sealed class GetSkeClusterResult public readonly ImmutableArray Hibernations; public readonly string Id; /// - /// Kubernetes version. This field is deprecated, use `kubernetes_version_used` instead - /// - public readonly string KubernetesVersion; - /// /// The minimum Kubernetes version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the `kubernetes_version_used` field. /// public readonly string KubernetesVersionMin; @@ -162,6 +152,10 @@ public sealed class GetSkeClusterResult /// public readonly ImmutableArray NodePools; /// + /// The network ranges (in CIDR notation) used by pods of the cluster. + /// + public readonly ImmutableArray PodAddressRanges; + /// /// STACKIT project ID to which the cluster is associated. /// public readonly string ProjectId; @@ -172,8 +166,6 @@ public sealed class GetSkeClusterResult [OutputConstructor] private GetSkeClusterResult( - bool allowPrivilegedContainers, - ImmutableArray egressAddressRanges, Outputs.GetSkeClusterExtensionsResult extensions, @@ -182,8 +174,6 @@ private GetSkeClusterResult( string id, - string kubernetesVersion, - string kubernetesVersionMin, string kubernetesVersionUsed, @@ -196,22 +186,23 @@ private GetSkeClusterResult( ImmutableArray nodePools, + ImmutableArray podAddressRanges, + string projectId, string? region) { - AllowPrivilegedContainers = allowPrivilegedContainers; EgressAddressRanges = egressAddressRanges; Extensions = extensions; Hibernations = hibernations; Id = id; - KubernetesVersion = kubernetesVersion; KubernetesVersionMin = kubernetesVersionMin; KubernetesVersionUsed = kubernetesVersionUsed; Maintenance = maintenance; Name = name; Network = network; NodePools = nodePools; + PodAddressRanges = podAddressRanges; ProjectId = projectId; Region = region; } diff --git a/sdk/dotnet/Git.cs b/sdk/dotnet/Git.cs index 4d8222e5..9d694c0e 100644 --- a/sdk/dotnet/Git.cs +++ b/sdk/dotnet/Git.cs @@ -12,13 +12,43 @@ namespace Pulumi.Stackit /// /// Git Instance resource schema. /// - /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. This resource currently does not support updates. Changing the ACLs, flavor, or name will trigger resource recreation. Update functionality will be added soon. In the meantime, please proceed with caution. To update these attributes, please open a support ticket. /// /// ## Example Usage /// [StackitResourceType("stackit:index/git:Git")] public partial class Git : global::Pulumi.CustomResource { + /// + /// Restricted ACL for instance access. + /// + [Output("acls")] + public Output> Acls { get; private set; } = null!; + + /// + /// How many bytes of disk space is consumed. + /// + [Output("consumedDisk")] + public Output ConsumedDisk { get; private set; } = null!; + + /// + /// How many bytes of Object Storage is consumed. + /// + [Output("consumedObjectStorage")] + public Output ConsumedObjectStorage { get; private set; } = null!; + + /// + /// Instance creation timestamp in RFC3339 format. + /// + [Output("created")] + public Output Created { get; private set; } = null!; + + /// + /// Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + /// + [Output("flavor")] + public Output Flavor { get; private set; } = null!; + /// /// ID linked to the git instance. /// @@ -96,6 +126,24 @@ public static Git Get(string name, Input id, GitState? state = null, Cus public sealed class GitArgs : global::Pulumi.ResourceArgs { + [Input("acls")] + private InputList? _acls; + + /// + /// Restricted ACL for instance access. + /// + public InputList Acls + { + get => _acls ?? (_acls = new InputList()); + set => _acls = value; + } + + /// + /// Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + /// + [Input("flavor")] + public Input? Flavor { get; set; } + /// /// Unique name linked to the git instance. /// @@ -116,6 +164,42 @@ public GitArgs() public sealed class GitState : global::Pulumi.ResourceArgs { + [Input("acls")] + private InputList? _acls; + + /// + /// Restricted ACL for instance access. + /// + public InputList Acls + { + get => _acls ?? (_acls = new InputList()); + set => _acls = value; + } + + /// + /// How many bytes of disk space is consumed. + /// + [Input("consumedDisk")] + public Input? ConsumedDisk { get; set; } + + /// + /// How many bytes of Object Storage is consumed. + /// + [Input("consumedObjectStorage")] + public Input? ConsumedObjectStorage { get; set; } + + /// + /// Instance creation timestamp in RFC3339 format. + /// + [Input("created")] + public Input? Created { get; set; } + + /// + /// Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + /// + [Input("flavor")] + public Input? Flavor { get; set; } + /// /// ID linked to the git instance. /// diff --git a/sdk/dotnet/Inputs/CdnCustomDomainCertificateArgs.cs b/sdk/dotnet/Inputs/CdnCustomDomainCertificateArgs.cs new file mode 100644 index 00000000..8d05f9e8 --- /dev/null +++ b/sdk/dotnet/Inputs/CdnCustomDomainCertificateArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class CdnCustomDomainCertificateArgs : global::Pulumi.ResourceArgs + { + [Input("certificate")] + private Input? _certificate; + + /// + /// The PEM-encoded TLS certificate. Required for custom certificates. + /// + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKey")] + private Input? _privateKey; + + /// + /// The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + public Input? PrivateKey + { + get => _privateKey; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + [Input("version")] + public Input? Version { get; set; } + + public CdnCustomDomainCertificateArgs() + { + } + public static new CdnCustomDomainCertificateArgs Empty => new CdnCustomDomainCertificateArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CdnCustomDomainCertificateGetArgs.cs b/sdk/dotnet/Inputs/CdnCustomDomainCertificateGetArgs.cs new file mode 100644 index 00000000..e2de5d77 --- /dev/null +++ b/sdk/dotnet/Inputs/CdnCustomDomainCertificateGetArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class CdnCustomDomainCertificateGetArgs : global::Pulumi.ResourceArgs + { + [Input("certificate")] + private Input? _certificate; + + /// + /// The PEM-encoded TLS certificate. Required for custom certificates. + /// + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKey")] + private Input? _privateKey; + + /// + /// The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + public Input? PrivateKey + { + get => _privateKey; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + [Input("version")] + public Input? Version { get; set; } + + public CdnCustomDomainCertificateGetArgs() + { + } + public static new CdnCustomDomainCertificateGetArgs Empty => new CdnCustomDomainCertificateGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs index 00a048b7..79e28ce1 100644 --- a/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs +++ b/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs @@ -18,6 +18,24 @@ public sealed class CdnDistributionConfigArgs : global::Pulumi.ResourceArgs [Input("backend", required: true)] public Input Backend { get; set; } = null!; + [Input("blockedCountries")] + private InputList? _blockedCountries; + + /// + /// The configured countries where distribution of content is blocked + /// + public InputList BlockedCountries + { + get => _blockedCountries ?? (_blockedCountries = new InputList()); + set => _blockedCountries = value; + } + + /// + /// Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + /// + [Input("optimizer")] + public Input? Optimizer { get; set; } + [Input("regions", required: true)] private InputList? _regions; diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs index fa1d3d81..50704489 100644 --- a/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs @@ -18,6 +18,24 @@ public sealed class CdnDistributionConfigGetArgs : global::Pulumi.ResourceArgs [Input("backend", required: true)] public Input Backend { get; set; } = null!; + [Input("blockedCountries")] + private InputList? _blockedCountries; + + /// + /// The configured countries where distribution of content is blocked + /// + public InputList BlockedCountries + { + get => _blockedCountries ?? (_blockedCountries = new InputList()); + set => _blockedCountries = value; + } + + /// + /// Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + /// + [Input("optimizer")] + public Input? Optimizer { get; set; } + [Input("regions", required: true)] private InputList? _regions; diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigOptimizerArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigOptimizerArgs.cs new file mode 100644 index 00000000..3657f13c --- /dev/null +++ b/sdk/dotnet/Inputs/CdnDistributionConfigOptimizerArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class CdnDistributionConfigOptimizerArgs : global::Pulumi.ResourceArgs + { + [Input("enabled")] + public Input? Enabled { get; set; } + + public CdnDistributionConfigOptimizerArgs() + { + } + public static new CdnDistributionConfigOptimizerArgs Empty => new CdnDistributionConfigOptimizerArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigOptimizerGetArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigOptimizerGetArgs.cs new file mode 100644 index 00000000..ac01a20b --- /dev/null +++ b/sdk/dotnet/Inputs/CdnDistributionConfigOptimizerGetArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class CdnDistributionConfigOptimizerGetArgs : global::Pulumi.ResourceArgs + { + [Input("enabled")] + public Input? Enabled { get; set; } + + public CdnDistributionConfigOptimizerGetArgs() + { + } + public static new CdnDistributionConfigOptimizerGetArgs Empty => new CdnDistributionConfigOptimizerGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetCdnCustomDomainCertificate.cs b/sdk/dotnet/Inputs/GetCdnCustomDomainCertificate.cs new file mode 100644 index 00000000..313222d7 --- /dev/null +++ b/sdk/dotnet/Inputs/GetCdnCustomDomainCertificate.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class GetCdnCustomDomainCertificateArgs : global::Pulumi.InvokeArgs + { + /// + /// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + [Input("version", required: true)] + public int Version { get; set; } + + public GetCdnCustomDomainCertificateArgs() + { + } + public static new GetCdnCustomDomainCertificateArgs Empty => new GetCdnCustomDomainCertificateArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetCdnCustomDomainCertificateArgs.cs b/sdk/dotnet/Inputs/GetCdnCustomDomainCertificateArgs.cs new file mode 100644 index 00000000..3c0779cc --- /dev/null +++ b/sdk/dotnet/Inputs/GetCdnCustomDomainCertificateArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class GetCdnCustomDomainCertificateInputArgs : global::Pulumi.ResourceArgs + { + /// + /// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + [Input("version", required: true)] + public Input Version { get; set; } = null!; + + public GetCdnCustomDomainCertificateInputArgs() + { + } + public static new GetCdnCustomDomainCertificateInputArgs Empty => new GetCdnCustomDomainCertificateInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetImageV2Filter.cs b/sdk/dotnet/Inputs/GetImageV2Filter.cs new file mode 100644 index 00000000..ef6a5d24 --- /dev/null +++ b/sdk/dotnet/Inputs/GetImageV2Filter.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class GetImageV2FilterArgs : global::Pulumi.InvokeArgs + { + /// + /// Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + /// + [Input("distro")] + public string? Distro { get; set; } + + /// + /// Filter images by operating system type, such as `linux` or `windows`. + /// + [Input("os")] + public string? Os { get; set; } + + /// + /// Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + /// + [Input("secureBoot")] + public bool? SecureBoot { get; set; } + + /// + /// Filter images based on UEFI support. Set to `true` to match images that support UEFI. + /// + [Input("uefi")] + public bool? Uefi { get; set; } + + /// + /// Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + /// + [Input("version")] + public string? Version { get; set; } + + public GetImageV2FilterArgs() + { + } + public static new GetImageV2FilterArgs Empty => new GetImageV2FilterArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetImageV2FilterArgs.cs b/sdk/dotnet/Inputs/GetImageV2FilterArgs.cs new file mode 100644 index 00000000..d0889adc --- /dev/null +++ b/sdk/dotnet/Inputs/GetImageV2FilterArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class GetImageV2FilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + /// + [Input("distro")] + public Input? Distro { get; set; } + + /// + /// Filter images by operating system type, such as `linux` or `windows`. + /// + [Input("os")] + public Input? Os { get; set; } + + /// + /// Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + /// + [Input("secureBoot")] + public Input? SecureBoot { get; set; } + + /// + /// Filter images based on UEFI support. Set to `true` to match images that support UEFI. + /// + [Input("uefi")] + public Input? Uefi { get; set; } + + /// + /// Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + /// + [Input("version")] + public Input? Version { get; set; } + + public GetImageV2FilterInputArgs() + { + } + public static new GetImageV2FilterInputArgs Empty => new GetImageV2FilterInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigArgs.cs index 9d2bf3d5..e8cffa66 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Stackit.Inputs public sealed class ObservabilityInstanceAlertConfigArgs : global::Pulumi.ResourceArgs { /// - /// Global configuration for the alerts. + /// Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. /// [Input("global")] public Input? Global { get; set; } diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigGetArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigGetArgs.cs index 95bc8050..a36c0944 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Stackit.Inputs public sealed class ObservabilityInstanceAlertConfigGetArgs : global::Pulumi.ResourceArgs { /// - /// Global configuration for the alerts. + /// Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. /// [Input("global")] public Input? Global { get; set; } diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigArgs.cs index aad06c4a..0551477d 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigArgs.cs @@ -18,11 +18,21 @@ public sealed class ObservabilityInstanceAlertConfigReceiverEmailConfigArgs : gl [Input("authIdentity")] public Input? AuthIdentity { get; set; } + [Input("authPassword")] + private Input? _authPassword; + /// /// SMTP authentication password. /// - [Input("authPassword")] - public Input? AuthPassword { get; set; } + public Input? AuthPassword + { + get => _authPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _authPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// SMTP authentication username. @@ -36,6 +46,12 @@ public sealed class ObservabilityInstanceAlertConfigReceiverEmailConfigArgs : gl [Input("from")] public Input? From { get; set; } + /// + /// Whether to notify about resolved alerts. + /// + [Input("sendResolved")] + public Input? SendResolved { get; set; } + /// /// The SMTP host through which emails are sent. /// diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigGetArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigGetArgs.cs index 3ed9795a..77d4c67b 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverEmailConfigGetArgs.cs @@ -18,11 +18,21 @@ public sealed class ObservabilityInstanceAlertConfigReceiverEmailConfigGetArgs : [Input("authIdentity")] public Input? AuthIdentity { get; set; } + [Input("authPassword")] + private Input? _authPassword; + /// /// SMTP authentication password. /// - [Input("authPassword")] - public Input? AuthPassword { get; set; } + public Input? AuthPassword + { + get => _authPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _authPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// SMTP authentication username. @@ -36,6 +46,12 @@ public sealed class ObservabilityInstanceAlertConfigReceiverEmailConfigGetArgs : [Input("from")] public Input? From { get; set; } + /// + /// Whether to notify about resolved alerts. + /// + [Input("sendResolved")] + public Input? SendResolved { get; set; } + /// /// The SMTP host through which emails are sent. /// diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs.cs index 3bab69e1..3d142f0e 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs.cs @@ -24,6 +24,18 @@ public sealed class ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs : [Input("apiUrl")] public Input? ApiUrl { get; set; } + /// + /// Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + /// + [Input("priority")] + public Input? Priority { get; set; } + + /// + /// Whether to notify about resolved alerts. + /// + [Input("sendResolved")] + public Input? SendResolved { get; set; } + /// /// Comma separated list of tags attached to the notifications. /// diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigGetArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigGetArgs.cs index 610d3d0b..1a6db350 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfigGetArgs.cs @@ -24,6 +24,18 @@ public sealed class ObservabilityInstanceAlertConfigReceiverOpsgenieConfigGetArg [Input("apiUrl")] public Input? ApiUrl { get; set; } + /// + /// Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + /// + [Input("priority")] + public Input? Priority { get; set; } + + /// + /// Whether to notify about resolved alerts. + /// + [Input("sendResolved")] + public Input? SendResolved { get; set; } + /// /// Comma separated list of tags attached to the notifications. /// diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs.cs index ec402b57..6fc57b80 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Stackit.Inputs public sealed class ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs : global::Pulumi.ResourceArgs { + /// + /// Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + /// + [Input("googleChat")] + public Input? GoogleChat { get; set; } + /// /// Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. /// @@ -19,10 +25,26 @@ public sealed class ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs : public Input? MsTeams { get; set; } /// - /// The endpoint to send HTTP POST requests to. Must be a valid URL + /// Whether to notify about resolved alerts. /// + [Input("sendResolved")] + public Input? SendResolved { get; set; } + [Input("url")] - public Input? Url { get; set; } + private Input? _url; + + /// + /// The endpoint to send HTTP POST requests to. Must be a valid URL + /// + public Input? Url + { + get => _url; + set + { + var emptySecret = Output.CreateSecret(0); + _url = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs() { diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigGetArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigGetArgs.cs index c86e771f..04ceba20 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfigGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Stackit.Inputs public sealed class ObservabilityInstanceAlertConfigReceiverWebhooksConfigGetArgs : global::Pulumi.ResourceArgs { + /// + /// Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + /// + [Input("googleChat")] + public Input? GoogleChat { get; set; } + /// /// Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. /// @@ -19,10 +25,26 @@ public sealed class ObservabilityInstanceAlertConfigReceiverWebhooksConfigGetArg public Input? MsTeams { get; set; } /// - /// The endpoint to send HTTP POST requests to. Must be a valid URL + /// Whether to notify about resolved alerts. /// + [Input("sendResolved")] + public Input? SendResolved { get; set; } + [Input("url")] - public Input? Url { get; set; } + private Input? _url; + + /// + /// The endpoint to send HTTP POST requests to. Must be a valid URL + /// + public Input? Url + { + get => _url; + set + { + var emptySecret = Output.CreateSecret(0); + _url = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ObservabilityInstanceAlertConfigReceiverWebhooksConfigGetArgs() { diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteArgs.cs index 4cf83e40..cd791f73 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteArgs.cs @@ -36,30 +36,6 @@ public InputList GroupBies [Input("groupWait")] public Input? GroupWait { get; set; } - [Input("match")] - private InputMap? _match; - - /// - /// A set of equality matchers an alert has to fulfill to match the node. - /// - public InputMap Match - { - get => _match ?? (_match = new InputMap()); - set => _match = value; - } - - [Input("matchRegex")] - private InputMap? _matchRegex; - - /// - /// A set of regex-matchers an alert has to fulfill to match the node. - /// - public InputMap MatchRegex - { - get => _matchRegex ?? (_matchRegex = new InputMap()); - set => _matchRegex = value; - } - /// /// The name of the receiver to route the alerts to. /// diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteGetArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteGetArgs.cs index a998b63f..530b624b 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteGetArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteGetArgs.cs @@ -36,30 +36,6 @@ public InputList GroupBies [Input("groupWait")] public Input? GroupWait { get; set; } - [Input("match")] - private InputMap? _match; - - /// - /// A set of equality matchers an alert has to fulfill to match the node. - /// - public InputMap Match - { - get => _match ?? (_match = new InputMap()); - set => _match = value; - } - - [Input("matchRegex")] - private InputMap? _matchRegex; - - /// - /// A set of regex-matchers an alert has to fulfill to match the node. - /// - public InputMap MatchRegex - { - get => _matchRegex ?? (_matchRegex = new InputMap()); - set => _matchRegex = value; - } - /// /// The name of the receiver to route the alerts to. /// diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteArgs.cs index be57f087..a4fa1112 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Stackit.Inputs public sealed class ObservabilityInstanceAlertConfigRouteRouteArgs : global::Pulumi.ResourceArgs { + /// + /// Whether an alert should continue matching subsequent sibling nodes. + /// + [Input("continue")] + public Input? Continue { get; set; } + [Input("groupBies")] private InputList? _groupBies; @@ -40,8 +46,9 @@ public InputList GroupBies private InputMap? _match; /// - /// A set of equality matchers an alert has to fulfill to match the node. + /// A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// + [Obsolete(@"Use `matchers` in the `routes` instead.")] public InputMap Match { get => _match ?? (_match = new InputMap()); @@ -52,14 +59,27 @@ public InputMap Match private InputMap? _matchRegex; /// - /// A set of regex-matchers an alert has to fulfill to match the node. + /// A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// + [Obsolete(@"Use `matchers` in the `routes` instead.")] public InputMap MatchRegex { get => _matchRegex ?? (_matchRegex = new InputMap()); set => _matchRegex = value; } + [Input("matchers")] + private InputList? _matchers; + + /// + /// A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + /// + public InputList Matchers + { + get => _matchers ?? (_matchers = new InputList()); + set => _matchers = value; + } + /// /// The name of the receiver to route the alerts to. /// diff --git a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteGetArgs.cs b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteGetArgs.cs index f49a9560..513316fd 100644 --- a/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteGetArgs.cs +++ b/sdk/dotnet/Inputs/ObservabilityInstanceAlertConfigRouteRouteGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Stackit.Inputs public sealed class ObservabilityInstanceAlertConfigRouteRouteGetArgs : global::Pulumi.ResourceArgs { + /// + /// Whether an alert should continue matching subsequent sibling nodes. + /// + [Input("continue")] + public Input? Continue { get; set; } + [Input("groupBies")] private InputList? _groupBies; @@ -40,8 +46,9 @@ public InputList GroupBies private InputMap? _match; /// - /// A set of equality matchers an alert has to fulfill to match the node. + /// A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// + [Obsolete(@"Use `matchers` in the `routes` instead.")] public InputMap Match { get => _match ?? (_match = new InputMap()); @@ -52,14 +59,27 @@ public InputMap Match private InputMap? _matchRegex; /// - /// A set of regex-matchers an alert has to fulfill to match the node. + /// A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// + [Obsolete(@"Use `matchers` in the `routes` instead.")] public InputMap MatchRegex { get => _matchRegex ?? (_matchRegex = new InputMap()); set => _matchRegex = value; } + [Input("matchers")] + private InputList? _matchers; + + /// + /// A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + /// + public InputList Matchers + { + get => _matchers ?? (_matchers = new InputList()); + set => _matchers = value; + } + /// /// The name of the receiver to route the alerts to. /// diff --git a/sdk/dotnet/Inputs/OpensearchInstanceParametersArgs.cs b/sdk/dotnet/Inputs/OpensearchInstanceParametersArgs.cs index b2bf0e1c..8380b6ad 100644 --- a/sdk/dotnet/Inputs/OpensearchInstanceParametersArgs.cs +++ b/sdk/dotnet/Inputs/OpensearchInstanceParametersArgs.cs @@ -108,11 +108,17 @@ public InputList TlsCiphers set => _tlsCiphers = value; } + [Input("tlsProtocols")] + private InputList? _tlsProtocols; + /// /// The TLS protocol to use. /// - [Input("tlsProtocols")] - public Input? TlsProtocols { get; set; } + public InputList TlsProtocols + { + get => _tlsProtocols ?? (_tlsProtocols = new InputList()); + set => _tlsProtocols = value; + } public OpensearchInstanceParametersArgs() { diff --git a/sdk/dotnet/Inputs/OpensearchInstanceParametersGetArgs.cs b/sdk/dotnet/Inputs/OpensearchInstanceParametersGetArgs.cs index 697c104e..82d04ddf 100644 --- a/sdk/dotnet/Inputs/OpensearchInstanceParametersGetArgs.cs +++ b/sdk/dotnet/Inputs/OpensearchInstanceParametersGetArgs.cs @@ -108,11 +108,17 @@ public InputList TlsCiphers set => _tlsCiphers = value; } + [Input("tlsProtocols")] + private InputList? _tlsProtocols; + /// /// The TLS protocol to use. /// - [Input("tlsProtocols")] - public Input? TlsProtocols { get; set; } + public InputList TlsProtocols + { + get => _tlsProtocols ?? (_tlsProtocols = new InputList()); + set => _tlsProtocols = value; + } public OpensearchInstanceParametersGetArgs() { diff --git a/sdk/dotnet/Inputs/RoutingTableRouteDestinationArgs.cs b/sdk/dotnet/Inputs/RoutingTableRouteDestinationArgs.cs new file mode 100644 index 00000000..a828468c --- /dev/null +++ b/sdk/dotnet/Inputs/RoutingTableRouteDestinationArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class RoutingTableRouteDestinationArgs : global::Pulumi.ResourceArgs + { + /// + /// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// An CIDR string. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public RoutingTableRouteDestinationArgs() + { + } + public static new RoutingTableRouteDestinationArgs Empty => new RoutingTableRouteDestinationArgs(); + } +} diff --git a/sdk/dotnet/Inputs/RoutingTableRouteDestinationGetArgs.cs b/sdk/dotnet/Inputs/RoutingTableRouteDestinationGetArgs.cs new file mode 100644 index 00000000..e4ad68b1 --- /dev/null +++ b/sdk/dotnet/Inputs/RoutingTableRouteDestinationGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class RoutingTableRouteDestinationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// An CIDR string. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public RoutingTableRouteDestinationGetArgs() + { + } + public static new RoutingTableRouteDestinationGetArgs Empty => new RoutingTableRouteDestinationGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/RoutingTableRouteNextHopArgs.cs b/sdk/dotnet/Inputs/RoutingTableRouteNextHopArgs.cs new file mode 100644 index 00000000..68e95fe2 --- /dev/null +++ b/sdk/dotnet/Inputs/RoutingTableRouteNextHopArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class RoutingTableRouteNextHopArgs : global::Pulumi.ResourceArgs + { + /// + /// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + /// + [Input("value")] + public Input? Value { get; set; } + + public RoutingTableRouteNextHopArgs() + { + } + public static new RoutingTableRouteNextHopArgs Empty => new RoutingTableRouteNextHopArgs(); + } +} diff --git a/sdk/dotnet/Inputs/RoutingTableRouteNextHopGetArgs.cs b/sdk/dotnet/Inputs/RoutingTableRouteNextHopGetArgs.cs new file mode 100644 index 00000000..f4f67559 --- /dev/null +++ b/sdk/dotnet/Inputs/RoutingTableRouteNextHopGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class RoutingTableRouteNextHopGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + /// + [Input("value")] + public Input? Value { get; set; } + + public RoutingTableRouteNextHopGetArgs() + { + } + public static new RoutingTableRouteNextHopGetArgs Empty => new RoutingTableRouteNextHopGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SkeClusterExtensionsArgs.cs b/sdk/dotnet/Inputs/SkeClusterExtensionsArgs.cs index 1a6bb471..70dc409b 100644 --- a/sdk/dotnet/Inputs/SkeClusterExtensionsArgs.cs +++ b/sdk/dotnet/Inputs/SkeClusterExtensionsArgs.cs @@ -19,7 +19,7 @@ public sealed class SkeClusterExtensionsArgs : global::Pulumi.ResourceArgs public Input? Acl { get; set; } /// - /// A single argus block as defined below. + /// A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. /// [Input("argus")] public Input? Argus { get; set; } @@ -30,6 +30,12 @@ public sealed class SkeClusterExtensionsArgs : global::Pulumi.ResourceArgs [Input("dns")] public Input? Dns { get; set; } + /// + /// A single observability block as defined below. + /// + [Input("observability")] + public Input? Observability { get; set; } + public SkeClusterExtensionsArgs() { } diff --git a/sdk/dotnet/Inputs/SkeClusterExtensionsGetArgs.cs b/sdk/dotnet/Inputs/SkeClusterExtensionsGetArgs.cs index 4807c0cb..4cc87125 100644 --- a/sdk/dotnet/Inputs/SkeClusterExtensionsGetArgs.cs +++ b/sdk/dotnet/Inputs/SkeClusterExtensionsGetArgs.cs @@ -19,7 +19,7 @@ public sealed class SkeClusterExtensionsGetArgs : global::Pulumi.ResourceArgs public Input? Acl { get; set; } /// - /// A single argus block as defined below. + /// A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. /// [Input("argus")] public Input? Argus { get; set; } @@ -30,6 +30,12 @@ public sealed class SkeClusterExtensionsGetArgs : global::Pulumi.ResourceArgs [Input("dns")] public Input? Dns { get; set; } + /// + /// A single observability block as defined below. + /// + [Input("observability")] + public Input? Observability { get; set; } + public SkeClusterExtensionsGetArgs() { } diff --git a/sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityArgs.cs b/sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityArgs.cs new file mode 100644 index 00000000..3d28f0a4 --- /dev/null +++ b/sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class SkeClusterExtensionsObservabilityArgs : global::Pulumi.ResourceArgs + { + /// + /// Flag to enable/disable Observability extensions. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + /// + [Input("instanceId")] + public Input? InstanceId { get; set; } + + public SkeClusterExtensionsObservabilityArgs() + { + } + public static new SkeClusterExtensionsObservabilityArgs Empty => new SkeClusterExtensionsObservabilityArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityGetArgs.cs b/sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityGetArgs.cs new file mode 100644 index 00000000..77e53c30 --- /dev/null +++ b/sdk/dotnet/Inputs/SkeClusterExtensionsObservabilityGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class SkeClusterExtensionsObservabilityGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Flag to enable/disable Observability extensions. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + /// + [Input("instanceId")] + public Input? InstanceId { get; set; } + + public SkeClusterExtensionsObservabilityGetArgs() + { + } + public static new SkeClusterExtensionsObservabilityGetArgs Empty => new SkeClusterExtensionsObservabilityGetArgs(); + } +} diff --git a/sdk/dotnet/KeyPair.cs b/sdk/dotnet/KeyPair.cs index 1b8138b1..f398e7eb 100644 --- a/sdk/dotnet/KeyPair.cs +++ b/sdk/dotnet/KeyPair.cs @@ -11,6 +11,8 @@ namespace Pulumi.Stackit { /// /// Key pair resource schema. Must have a `region` specified in the provider configuration. Allows uploading an SSH public key to be used for server authentication. + /// + /// ## Example Usage /// [StackitResourceType("stackit:index/keyPair:KeyPair")] public partial class KeyPair : global::Pulumi.CustomResource diff --git a/sdk/dotnet/Loadbalancer.cs b/sdk/dotnet/Loadbalancer.cs index 84230312..70b7dda6 100644 --- a/sdk/dotnet/Loadbalancer.cs +++ b/sdk/dotnet/Loadbalancer.cs @@ -15,6 +15,12 @@ namespace Pulumi.Stackit [StackitResourceType("stackit:index/loadbalancer:Loadbalancer")] public partial class Loadbalancer : global::Pulumi.CustomResource { + /// + /// If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + /// + [Output("disableSecurityGroupAssignment")] + public Output DisableSecurityGroupAssignment { get; private set; } = null!; + /// /// External Load Balancer IP address where this Load Balancer is exposed. /// @@ -45,6 +51,12 @@ public partial class Loadbalancer : global::Pulumi.CustomResource [Output("options")] public Output Options { get; private set; } = null!; + /// + /// The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + /// + [Output("planId")] + public Output PlanId { get; private set; } = null!; + /// /// Transient private Load Balancer IP address. It can change any time. /// @@ -63,6 +75,12 @@ public partial class Loadbalancer : global::Pulumi.CustomResource [Output("region")] public Output Region { get; private set; } = null!; + /// + /// The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. + /// + [Output("securityGroupId")] + public Output SecurityGroupId { get; private set; } = null!; + /// /// List of all target pools which will be used in the Load Balancer. Limited to 20. /// @@ -116,6 +134,12 @@ public static Loadbalancer Get(string name, Input id, LoadbalancerState? public sealed class LoadbalancerArgs : global::Pulumi.ResourceArgs { + /// + /// If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + /// + [Input("disableSecurityGroupAssignment")] + public Input? DisableSecurityGroupAssignment { get; set; } + /// /// External Load Balancer IP address where this Load Balancer is exposed. /// @@ -158,6 +182,12 @@ public InputList Networks [Input("options")] public Input? Options { get; set; } + /// + /// The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + /// + [Input("planId")] + public Input? PlanId { get; set; } + /// /// STACKIT project ID to which the Load Balancer is associated. /// @@ -190,6 +220,12 @@ public LoadbalancerArgs() public sealed class LoadbalancerState : global::Pulumi.ResourceArgs { + /// + /// If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + /// + [Input("disableSecurityGroupAssignment")] + public Input? DisableSecurityGroupAssignment { get; set; } + /// /// External Load Balancer IP address where this Load Balancer is exposed. /// @@ -232,6 +268,12 @@ public InputList Networks [Input("options")] public Input? Options { get; set; } + /// + /// The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + /// + [Input("planId")] + public Input? PlanId { get; set; } + /// /// Transient private Load Balancer IP address. It can change any time. /// @@ -250,6 +292,12 @@ public InputList Networks [Input("region")] public Input? Region { get; set; } + /// + /// The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. + /// + [Input("securityGroupId")] + public Input? SecurityGroupId { get; set; } + [Input("targetPools")] private InputList? _targetPools; diff --git a/sdk/dotnet/MongodbflexInstance.cs b/sdk/dotnet/MongodbflexInstance.cs index d81de027..4700d7b9 100644 --- a/sdk/dotnet/MongodbflexInstance.cs +++ b/sdk/dotnet/MongodbflexInstance.cs @@ -53,6 +53,12 @@ public partial class MongodbflexInstance : global::Pulumi.CustomResource [Output("projectId")] public Output ProjectId { get; private set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Output("region")] + public Output Region { get; private set; } = null!; + [Output("replicas")] public Output Replicas { get; private set; } = null!; @@ -145,6 +151,12 @@ public InputList Acls [Input("projectId", required: true)] public Input ProjectId { get; set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + [Input("replicas", required: true)] public Input Replicas { get; set; } = null!; @@ -204,6 +216,12 @@ public InputList Acls [Input("projectId")] public Input? ProjectId { get; set; } + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + [Input("replicas")] public Input? Replicas { get; set; } diff --git a/sdk/dotnet/MongodbflexUser.cs b/sdk/dotnet/MongodbflexUser.cs index 67d335d1..ad8be947 100644 --- a/sdk/dotnet/MongodbflexUser.cs +++ b/sdk/dotnet/MongodbflexUser.cs @@ -41,6 +41,12 @@ public partial class MongodbflexUser : global::Pulumi.CustomResource [Output("projectId")] public Output ProjectId { get; private set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Output("region")] + public Output Region { get; private set; } = null!; + /// /// Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] /// @@ -126,6 +132,12 @@ public sealed class MongodbflexUserArgs : global::Pulumi.ResourceArgs [Input("projectId", required: true)] public Input ProjectId { get; set; } = null!; + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + [Input("roles", required: true)] private InputList? _roles; @@ -182,6 +194,12 @@ public Input? Password [Input("projectId")] public Input? ProjectId { get; set; } + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + [Input("roles")] private InputList? _roles; diff --git a/sdk/dotnet/Network.cs b/sdk/dotnet/Network.cs index 07208ba2..921d84a9 100644 --- a/sdk/dotnet/Network.cs +++ b/sdk/dotnet/Network.cs @@ -131,12 +131,26 @@ public partial class Network : global::Pulumi.CustomResource [Output("publicIp")] public Output PublicIp { get; private set; } = null!; + /// + /// Can only be used when experimental "network" is set. + /// The resource region. If not defined, the provider region is used. + /// + [Output("region")] + public Output Region { get; private set; } = null!; + /// /// If set to `true`, the network is routed and therefore accessible from other networks. /// [Output("routed")] public Output Routed { get; private set; } = null!; + /// + /// Can only be used when experimental "network" is set. + /// The ID of the routing table associated with the network. + /// + [Output("routingTableId")] + public Output RoutingTableId { get; private set; } = null!; + /// /// Create a Network resource with the given unique name, arguments, and options. @@ -293,12 +307,26 @@ public InputList Nameservers [Input("projectId", required: true)] public Input ProjectId { get; set; } = null!; + /// + /// Can only be used when experimental "network" is set. + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + /// /// If set to `true`, the network is routed and therefore accessible from other networks. /// [Input("routed")] public Input? Routed { get; set; } + /// + /// Can only be used when experimental "network" is set. + /// The ID of the routing table associated with the network. + /// + [Input("routingTableId")] + public Input? RoutingTableId { get; set; } + public NetworkArgs() { } @@ -465,12 +493,26 @@ public InputList Prefixes [Input("publicIp")] public Input? PublicIp { get; set; } + /// + /// Can only be used when experimental "network" is set. + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + /// /// If set to `true`, the network is routed and therefore accessible from other networks. /// [Input("routed")] public Input? Routed { get; set; } + /// + /// Can only be used when experimental "network" is set. + /// The ID of the routing table associated with the network. + /// + [Input("routingTableId")] + public Input? RoutingTableId { get; set; } + public NetworkState() { } diff --git a/sdk/dotnet/ObservabilityCredential.cs b/sdk/dotnet/ObservabilityCredential.cs index e7385aea..051bee35 100644 --- a/sdk/dotnet/ObservabilityCredential.cs +++ b/sdk/dotnet/ObservabilityCredential.cs @@ -17,6 +17,12 @@ namespace Pulumi.Stackit [StackitResourceType("stackit:index/observabilityCredential:ObservabilityCredential")] public partial class ObservabilityCredential : global::Pulumi.CustomResource { + /// + /// A description of the credential. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + /// /// The Observability Instance ID the credential belongs to. /// @@ -92,6 +98,12 @@ public static ObservabilityCredential Get(string name, Input id, Observa public sealed class ObservabilityCredentialArgs : global::Pulumi.ResourceArgs { + /// + /// A description of the credential. + /// + [Input("description")] + public Input? Description { get; set; } + /// /// The Observability Instance ID the credential belongs to. /// @@ -112,6 +124,12 @@ public ObservabilityCredentialArgs() public sealed class ObservabilityCredentialState : global::Pulumi.ResourceArgs { + /// + /// A description of the credential. + /// + [Input("description")] + public Input? Description { get; set; } + /// /// The Observability Instance ID the credential belongs to. /// diff --git a/sdk/dotnet/ObservabilityInstance.cs b/sdk/dotnet/ObservabilityInstance.cs index 45deff9b..850ee785 100644 --- a/sdk/dotnet/ObservabilityInstance.cs +++ b/sdk/dotnet/ObservabilityInstance.cs @@ -102,19 +102,19 @@ public partial class ObservabilityInstance : global::Pulumi.CustomResource public Output MetricsPushUrl { get; private set; } = null!; /// - /// Specifies for how many days the raw metrics are kept. + /// Specifies for how many days the raw metrics are kept. Default is set to `90`. /// [Output("metricsRetentionDays")] public Output MetricsRetentionDays { get; private set; } = null!; /// - /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. /// [Output("metricsRetentionDays1hDownsampling")] public Output MetricsRetentionDays1hDownsampling { get; private set; } = null!; /// - /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. /// [Output("metricsRetentionDays5mDownsampling")] public Output MetricsRetentionDays5mDownsampling { get; private set; } = null!; @@ -237,19 +237,19 @@ public InputList Acls public Input? AlertConfig { get; set; } /// - /// Specifies for how many days the raw metrics are kept. + /// Specifies for how many days the raw metrics are kept. Default is set to `90`. /// [Input("metricsRetentionDays")] public Input? MetricsRetentionDays { get; set; } /// - /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. /// [Input("metricsRetentionDays1hDownsampling")] public Input? MetricsRetentionDays1hDownsampling { get; set; } /// - /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. /// [Input("metricsRetentionDays5mDownsampling")] public Input? MetricsRetentionDays5mDownsampling { get; set; } @@ -393,19 +393,19 @@ public Input? GrafanaInitialAdminPassword public Input? MetricsPushUrl { get; set; } /// - /// Specifies for how many days the raw metrics are kept. + /// Specifies for how many days the raw metrics are kept. Default is set to `90`. /// [Input("metricsRetentionDays")] public Input? MetricsRetentionDays { get; set; } /// - /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + /// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. /// [Input("metricsRetentionDays1hDownsampling")] public Input? MetricsRetentionDays1hDownsampling { get; set; } /// - /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + /// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. /// [Input("metricsRetentionDays5mDownsampling")] public Input? MetricsRetentionDays5mDownsampling { get; set; } diff --git a/sdk/dotnet/Outputs/CdnCustomDomainCertificate.cs b/sdk/dotnet/Outputs/CdnCustomDomainCertificate.cs new file mode 100644 index 00000000..d3e03c7b --- /dev/null +++ b/sdk/dotnet/Outputs/CdnCustomDomainCertificate.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class CdnCustomDomainCertificate + { + /// + /// The PEM-encoded TLS certificate. Required for custom certificates. + /// + public readonly string? Certificate; + /// + /// The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + public readonly string? PrivateKey; + /// + /// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + public readonly int? Version; + + [OutputConstructor] + private CdnCustomDomainCertificate( + string? certificate, + + string? privateKey, + + int? version) + { + Certificate = certificate; + PrivateKey = privateKey; + Version = version; + } + } +} diff --git a/sdk/dotnet/Outputs/CdnDistributionConfig.cs b/sdk/dotnet/Outputs/CdnDistributionConfig.cs index 4c94df01..16a83e69 100644 --- a/sdk/dotnet/Outputs/CdnDistributionConfig.cs +++ b/sdk/dotnet/Outputs/CdnDistributionConfig.cs @@ -18,6 +18,14 @@ public sealed class CdnDistributionConfig /// public readonly Outputs.CdnDistributionConfigBackend Backend; /// + /// The configured countries where distribution of content is blocked + /// + public readonly ImmutableArray BlockedCountries; + /// + /// Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + /// + public readonly Outputs.CdnDistributionConfigOptimizer? Optimizer; + /// /// The configured regions where content will be hosted /// public readonly ImmutableArray Regions; @@ -26,9 +34,15 @@ public sealed class CdnDistributionConfig private CdnDistributionConfig( Outputs.CdnDistributionConfigBackend backend, + ImmutableArray blockedCountries, + + Outputs.CdnDistributionConfigOptimizer? optimizer, + ImmutableArray regions) { Backend = backend; + BlockedCountries = blockedCountries; + Optimizer = optimizer; Regions = regions; } } diff --git a/sdk/dotnet/Outputs/CdnDistributionConfigOptimizer.cs b/sdk/dotnet/Outputs/CdnDistributionConfigOptimizer.cs new file mode 100644 index 00000000..c22b2504 --- /dev/null +++ b/sdk/dotnet/Outputs/CdnDistributionConfigOptimizer.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class CdnDistributionConfigOptimizer + { + public readonly bool? Enabled; + + [OutputConstructor] + private CdnDistributionConfigOptimizer(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/GetCdnCustomDomainCertificateResult.cs b/sdk/dotnet/Outputs/GetCdnCustomDomainCertificateResult.cs new file mode 100644 index 00000000..79b54e98 --- /dev/null +++ b/sdk/dotnet/Outputs/GetCdnCustomDomainCertificateResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetCdnCustomDomainCertificateResult + { + /// + /// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + /// + public readonly int Version; + + [OutputConstructor] + private GetCdnCustomDomainCertificateResult(int version) + { + Version = version; + } + } +} diff --git a/sdk/dotnet/Outputs/GetCdnDistributionConfigOptimizerResult.cs b/sdk/dotnet/Outputs/GetCdnDistributionConfigOptimizerResult.cs new file mode 100644 index 00000000..36ae3776 --- /dev/null +++ b/sdk/dotnet/Outputs/GetCdnDistributionConfigOptimizerResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetCdnDistributionConfigOptimizerResult + { + public readonly bool Enabled; + + [OutputConstructor] + private GetCdnDistributionConfigOptimizerResult(bool enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs b/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs index 62bbe56e..f273e659 100644 --- a/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs +++ b/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs @@ -18,6 +18,14 @@ public sealed class GetCdnDistributionConfigResult /// public readonly Outputs.GetCdnDistributionConfigBackendResult Backend; /// + /// The configured countries where distribution of content is blocked + /// + public readonly ImmutableArray BlockedCountries; + /// + /// Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + /// + public readonly Outputs.GetCdnDistributionConfigOptimizerResult Optimizer; + /// /// The configured regions where content will be hosted /// public readonly ImmutableArray Regions; @@ -26,9 +34,15 @@ public sealed class GetCdnDistributionConfigResult private GetCdnDistributionConfigResult( Outputs.GetCdnDistributionConfigBackendResult backend, + ImmutableArray blockedCountries, + + Outputs.GetCdnDistributionConfigOptimizerResult optimizer, + ImmutableArray regions) { Backend = backend; + BlockedCountries = blockedCountries; + Optimizer = optimizer; Regions = regions; } } diff --git a/sdk/dotnet/Outputs/GetImageV2ChecksumResult.cs b/sdk/dotnet/Outputs/GetImageV2ChecksumResult.cs new file mode 100644 index 00000000..e2b2f4c6 --- /dev/null +++ b/sdk/dotnet/Outputs/GetImageV2ChecksumResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetImageV2ChecksumResult + { + /// + /// Algorithm for the checksum of the image data. + /// + public readonly string Algorithm; + /// + /// Hexdigest of the checksum of the image data. + /// + public readonly string Digest; + + [OutputConstructor] + private GetImageV2ChecksumResult( + string algorithm, + + string digest) + { + Algorithm = algorithm; + Digest = digest; + } + } +} diff --git a/sdk/dotnet/Outputs/GetImageV2ConfigResult.cs b/sdk/dotnet/Outputs/GetImageV2ConfigResult.cs new file mode 100644 index 00000000..76404349 --- /dev/null +++ b/sdk/dotnet/Outputs/GetImageV2ConfigResult.cs @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetImageV2ConfigResult + { + /// + /// Enables the BIOS bootmenu. + /// + public readonly bool BootMenu; + /// + /// Sets CDROM bus controller type. + /// + public readonly string CdromBus; + /// + /// Sets Disk bus controller type. + /// + public readonly string DiskBus; + /// + /// Sets virtual network interface model. + /// + public readonly string NicModel; + /// + /// Enables operating system specific optimizations. + /// + public readonly string OperatingSystem; + /// + /// Operating system distribution. + /// + public readonly string OperatingSystemDistro; + /// + /// Version of the operating system. + /// + public readonly string OperatingSystemVersion; + /// + /// Sets the device bus when the image is used as a rescue image. + /// + public readonly string RescueBus; + /// + /// Sets the device when the image is used as a rescue image. + /// + public readonly string RescueDevice; + /// + /// Enables Secure Boot. + /// + public readonly bool SecureBoot; + /// + /// Enables UEFI boot. + /// + public readonly bool Uefi; + /// + /// Sets Graphic device model. + /// + public readonly string VideoModel; + /// + /// Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + /// + public readonly bool VirtioScsi; + + [OutputConstructor] + private GetImageV2ConfigResult( + bool bootMenu, + + string cdromBus, + + string diskBus, + + string nicModel, + + string operatingSystem, + + string operatingSystemDistro, + + string operatingSystemVersion, + + string rescueBus, + + string rescueDevice, + + bool secureBoot, + + bool uefi, + + string videoModel, + + bool virtioScsi) + { + BootMenu = bootMenu; + CdromBus = cdromBus; + DiskBus = diskBus; + NicModel = nicModel; + OperatingSystem = operatingSystem; + OperatingSystemDistro = operatingSystemDistro; + OperatingSystemVersion = operatingSystemVersion; + RescueBus = rescueBus; + RescueDevice = rescueDevice; + SecureBoot = secureBoot; + Uefi = uefi; + VideoModel = videoModel; + VirtioScsi = virtioScsi; + } + } +} diff --git a/sdk/dotnet/Outputs/GetImageV2FilterResult.cs b/sdk/dotnet/Outputs/GetImageV2FilterResult.cs new file mode 100644 index 00000000..062c123c --- /dev/null +++ b/sdk/dotnet/Outputs/GetImageV2FilterResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetImageV2FilterResult + { + /// + /// Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + /// + public readonly string? Distro; + /// + /// Filter images by operating system type, such as `linux` or `windows`. + /// + public readonly string? Os; + /// + /// Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + /// + public readonly bool? SecureBoot; + /// + /// Filter images based on UEFI support. Set to `true` to match images that support UEFI. + /// + public readonly bool? Uefi; + /// + /// Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + /// + public readonly string? Version; + + [OutputConstructor] + private GetImageV2FilterResult( + string? distro, + + string? os, + + bool? secureBoot, + + bool? uefi, + + string? version) + { + Distro = distro; + Os = os; + SecureBoot = secureBoot; + Uefi = uefi; + Version = version; + } + } +} diff --git a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverEmailConfigResult.cs b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverEmailConfigResult.cs index 463effa0..336b119a 100644 --- a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverEmailConfigResult.cs +++ b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverEmailConfigResult.cs @@ -30,6 +30,10 @@ public sealed class GetObservabilityInstanceAlertConfigReceiverEmailConfigResult /// public readonly string From; /// + /// Whether to notify about resolved alerts. + /// + public readonly bool SendResolved; + /// /// The SMTP host through which emails are sent. /// public readonly string SmartHost; @@ -48,6 +52,8 @@ private GetObservabilityInstanceAlertConfigReceiverEmailConfigResult( string from, + bool sendResolved, + string smartHost, string to) @@ -56,6 +62,7 @@ private GetObservabilityInstanceAlertConfigReceiverEmailConfigResult( AuthPassword = authPassword; AuthUsername = authUsername; From = from; + SendResolved = sendResolved; SmartHost = smartHost; To = to; } diff --git a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult.cs b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult.cs index 81db586f..179ecc94 100644 --- a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult.cs +++ b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult.cs @@ -22,6 +22,14 @@ public sealed class GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigRes /// public readonly string ApiUrl; /// + /// Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + /// + public readonly string Priority; + /// + /// Whether to notify about resolved alerts. + /// + public readonly bool SendResolved; + /// /// Comma separated list of tags attached to the notifications. /// public readonly string Tags; @@ -32,10 +40,16 @@ private GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult( string apiUrl, + string priority, + + bool sendResolved, + string tags) { ApiKey = apiKey; ApiUrl = apiUrl; + Priority = priority; + SendResolved = sendResolved; Tags = tags; } } diff --git a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult.cs b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult.cs index 1152a6e6..757f7907 100644 --- a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult.cs +++ b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult.cs @@ -13,22 +13,36 @@ namespace Pulumi.Stackit.Outputs [OutputType] public sealed class GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult { + /// + /// Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + /// + public readonly bool GoogleChat; /// /// Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. /// public readonly bool MsTeams; /// + /// Whether to notify about resolved alerts. + /// + public readonly bool SendResolved; + /// /// The endpoint to send HTTP POST requests to. Must be a valid URL /// public readonly string Url; [OutputConstructor] private GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult( + bool googleChat, + bool msTeams, + bool sendResolved, + string url) { + GoogleChat = googleChat; MsTeams = msTeams; + SendResolved = sendResolved; Url = url; } } diff --git a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteResult.cs b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteResult.cs index b2253cf2..558d10d8 100644 --- a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteResult.cs +++ b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteResult.cs @@ -26,14 +26,6 @@ public sealed class GetObservabilityInstanceAlertConfigRouteResult /// public readonly string GroupWait; /// - /// A set of equality matchers an alert has to fulfill to match the node. - /// - public readonly ImmutableDictionary Match; - /// - /// A set of regex-matchers an alert has to fulfill to match the node. - /// - public readonly ImmutableDictionary MatchRegex; - /// /// The name of the receiver to route the alerts to. /// public readonly string Receiver; @@ -54,10 +46,6 @@ private GetObservabilityInstanceAlertConfigRouteResult( string groupWait, - ImmutableDictionary match, - - ImmutableDictionary matchRegex, - string receiver, string repeatInterval, @@ -67,8 +55,6 @@ private GetObservabilityInstanceAlertConfigRouteResult( GroupBies = groupBies; GroupInterval = groupInterval; GroupWait = groupWait; - Match = match; - MatchRegex = matchRegex; Receiver = receiver; RepeatInterval = repeatInterval; Routes = routes; diff --git a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteRouteResult.cs b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteRouteResult.cs index c5715ccc..de8c905e 100644 --- a/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteRouteResult.cs +++ b/sdk/dotnet/Outputs/GetObservabilityInstanceAlertConfigRouteRouteResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Stackit.Outputs [OutputType] public sealed class GetObservabilityInstanceAlertConfigRouteRouteResult { + /// + /// Whether an alert should continue matching subsequent sibling nodes. + /// + public readonly bool Continue; /// /// The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. /// @@ -26,14 +30,18 @@ public sealed class GetObservabilityInstanceAlertConfigRouteRouteResult /// public readonly string GroupWait; /// - /// A set of equality matchers an alert has to fulfill to match the node. + /// A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// public readonly ImmutableDictionary Match; /// - /// A set of regex-matchers an alert has to fulfill to match the node. + /// A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// public readonly ImmutableDictionary MatchRegex; /// + /// A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + /// + public readonly ImmutableArray Matchers; + /// /// The name of the receiver to route the alerts to. /// public readonly string Receiver; @@ -44,6 +52,8 @@ public sealed class GetObservabilityInstanceAlertConfigRouteRouteResult [OutputConstructor] private GetObservabilityInstanceAlertConfigRouteRouteResult( + bool @continue, + ImmutableArray groupBies, string groupInterval, @@ -54,15 +64,19 @@ private GetObservabilityInstanceAlertConfigRouteRouteResult( ImmutableDictionary matchRegex, + ImmutableArray matchers, + string receiver, string repeatInterval) { + Continue = @continue; GroupBies = groupBies; GroupInterval = groupInterval; GroupWait = groupWait; Match = match; MatchRegex = matchRegex; + Matchers = matchers; Receiver = receiver; RepeatInterval = repeatInterval; } diff --git a/sdk/dotnet/Outputs/GetRoutingTableRouteDestinationResult.cs b/sdk/dotnet/Outputs/GetRoutingTableRouteDestinationResult.cs new file mode 100644 index 00000000..e203e1f3 --- /dev/null +++ b/sdk/dotnet/Outputs/GetRoutingTableRouteDestinationResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetRoutingTableRouteDestinationResult + { + /// + /// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + /// + public readonly string Type; + /// + /// An CIDR string. + /// + public readonly string Value; + + [OutputConstructor] + private GetRoutingTableRouteDestinationResult( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRoutingTableRouteNextHopResult.cs b/sdk/dotnet/Outputs/GetRoutingTableRouteNextHopResult.cs new file mode 100644 index 00000000..dac8b570 --- /dev/null +++ b/sdk/dotnet/Outputs/GetRoutingTableRouteNextHopResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetRoutingTableRouteNextHopResult + { + /// + /// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + /// + public readonly string Type; + /// + /// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + /// + public readonly string Value; + + [OutputConstructor] + private GetRoutingTableRouteNextHopResult( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteDestinationResult.cs b/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteDestinationResult.cs new file mode 100644 index 00000000..019f928c --- /dev/null +++ b/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteDestinationResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetRoutingTableRoutesRouteDestinationResult + { + /// + /// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + /// + public readonly string Type; + /// + /// An CIDR string. + /// + public readonly string Value; + + [OutputConstructor] + private GetRoutingTableRoutesRouteDestinationResult( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteNextHopResult.cs b/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteNextHopResult.cs new file mode 100644 index 00000000..8cee90ad --- /dev/null +++ b/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteNextHopResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetRoutingTableRoutesRouteNextHopResult + { + /// + /// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + /// + public readonly string Type; + /// + /// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + /// + public readonly string Value; + + [OutputConstructor] + private GetRoutingTableRoutesRouteNextHopResult( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteResult.cs b/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteResult.cs new file mode 100644 index 00000000..a3908a9b --- /dev/null +++ b/sdk/dotnet/Outputs/GetRoutingTableRoutesRouteResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetRoutingTableRoutesRouteResult + { + /// + /// Date-time when the route was created + /// + public readonly string CreatedAt; + /// + /// Destination of the route. + /// + public readonly Outputs.GetRoutingTableRoutesRouteDestinationResult Destination; + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public readonly ImmutableDictionary Labels; + /// + /// Next hop destination. + /// + public readonly Outputs.GetRoutingTableRoutesRouteNextHopResult NextHop; + /// + /// Route ID. + /// + public readonly string RouteId; + /// + /// Date-time when the route was updated + /// + public readonly string UpdatedAt; + + [OutputConstructor] + private GetRoutingTableRoutesRouteResult( + string createdAt, + + Outputs.GetRoutingTableRoutesRouteDestinationResult destination, + + ImmutableDictionary labels, + + Outputs.GetRoutingTableRoutesRouteNextHopResult nextHop, + + string routeId, + + string updatedAt) + { + CreatedAt = createdAt; + Destination = destination; + Labels = labels; + NextHop = nextHop; + RouteId = routeId; + UpdatedAt = updatedAt; + } + } +} diff --git a/sdk/dotnet/Outputs/GetRoutingTablesItemResult.cs b/sdk/dotnet/Outputs/GetRoutingTablesItemResult.cs new file mode 100644 index 00000000..db00a463 --- /dev/null +++ b/sdk/dotnet/Outputs/GetRoutingTablesItemResult.cs @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetRoutingTablesItemResult + { + /// + /// Date-time when the routing table was created + /// + public readonly string CreatedAt; + /// + /// When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + /// + public readonly bool Default; + /// + /// Description of the routing table. + /// + public readonly string Description; + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public readonly ImmutableDictionary Labels; + /// + /// The name of the routing table. + /// + public readonly string Name; + /// + /// The routing tables ID. + /// + public readonly string RoutingTableId; + /// + /// This controls whether the routes for project-to-project communication are created automatically or not. + /// + public readonly bool SystemRoutes; + /// + /// Date-time when the routing table was updated + /// + public readonly string UpdatedAt; + + [OutputConstructor] + private GetRoutingTablesItemResult( + string createdAt, + + bool @default, + + string description, + + ImmutableDictionary labels, + + string name, + + string routingTableId, + + bool systemRoutes, + + string updatedAt) + { + CreatedAt = createdAt; + Default = @default; + Description = description; + Labels = labels; + Name = name; + RoutingTableId = routingTableId; + SystemRoutes = systemRoutes; + UpdatedAt = updatedAt; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSkeClusterExtensionsObservabilityResult.cs b/sdk/dotnet/Outputs/GetSkeClusterExtensionsObservabilityResult.cs new file mode 100644 index 00000000..e768b445 --- /dev/null +++ b/sdk/dotnet/Outputs/GetSkeClusterExtensionsObservabilityResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetSkeClusterExtensionsObservabilityResult + { + /// + /// Flag to enable/disable Observability extensions. + /// + public readonly bool Enabled; + /// + /// Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + /// + public readonly string InstanceId; + + [OutputConstructor] + private GetSkeClusterExtensionsObservabilityResult( + bool enabled, + + string instanceId) + { + Enabled = enabled; + InstanceId = instanceId; + } + } +} diff --git a/sdk/dotnet/Outputs/GetSkeClusterExtensionsResult.cs b/sdk/dotnet/Outputs/GetSkeClusterExtensionsResult.cs index 63d46da0..47c68547 100644 --- a/sdk/dotnet/Outputs/GetSkeClusterExtensionsResult.cs +++ b/sdk/dotnet/Outputs/GetSkeClusterExtensionsResult.cs @@ -18,13 +18,17 @@ public sealed class GetSkeClusterExtensionsResult /// public readonly Outputs.GetSkeClusterExtensionsAclResult Acl; /// - /// A single argus block as defined below + /// A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. /// public readonly Outputs.GetSkeClusterExtensionsArgusResult Argus; /// /// DNS extension configuration /// public readonly Outputs.GetSkeClusterExtensionsDnsResult Dns; + /// + /// A single observability block as defined below. + /// + public readonly Outputs.GetSkeClusterExtensionsObservabilityResult Observability; [OutputConstructor] private GetSkeClusterExtensionsResult( @@ -32,11 +36,14 @@ private GetSkeClusterExtensionsResult( Outputs.GetSkeClusterExtensionsArgusResult argus, - Outputs.GetSkeClusterExtensionsDnsResult dns) + Outputs.GetSkeClusterExtensionsDnsResult dns, + + Outputs.GetSkeClusterExtensionsObservabilityResult observability) { Acl = acl; Argus = argus; Dns = dns; + Observability = observability; } } } diff --git a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfig.cs b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfig.cs index a36bccef..213f493a 100644 --- a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfig.cs +++ b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfig.cs @@ -14,7 +14,7 @@ namespace Pulumi.Stackit.Outputs public sealed class ObservabilityInstanceAlertConfig { /// - /// Global configuration for the alerts. + /// Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. /// public readonly Outputs.ObservabilityInstanceAlertConfigGlobal? Global; /// diff --git a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverEmailConfig.cs b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverEmailConfig.cs index 1117a971..b4e15605 100644 --- a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverEmailConfig.cs +++ b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverEmailConfig.cs @@ -30,6 +30,10 @@ public sealed class ObservabilityInstanceAlertConfigReceiverEmailConfig /// public readonly string? From; /// + /// Whether to notify about resolved alerts. + /// + public readonly bool? SendResolved; + /// /// The SMTP host through which emails are sent. /// public readonly string? SmartHost; @@ -48,6 +52,8 @@ private ObservabilityInstanceAlertConfigReceiverEmailConfig( string? from, + bool? sendResolved, + string? smartHost, string? to) @@ -56,6 +62,7 @@ private ObservabilityInstanceAlertConfigReceiverEmailConfig( AuthPassword = authPassword; AuthUsername = authUsername; From = from; + SendResolved = sendResolved; SmartHost = smartHost; To = to; } diff --git a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfig.cs b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfig.cs index 695e73f8..d944aabb 100644 --- a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfig.cs +++ b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverOpsgenieConfig.cs @@ -22,6 +22,14 @@ public sealed class ObservabilityInstanceAlertConfigReceiverOpsgenieConfig /// public readonly string? ApiUrl; /// + /// Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + /// + public readonly string? Priority; + /// + /// Whether to notify about resolved alerts. + /// + public readonly bool? SendResolved; + /// /// Comma separated list of tags attached to the notifications. /// public readonly string? Tags; @@ -32,10 +40,16 @@ private ObservabilityInstanceAlertConfigReceiverOpsgenieConfig( string? apiUrl, + string? priority, + + bool? sendResolved, + string? tags) { ApiKey = apiKey; ApiUrl = apiUrl; + Priority = priority; + SendResolved = sendResolved; Tags = tags; } } diff --git a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfig.cs b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfig.cs index 48798c88..2811aa57 100644 --- a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfig.cs +++ b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigReceiverWebhooksConfig.cs @@ -13,22 +13,36 @@ namespace Pulumi.Stackit.Outputs [OutputType] public sealed class ObservabilityInstanceAlertConfigReceiverWebhooksConfig { + /// + /// Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + /// + public readonly bool? GoogleChat; /// /// Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. /// public readonly bool? MsTeams; /// + /// Whether to notify about resolved alerts. + /// + public readonly bool? SendResolved; + /// /// The endpoint to send HTTP POST requests to. Must be a valid URL /// public readonly string? Url; [OutputConstructor] private ObservabilityInstanceAlertConfigReceiverWebhooksConfig( + bool? googleChat, + bool? msTeams, + bool? sendResolved, + string? url) { + GoogleChat = googleChat; MsTeams = msTeams; + SendResolved = sendResolved; Url = url; } } diff --git a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRoute.cs b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRoute.cs index 05f7ba6f..13a9c28d 100644 --- a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRoute.cs +++ b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRoute.cs @@ -26,14 +26,6 @@ public sealed class ObservabilityInstanceAlertConfigRoute /// public readonly string? GroupWait; /// - /// A set of equality matchers an alert has to fulfill to match the node. - /// - public readonly ImmutableDictionary? Match; - /// - /// A set of regex-matchers an alert has to fulfill to match the node. - /// - public readonly ImmutableDictionary? MatchRegex; - /// /// The name of the receiver to route the alerts to. /// public readonly string Receiver; @@ -54,10 +46,6 @@ private ObservabilityInstanceAlertConfigRoute( string? groupWait, - ImmutableDictionary? match, - - ImmutableDictionary? matchRegex, - string receiver, string? repeatInterval, @@ -67,8 +55,6 @@ private ObservabilityInstanceAlertConfigRoute( GroupBies = groupBies; GroupInterval = groupInterval; GroupWait = groupWait; - Match = match; - MatchRegex = matchRegex; Receiver = receiver; RepeatInterval = repeatInterval; Routes = routes; diff --git a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRouteRoute.cs b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRouteRoute.cs index 42ccf449..00e05737 100644 --- a/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRouteRoute.cs +++ b/sdk/dotnet/Outputs/ObservabilityInstanceAlertConfigRouteRoute.cs @@ -13,6 +13,10 @@ namespace Pulumi.Stackit.Outputs [OutputType] public sealed class ObservabilityInstanceAlertConfigRouteRoute { + /// + /// Whether an alert should continue matching subsequent sibling nodes. + /// + public readonly bool? Continue; /// /// The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. /// @@ -26,14 +30,18 @@ public sealed class ObservabilityInstanceAlertConfigRouteRoute /// public readonly string? GroupWait; /// - /// A set of equality matchers an alert has to fulfill to match the node. + /// A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// public readonly ImmutableDictionary? Match; /// - /// A set of regex-matchers an alert has to fulfill to match the node. + /// A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead /// public readonly ImmutableDictionary? MatchRegex; /// + /// A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + /// + public readonly ImmutableArray Matchers; + /// /// The name of the receiver to route the alerts to. /// public readonly string Receiver; @@ -44,6 +52,8 @@ public sealed class ObservabilityInstanceAlertConfigRouteRoute [OutputConstructor] private ObservabilityInstanceAlertConfigRouteRoute( + bool? @continue, + ImmutableArray groupBies, string? groupInterval, @@ -54,15 +64,19 @@ private ObservabilityInstanceAlertConfigRouteRoute( ImmutableDictionary? matchRegex, + ImmutableArray matchers, + string receiver, string? repeatInterval) { + Continue = @continue; GroupBies = groupBies; GroupInterval = groupInterval; GroupWait = groupWait; Match = match; MatchRegex = matchRegex; + Matchers = matchers; Receiver = receiver; RepeatInterval = repeatInterval; } diff --git a/sdk/dotnet/Outputs/OpensearchInstanceParameters.cs b/sdk/dotnet/Outputs/OpensearchInstanceParameters.cs index 37f2d4bf..da6f0cc7 100644 --- a/sdk/dotnet/Outputs/OpensearchInstanceParameters.cs +++ b/sdk/dotnet/Outputs/OpensearchInstanceParameters.cs @@ -68,7 +68,7 @@ public sealed class OpensearchInstanceParameters /// /// The TLS protocol to use. /// - public readonly string? TlsProtocols; + public readonly ImmutableArray TlsProtocols; [OutputConstructor] private OpensearchInstanceParameters( @@ -98,7 +98,7 @@ private OpensearchInstanceParameters( ImmutableArray tlsCiphers, - string? tlsProtocols) + ImmutableArray tlsProtocols) { EnableMonitoring = enableMonitoring; Graphite = graphite; diff --git a/sdk/dotnet/Outputs/RoutingTableRouteDestination.cs b/sdk/dotnet/Outputs/RoutingTableRouteDestination.cs new file mode 100644 index 00000000..ca30f825 --- /dev/null +++ b/sdk/dotnet/Outputs/RoutingTableRouteDestination.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class RoutingTableRouteDestination + { + /// + /// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + /// + public readonly string Type; + /// + /// An CIDR string. + /// + public readonly string Value; + + [OutputConstructor] + private RoutingTableRouteDestination( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/RoutingTableRouteNextHop.cs b/sdk/dotnet/Outputs/RoutingTableRouteNextHop.cs new file mode 100644 index 00000000..7167232b --- /dev/null +++ b/sdk/dotnet/Outputs/RoutingTableRouteNextHop.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class RoutingTableRouteNextHop + { + /// + /// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + /// + public readonly string Type; + /// + /// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + /// + public readonly string? Value; + + [OutputConstructor] + private RoutingTableRouteNextHop( + string type, + + string? value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/SkeClusterExtensions.cs b/sdk/dotnet/Outputs/SkeClusterExtensions.cs index 8a27b6a8..0446df0d 100644 --- a/sdk/dotnet/Outputs/SkeClusterExtensions.cs +++ b/sdk/dotnet/Outputs/SkeClusterExtensions.cs @@ -18,13 +18,17 @@ public sealed class SkeClusterExtensions /// public readonly Outputs.SkeClusterExtensionsAcl? Acl; /// - /// A single argus block as defined below. + /// A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. /// public readonly Outputs.SkeClusterExtensionsArgus? Argus; /// /// DNS extension configuration /// public readonly Outputs.SkeClusterExtensionsDns? Dns; + /// + /// A single observability block as defined below. + /// + public readonly Outputs.SkeClusterExtensionsObservability? Observability; [OutputConstructor] private SkeClusterExtensions( @@ -32,11 +36,14 @@ private SkeClusterExtensions( Outputs.SkeClusterExtensionsArgus? argus, - Outputs.SkeClusterExtensionsDns? dns) + Outputs.SkeClusterExtensionsDns? dns, + + Outputs.SkeClusterExtensionsObservability? observability) { Acl = acl; Argus = argus; Dns = dns; + Observability = observability; } } } diff --git a/sdk/dotnet/Outputs/SkeClusterExtensionsObservability.cs b/sdk/dotnet/Outputs/SkeClusterExtensionsObservability.cs new file mode 100644 index 00000000..b6ef6b5f --- /dev/null +++ b/sdk/dotnet/Outputs/SkeClusterExtensionsObservability.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class SkeClusterExtensionsObservability + { + /// + /// Flag to enable/disable Observability extensions. + /// + public readonly bool Enabled; + /// + /// Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + /// + public readonly string? InstanceId; + + [OutputConstructor] + private SkeClusterExtensionsObservability( + bool enabled, + + string? instanceId) + { + Enabled = enabled; + InstanceId = instanceId; + } + } +} diff --git a/sdk/dotnet/Provider.cs b/sdk/dotnet/Provider.cs index ff074fad..d46980f7 100644 --- a/sdk/dotnet/Provider.cs +++ b/sdk/dotnet/Provider.cs @@ -18,12 +18,6 @@ namespace Pulumi.Stackit [StackitResourceType("pulumi:providers:stackit")] public partial class Provider : global::Pulumi.ProviderResource { - /// - /// Custom endpoint for the Argus service - /// - [Output("argusCustomEndpoint")] - public Output ArgusCustomEndpoint { get; private set; } = null!; - /// /// Custom endpoint for the Membership service /// @@ -37,8 +31,7 @@ public partial class Provider : global::Pulumi.ProviderResource public Output CdnCustomEndpoint { get; private set; } = null!; /// - /// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - /// value is `~/.stackit/credentials.json`. + /// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. /// [Output("credentialsPath")] public Output CredentialsPath { get; private set; } = null!; @@ -122,15 +115,13 @@ public partial class Provider : global::Pulumi.ProviderResource public Output PostgresflexCustomEndpoint { get; private set; } = null!; /// - /// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - /// included in the service account key. + /// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. /// [Output("privateKey")] public Output PrivateKey { get; private set; } = null!; /// - /// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - /// key that is included in the service account key. + /// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. /// [Output("privateKeyPath")] public Output PrivateKeyPath { get; private set; } = null!; @@ -159,6 +150,12 @@ public partial class Provider : global::Pulumi.ProviderResource [Output("resourcemanagerCustomEndpoint")] public Output ResourcemanagerCustomEndpoint { get; private set; } = null!; + /// + /// Custom endpoint for the Cloud Foundry (SCF) service + /// + [Output("scfCustomEndpoint")] + public Output ScfCustomEndpoint { get; private set; } = null!; + /// /// Custom endpoint for the Secrets Manager service /// @@ -184,8 +181,7 @@ public partial class Provider : global::Pulumi.ProviderResource public Output ServiceAccountCustomEndpoint { get; private set; } = null!; /// - /// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - /// if you want to use the resource manager project resource. + /// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. /// [Output("serviceAccountEmail")] public Output ServiceAccountEmail { get; private set; } = null!; @@ -197,8 +193,7 @@ public partial class Provider : global::Pulumi.ProviderResource public Output ServiceAccountKey { get; private set; } = null!; /// - /// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - /// operations. + /// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. /// [Output("serviceAccountKeyPath")] public Output ServiceAccountKeyPath { get; private set; } = null!; @@ -268,12 +263,6 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? public sealed class ProviderArgs : global::Pulumi.ResourceArgs { - /// - /// Custom endpoint for the Argus service - /// - [Input("argusCustomEndpoint")] - public Input? ArgusCustomEndpoint { get; set; } - /// /// Custom endpoint for the Membership service /// @@ -287,8 +276,7 @@ public sealed class ProviderArgs : global::Pulumi.ResourceArgs public Input? CdnCustomEndpoint { get; set; } /// - /// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - /// value is `~/.stackit/credentials.json`. + /// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. /// [Input("credentialsPath")] public Input? CredentialsPath { get; set; } @@ -315,8 +303,7 @@ public sealed class ProviderArgs : global::Pulumi.ResourceArgs private InputList? _experiments; /// - /// Enables experiments. These are unstable features without official support. More information can be found in the README. - /// Available Experiments: [iam] + /// Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network /// public InputList Experiments { @@ -391,15 +378,13 @@ public InputList Experiments public Input? PostgresflexCustomEndpoint { get; set; } /// - /// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - /// included in the service account key. + /// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. /// [Input("privateKey")] public Input? PrivateKey { get; set; } /// - /// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - /// key that is included in the service account key. + /// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. /// [Input("privateKeyPath")] public Input? PrivateKeyPath { get; set; } @@ -428,6 +413,12 @@ public InputList Experiments [Input("resourcemanagerCustomEndpoint")] public Input? ResourcemanagerCustomEndpoint { get; set; } + /// + /// Custom endpoint for the Cloud Foundry (SCF) service + /// + [Input("scfCustomEndpoint")] + public Input? ScfCustomEndpoint { get; set; } + /// /// Custom endpoint for the Secrets Manager service /// @@ -453,8 +444,7 @@ public InputList Experiments public Input? ServiceAccountCustomEndpoint { get; set; } /// - /// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - /// if you want to use the resource manager project resource. + /// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. /// [Input("serviceAccountEmail")] public Input? ServiceAccountEmail { get; set; } @@ -466,8 +456,7 @@ public InputList Experiments public Input? ServiceAccountKey { get; set; } /// - /// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - /// operations. + /// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. /// [Input("serviceAccountKeyPath")] public Input? ServiceAccountKeyPath { get; set; } diff --git a/sdk/dotnet/ResourcemanagerFolder.cs b/sdk/dotnet/ResourcemanagerFolder.cs new file mode 100644 index 00000000..4ad496a5 --- /dev/null +++ b/sdk/dotnet/ResourcemanagerFolder.cs @@ -0,0 +1,214 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + /// + /// Resource Manager folder resource schema. + /// + /// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + [StackitResourceType("stackit:index/resourcemanagerFolder:ResourcemanagerFolder")] + public partial class ResourcemanagerFolder : global::Pulumi.CustomResource + { + /// + /// Folder container ID. Globally unique, user-friendly identifier. + /// + [Output("containerId")] + public Output ContainerId { get; private set; } = null!; + + /// + /// Date-time at which the folder was created. + /// + [Output("creationTime")] + public Output CreationTime { get; private set; } = null!; + + /// + /// Folder UUID identifier. Globally unique folder identifier + /// + [Output("folderId")] + public Output FolderId { get; private set; } = null!; + + /// + /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + /// + [Output("labels")] + public Output?> Labels { get; private set; } = null!; + + /// + /// The name of the folder. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + /// + [Output("ownerEmail")] + public Output OwnerEmail { get; private set; } = null!; + + /// + /// Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + /// + [Output("parentContainerId")] + public Output ParentContainerId { get; private set; } = null!; + + /// + /// Date-time at which the folder was last modified. + /// + [Output("updateTime")] + public Output UpdateTime { get; private set; } = null!; + + + /// + /// Create a ResourcemanagerFolder resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public ResourcemanagerFolder(string name, ResourcemanagerFolderArgs args, CustomResourceOptions? options = null) + : base("stackit:index/resourcemanagerFolder:ResourcemanagerFolder", name, args ?? new ResourcemanagerFolderArgs(), MakeResourceOptions(options, "")) + { + } + + private ResourcemanagerFolder(string name, Input id, ResourcemanagerFolderState? state = null, CustomResourceOptions? options = null) + : base("stackit:index/resourcemanagerFolder:ResourcemanagerFolder", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/stackitcloud/pulumi-stackit", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing ResourcemanagerFolder resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static ResourcemanagerFolder Get(string name, Input id, ResourcemanagerFolderState? state = null, CustomResourceOptions? options = null) + { + return new ResourcemanagerFolder(name, id, state, options); + } + } + + public sealed class ResourcemanagerFolderArgs : global::Pulumi.ResourceArgs + { + [Input("labels")] + private InputMap? _labels; + + /// + /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + /// + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } + + /// + /// The name of the folder. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + /// + [Input("ownerEmail", required: true)] + public Input OwnerEmail { get; set; } = null!; + + /// + /// Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + /// + [Input("parentContainerId", required: true)] + public Input ParentContainerId { get; set; } = null!; + + public ResourcemanagerFolderArgs() + { + } + public static new ResourcemanagerFolderArgs Empty => new ResourcemanagerFolderArgs(); + } + + public sealed class ResourcemanagerFolderState : global::Pulumi.ResourceArgs + { + /// + /// Folder container ID. Globally unique, user-friendly identifier. + /// + [Input("containerId")] + public Input? ContainerId { get; set; } + + /// + /// Date-time at which the folder was created. + /// + [Input("creationTime")] + public Input? CreationTime { get; set; } + + /// + /// Folder UUID identifier. Globally unique folder identifier + /// + [Input("folderId")] + public Input? FolderId { get; set; } + + [Input("labels")] + private InputMap? _labels; + + /// + /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + /// + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } + + /// + /// The name of the folder. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + /// + [Input("ownerEmail")] + public Input? OwnerEmail { get; set; } + + /// + /// Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + /// + [Input("parentContainerId")] + public Input? ParentContainerId { get; set; } + + /// + /// Date-time at which the folder was last modified. + /// + [Input("updateTime")] + public Input? UpdateTime { get; set; } + + public ResourcemanagerFolderState() + { + } + public static new ResourcemanagerFolderState Empty => new ResourcemanagerFolderState(); + } +} diff --git a/sdk/dotnet/ResourcemanagerProject.cs b/sdk/dotnet/ResourcemanagerProject.cs index ac471178..48337ff5 100644 --- a/sdk/dotnet/ResourcemanagerProject.cs +++ b/sdk/dotnet/ResourcemanagerProject.cs @@ -22,7 +22,14 @@ public partial class ResourcemanagerProject : global::Pulumi.CustomResource public Output ContainerId { get; private set; } = null!; /// - /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=<networkAreaID>` is required. + /// Date-time at which the project was created. + /// + [Output("creationTime")] + public Output CreationTime { get; private set; } = null!; + + /// + /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + /// To create a project within a STACKIT Network Area, setting the label `networkArea=<networkAreaID>` is required. This can not be changed after project creation. /// [Output("labels")] public Output?> Labels { get; private set; } = null!; @@ -51,6 +58,12 @@ public partial class ResourcemanagerProject : global::Pulumi.CustomResource [Output("projectId")] public Output ProjectId { get; private set; } = null!; + /// + /// Date-time at which the project was last modified. + /// + [Output("updateTime")] + public Output UpdateTime { get; private set; } = null!; + /// /// Create a ResourcemanagerProject resource with the given unique name, arguments, and options. @@ -102,7 +115,8 @@ public sealed class ResourcemanagerProjectArgs : global::Pulumi.ResourceArgs private InputMap? _labels; /// - /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=<networkAreaID>` is required. + /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + /// To create a project within a STACKIT Network Area, setting the label `networkArea=<networkAreaID>` is required. This can not be changed after project creation. /// public InputMap Labels { @@ -142,11 +156,18 @@ public sealed class ResourcemanagerProjectState : global::Pulumi.ResourceArgs [Input("containerId")] public Input? ContainerId { get; set; } + /// + /// Date-time at which the project was created. + /// + [Input("creationTime")] + public Input? CreationTime { get; set; } + [Input("labels")] private InputMap? _labels; /// - /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=<networkAreaID>` is required. + /// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + /// To create a project within a STACKIT Network Area, setting the label `networkArea=<networkAreaID>` is required. This can not be changed after project creation. /// public InputMap Labels { @@ -178,6 +199,12 @@ public InputMap Labels [Input("projectId")] public Input? ProjectId { get; set; } + /// + /// Date-time at which the project was last modified. + /// + [Input("updateTime")] + public Input? UpdateTime { get; set; } + public ResourcemanagerProjectState() { } diff --git a/sdk/dotnet/RoutingTable.cs b/sdk/dotnet/RoutingTable.cs new file mode 100644 index 00000000..70405c90 --- /dev/null +++ b/sdk/dotnet/RoutingTable.cs @@ -0,0 +1,256 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + /// + /// Routing table resource schema. Must have a `region` specified in the provider configuration. + /// + /// > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + [StackitResourceType("stackit:index/routingTable:RoutingTable")] + public partial class RoutingTable : global::Pulumi.CustomResource + { + /// + /// Date-time when the routing table was created + /// + [Output("createdAt")] + public Output CreatedAt { get; private set; } = null!; + + /// + /// Description of the routing table. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + [Output("labels")] + public Output?> Labels { get; private set; } = null!; + + /// + /// The name of the routing table. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The network area ID to which the routing table is associated. + /// + [Output("networkAreaId")] + public Output NetworkAreaId { get; private set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Output("organizationId")] + public Output OrganizationId { get; private set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Output("region")] + public Output Region { get; private set; } = null!; + + /// + /// The routing tables ID. + /// + [Output("routingTableId")] + public Output RoutingTableId { get; private set; } = null!; + + /// + /// This controls whether the routes for project-to-project communication are created automatically or not. + /// + [Output("systemRoutes")] + public Output SystemRoutes { get; private set; } = null!; + + /// + /// Date-time when the routing table was updated + /// + [Output("updatedAt")] + public Output UpdatedAt { get; private set; } = null!; + + + /// + /// Create a RoutingTable resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public RoutingTable(string name, RoutingTableArgs args, CustomResourceOptions? options = null) + : base("stackit:index/routingTable:RoutingTable", name, args ?? new RoutingTableArgs(), MakeResourceOptions(options, "")) + { + } + + private RoutingTable(string name, Input id, RoutingTableState? state = null, CustomResourceOptions? options = null) + : base("stackit:index/routingTable:RoutingTable", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/stackitcloud/pulumi-stackit", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing RoutingTable resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static RoutingTable Get(string name, Input id, RoutingTableState? state = null, CustomResourceOptions? options = null) + { + return new RoutingTable(name, id, state, options); + } + } + + public sealed class RoutingTableArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the routing table. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("labels")] + private InputMap? _labels; + + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } + + /// + /// The name of the routing table. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public Input NetworkAreaId { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// This controls whether the routes for project-to-project communication are created automatically or not. + /// + [Input("systemRoutes")] + public Input? SystemRoutes { get; set; } + + public RoutingTableArgs() + { + } + public static new RoutingTableArgs Empty => new RoutingTableArgs(); + } + + public sealed class RoutingTableState : global::Pulumi.ResourceArgs + { + /// + /// Date-time when the routing table was created + /// + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + /// + /// Description of the routing table. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("labels")] + private InputMap? _labels; + + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } + + /// + /// The name of the routing table. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId")] + public Input? NetworkAreaId { get; set; } + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId")] + public Input? OrganizationId { get; set; } + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// The routing tables ID. + /// + [Input("routingTableId")] + public Input? RoutingTableId { get; set; } + + /// + /// This controls whether the routes for project-to-project communication are created automatically or not. + /// + [Input("systemRoutes")] + public Input? SystemRoutes { get; set; } + + /// + /// Date-time when the routing table was updated + /// + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + public RoutingTableState() + { + } + public static new RoutingTableState Empty => new RoutingTableState(); + } +} diff --git a/sdk/dotnet/RoutingTableRoute.cs b/sdk/dotnet/RoutingTableRoute.cs new file mode 100644 index 00000000..c248dc89 --- /dev/null +++ b/sdk/dotnet/RoutingTableRoute.cs @@ -0,0 +1,256 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + /// + /// Routing table route resource schema. Must have a `region` specified in the provider configuration. + /// + /// > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + /// + /// ## Example Usage + /// + [StackitResourceType("stackit:index/routingTableRoute:RoutingTableRoute")] + public partial class RoutingTableRoute : global::Pulumi.CustomResource + { + /// + /// Date-time when the route was created. + /// + [Output("createdAt")] + public Output CreatedAt { get; private set; } = null!; + + /// + /// Destination of the route. + /// + [Output("destination")] + public Output Destination { get; private set; } = null!; + + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + [Output("labels")] + public Output?> Labels { get; private set; } = null!; + + /// + /// The network area ID to which the routing table is associated. + /// + [Output("networkAreaId")] + public Output NetworkAreaId { get; private set; } = null!; + + /// + /// Next hop destination. + /// + [Output("nextHop")] + public Output NextHop { get; private set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Output("organizationId")] + public Output OrganizationId { get; private set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Output("region")] + public Output Region { get; private set; } = null!; + + /// + /// The ID of the route. + /// + [Output("routeId")] + public Output RouteId { get; private set; } = null!; + + /// + /// The routing tables ID. + /// + [Output("routingTableId")] + public Output RoutingTableId { get; private set; } = null!; + + /// + /// Date-time when the route was updated. + /// + [Output("updatedAt")] + public Output UpdatedAt { get; private set; } = null!; + + + /// + /// Create a RoutingTableRoute resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public RoutingTableRoute(string name, RoutingTableRouteArgs args, CustomResourceOptions? options = null) + : base("stackit:index/routingTableRoute:RoutingTableRoute", name, args ?? new RoutingTableRouteArgs(), MakeResourceOptions(options, "")) + { + } + + private RoutingTableRoute(string name, Input id, RoutingTableRouteState? state = null, CustomResourceOptions? options = null) + : base("stackit:index/routingTableRoute:RoutingTableRoute", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/stackitcloud/pulumi-stackit", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing RoutingTableRoute resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static RoutingTableRoute Get(string name, Input id, RoutingTableRouteState? state = null, CustomResourceOptions? options = null) + { + return new RoutingTableRoute(name, id, state, options); + } + } + + public sealed class RoutingTableRouteArgs : global::Pulumi.ResourceArgs + { + /// + /// Destination of the route. + /// + [Input("destination", required: true)] + public Input Destination { get; set; } = null!; + + [Input("labels")] + private InputMap? _labels; + + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } + + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId", required: true)] + public Input NetworkAreaId { get; set; } = null!; + + /// + /// Next hop destination. + /// + [Input("nextHop", required: true)] + public Input NextHop { get; set; } = null!; + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId", required: true)] + public Input OrganizationId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// The routing tables ID. + /// + [Input("routingTableId", required: true)] + public Input RoutingTableId { get; set; } = null!; + + public RoutingTableRouteArgs() + { + } + public static new RoutingTableRouteArgs Empty => new RoutingTableRouteArgs(); + } + + public sealed class RoutingTableRouteState : global::Pulumi.ResourceArgs + { + /// + /// Date-time when the route was created. + /// + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + /// + /// Destination of the route. + /// + [Input("destination")] + public Input? Destination { get; set; } + + [Input("labels")] + private InputMap? _labels; + + /// + /// Labels are key-value string pairs which can be attached to a resource container + /// + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } + + /// + /// The network area ID to which the routing table is associated. + /// + [Input("networkAreaId")] + public Input? NetworkAreaId { get; set; } + + /// + /// Next hop destination. + /// + [Input("nextHop")] + public Input? NextHop { get; set; } + + /// + /// STACKIT organization ID to which the routing table is associated. + /// + [Input("organizationId")] + public Input? OrganizationId { get; set; } + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// The ID of the route. + /// + [Input("routeId")] + public Input? RouteId { get; set; } + + /// + /// The routing tables ID. + /// + [Input("routingTableId")] + public Input? RoutingTableId { get; set; } + + /// + /// Date-time when the route was updated. + /// + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + public RoutingTableRouteState() + { + } + public static new RoutingTableRouteState Empty => new RoutingTableRouteState(); + } +} diff --git a/sdk/dotnet/ScfOrganization.cs b/sdk/dotnet/ScfOrganization.cs new file mode 100644 index 00000000..2e56a50b --- /dev/null +++ b/sdk/dotnet/ScfOrganization.cs @@ -0,0 +1,236 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + /// + /// STACKIT Cloud Foundry organization resource schema. Must have a `region` specified in the provider configuration. + /// + /// ## Example Usage + /// + [StackitResourceType("stackit:index/scfOrganization:ScfOrganization")] + public partial class ScfOrganization : global::Pulumi.CustomResource + { + /// + /// The time when the organization was created + /// + [Output("createdAt")] + public Output CreatedAt { get; private set; } = null!; + + /// + /// The name of the organization + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The ID of the Cloud Foundry Organization + /// + [Output("orgId")] + public Output OrgId { get; private set; } = null!; + + /// + /// The ID of the platform associated with the organization + /// + [Output("platformId")] + public Output PlatformId { get; private set; } = null!; + + /// + /// The ID of the project associated with the organization + /// + [Output("projectId")] + public Output ProjectId { get; private set; } = null!; + + /// + /// The ID of the quota associated with the organization + /// + [Output("quotaId")] + public Output QuotaId { get; private set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used + /// + [Output("region")] + public Output Region { get; private set; } = null!; + + /// + /// The status of the organization (e.g., deleting, delete_failed) + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// A boolean indicating whether the organization is suspended + /// + [Output("suspended")] + public Output Suspended { get; private set; } = null!; + + /// + /// The time when the organization was last updated + /// + [Output("updatedAt")] + public Output UpdatedAt { get; private set; } = null!; + + + /// + /// Create a ScfOrganization resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public ScfOrganization(string name, ScfOrganizationArgs args, CustomResourceOptions? options = null) + : base("stackit:index/scfOrganization:ScfOrganization", name, args ?? new ScfOrganizationArgs(), MakeResourceOptions(options, "")) + { + } + + private ScfOrganization(string name, Input id, ScfOrganizationState? state = null, CustomResourceOptions? options = null) + : base("stackit:index/scfOrganization:ScfOrganization", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/stackitcloud/pulumi-stackit", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing ScfOrganization resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static ScfOrganization Get(string name, Input id, ScfOrganizationState? state = null, CustomResourceOptions? options = null) + { + return new ScfOrganization(name, id, state, options); + } + } + + public sealed class ScfOrganizationArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the organization + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The ID of the platform associated with the organization + /// + [Input("platformId")] + public Input? PlatformId { get; set; } + + /// + /// The ID of the project associated with the organization + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + /// + /// The ID of the quota associated with the organization + /// + [Input("quotaId")] + public Input? QuotaId { get; set; } + + /// + /// The resource region. If not defined, the provider region is used + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// A boolean indicating whether the organization is suspended + /// + [Input("suspended")] + public Input? Suspended { get; set; } + + public ScfOrganizationArgs() + { + } + public static new ScfOrganizationArgs Empty => new ScfOrganizationArgs(); + } + + public sealed class ScfOrganizationState : global::Pulumi.ResourceArgs + { + /// + /// The time when the organization was created + /// + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + /// + /// The name of the organization + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The ID of the Cloud Foundry Organization + /// + [Input("orgId")] + public Input? OrgId { get; set; } + + /// + /// The ID of the platform associated with the organization + /// + [Input("platformId")] + public Input? PlatformId { get; set; } + + /// + /// The ID of the project associated with the organization + /// + [Input("projectId")] + public Input? ProjectId { get; set; } + + /// + /// The ID of the quota associated with the organization + /// + [Input("quotaId")] + public Input? QuotaId { get; set; } + + /// + /// The resource region. If not defined, the provider region is used + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// The status of the organization (e.g., deleting, delete_failed) + /// + [Input("status")] + public Input? Status { get; set; } + + /// + /// A boolean indicating whether the organization is suspended + /// + [Input("suspended")] + public Input? Suspended { get; set; } + + /// + /// The time when the organization was last updated + /// + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + public ScfOrganizationState() + { + } + public static new ScfOrganizationState Empty => new ScfOrganizationState(); + } +} diff --git a/sdk/dotnet/ScfOrganizationManager.cs b/sdk/dotnet/ScfOrganizationManager.cs new file mode 100644 index 00000000..a161e837 --- /dev/null +++ b/sdk/dotnet/ScfOrganizationManager.cs @@ -0,0 +1,220 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + /// + /// STACKIT Cloud Foundry organization manager resource schema. + /// + /// ## Example Usage + /// + [StackitResourceType("stackit:index/scfOrganizationManager:ScfOrganizationManager")] + public partial class ScfOrganizationManager : global::Pulumi.CustomResource + { + /// + /// The time when the organization manager was created + /// + [Output("createdAt")] + public Output CreatedAt { get; private set; } = null!; + + /// + /// The ID of the Cloud Foundry Organization + /// + [Output("orgId")] + public Output OrgId { get; private set; } = null!; + + /// + /// An auto-generated password + /// + [Output("password")] + public Output Password { get; private set; } = null!; + + /// + /// The ID of the platform associated with the organization of the organization manager + /// + [Output("platformId")] + public Output PlatformId { get; private set; } = null!; + + /// + /// The ID of the project associated with the organization of the organization manager + /// + [Output("projectId")] + public Output ProjectId { get; private set; } = null!; + + /// + /// The region where the organization of the organization manager is located. If not defined, the provider region is used + /// + [Output("region")] + public Output Region { get; private set; } = null!; + + /// + /// The time when the organization manager was last updated + /// + [Output("updatedAt")] + public Output UpdatedAt { get; private set; } = null!; + + /// + /// The ID of the organization manager user + /// + [Output("userId")] + public Output UserId { get; private set; } = null!; + + /// + /// An auto-generated organization manager user name + /// + [Output("username")] + public Output Username { get; private set; } = null!; + + + /// + /// Create a ScfOrganizationManager resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public ScfOrganizationManager(string name, ScfOrganizationManagerArgs args, CustomResourceOptions? options = null) + : base("stackit:index/scfOrganizationManager:ScfOrganizationManager", name, args ?? new ScfOrganizationManagerArgs(), MakeResourceOptions(options, "")) + { + } + + private ScfOrganizationManager(string name, Input id, ScfOrganizationManagerState? state = null, CustomResourceOptions? options = null) + : base("stackit:index/scfOrganizationManager:ScfOrganizationManager", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/stackitcloud/pulumi-stackit", + AdditionalSecretOutputs = + { + "password", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing ScfOrganizationManager resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static ScfOrganizationManager Get(string name, Input id, ScfOrganizationManagerState? state = null, CustomResourceOptions? options = null) + { + return new ScfOrganizationManager(name, id, state, options); + } + } + + public sealed class ScfOrganizationManagerArgs : global::Pulumi.ResourceArgs + { + /// + /// The ID of the Cloud Foundry Organization + /// + [Input("orgId", required: true)] + public Input OrgId { get; set; } = null!; + + /// + /// The ID of the project associated with the organization of the organization manager + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + /// + /// The region where the organization of the organization manager is located. If not defined, the provider region is used + /// + [Input("region")] + public Input? Region { get; set; } + + public ScfOrganizationManagerArgs() + { + } + public static new ScfOrganizationManagerArgs Empty => new ScfOrganizationManagerArgs(); + } + + public sealed class ScfOrganizationManagerState : global::Pulumi.ResourceArgs + { + /// + /// The time when the organization manager was created + /// + [Input("createdAt")] + public Input? CreatedAt { get; set; } + + /// + /// The ID of the Cloud Foundry Organization + /// + [Input("orgId")] + public Input? OrgId { get; set; } + + [Input("password")] + private Input? _password; + + /// + /// An auto-generated password + /// + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The ID of the platform associated with the organization of the organization manager + /// + [Input("platformId")] + public Input? PlatformId { get; set; } + + /// + /// The ID of the project associated with the organization of the organization manager + /// + [Input("projectId")] + public Input? ProjectId { get; set; } + + /// + /// The region where the organization of the organization manager is located. If not defined, the provider region is used + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// The time when the organization manager was last updated + /// + [Input("updatedAt")] + public Input? UpdatedAt { get; set; } + + /// + /// The ID of the organization manager user + /// + [Input("userId")] + public Input? UserId { get; set; } + + /// + /// An auto-generated organization manager user name + /// + [Input("username")] + public Input? Username { get; set; } + + public ScfOrganizationManagerState() + { + } + public static new ScfOrganizationManagerState Empty => new ScfOrganizationManagerState(); + } +} diff --git a/sdk/dotnet/Server.cs b/sdk/dotnet/Server.cs index 240fd920..77b3442f 100644 --- a/sdk/dotnet/Server.cs +++ b/sdk/dotnet/Server.cs @@ -25,6 +25,8 @@ namespace Pulumi.Stackit /// ### Server with attached volume /// /// ### Server with user data (cloud-init) + /// + /// ### Additional Examples /// [StackitResourceType("stackit:index/server:Server")] public partial class Server : global::Pulumi.CustomResource diff --git a/sdk/dotnet/ServiceAccountAccessToken.cs b/sdk/dotnet/ServiceAccountAccessToken.cs index 177157d1..1af6bd42 100644 --- a/sdk/dotnet/ServiceAccountAccessToken.cs +++ b/sdk/dotnet/ServiceAccountAccessToken.cs @@ -11,6 +11,9 @@ namespace Pulumi.Stackit { /// /// Service account access token schema. + /// + /// !> This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations. + /// /// ## Example Usage /// /// ### Automatically rotate access tokens diff --git a/sdk/dotnet/SkeCluster.cs b/sdk/dotnet/SkeCluster.cs index 840e0cb2..f6033b98 100644 --- a/sdk/dotnet/SkeCluster.cs +++ b/sdk/dotnet/SkeCluster.cs @@ -19,14 +19,6 @@ namespace Pulumi.Stackit [StackitResourceType("stackit:index/skeCluster:SkeCluster")] public partial class SkeCluster : global::Pulumi.CustomResource { - /// - /// Flag to specify if privileged mode for containers is enabled or not. - /// This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - /// Deprecated as of Kubernetes 1.25 and later - /// - [Output("allowPrivilegedContainers")] - public Output AllowPrivilegedContainers { get; private set; } = null!; - /// /// The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. /// @@ -45,12 +37,6 @@ public partial class SkeCluster : global::Pulumi.CustomResource [Output("hibernations")] public Output> Hibernations { get; private set; } = null!; - /// - /// Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - /// - [Output("kubernetesVersion")] - public Output KubernetesVersion { get; private set; } = null!; - /// /// The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. /// @@ -87,6 +73,12 @@ public partial class SkeCluster : global::Pulumi.CustomResource [Output("nodePools")] public Output> NodePools { get; private set; } = null!; + /// + /// The network ranges (in CIDR notation) used by pods of the cluster. + /// + [Output("podAddressRanges")] + public Output> PodAddressRanges { get; private set; } = null!; + /// /// STACKIT project ID to which the cluster is associated. /// @@ -146,14 +138,6 @@ public static SkeCluster Get(string name, Input id, SkeClusterState? sta public sealed class SkeClusterArgs : global::Pulumi.ResourceArgs { - /// - /// Flag to specify if privileged mode for containers is enabled or not. - /// This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - /// Deprecated as of Kubernetes 1.25 and later - /// - [Input("allowPrivilegedContainers")] - public Input? AllowPrivilegedContainers { get; set; } - /// /// A single extensions block as defined below. /// @@ -172,12 +156,6 @@ public InputList Hibernations set => _hibernations = value; } - /// - /// Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - /// - [Input("kubernetesVersion")] - public Input? KubernetesVersion { get; set; } - /// /// The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. /// @@ -234,14 +212,6 @@ public SkeClusterArgs() public sealed class SkeClusterState : global::Pulumi.ResourceArgs { - /// - /// Flag to specify if privileged mode for containers is enabled or not. - /// This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - /// Deprecated as of Kubernetes 1.25 and later - /// - [Input("allowPrivilegedContainers")] - public Input? AllowPrivilegedContainers { get; set; } - [Input("egressAddressRanges")] private InputList? _egressAddressRanges; @@ -272,12 +242,6 @@ public InputList Hibernations set => _hibernations = value; } - /// - /// Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - /// - [Input("kubernetesVersion")] - public Input? KubernetesVersion { get; set; } - /// /// The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. /// @@ -320,6 +284,18 @@ public InputList NodePools set => _nodePools = value; } + [Input("podAddressRanges")] + private InputList? _podAddressRanges; + + /// + /// The network ranges (in CIDR notation) used by pods of the cluster. + /// + public InputList PodAddressRanges + { + get => _podAddressRanges ?? (_podAddressRanges = new InputList()); + set => _podAddressRanges = value; + } + /// /// STACKIT project ID to which the cluster is associated. /// diff --git a/sdk/dotnet/SkeKubeconfig.cs b/sdk/dotnet/SkeKubeconfig.cs index e162696b..656b4137 100644 --- a/sdk/dotnet/SkeKubeconfig.cs +++ b/sdk/dotnet/SkeKubeconfig.cs @@ -62,6 +62,18 @@ public partial class SkeKubeconfig : global::Pulumi.CustomResource [Output("refresh")] public Output Refresh { get; private set; } = null!; + /// + /// Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + /// + [Output("refreshBefore")] + public Output RefreshBefore { get; private set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Output("region")] + public Output Region { get; private set; } = null!; + /// /// Create a SkeKubeconfig resource with the given unique name, arguments, and options. @@ -137,6 +149,18 @@ public sealed class SkeKubeconfigArgs : global::Pulumi.ResourceArgs [Input("refresh")] public Input? Refresh { get; set; } + /// + /// Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + /// + [Input("refreshBefore")] + public Input? RefreshBefore { get; set; } + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + public SkeKubeconfigArgs() { } @@ -200,6 +224,18 @@ public Input? KubeConfig [Input("refresh")] public Input? Refresh { get; set; } + /// + /// Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + /// + [Input("refreshBefore")] + public Input? RefreshBefore { get; set; } + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + public SkeKubeconfigState() { } diff --git a/sdk/dotnet/SqlserverflexUser.cs b/sdk/dotnet/SqlserverflexUser.cs index 729febe1..9ad04a7b 100644 --- a/sdk/dotnet/SqlserverflexUser.cs +++ b/sdk/dotnet/SqlserverflexUser.cs @@ -128,7 +128,7 @@ public sealed class SqlserverflexUserArgs : global::Pulumi.ResourceArgs [Input("region")] public Input? Region { get; set; } - [Input("roles")] + [Input("roles", required: true)] private InputList? _roles; /// diff --git a/sdk/go/stackit/cdnCustomDomain.go b/sdk/go/stackit/cdnCustomDomain.go index ba6a5e53..1ac0cfc9 100644 --- a/sdk/go/stackit/cdnCustomDomain.go +++ b/sdk/go/stackit/cdnCustomDomain.go @@ -20,6 +20,8 @@ import ( type CdnCustomDomain struct { pulumi.CustomResourceState + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate CdnCustomDomainCertificatePtrOutput `pulumi:"certificate"` // CDN distribution ID DistributionId pulumi.StringOutput `pulumi:"distributionId"` // List of distribution errors @@ -67,6 +69,8 @@ func GetCdnCustomDomain(ctx *pulumi.Context, // Input properties used for looking up and filtering CdnCustomDomain resources. type cdnCustomDomainState struct { + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate *CdnCustomDomainCertificate `pulumi:"certificate"` // CDN distribution ID DistributionId *string `pulumi:"distributionId"` // List of distribution errors @@ -79,6 +83,8 @@ type cdnCustomDomainState struct { } type CdnCustomDomainState struct { + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate CdnCustomDomainCertificatePtrInput // CDN distribution ID DistributionId pulumi.StringPtrInput // List of distribution errors @@ -95,6 +101,8 @@ func (CdnCustomDomainState) ElementType() reflect.Type { } type cdnCustomDomainArgs struct { + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate *CdnCustomDomainCertificate `pulumi:"certificate"` // CDN distribution ID DistributionId string `pulumi:"distributionId"` Name *string `pulumi:"name"` @@ -104,6 +112,8 @@ type cdnCustomDomainArgs struct { // The set of arguments for constructing a CdnCustomDomain resource. type CdnCustomDomainArgs struct { + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate CdnCustomDomainCertificatePtrInput // CDN distribution ID DistributionId pulumi.StringInput Name pulumi.StringPtrInput @@ -198,6 +208,11 @@ func (o CdnCustomDomainOutput) ToCdnCustomDomainOutputWithContext(ctx context.Co return o } +// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. +func (o CdnCustomDomainOutput) Certificate() CdnCustomDomainCertificatePtrOutput { + return o.ApplyT(func(v *CdnCustomDomain) CdnCustomDomainCertificatePtrOutput { return v.Certificate }).(CdnCustomDomainCertificatePtrOutput) +} + // CDN distribution ID func (o CdnCustomDomainOutput) DistributionId() pulumi.StringOutput { return o.ApplyT(func(v *CdnCustomDomain) pulumi.StringOutput { return v.DistributionId }).(pulumi.StringOutput) diff --git a/sdk/go/stackit/config/config.go b/sdk/go/stackit/config/config.go index 2538c1a0..92c0d8f9 100644 --- a/sdk/go/stackit/config/config.go +++ b/sdk/go/stackit/config/config.go @@ -11,13 +11,6 @@ import ( var _ = internal.GetEnvOrDefault -// Custom endpoint for the Argus service -// -// Deprecated: Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observabilityCustomEndpoint` and `observability` resources instead, which offer the exact same functionality. -func GetArgusCustomEndpoint(ctx *pulumi.Context) string { - return config.Get(ctx, "stackit:argusCustomEndpoint") -} - // Custom endpoint for the Membership service func GetAuthorizationCustomEndpoint(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:authorizationCustomEndpoint") @@ -28,8 +21,7 @@ func GetCdnCustomEndpoint(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:cdnCustomEndpoint") } -// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default -// value is `~/.stackit/credentials.json`. +// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. func GetCredentialsPath(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:credentialsPath") } @@ -49,8 +41,7 @@ func GetEnableBetaResources(ctx *pulumi.Context) bool { return config.GetBool(ctx, "stackit:enableBetaResources") } -// Enables experiments. These are unstable features without official support. More information can be found in the README. -// Available Experiments: [iam] +// Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network func GetExperiments(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:experiments") } @@ -110,14 +101,12 @@ func GetPostgresflexCustomEndpoint(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:postgresflexCustomEndpoint") } -// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is -// included in the service account key. +// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. func GetPrivateKey(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:privateKey") } -// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private -// key that is included in the service account key. +// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. func GetPrivateKeyPath(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:privateKeyPath") } @@ -144,6 +133,11 @@ func GetResourcemanagerCustomEndpoint(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:resourcemanagerCustomEndpoint") } +// Custom endpoint for the Cloud Foundry (SCF) service +func GetScfCustomEndpoint(ctx *pulumi.Context) string { + return config.Get(ctx, "stackit:scfCustomEndpoint") +} + // Custom endpoint for the Secrets Manager service func GetSecretsmanagerCustomEndpoint(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:secretsmanagerCustomEndpoint") @@ -164,8 +158,7 @@ func GetServiceAccountCustomEndpoint(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:serviceAccountCustomEndpoint") } -// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required -// if you want to use the resource manager project resource. +// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. // // Deprecated: The `serviceAccountEmail` field has been deprecated because it is not required. Will be removed after June 12th 2025. func GetServiceAccountEmail(ctx *pulumi.Context) string { @@ -177,13 +170,14 @@ func GetServiceAccountKey(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:serviceAccountKey") } -// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all -// operations. +// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. func GetServiceAccountKeyPath(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:serviceAccountKeyPath") } // Token used for authentication. If set, the token flow will be used to authenticate all operations. +// +// Deprecated: Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `serviceAccountKey` or `serviceAccountKeyPath` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html func GetServiceAccountToken(ctx *pulumi.Context) string { return config.Get(ctx, "stackit:serviceAccountToken") } diff --git a/sdk/go/stackit/getCdnCustomDomain.go b/sdk/go/stackit/getCdnCustomDomain.go index c1cc6a95..a1d4fc38 100644 --- a/sdk/go/stackit/getCdnCustomDomain.go +++ b/sdk/go/stackit/getCdnCustomDomain.go @@ -13,7 +13,7 @@ import ( // CDN distribution data source schema. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. // // ## Example Usage func LookupCdnCustomDomain(ctx *pulumi.Context, args *LookupCdnCustomDomainArgs, opts ...pulumi.InvokeOption) (*LookupCdnCustomDomainResult, error) { @@ -28,6 +28,8 @@ func LookupCdnCustomDomain(ctx *pulumi.Context, args *LookupCdnCustomDomainArgs, // A collection of arguments for invoking getCdnCustomDomain. type LookupCdnCustomDomainArgs struct { + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate *GetCdnCustomDomainCertificate `pulumi:"certificate"` // CDN distribution ID DistributionId string `pulumi:"distributionId"` Name string `pulumi:"name"` @@ -37,6 +39,8 @@ type LookupCdnCustomDomainArgs struct { // A collection of values returned by getCdnCustomDomain. type LookupCdnCustomDomainResult struct { + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate *GetCdnCustomDomainCertificate `pulumi:"certificate"` // CDN distribution ID DistributionId string `pulumi:"distributionId"` // List of distribution errors @@ -60,6 +64,8 @@ func LookupCdnCustomDomainOutput(ctx *pulumi.Context, args LookupCdnCustomDomain // A collection of arguments for invoking getCdnCustomDomain. type LookupCdnCustomDomainOutputArgs struct { + // The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + Certificate GetCdnCustomDomainCertificatePtrInput `pulumi:"certificate"` // CDN distribution ID DistributionId pulumi.StringInput `pulumi:"distributionId"` Name pulumi.StringInput `pulumi:"name"` @@ -86,6 +92,11 @@ func (o LookupCdnCustomDomainResultOutput) ToLookupCdnCustomDomainResultOutputWi return o } +// The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. +func (o LookupCdnCustomDomainResultOutput) Certificate() GetCdnCustomDomainCertificatePtrOutput { + return o.ApplyT(func(v LookupCdnCustomDomainResult) *GetCdnCustomDomainCertificate { return v.Certificate }).(GetCdnCustomDomainCertificatePtrOutput) +} + // CDN distribution ID func (o LookupCdnCustomDomainResultOutput) DistributionId() pulumi.StringOutput { return o.ApplyT(func(v LookupCdnCustomDomainResult) string { return v.DistributionId }).(pulumi.StringOutput) diff --git a/sdk/go/stackit/getCdnDistribution.go b/sdk/go/stackit/getCdnDistribution.go index 1818ea30..8b54c763 100644 --- a/sdk/go/stackit/getCdnDistribution.go +++ b/sdk/go/stackit/getCdnDistribution.go @@ -13,7 +13,7 @@ import ( // CDN distribution data source schema. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. // // ## Example Usage func LookupCdnDistribution(ctx *pulumi.Context, args *LookupCdnDistributionArgs, opts ...pulumi.InvokeOption) (*LookupCdnDistributionResult, error) { diff --git a/sdk/go/stackit/getGit.go b/sdk/go/stackit/getGit.go index 95cfcb4f..07c535bc 100644 --- a/sdk/go/stackit/getGit.go +++ b/sdk/go/stackit/getGit.go @@ -13,7 +13,7 @@ import ( // Git Instance datasource schema. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. // // ## Example Usage func LookupGit(ctx *pulumi.Context, args *LookupGitArgs, opts ...pulumi.InvokeOption) (*LookupGitResult, error) { @@ -36,7 +36,17 @@ type LookupGitArgs struct { // A collection of values returned by getGit. type LookupGitResult struct { - Id string `pulumi:"id"` + // Restricted ACL for instance access. + Acls []string `pulumi:"acls"` + // How many bytes of disk space is consumed. + ConsumedDisk string `pulumi:"consumedDisk"` + // How many bytes of Object Storage is consumed. + ConsumedObjectStorage string `pulumi:"consumedObjectStorage"` + // Instance creation timestamp in RFC3339 format. + Created string `pulumi:"created"` + // Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + Flavor string `pulumi:"flavor"` + Id string `pulumi:"id"` // ID linked to the git instance. InstanceId string `pulumi:"instanceId"` // Unique name linked to the git instance. @@ -85,6 +95,31 @@ func (o LookupGitResultOutput) ToLookupGitResultOutputWithContext(ctx context.Co return o } +// Restricted ACL for instance access. +func (o LookupGitResultOutput) Acls() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupGitResult) []string { return v.Acls }).(pulumi.StringArrayOutput) +} + +// How many bytes of disk space is consumed. +func (o LookupGitResultOutput) ConsumedDisk() pulumi.StringOutput { + return o.ApplyT(func(v LookupGitResult) string { return v.ConsumedDisk }).(pulumi.StringOutput) +} + +// How many bytes of Object Storage is consumed. +func (o LookupGitResultOutput) ConsumedObjectStorage() pulumi.StringOutput { + return o.ApplyT(func(v LookupGitResult) string { return v.ConsumedObjectStorage }).(pulumi.StringOutput) +} + +// Instance creation timestamp in RFC3339 format. +func (o LookupGitResultOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v LookupGitResult) string { return v.Created }).(pulumi.StringOutput) +} + +// Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` +func (o LookupGitResultOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v LookupGitResult) string { return v.Flavor }).(pulumi.StringOutput) +} + func (o LookupGitResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupGitResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/sdk/go/stackit/getIaasProject.go b/sdk/go/stackit/getIaasProject.go new file mode 100644 index 00000000..c3d2fdb7 --- /dev/null +++ b/sdk/go/stackit/getIaasProject.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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Project details. Must have a `region` specified in the provider configuration. +// +// ## Example Usage +func GetIaasProject(ctx *pulumi.Context, args *GetIaasProjectArgs, opts ...pulumi.InvokeOption) (*GetIaasProjectResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIaasProjectResult + err := ctx.Invoke("stackit:index/getIaasProject:getIaasProject", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIaasProject. +type GetIaasProjectArgs struct { + // STACKIT project ID. + ProjectId string `pulumi:"projectId"` +} + +// A collection of values returned by getIaasProject. +type GetIaasProjectResult struct { + // The area ID to which the project belongs to. + AreaId string `pulumi:"areaId"` + // Date-time when the project was created. + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + // Specifies if the project has internet_access + InternetAccess bool `pulumi:"internetAccess"` + // STACKIT project ID. + ProjectId string `pulumi:"projectId"` + // Specifies the state of the project. + State string `pulumi:"state"` + // Date-time when the project was last updated. + UpdatedAt string `pulumi:"updatedAt"` +} + +func GetIaasProjectOutput(ctx *pulumi.Context, args GetIaasProjectOutputArgs, opts ...pulumi.InvokeOption) GetIaasProjectResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetIaasProjectResultOutput, error) { + args := v.(GetIaasProjectArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getIaasProject:getIaasProject", args, GetIaasProjectResultOutput{}, options).(GetIaasProjectResultOutput), nil + }).(GetIaasProjectResultOutput) +} + +// A collection of arguments for invoking getIaasProject. +type GetIaasProjectOutputArgs struct { + // STACKIT project ID. + ProjectId pulumi.StringInput `pulumi:"projectId"` +} + +func (GetIaasProjectOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIaasProjectArgs)(nil)).Elem() +} + +// A collection of values returned by getIaasProject. +type GetIaasProjectResultOutput struct{ *pulumi.OutputState } + +func (GetIaasProjectResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIaasProjectResult)(nil)).Elem() +} + +func (o GetIaasProjectResultOutput) ToGetIaasProjectResultOutput() GetIaasProjectResultOutput { + return o +} + +func (o GetIaasProjectResultOutput) ToGetIaasProjectResultOutputWithContext(ctx context.Context) GetIaasProjectResultOutput { + return o +} + +// The area ID to which the project belongs to. +func (o GetIaasProjectResultOutput) AreaId() pulumi.StringOutput { + return o.ApplyT(func(v GetIaasProjectResult) string { return v.AreaId }).(pulumi.StringOutput) +} + +// Date-time when the project was created. +func (o GetIaasProjectResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetIaasProjectResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o GetIaasProjectResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIaasProjectResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Specifies if the project has internet_access +func (o GetIaasProjectResultOutput) InternetAccess() pulumi.BoolOutput { + return o.ApplyT(func(v GetIaasProjectResult) bool { return v.InternetAccess }).(pulumi.BoolOutput) +} + +// STACKIT project ID. +func (o GetIaasProjectResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetIaasProjectResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +// Specifies the state of the project. +func (o GetIaasProjectResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetIaasProjectResult) string { return v.State }).(pulumi.StringOutput) +} + +// Date-time when the project was last updated. +func (o GetIaasProjectResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetIaasProjectResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIaasProjectResultOutput{}) +} diff --git a/sdk/go/stackit/getImageV2.go b/sdk/go/stackit/getImageV2.go new file mode 100644 index 00000000..0a4e2bc2 --- /dev/null +++ b/sdk/go/stackit/getImageV2.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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// ## Example Usage +func GetImageV2(ctx *pulumi.Context, args *GetImageV2Args, opts ...pulumi.InvokeOption) (*GetImageV2Result, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetImageV2Result + err := ctx.Invoke("stackit:index/getImageV2:getImageV2", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getImageV2. +type GetImageV2Args struct { + // Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `nameRegex`. + Filter *GetImageV2Filter `pulumi:"filter"` + // Image ID to fetch directly + ImageId *string `pulumi:"imageId"` + // Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `nameRegex`. + Name *string `pulumi:"name"` + // Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + NameRegex *string `pulumi:"nameRegex"` + // STACKIT project ID to which the image is associated. + ProjectId string `pulumi:"projectId"` + // If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + SortAscending *bool `pulumi:"sortAscending"` +} + +// A collection of values returned by getImageV2. +type GetImageV2Result struct { + // Representation of an image checksum. + Checksum GetImageV2Checksum `pulumi:"checksum"` + // Properties to set hardware and scheduling settings for an image. + Config GetImageV2Config `pulumi:"config"` + // The disk format of the image. + DiskFormat string `pulumi:"diskFormat"` + // Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `nameRegex`. + Filter *GetImageV2Filter `pulumi:"filter"` + Id string `pulumi:"id"` + // Image ID to fetch directly + ImageId *string `pulumi:"imageId"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The minimum disk size of the image in GB. + MinDiskSize int `pulumi:"minDiskSize"` + // The minimum RAM of the image in MB. + MinRam int `pulumi:"minRam"` + // Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `nameRegex`. + Name *string `pulumi:"name"` + // Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + NameRegex *string `pulumi:"nameRegex"` + // STACKIT project ID to which the image is associated. + ProjectId string `pulumi:"projectId"` + // Whether the image is protected. + Protected bool `pulumi:"protected"` + // The scope of the image. + Scope string `pulumi:"scope"` + // If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + SortAscending *bool `pulumi:"sortAscending"` +} + +func GetImageV2Output(ctx *pulumi.Context, args GetImageV2OutputArgs, opts ...pulumi.InvokeOption) GetImageV2ResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetImageV2ResultOutput, error) { + args := v.(GetImageV2Args) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getImageV2:getImageV2", args, GetImageV2ResultOutput{}, options).(GetImageV2ResultOutput), nil + }).(GetImageV2ResultOutput) +} + +// A collection of arguments for invoking getImageV2. +type GetImageV2OutputArgs struct { + // Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `nameRegex`. + Filter GetImageV2FilterPtrInput `pulumi:"filter"` + // Image ID to fetch directly + ImageId pulumi.StringPtrInput `pulumi:"imageId"` + // Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `nameRegex`. + Name pulumi.StringPtrInput `pulumi:"name"` + // Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` + // STACKIT project ID to which the image is associated. + ProjectId pulumi.StringInput `pulumi:"projectId"` + // If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + SortAscending pulumi.BoolPtrInput `pulumi:"sortAscending"` +} + +func (GetImageV2OutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Args)(nil)).Elem() +} + +// A collection of values returned by getImageV2. +type GetImageV2ResultOutput struct{ *pulumi.OutputState } + +func (GetImageV2ResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Result)(nil)).Elem() +} + +func (o GetImageV2ResultOutput) ToGetImageV2ResultOutput() GetImageV2ResultOutput { + return o +} + +func (o GetImageV2ResultOutput) ToGetImageV2ResultOutputWithContext(ctx context.Context) GetImageV2ResultOutput { + return o +} + +// Representation of an image checksum. +func (o GetImageV2ResultOutput) Checksum() GetImageV2ChecksumOutput { + return o.ApplyT(func(v GetImageV2Result) GetImageV2Checksum { return v.Checksum }).(GetImageV2ChecksumOutput) +} + +// Properties to set hardware and scheduling settings for an image. +func (o GetImageV2ResultOutput) Config() GetImageV2ConfigOutput { + return o.ApplyT(func(v GetImageV2Result) GetImageV2Config { return v.Config }).(GetImageV2ConfigOutput) +} + +// The disk format of the image. +func (o GetImageV2ResultOutput) DiskFormat() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Result) string { return v.DiskFormat }).(pulumi.StringOutput) +} + +// Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `nameRegex`. +func (o GetImageV2ResultOutput) Filter() GetImageV2FilterPtrOutput { + return o.ApplyT(func(v GetImageV2Result) *GetImageV2Filter { return v.Filter }).(GetImageV2FilterPtrOutput) +} + +func (o GetImageV2ResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Result) string { return v.Id }).(pulumi.StringOutput) +} + +// Image ID to fetch directly +func (o GetImageV2ResultOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetImageV2Result) *string { return v.ImageId }).(pulumi.StringPtrOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container +func (o GetImageV2ResultOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v GetImageV2Result) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +// The minimum disk size of the image in GB. +func (o GetImageV2ResultOutput) MinDiskSize() pulumi.IntOutput { + return o.ApplyT(func(v GetImageV2Result) int { return v.MinDiskSize }).(pulumi.IntOutput) +} + +// The minimum RAM of the image in MB. +func (o GetImageV2ResultOutput) MinRam() pulumi.IntOutput { + return o.ApplyT(func(v GetImageV2Result) int { return v.MinRam }).(pulumi.IntOutput) +} + +// Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `nameRegex`. +func (o GetImageV2ResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetImageV2Result) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. +func (o GetImageV2ResultOutput) NameRegex() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetImageV2Result) *string { return v.NameRegex }).(pulumi.StringPtrOutput) +} + +// STACKIT project ID to which the image is associated. +func (o GetImageV2ResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Result) string { return v.ProjectId }).(pulumi.StringOutput) +} + +// Whether the image is protected. +func (o GetImageV2ResultOutput) Protected() pulumi.BoolOutput { + return o.ApplyT(func(v GetImageV2Result) bool { return v.Protected }).(pulumi.BoolOutput) +} + +// The scope of the image. +func (o GetImageV2ResultOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Result) string { return v.Scope }).(pulumi.StringOutput) +} + +// If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). +func (o GetImageV2ResultOutput) SortAscending() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetImageV2Result) *bool { return v.SortAscending }).(pulumi.BoolPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetImageV2ResultOutput{}) +} diff --git a/sdk/go/stackit/getLoadbalancer.go b/sdk/go/stackit/getLoadbalancer.go index 0883e2dc..5f0d3cbb 100644 --- a/sdk/go/stackit/getLoadbalancer.go +++ b/sdk/go/stackit/getLoadbalancer.go @@ -36,6 +36,8 @@ type LookupLoadbalancerArgs struct { // A collection of values returned by getLoadbalancer. type LookupLoadbalancerResult struct { + // If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT Network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + DisableSecurityGroupAssignment bool `pulumi:"disableSecurityGroupAssignment"` // External Load Balancer IP address where this Load Balancer is exposed. ExternalAddress string `pulumi:"externalAddress"` Id string `pulumi:"id"` @@ -47,12 +49,16 @@ type LookupLoadbalancerResult struct { Networks []GetLoadbalancerNetwork `pulumi:"networks"` // Defines any optional functionality you want to have enabled on your load balancer. Options GetLoadbalancerOptions `pulumi:"options"` + // The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + PlanId string `pulumi:"planId"` // Transient private Load Balancer IP address. It can change any time. PrivateAddress string `pulumi:"privateAddress"` // STACKIT project ID to which the Load Balancer is associated. ProjectId string `pulumi:"projectId"` // The resource region. If not defined, the provider region is used. Region *string `pulumi:"region"` + // The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. + SecurityGroupId string `pulumi:"securityGroupId"` // List of all target pools which will be used in the Load Balancer. Limited to 20. TargetPools []GetLoadbalancerTargetPool `pulumi:"targetPools"` } @@ -95,6 +101,11 @@ func (o LookupLoadbalancerResultOutput) ToLookupLoadbalancerResultOutputWithCont return o } +// If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT Network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. +func (o LookupLoadbalancerResultOutput) DisableSecurityGroupAssignment() pulumi.BoolOutput { + return o.ApplyT(func(v LookupLoadbalancerResult) bool { return v.DisableSecurityGroupAssignment }).(pulumi.BoolOutput) +} + // External Load Balancer IP address where this Load Balancer is exposed. func (o LookupLoadbalancerResultOutput) ExternalAddress() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.ExternalAddress }).(pulumi.StringOutput) @@ -124,6 +135,11 @@ func (o LookupLoadbalancerResultOutput) Options() GetLoadbalancerOptionsOutput { return o.ApplyT(func(v LookupLoadbalancerResult) GetLoadbalancerOptions { return v.Options }).(GetLoadbalancerOptionsOutput) } +// The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. +func (o LookupLoadbalancerResultOutput) PlanId() pulumi.StringOutput { + return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.PlanId }).(pulumi.StringOutput) +} + // Transient private Load Balancer IP address. It can change any time. func (o LookupLoadbalancerResultOutput) PrivateAddress() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.PrivateAddress }).(pulumi.StringOutput) @@ -139,6 +155,11 @@ func (o LookupLoadbalancerResultOutput) Region() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupLoadbalancerResult) *string { return v.Region }).(pulumi.StringPtrOutput) } +// The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. +func (o LookupLoadbalancerResultOutput) SecurityGroupId() pulumi.StringOutput { + return o.ApplyT(func(v LookupLoadbalancerResult) string { return v.SecurityGroupId }).(pulumi.StringOutput) +} + // List of all target pools which will be used in the Load Balancer. Limited to 20. func (o LookupLoadbalancerResultOutput) TargetPools() GetLoadbalancerTargetPoolArrayOutput { return o.ApplyT(func(v LookupLoadbalancerResult) []GetLoadbalancerTargetPool { return v.TargetPools }).(GetLoadbalancerTargetPoolArrayOutput) diff --git a/sdk/go/stackit/getMachineType.go b/sdk/go/stackit/getMachineType.go new file mode 100644 index 00000000..311fc089 --- /dev/null +++ b/sdk/go/stackit/getMachineType.go @@ -0,0 +1,131 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Machine type data source. +// +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// +// ## Example Usage +func GetMachineType(ctx *pulumi.Context, args *GetMachineTypeArgs, opts ...pulumi.InvokeOption) (*GetMachineTypeResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetMachineTypeResult + err := ctx.Invoke("stackit:index/getMachineType:getMachineType", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMachineType. +type GetMachineTypeArgs struct { + // Expr-lang filter for filtering machine types. + Filter string `pulumi:"filter"` + ProjectId string `pulumi:"projectId"` + SortAscending *bool `pulumi:"sortAscending"` +} + +// A collection of values returned by getMachineType. +type GetMachineTypeResult struct { + Description string `pulumi:"description"` + Disk int `pulumi:"disk"` + ExtraSpecs map[string]string `pulumi:"extraSpecs"` + // Expr-lang filter for filtering machine types. + Filter string `pulumi:"filter"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ProjectId string `pulumi:"projectId"` + Ram int `pulumi:"ram"` + SortAscending *bool `pulumi:"sortAscending"` + Vcpus int `pulumi:"vcpus"` +} + +func GetMachineTypeOutput(ctx *pulumi.Context, args GetMachineTypeOutputArgs, opts ...pulumi.InvokeOption) GetMachineTypeResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetMachineTypeResultOutput, error) { + args := v.(GetMachineTypeArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getMachineType:getMachineType", args, GetMachineTypeResultOutput{}, options).(GetMachineTypeResultOutput), nil + }).(GetMachineTypeResultOutput) +} + +// A collection of arguments for invoking getMachineType. +type GetMachineTypeOutputArgs struct { + // Expr-lang filter for filtering machine types. + Filter pulumi.StringInput `pulumi:"filter"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + SortAscending pulumi.BoolPtrInput `pulumi:"sortAscending"` +} + +func (GetMachineTypeOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMachineTypeArgs)(nil)).Elem() +} + +// A collection of values returned by getMachineType. +type GetMachineTypeResultOutput struct{ *pulumi.OutputState } + +func (GetMachineTypeResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMachineTypeResult)(nil)).Elem() +} + +func (o GetMachineTypeResultOutput) ToGetMachineTypeResultOutput() GetMachineTypeResultOutput { + return o +} + +func (o GetMachineTypeResultOutput) ToGetMachineTypeResultOutputWithContext(ctx context.Context) GetMachineTypeResultOutput { + return o +} + +func (o GetMachineTypeResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMachineTypeResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetMachineTypeResultOutput) Disk() pulumi.IntOutput { + return o.ApplyT(func(v GetMachineTypeResult) int { return v.Disk }).(pulumi.IntOutput) +} + +func (o GetMachineTypeResultOutput) ExtraSpecs() pulumi.StringMapOutput { + return o.ApplyT(func(v GetMachineTypeResult) map[string]string { return v.ExtraSpecs }).(pulumi.StringMapOutput) +} + +// Expr-lang filter for filtering machine types. +func (o GetMachineTypeResultOutput) Filter() pulumi.StringOutput { + return o.ApplyT(func(v GetMachineTypeResult) string { return v.Filter }).(pulumi.StringOutput) +} + +func (o GetMachineTypeResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMachineTypeResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetMachineTypeResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMachineTypeResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMachineTypeResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetMachineTypeResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o GetMachineTypeResultOutput) Ram() pulumi.IntOutput { + return o.ApplyT(func(v GetMachineTypeResult) int { return v.Ram }).(pulumi.IntOutput) +} + +func (o GetMachineTypeResultOutput) SortAscending() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMachineTypeResult) *bool { return v.SortAscending }).(pulumi.BoolPtrOutput) +} + +func (o GetMachineTypeResultOutput) Vcpus() pulumi.IntOutput { + return o.ApplyT(func(v GetMachineTypeResult) int { return v.Vcpus }).(pulumi.IntOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMachineTypeResultOutput{}) +} diff --git a/sdk/go/stackit/getMongodbflexInstance.go b/sdk/go/stackit/getMongodbflexInstance.go index 7093bdff..62df3dce 100644 --- a/sdk/go/stackit/getMongodbflexInstance.go +++ b/sdk/go/stackit/getMongodbflexInstance.go @@ -30,6 +30,8 @@ type LookupMongodbflexInstanceArgs struct { InstanceId string `pulumi:"instanceId"` // STACKIT project ID to which the instance is associated. ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` } // A collection of values returned by getMongodbflexInstance. @@ -47,10 +49,12 @@ type LookupMongodbflexInstanceResult struct { // Custom parameters for the MongoDB Flex instance. Options GetMongodbflexInstanceOptions `pulumi:"options"` // STACKIT project ID to which the instance is associated. - ProjectId string `pulumi:"projectId"` - Replicas int `pulumi:"replicas"` - Storage GetMongodbflexInstanceStorage `pulumi:"storage"` - Version string `pulumi:"version"` + ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region string `pulumi:"region"` + Replicas int `pulumi:"replicas"` + Storage GetMongodbflexInstanceStorage `pulumi:"storage"` + Version string `pulumi:"version"` } func LookupMongodbflexInstanceOutput(ctx *pulumi.Context, args LookupMongodbflexInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupMongodbflexInstanceResultOutput { @@ -68,6 +72,8 @@ type LookupMongodbflexInstanceOutputArgs struct { InstanceId pulumi.StringInput `pulumi:"instanceId"` // STACKIT project ID to which the instance is associated. ProjectId pulumi.StringInput `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` } func (LookupMongodbflexInstanceOutputArgs) ElementType() reflect.Type { @@ -127,6 +133,11 @@ func (o LookupMongodbflexInstanceResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v LookupMongodbflexInstanceResult) string { return v.ProjectId }).(pulumi.StringOutput) } +// The resource region. If not defined, the provider region is used. +func (o LookupMongodbflexInstanceResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupMongodbflexInstanceResult) string { return v.Region }).(pulumi.StringOutput) +} + func (o LookupMongodbflexInstanceResultOutput) Replicas() pulumi.IntOutput { return o.ApplyT(func(v LookupMongodbflexInstanceResult) int { return v.Replicas }).(pulumi.IntOutput) } diff --git a/sdk/go/stackit/getMongodbflexUser.go b/sdk/go/stackit/getMongodbflexUser.go index 62ee8168..eae58219 100644 --- a/sdk/go/stackit/getMongodbflexUser.go +++ b/sdk/go/stackit/getMongodbflexUser.go @@ -30,6 +30,8 @@ type LookupMongodbflexUserArgs struct { InstanceId string `pulumi:"instanceId"` // STACKIT project ID to which the instance is associated. ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` // User ID. UserId string `pulumi:"userId"` } @@ -43,8 +45,10 @@ type LookupMongodbflexUserResult struct { InstanceId string `pulumi:"instanceId"` Port int `pulumi:"port"` // STACKIT project ID to which the instance is associated. - ProjectId string `pulumi:"projectId"` - Roles []string `pulumi:"roles"` + ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region string `pulumi:"region"` + Roles []string `pulumi:"roles"` // User ID. UserId string `pulumi:"userId"` Username string `pulumi:"username"` @@ -65,6 +69,8 @@ type LookupMongodbflexUserOutputArgs struct { InstanceId pulumi.StringInput `pulumi:"instanceId"` // STACKIT project ID to which the instance is associated. ProjectId pulumi.StringInput `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` // User ID. UserId pulumi.StringInput `pulumi:"userId"` } @@ -114,6 +120,11 @@ func (o LookupMongodbflexUserResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v LookupMongodbflexUserResult) string { return v.ProjectId }).(pulumi.StringOutput) } +// The resource region. If not defined, the provider region is used. +func (o LookupMongodbflexUserResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupMongodbflexUserResult) string { return v.Region }).(pulumi.StringOutput) +} + func (o LookupMongodbflexUserResultOutput) Roles() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupMongodbflexUserResult) []string { return v.Roles }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/stackit/getNetwork.go b/sdk/go/stackit/getNetwork.go index 494dfb63..d4c5f0e7 100644 --- a/sdk/go/stackit/getNetwork.go +++ b/sdk/go/stackit/getNetwork.go @@ -30,6 +30,9 @@ type LookupNetworkArgs struct { NetworkId string `pulumi:"networkId"` // STACKIT project ID to which the network is associated. ProjectId string `pulumi:"projectId"` + // Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` } // A collection of values returned by getNetwork. @@ -77,8 +80,14 @@ type LookupNetworkResult struct { ProjectId string `pulumi:"projectId"` // The public IP of the network. PublicIp string `pulumi:"publicIp"` + // Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` // Shows if the network is routed and therefore accessible from other networks. Routed bool `pulumi:"routed"` + // Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + // The ID of the routing table associated with the network. + RoutingTableId string `pulumi:"routingTableId"` } func LookupNetworkOutput(ctx *pulumi.Context, args LookupNetworkOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkResultOutput { @@ -96,6 +105,9 @@ type LookupNetworkOutputArgs struct { NetworkId pulumi.StringInput `pulumi:"networkId"` // STACKIT project ID to which the network is associated. ProjectId pulumi.StringInput `pulumi:"projectId"` + // Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` } func (LookupNetworkOutputArgs) ElementType() reflect.Type { @@ -214,11 +226,23 @@ func (o LookupNetworkResultOutput) PublicIp() pulumi.StringOutput { return o.ApplyT(func(v LookupNetworkResult) string { return v.PublicIp }).(pulumi.StringOutput) } +// Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. +// The resource region. If not defined, the provider region is used. +func (o LookupNetworkResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupNetworkResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + // Shows if the network is routed and therefore accessible from other networks. func (o LookupNetworkResultOutput) Routed() pulumi.BoolOutput { return o.ApplyT(func(v LookupNetworkResult) bool { return v.Routed }).(pulumi.BoolOutput) } +// Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. +// The ID of the routing table associated with the network. +func (o LookupNetworkResultOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v LookupNetworkResult) string { return v.RoutingTableId }).(pulumi.StringOutput) +} + func init() { pulumi.RegisterOutputType(LookupNetworkResultOutput{}) } diff --git a/sdk/go/stackit/getObservabilityInstance.go b/sdk/go/stackit/getObservabilityInstance.go index 0387b80f..5c418724 100644 --- a/sdk/go/stackit/getObservabilityInstance.go +++ b/sdk/go/stackit/getObservabilityInstance.go @@ -63,11 +63,11 @@ type LookupObservabilityInstanceResult struct { LogsUrl string `pulumi:"logsUrl"` // Specifies URL for pushing metrics. MetricsPushUrl string `pulumi:"metricsPushUrl"` - // Specifies for how many days the raw metrics are kept. + // Specifies for how many days the raw metrics are kept. Default is set to `90`. MetricsRetentionDays int `pulumi:"metricsRetentionDays"` - // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. MetricsRetentionDays1hDownsampling int `pulumi:"metricsRetentionDays1hDownsampling"` - // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. MetricsRetentionDays5mDownsampling int `pulumi:"metricsRetentionDays5mDownsampling"` // Specifies metrics URL. MetricsUrl string `pulumi:"metricsUrl"` @@ -200,17 +200,17 @@ func (o LookupObservabilityInstanceResultOutput) MetricsPushUrl() pulumi.StringO return o.ApplyT(func(v LookupObservabilityInstanceResult) string { return v.MetricsPushUrl }).(pulumi.StringOutput) } -// Specifies for how many days the raw metrics are kept. +// Specifies for how many days the raw metrics are kept. Default is set to `90`. func (o LookupObservabilityInstanceResultOutput) MetricsRetentionDays() pulumi.IntOutput { return o.ApplyT(func(v LookupObservabilityInstanceResult) int { return v.MetricsRetentionDays }).(pulumi.IntOutput) } -// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). +// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. func (o LookupObservabilityInstanceResultOutput) MetricsRetentionDays1hDownsampling() pulumi.IntOutput { return o.ApplyT(func(v LookupObservabilityInstanceResult) int { return v.MetricsRetentionDays1hDownsampling }).(pulumi.IntOutput) } -// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). +// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. func (o LookupObservabilityInstanceResultOutput) MetricsRetentionDays5mDownsampling() pulumi.IntOutput { return o.ApplyT(func(v LookupObservabilityInstanceResult) int { return v.MetricsRetentionDays5mDownsampling }).(pulumi.IntOutput) } diff --git a/sdk/go/stackit/getPublicIpRanges.go b/sdk/go/stackit/getPublicIpRanges.go index f94b8a11..ed122164 100644 --- a/sdk/go/stackit/getPublicIpRanges.go +++ b/sdk/go/stackit/getPublicIpRanges.go @@ -26,7 +26,9 @@ func GetPublicIpRanges(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetPu // A collection of values returned by getPublicIpRanges. type GetPublicIpRangesResult struct { - Id string `pulumi:"id"` + // A list of IP range strings (CIDRs) extracted from the public*ip*ranges for easy consumption. + CidrLists []string `pulumi:"cidrLists"` + Id string `pulumi:"id"` // A list of all public IP ranges. PublicIpRanges []GetPublicIpRangesPublicIpRange `pulumi:"publicIpRanges"` } @@ -53,6 +55,11 @@ func (o GetPublicIpRangesResultOutput) ToGetPublicIpRangesResultOutputWithContex return o } +// A list of IP range strings (CIDRs) extracted from the public*ip*ranges for easy consumption. +func (o GetPublicIpRangesResultOutput) CidrLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPublicIpRangesResult) []string { return v.CidrLists }).(pulumi.StringArrayOutput) +} + func (o GetPublicIpRangesResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetPublicIpRangesResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/sdk/go/stackit/getResourcemanagerFolder.go b/sdk/go/stackit/getResourcemanagerFolder.go new file mode 100644 index 00000000..a65c4748 --- /dev/null +++ b/sdk/go/stackit/getResourcemanagerFolder.go @@ -0,0 +1,129 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Resource Manager folder data source schema. To identify the folder, you need to provide the container_id. +// +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// +// ## Example Usage +func LookupResourcemanagerFolder(ctx *pulumi.Context, args *LookupResourcemanagerFolderArgs, opts ...pulumi.InvokeOption) (*LookupResourcemanagerFolderResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupResourcemanagerFolderResult + err := ctx.Invoke("stackit:index/getResourcemanagerFolder:getResourcemanagerFolder", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getResourcemanagerFolder. +type LookupResourcemanagerFolderArgs struct { + // Folder container ID. Globally unique, user-friendly identifier. + ContainerId string `pulumi:"containerId"` +} + +// A collection of values returned by getResourcemanagerFolder. +type LookupResourcemanagerFolderResult struct { + // Folder container ID. Globally unique, user-friendly identifier. + ContainerId string `pulumi:"containerId"` + // Date-time at which the folder was created. + CreationTime string `pulumi:"creationTime"` + // Folder UUID identifier. Globally unique folder identifier + FolderId string `pulumi:"folderId"` + Id string `pulumi:"id"` + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + Labels map[string]string `pulumi:"labels"` + // The name of the folder. + Name string `pulumi:"name"` + // Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + ParentContainerId string `pulumi:"parentContainerId"` + // Date-time at which the folder was last modified. + UpdateTime string `pulumi:"updateTime"` +} + +func LookupResourcemanagerFolderOutput(ctx *pulumi.Context, args LookupResourcemanagerFolderOutputArgs, opts ...pulumi.InvokeOption) LookupResourcemanagerFolderResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupResourcemanagerFolderResultOutput, error) { + args := v.(LookupResourcemanagerFolderArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getResourcemanagerFolder:getResourcemanagerFolder", args, LookupResourcemanagerFolderResultOutput{}, options).(LookupResourcemanagerFolderResultOutput), nil + }).(LookupResourcemanagerFolderResultOutput) +} + +// A collection of arguments for invoking getResourcemanagerFolder. +type LookupResourcemanagerFolderOutputArgs struct { + // Folder container ID. Globally unique, user-friendly identifier. + ContainerId pulumi.StringInput `pulumi:"containerId"` +} + +func (LookupResourcemanagerFolderOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupResourcemanagerFolderArgs)(nil)).Elem() +} + +// A collection of values returned by getResourcemanagerFolder. +type LookupResourcemanagerFolderResultOutput struct{ *pulumi.OutputState } + +func (LookupResourcemanagerFolderResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupResourcemanagerFolderResult)(nil)).Elem() +} + +func (o LookupResourcemanagerFolderResultOutput) ToLookupResourcemanagerFolderResultOutput() LookupResourcemanagerFolderResultOutput { + return o +} + +func (o LookupResourcemanagerFolderResultOutput) ToLookupResourcemanagerFolderResultOutputWithContext(ctx context.Context) LookupResourcemanagerFolderResultOutput { + return o +} + +// Folder container ID. Globally unique, user-friendly identifier. +func (o LookupResourcemanagerFolderResultOutput) ContainerId() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) string { return v.ContainerId }).(pulumi.StringOutput) +} + +// Date-time at which the folder was created. +func (o LookupResourcemanagerFolderResultOutput) CreationTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) string { return v.CreationTime }).(pulumi.StringOutput) +} + +// Folder UUID identifier. Globally unique folder identifier +func (o LookupResourcemanagerFolderResultOutput) FolderId() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) string { return v.FolderId }).(pulumi.StringOutput) +} + +func (o LookupResourcemanagerFolderResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. +func (o LookupResourcemanagerFolderResultOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +// The name of the folder. +func (o LookupResourcemanagerFolderResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) string { return v.Name }).(pulumi.StringOutput) +} + +// Parent resource identifier. Both container ID (user-friendly) and UUID are supported. +func (o LookupResourcemanagerFolderResultOutput) ParentContainerId() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) string { return v.ParentContainerId }).(pulumi.StringOutput) +} + +// Date-time at which the folder was last modified. +func (o LookupResourcemanagerFolderResultOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerFolderResult) string { return v.UpdateTime }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupResourcemanagerFolderResultOutput{}) +} diff --git a/sdk/go/stackit/getResourcemanagerProject.go b/sdk/go/stackit/getResourcemanagerProject.go index df4f72cc..75194cf8 100644 --- a/sdk/go/stackit/getResourcemanagerProject.go +++ b/sdk/go/stackit/getResourcemanagerProject.go @@ -36,7 +36,9 @@ type LookupResourcemanagerProjectArgs struct { type LookupResourcemanagerProjectResult struct { // Project container ID. Globally unique, user-friendly identifier. ContainerId *string `pulumi:"containerId"` - Id string `pulumi:"id"` + // Date-time at which the project was created. + CreationTime string `pulumi:"creationTime"` + Id string `pulumi:"id"` // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64} Labels map[string]string `pulumi:"labels"` // Project name. @@ -45,6 +47,8 @@ type LookupResourcemanagerProjectResult struct { ParentContainerId string `pulumi:"parentContainerId"` // Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. ProjectId *string `pulumi:"projectId"` + // Date-time at which the project was last modified. + UpdateTime string `pulumi:"updateTime"` } func LookupResourcemanagerProjectOutput(ctx *pulumi.Context, args LookupResourcemanagerProjectOutputArgs, opts ...pulumi.InvokeOption) LookupResourcemanagerProjectResultOutput { @@ -88,6 +92,11 @@ func (o LookupResourcemanagerProjectResultOutput) ContainerId() pulumi.StringPtr return o.ApplyT(func(v LookupResourcemanagerProjectResult) *string { return v.ContainerId }).(pulumi.StringPtrOutput) } +// Date-time at which the project was created. +func (o LookupResourcemanagerProjectResultOutput) CreationTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerProjectResult) string { return v.CreationTime }).(pulumi.StringOutput) +} + func (o LookupResourcemanagerProjectResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupResourcemanagerProjectResult) string { return v.Id }).(pulumi.StringOutput) } @@ -112,6 +121,11 @@ func (o LookupResourcemanagerProjectResultOutput) ProjectId() pulumi.StringPtrOu return o.ApplyT(func(v LookupResourcemanagerProjectResult) *string { return v.ProjectId }).(pulumi.StringPtrOutput) } +// Date-time at which the project was last modified. +func (o LookupResourcemanagerProjectResultOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupResourcemanagerProjectResult) string { return v.UpdateTime }).(pulumi.StringOutput) +} + func init() { pulumi.RegisterOutputType(LookupResourcemanagerProjectResultOutput{}) } diff --git a/sdk/go/stackit/getRoutingTable.go b/sdk/go/stackit/getRoutingTable.go new file mode 100644 index 00000000..25cff8b9 --- /dev/null +++ b/sdk/go/stackit/getRoutingTable.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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Routing table datasource schema. Must have a `region` specified in the provider configuration. +// +// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. +// +// ## Example Usage +func LookupRoutingTable(ctx *pulumi.Context, args *LookupRoutingTableArgs, opts ...pulumi.InvokeOption) (*LookupRoutingTableResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupRoutingTableResult + err := ctx.Invoke("stackit:index/getRoutingTable:getRoutingTable", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRoutingTable. +type LookupRoutingTableArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` +} + +// A collection of values returned by getRoutingTable. +type LookupRoutingTableResult struct { + // Date-time when the routing table was created + CreatedAt string `pulumi:"createdAt"` + // When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + Default bool `pulumi:"default"` + // Description of the routing table. + Description string `pulumi:"description"` + Id string `pulumi:"id"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The name of the routing table. + Name string `pulumi:"name"` + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes bool `pulumi:"systemRoutes"` + // Date-time when the routing table was updated + UpdatedAt string `pulumi:"updatedAt"` +} + +func LookupRoutingTableOutput(ctx *pulumi.Context, args LookupRoutingTableOutputArgs, opts ...pulumi.InvokeOption) LookupRoutingTableResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupRoutingTableResultOutput, error) { + args := v.(LookupRoutingTableArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getRoutingTable:getRoutingTable", args, LookupRoutingTableResultOutput{}, options).(LookupRoutingTableResultOutput), nil + }).(LookupRoutingTableResultOutput) +} + +// A collection of arguments for invoking getRoutingTable. +type LookupRoutingTableOutputArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringInput `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringInput `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` + // The routing tables ID. + RoutingTableId pulumi.StringInput `pulumi:"routingTableId"` +} + +func (LookupRoutingTableOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupRoutingTableArgs)(nil)).Elem() +} + +// A collection of values returned by getRoutingTable. +type LookupRoutingTableResultOutput struct{ *pulumi.OutputState } + +func (LookupRoutingTableResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupRoutingTableResult)(nil)).Elem() +} + +func (o LookupRoutingTableResultOutput) ToLookupRoutingTableResultOutput() LookupRoutingTableResultOutput { + return o +} + +func (o LookupRoutingTableResultOutput) ToLookupRoutingTableResultOutputWithContext(ctx context.Context) LookupRoutingTableResultOutput { + return o +} + +// Date-time when the routing table was created +func (o LookupRoutingTableResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +// When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. +func (o LookupRoutingTableResultOutput) Default() pulumi.BoolOutput { + return o.ApplyT(func(v LookupRoutingTableResult) bool { return v.Default }).(pulumi.BoolOutput) +} + +// Description of the routing table. +func (o LookupRoutingTableResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupRoutingTableResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container +func (o LookupRoutingTableResultOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupRoutingTableResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +// The name of the routing table. +func (o LookupRoutingTableResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.Name }).(pulumi.StringOutput) +} + +// The network area ID to which the routing table is associated. +func (o LookupRoutingTableResultOutput) NetworkAreaId() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.NetworkAreaId }).(pulumi.StringOutput) +} + +// STACKIT organization ID to which the routing table is associated. +func (o LookupRoutingTableResultOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used. +func (o LookupRoutingTableResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupRoutingTableResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// The routing tables ID. +func (o LookupRoutingTableResultOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.RoutingTableId }).(pulumi.StringOutput) +} + +// This controls whether the routes for project-to-project communication are created automatically or not. +func (o LookupRoutingTableResultOutput) SystemRoutes() pulumi.BoolOutput { + return o.ApplyT(func(v LookupRoutingTableResult) bool { return v.SystemRoutes }).(pulumi.BoolOutput) +} + +// Date-time when the routing table was updated +func (o LookupRoutingTableResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupRoutingTableResultOutput{}) +} diff --git a/sdk/go/stackit/getRoutingTableRoute.go b/sdk/go/stackit/getRoutingTableRoute.go new file mode 100644 index 00000000..1935e502 --- /dev/null +++ b/sdk/go/stackit/getRoutingTableRoute.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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Routing table route datasource schema. Must have a `region` specified in the provider configuration. +// +// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. +// +// ## Example Usage +func LookupRoutingTableRoute(ctx *pulumi.Context, args *LookupRoutingTableRouteArgs, opts ...pulumi.InvokeOption) (*LookupRoutingTableRouteResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupRoutingTableRouteResult + err := ctx.Invoke("stackit:index/getRoutingTableRoute:getRoutingTableRoute", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRoutingTableRoute. +type LookupRoutingTableRouteArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // Route ID. + RouteId string `pulumi:"routeId"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` +} + +// A collection of values returned by getRoutingTableRoute. +type LookupRoutingTableRouteResult struct { + // Date-time when the route was created + CreatedAt string `pulumi:"createdAt"` + // Destination of the route. + Destination GetRoutingTableRouteDestination `pulumi:"destination"` + Id string `pulumi:"id"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // Next hop destination. + NextHop GetRoutingTableRouteNextHop `pulumi:"nextHop"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // Route ID. + RouteId string `pulumi:"routeId"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` + // Date-time when the route was updated + UpdatedAt string `pulumi:"updatedAt"` +} + +func LookupRoutingTableRouteOutput(ctx *pulumi.Context, args LookupRoutingTableRouteOutputArgs, opts ...pulumi.InvokeOption) LookupRoutingTableRouteResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupRoutingTableRouteResultOutput, error) { + args := v.(LookupRoutingTableRouteArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getRoutingTableRoute:getRoutingTableRoute", args, LookupRoutingTableRouteResultOutput{}, options).(LookupRoutingTableRouteResultOutput), nil + }).(LookupRoutingTableRouteResultOutput) +} + +// A collection of arguments for invoking getRoutingTableRoute. +type LookupRoutingTableRouteOutputArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringInput `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringInput `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` + // Route ID. + RouteId pulumi.StringInput `pulumi:"routeId"` + // The routing tables ID. + RoutingTableId pulumi.StringInput `pulumi:"routingTableId"` +} + +func (LookupRoutingTableRouteOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupRoutingTableRouteArgs)(nil)).Elem() +} + +// A collection of values returned by getRoutingTableRoute. +type LookupRoutingTableRouteResultOutput struct{ *pulumi.OutputState } + +func (LookupRoutingTableRouteResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupRoutingTableRouteResult)(nil)).Elem() +} + +func (o LookupRoutingTableRouteResultOutput) ToLookupRoutingTableRouteResultOutput() LookupRoutingTableRouteResultOutput { + return o +} + +func (o LookupRoutingTableRouteResultOutput) ToLookupRoutingTableRouteResultOutputWithContext(ctx context.Context) LookupRoutingTableRouteResultOutput { + return o +} + +// Date-time when the route was created +func (o LookupRoutingTableRouteResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Destination of the route. +func (o LookupRoutingTableRouteResultOutput) Destination() GetRoutingTableRouteDestinationOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) GetRoutingTableRouteDestination { return v.Destination }).(GetRoutingTableRouteDestinationOutput) +} + +func (o LookupRoutingTableRouteResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container +func (o LookupRoutingTableRouteResultOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +// The network area ID to which the routing table is associated. +func (o LookupRoutingTableRouteResultOutput) NetworkAreaId() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) string { return v.NetworkAreaId }).(pulumi.StringOutput) +} + +// Next hop destination. +func (o LookupRoutingTableRouteResultOutput) NextHop() GetRoutingTableRouteNextHopOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) GetRoutingTableRouteNextHop { return v.NextHop }).(GetRoutingTableRouteNextHopOutput) +} + +// STACKIT organization ID to which the routing table is associated. +func (o LookupRoutingTableRouteResultOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used. +func (o LookupRoutingTableRouteResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// Route ID. +func (o LookupRoutingTableRouteResultOutput) RouteId() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) string { return v.RouteId }).(pulumi.StringOutput) +} + +// The routing tables ID. +func (o LookupRoutingTableRouteResultOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) string { return v.RoutingTableId }).(pulumi.StringOutput) +} + +// Date-time when the route was updated +func (o LookupRoutingTableRouteResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingTableRouteResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupRoutingTableRouteResultOutput{}) +} diff --git a/sdk/go/stackit/getRoutingTableRoutes.go b/sdk/go/stackit/getRoutingTableRoutes.go new file mode 100644 index 00000000..f560b788 --- /dev/null +++ b/sdk/go/stackit/getRoutingTableRoutes.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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Routing table routes datasource schema. Must have a `region` specified in the provider configuration. +// +// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. +// +// ## Example Usage +func GetRoutingTableRoutes(ctx *pulumi.Context, args *GetRoutingTableRoutesArgs, opts ...pulumi.InvokeOption) (*GetRoutingTableRoutesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRoutingTableRoutesResult + err := ctx.Invoke("stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRoutingTableRoutes. +type GetRoutingTableRoutesArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The datasource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` +} + +// A collection of values returned by getRoutingTableRoutes. +type GetRoutingTableRoutesResult struct { + Id string `pulumi:"id"` + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The datasource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // List of routes. + Routes []GetRoutingTableRoutesRoute `pulumi:"routes"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` +} + +func GetRoutingTableRoutesOutput(ctx *pulumi.Context, args GetRoutingTableRoutesOutputArgs, opts ...pulumi.InvokeOption) GetRoutingTableRoutesResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetRoutingTableRoutesResultOutput, error) { + args := v.(GetRoutingTableRoutesArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", args, GetRoutingTableRoutesResultOutput{}, options).(GetRoutingTableRoutesResultOutput), nil + }).(GetRoutingTableRoutesResultOutput) +} + +// A collection of arguments for invoking getRoutingTableRoutes. +type GetRoutingTableRoutesOutputArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringInput `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringInput `pulumi:"organizationId"` + // The datasource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` + // The routing tables ID. + RoutingTableId pulumi.StringInput `pulumi:"routingTableId"` +} + +func (GetRoutingTableRoutesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesArgs)(nil)).Elem() +} + +// A collection of values returned by getRoutingTableRoutes. +type GetRoutingTableRoutesResultOutput struct{ *pulumi.OutputState } + +func (GetRoutingTableRoutesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesResult)(nil)).Elem() +} + +func (o GetRoutingTableRoutesResultOutput) ToGetRoutingTableRoutesResultOutput() GetRoutingTableRoutesResultOutput { + return o +} + +func (o GetRoutingTableRoutesResultOutput) ToGetRoutingTableRoutesResultOutputWithContext(ctx context.Context) GetRoutingTableRoutesResultOutput { + return o +} + +func (o GetRoutingTableRoutesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The network area ID to which the routing table is associated. +func (o GetRoutingTableRoutesResultOutput) NetworkAreaId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesResult) string { return v.NetworkAreaId }).(pulumi.StringOutput) +} + +// STACKIT organization ID to which the routing table is associated. +func (o GetRoutingTableRoutesResultOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesResult) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The datasource region. If not defined, the provider region is used. +func (o GetRoutingTableRoutesResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRoutingTableRoutesResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// List of routes. +func (o GetRoutingTableRoutesResultOutput) Routes() GetRoutingTableRoutesRouteArrayOutput { + return o.ApplyT(func(v GetRoutingTableRoutesResult) []GetRoutingTableRoutesRoute { return v.Routes }).(GetRoutingTableRoutesRouteArrayOutput) +} + +// The routing tables ID. +func (o GetRoutingTableRoutesResultOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesResult) string { return v.RoutingTableId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetRoutingTableRoutesResultOutput{}) +} diff --git a/sdk/go/stackit/getRoutingTables.go b/sdk/go/stackit/getRoutingTables.go new file mode 100644 index 00000000..c17c9739 --- /dev/null +++ b/sdk/go/stackit/getRoutingTables.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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Routing table datasource schema. Must have a `region` specified in the provider configuration. +// +// > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. +// +// ## Example Usage +func GetRoutingTables(ctx *pulumi.Context, args *GetRoutingTablesArgs, opts ...pulumi.InvokeOption) (*GetRoutingTablesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRoutingTablesResult + err := ctx.Invoke("stackit:index/getRoutingTables:getRoutingTables", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRoutingTables. +type GetRoutingTablesArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` +} + +// A collection of values returned by getRoutingTables. +type GetRoutingTablesResult struct { + Id string `pulumi:"id"` + // List of routing tables. + Items []GetRoutingTablesItem `pulumi:"items"` + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` +} + +func GetRoutingTablesOutput(ctx *pulumi.Context, args GetRoutingTablesOutputArgs, opts ...pulumi.InvokeOption) GetRoutingTablesResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetRoutingTablesResultOutput, error) { + args := v.(GetRoutingTablesArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getRoutingTables:getRoutingTables", args, GetRoutingTablesResultOutput{}, options).(GetRoutingTablesResultOutput), nil + }).(GetRoutingTablesResultOutput) +} + +// A collection of arguments for invoking getRoutingTables. +type GetRoutingTablesOutputArgs struct { + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringInput `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringInput `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (GetRoutingTablesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTablesArgs)(nil)).Elem() +} + +// A collection of values returned by getRoutingTables. +type GetRoutingTablesResultOutput struct{ *pulumi.OutputState } + +func (GetRoutingTablesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTablesResult)(nil)).Elem() +} + +func (o GetRoutingTablesResultOutput) ToGetRoutingTablesResultOutput() GetRoutingTablesResultOutput { + return o +} + +func (o GetRoutingTablesResultOutput) ToGetRoutingTablesResultOutputWithContext(ctx context.Context) GetRoutingTablesResultOutput { + return o +} + +func (o GetRoutingTablesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// List of routing tables. +func (o GetRoutingTablesResultOutput) Items() GetRoutingTablesItemArrayOutput { + return o.ApplyT(func(v GetRoutingTablesResult) []GetRoutingTablesItem { return v.Items }).(GetRoutingTablesItemArrayOutput) +} + +// The network area ID to which the routing table is associated. +func (o GetRoutingTablesResultOutput) NetworkAreaId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesResult) string { return v.NetworkAreaId }).(pulumi.StringOutput) +} + +// STACKIT organization ID to which the routing table is associated. +func (o GetRoutingTablesResultOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesResult) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used. +func (o GetRoutingTablesResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRoutingTablesResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetRoutingTablesResultOutput{}) +} diff --git a/sdk/go/stackit/getScfOrganization.go b/sdk/go/stackit/getScfOrganization.go new file mode 100644 index 00000000..ed4edc58 --- /dev/null +++ b/sdk/go/stackit/getScfOrganization.go @@ -0,0 +1,156 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. +// +// ## Example Usage +func LookupScfOrganization(ctx *pulumi.Context, args *LookupScfOrganizationArgs, opts ...pulumi.InvokeOption) (*LookupScfOrganizationResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupScfOrganizationResult + err := ctx.Invoke("stackit:index/getScfOrganization:getScfOrganization", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getScfOrganization. +type LookupScfOrganizationArgs struct { + // The ID of the Cloud Foundry Organization + OrgId string `pulumi:"orgId"` + // The ID of the project associated with the organization + ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used + Region *string `pulumi:"region"` +} + +// A collection of values returned by getScfOrganization. +type LookupScfOrganizationResult struct { + // The time when the organization was created + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + // The name of the organization + Name string `pulumi:"name"` + // The ID of the Cloud Foundry Organization + OrgId string `pulumi:"orgId"` + // The ID of the platform associated with the organization + PlatformId string `pulumi:"platformId"` + // The ID of the project associated with the organization + ProjectId string `pulumi:"projectId"` + // The ID of the quota associated with the organization + QuotaId string `pulumi:"quotaId"` + // The resource region. If not defined, the provider region is used + Region string `pulumi:"region"` + // The status of the organization (e.g., deleting, delete_failed) + Status string `pulumi:"status"` + // A boolean indicating whether the organization is suspended + Suspended bool `pulumi:"suspended"` + // The time when the organization was last updated + UpdatedAt string `pulumi:"updatedAt"` +} + +func LookupScfOrganizationOutput(ctx *pulumi.Context, args LookupScfOrganizationOutputArgs, opts ...pulumi.InvokeOption) LookupScfOrganizationResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupScfOrganizationResultOutput, error) { + args := v.(LookupScfOrganizationArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getScfOrganization:getScfOrganization", args, LookupScfOrganizationResultOutput{}, options).(LookupScfOrganizationResultOutput), nil + }).(LookupScfOrganizationResultOutput) +} + +// A collection of arguments for invoking getScfOrganization. +type LookupScfOrganizationOutputArgs struct { + // The ID of the Cloud Foundry Organization + OrgId pulumi.StringInput `pulumi:"orgId"` + // The ID of the project associated with the organization + ProjectId pulumi.StringInput `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (LookupScfOrganizationOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupScfOrganizationArgs)(nil)).Elem() +} + +// A collection of values returned by getScfOrganization. +type LookupScfOrganizationResultOutput struct{ *pulumi.OutputState } + +func (LookupScfOrganizationResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupScfOrganizationResult)(nil)).Elem() +} + +func (o LookupScfOrganizationResultOutput) ToLookupScfOrganizationResultOutput() LookupScfOrganizationResultOutput { + return o +} + +func (o LookupScfOrganizationResultOutput) ToLookupScfOrganizationResultOutputWithContext(ctx context.Context) LookupScfOrganizationResultOutput { + return o +} + +// The time when the organization was created +func (o LookupScfOrganizationResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupScfOrganizationResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The name of the organization +func (o LookupScfOrganizationResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.Name }).(pulumi.StringOutput) +} + +// The ID of the Cloud Foundry Organization +func (o LookupScfOrganizationResultOutput) OrgId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.OrgId }).(pulumi.StringOutput) +} + +// The ID of the platform associated with the organization +func (o LookupScfOrganizationResultOutput) PlatformId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.PlatformId }).(pulumi.StringOutput) +} + +// The ID of the project associated with the organization +func (o LookupScfOrganizationResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +// The ID of the quota associated with the organization +func (o LookupScfOrganizationResultOutput) QuotaId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.QuotaId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used +func (o LookupScfOrganizationResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.Region }).(pulumi.StringOutput) +} + +// The status of the organization (e.g., deleting, delete_failed) +func (o LookupScfOrganizationResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.Status }).(pulumi.StringOutput) +} + +// A boolean indicating whether the organization is suspended +func (o LookupScfOrganizationResultOutput) Suspended() pulumi.BoolOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) bool { return v.Suspended }).(pulumi.BoolOutput) +} + +// The time when the organization was last updated +func (o LookupScfOrganizationResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupScfOrganizationResultOutput{}) +} diff --git a/sdk/go/stackit/getScfOrganizationManager.go b/sdk/go/stackit/getScfOrganizationManager.go new file mode 100644 index 00000000..de2b3262 --- /dev/null +++ b/sdk/go/stackit/getScfOrganizationManager.go @@ -0,0 +1,142 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// STACKIT Cloud Foundry organization manager datasource schema. +// +// ## Example Usage +func LookupScfOrganizationManager(ctx *pulumi.Context, args *LookupScfOrganizationManagerArgs, opts ...pulumi.InvokeOption) (*LookupScfOrganizationManagerResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupScfOrganizationManagerResult + err := ctx.Invoke("stackit:index/getScfOrganizationManager:getScfOrganizationManager", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getScfOrganizationManager. +type LookupScfOrganizationManagerArgs struct { + // The ID of the Cloud Foundry Organization + OrgId string `pulumi:"orgId"` + // The ID of the project associated with the organization of the organization manager + ProjectId string `pulumi:"projectId"` + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region *string `pulumi:"region"` +} + +// A collection of values returned by getScfOrganizationManager. +type LookupScfOrganizationManagerResult struct { + // The time when the organization manager was created + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + // The ID of the Cloud Foundry Organization + OrgId string `pulumi:"orgId"` + // The ID of the platform associated with the organization of the organization manager + PlatformId string `pulumi:"platformId"` + // The ID of the project associated with the organization of the organization manager + ProjectId string `pulumi:"projectId"` + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region string `pulumi:"region"` + // The time when the organization manager was last updated + UpdatedAt string `pulumi:"updatedAt"` + // The ID of the organization manager user + UserId string `pulumi:"userId"` + // An auto-generated organization manager user name + Username string `pulumi:"username"` +} + +func LookupScfOrganizationManagerOutput(ctx *pulumi.Context, args LookupScfOrganizationManagerOutputArgs, opts ...pulumi.InvokeOption) LookupScfOrganizationManagerResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupScfOrganizationManagerResultOutput, error) { + args := v.(LookupScfOrganizationManagerArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getScfOrganizationManager:getScfOrganizationManager", args, LookupScfOrganizationManagerResultOutput{}, options).(LookupScfOrganizationManagerResultOutput), nil + }).(LookupScfOrganizationManagerResultOutput) +} + +// A collection of arguments for invoking getScfOrganizationManager. +type LookupScfOrganizationManagerOutputArgs struct { + // The ID of the Cloud Foundry Organization + OrgId pulumi.StringInput `pulumi:"orgId"` + // The ID of the project associated with the organization of the organization manager + ProjectId pulumi.StringInput `pulumi:"projectId"` + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (LookupScfOrganizationManagerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupScfOrganizationManagerArgs)(nil)).Elem() +} + +// A collection of values returned by getScfOrganizationManager. +type LookupScfOrganizationManagerResultOutput struct{ *pulumi.OutputState } + +func (LookupScfOrganizationManagerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupScfOrganizationManagerResult)(nil)).Elem() +} + +func (o LookupScfOrganizationManagerResultOutput) ToLookupScfOrganizationManagerResultOutput() LookupScfOrganizationManagerResultOutput { + return o +} + +func (o LookupScfOrganizationManagerResultOutput) ToLookupScfOrganizationManagerResultOutputWithContext(ctx context.Context) LookupScfOrganizationManagerResultOutput { + return o +} + +// The time when the organization manager was created +func (o LookupScfOrganizationManagerResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupScfOrganizationManagerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The ID of the Cloud Foundry Organization +func (o LookupScfOrganizationManagerResultOutput) OrgId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.OrgId }).(pulumi.StringOutput) +} + +// The ID of the platform associated with the organization of the organization manager +func (o LookupScfOrganizationManagerResultOutput) PlatformId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.PlatformId }).(pulumi.StringOutput) +} + +// The ID of the project associated with the organization of the organization manager +func (o LookupScfOrganizationManagerResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +// The region where the organization of the organization manager is located. If not defined, the provider region is used +func (o LookupScfOrganizationManagerResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.Region }).(pulumi.StringOutput) +} + +// The time when the organization manager was last updated +func (o LookupScfOrganizationManagerResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// The ID of the organization manager user +func (o LookupScfOrganizationManagerResultOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.UserId }).(pulumi.StringOutput) +} + +// An auto-generated organization manager user name +func (o LookupScfOrganizationManagerResultOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v LookupScfOrganizationManagerResult) string { return v.Username }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupScfOrganizationManagerResultOutput{}) +} diff --git a/sdk/go/stackit/getScfPlatform.go b/sdk/go/stackit/getScfPlatform.go new file mode 100644 index 00000000..ba789899 --- /dev/null +++ b/sdk/go/stackit/getScfPlatform.go @@ -0,0 +1,135 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// STACKIT Cloud Foundry Platform datasource schema. +// +// ## Example Usage +func GetScfPlatform(ctx *pulumi.Context, args *GetScfPlatformArgs, opts ...pulumi.InvokeOption) (*GetScfPlatformResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetScfPlatformResult + err := ctx.Invoke("stackit:index/getScfPlatform:getScfPlatform", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getScfPlatform. +type GetScfPlatformArgs struct { + // The unique id of the platform + PlatformId string `pulumi:"platformId"` + // The ID of the project associated with the platform + ProjectId string `pulumi:"projectId"` + // The region where the platform is located. If not defined, the provider region is used + Region *string `pulumi:"region"` +} + +// A collection of values returned by getScfPlatform. +type GetScfPlatformResult struct { + // The CF API Url of the platform + ApiUrl string `pulumi:"apiUrl"` + // The Stratos URL of the platform + ConsoleUrl string `pulumi:"consoleUrl"` + // The name of the platform + DisplayName string `pulumi:"displayName"` + Id string `pulumi:"id"` + // The unique id of the platform + PlatformId string `pulumi:"platformId"` + // The ID of the project associated with the platform + ProjectId string `pulumi:"projectId"` + // The region where the platform is located. If not defined, the provider region is used + Region string `pulumi:"region"` + // The ID of the platform System + SystemId string `pulumi:"systemId"` +} + +func GetScfPlatformOutput(ctx *pulumi.Context, args GetScfPlatformOutputArgs, opts ...pulumi.InvokeOption) GetScfPlatformResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetScfPlatformResultOutput, error) { + args := v.(GetScfPlatformArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getScfPlatform:getScfPlatform", args, GetScfPlatformResultOutput{}, options).(GetScfPlatformResultOutput), nil + }).(GetScfPlatformResultOutput) +} + +// A collection of arguments for invoking getScfPlatform. +type GetScfPlatformOutputArgs struct { + // The unique id of the platform + PlatformId pulumi.StringInput `pulumi:"platformId"` + // The ID of the project associated with the platform + ProjectId pulumi.StringInput `pulumi:"projectId"` + // The region where the platform is located. If not defined, the provider region is used + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (GetScfPlatformOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetScfPlatformArgs)(nil)).Elem() +} + +// A collection of values returned by getScfPlatform. +type GetScfPlatformResultOutput struct{ *pulumi.OutputState } + +func (GetScfPlatformResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetScfPlatformResult)(nil)).Elem() +} + +func (o GetScfPlatformResultOutput) ToGetScfPlatformResultOutput() GetScfPlatformResultOutput { + return o +} + +func (o GetScfPlatformResultOutput) ToGetScfPlatformResultOutputWithContext(ctx context.Context) GetScfPlatformResultOutput { + return o +} + +// The CF API Url of the platform +func (o GetScfPlatformResultOutput) ApiUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.ApiUrl }).(pulumi.StringOutput) +} + +// The Stratos URL of the platform +func (o GetScfPlatformResultOutput) ConsoleUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.ConsoleUrl }).(pulumi.StringOutput) +} + +// The name of the platform +func (o GetScfPlatformResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +func (o GetScfPlatformResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The unique id of the platform +func (o GetScfPlatformResultOutput) PlatformId() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.PlatformId }).(pulumi.StringOutput) +} + +// The ID of the project associated with the platform +func (o GetScfPlatformResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +// The region where the platform is located. If not defined, the provider region is used +func (o GetScfPlatformResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.Region }).(pulumi.StringOutput) +} + +// The ID of the platform System +func (o GetScfPlatformResultOutput) SystemId() pulumi.StringOutput { + return o.ApplyT(func(v GetScfPlatformResult) string { return v.SystemId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetScfPlatformResultOutput{}) +} diff --git a/sdk/go/stackit/getServerBackupSchedule.go b/sdk/go/stackit/getServerBackupSchedule.go index bb3e9225..182f4ffa 100644 --- a/sdk/go/stackit/getServerBackupSchedule.go +++ b/sdk/go/stackit/getServerBackupSchedule.go @@ -13,7 +13,7 @@ import ( // Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. // // ## Example Usage func LookupServerBackupSchedule(ctx *pulumi.Context, args *LookupServerBackupScheduleArgs, opts ...pulumi.InvokeOption) (*LookupServerBackupScheduleResult, error) { diff --git a/sdk/go/stackit/getServerBackupSchedules.go b/sdk/go/stackit/getServerBackupSchedules.go index 13021f3c..61dc92de 100644 --- a/sdk/go/stackit/getServerBackupSchedules.go +++ b/sdk/go/stackit/getServerBackupSchedules.go @@ -13,7 +13,7 @@ import ( // Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. // // ## Example Usage func GetServerBackupSchedules(ctx *pulumi.Context, args *GetServerBackupSchedulesArgs, opts ...pulumi.InvokeOption) (*GetServerBackupSchedulesResult, error) { diff --git a/sdk/go/stackit/getServerUpdateSchedule.go b/sdk/go/stackit/getServerUpdateSchedule.go index 247789e1..85b7041a 100644 --- a/sdk/go/stackit/getServerUpdateSchedule.go +++ b/sdk/go/stackit/getServerUpdateSchedule.go @@ -13,7 +13,7 @@ import ( // Server update schedule datasource schema. Must have a `region` specified in the provider configuration. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. // // ## Example Usage func LookupServerUpdateSchedule(ctx *pulumi.Context, args *LookupServerUpdateScheduleArgs, opts ...pulumi.InvokeOption) (*LookupServerUpdateScheduleResult, error) { diff --git a/sdk/go/stackit/getServerUpdateSchedules.go b/sdk/go/stackit/getServerUpdateSchedules.go index 37e0ef1f..f710c8db 100644 --- a/sdk/go/stackit/getServerUpdateSchedules.go +++ b/sdk/go/stackit/getServerUpdateSchedules.go @@ -13,7 +13,7 @@ import ( // Server update schedules datasource schema. Must have a `region` specified in the provider configuration. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. // // ## Example Usage func GetServerUpdateSchedules(ctx *pulumi.Context, args *GetServerUpdateSchedulesArgs, opts ...pulumi.InvokeOption) (*GetServerUpdateSchedulesResult, error) { diff --git a/sdk/go/stackit/getSkeCluster.go b/sdk/go/stackit/getSkeCluster.go index 7cf003c1..fac208c4 100644 --- a/sdk/go/stackit/getSkeCluster.go +++ b/sdk/go/stackit/getSkeCluster.go @@ -36,12 +36,6 @@ type LookupSkeClusterArgs struct { // A collection of values returned by getSkeCluster. type LookupSkeClusterResult struct { - // DEPRECATED as of Kubernetes 1.25+ - // Flag to specify if privileged mode for containers is enabled or not. - // This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - // - // Deprecated: Please remove this flag from your configuration when using Kubernetes version 1.25+. - AllowPrivilegedContainers bool `pulumi:"allowPrivilegedContainers"` // The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. EgressAddressRanges []string `pulumi:"egressAddressRanges"` // A single extensions block as defined below @@ -49,10 +43,6 @@ type LookupSkeClusterResult struct { // One or more hibernation block as defined below. Hibernations []GetSkeClusterHibernation `pulumi:"hibernations"` Id string `pulumi:"id"` - // Kubernetes version. This field is deprecated, use `kubernetesVersionUsed` instead - // - // Deprecated: This field is always nil, use `kubernetesVersionUsed` to get the cluster kubernetes version. This field would cause errors when the cluster got a kubernetes version minor upgrade, either triggered by automatic or forceful updates. - KubernetesVersion string `pulumi:"kubernetesVersion"` // The minimum Kubernetes version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the `kubernetesVersionUsed` field. KubernetesVersionMin string `pulumi:"kubernetesVersionMin"` // Full Kubernetes version used. For example, if `1.22` was selected, this value may result to `1.22.15` @@ -65,6 +55,8 @@ type LookupSkeClusterResult struct { Network GetSkeClusterNetwork `pulumi:"network"` // One or more `nodePool` block as defined below. NodePools []GetSkeClusterNodePool `pulumi:"nodePools"` + // The network ranges (in CIDR notation) used by pods of the cluster. + PodAddressRanges []string `pulumi:"podAddressRanges"` // STACKIT project ID to which the cluster is associated. ProjectId string `pulumi:"projectId"` // The resource region. If not defined, the provider region is used. @@ -109,15 +101,6 @@ func (o LookupSkeClusterResultOutput) ToLookupSkeClusterResultOutputWithContext( return o } -// DEPRECATED as of Kubernetes 1.25+ -// Flag to specify if privileged mode for containers is enabled or not. -// This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). -// -// Deprecated: Please remove this flag from your configuration when using Kubernetes version 1.25+. -func (o LookupSkeClusterResultOutput) AllowPrivilegedContainers() pulumi.BoolOutput { - return o.ApplyT(func(v LookupSkeClusterResult) bool { return v.AllowPrivilegedContainers }).(pulumi.BoolOutput) -} - // The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. func (o LookupSkeClusterResultOutput) EgressAddressRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupSkeClusterResult) []string { return v.EgressAddressRanges }).(pulumi.StringArrayOutput) @@ -137,13 +120,6 @@ func (o LookupSkeClusterResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupSkeClusterResult) string { return v.Id }).(pulumi.StringOutput) } -// Kubernetes version. This field is deprecated, use `kubernetesVersionUsed` instead -// -// Deprecated: This field is always nil, use `kubernetesVersionUsed` to get the cluster kubernetes version. This field would cause errors when the cluster got a kubernetes version minor upgrade, either triggered by automatic or forceful updates. -func (o LookupSkeClusterResultOutput) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v LookupSkeClusterResult) string { return v.KubernetesVersion }).(pulumi.StringOutput) -} - // The minimum Kubernetes version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the `kubernetesVersionUsed` field. func (o LookupSkeClusterResultOutput) KubernetesVersionMin() pulumi.StringOutput { return o.ApplyT(func(v LookupSkeClusterResult) string { return v.KubernetesVersionMin }).(pulumi.StringOutput) @@ -174,6 +150,11 @@ func (o LookupSkeClusterResultOutput) NodePools() GetSkeClusterNodePoolArrayOutp return o.ApplyT(func(v LookupSkeClusterResult) []GetSkeClusterNodePool { return v.NodePools }).(GetSkeClusterNodePoolArrayOutput) } +// The network ranges (in CIDR notation) used by pods of the cluster. +func (o LookupSkeClusterResultOutput) PodAddressRanges() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupSkeClusterResult) []string { return v.PodAddressRanges }).(pulumi.StringArrayOutput) +} + // STACKIT project ID to which the cluster is associated. func (o LookupSkeClusterResultOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v LookupSkeClusterResult) string { return v.ProjectId }).(pulumi.StringOutput) diff --git a/sdk/go/stackit/git.go b/sdk/go/stackit/git.go index 9d2d67db..b0e0c155 100644 --- a/sdk/go/stackit/git.go +++ b/sdk/go/stackit/git.go @@ -14,12 +14,22 @@ import ( // Git Instance resource schema. // -// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. This resource currently does not support updates. Changing the ACLs, flavor, or name will trigger resource recreation. Update functionality will be added soon. In the meantime, please proceed with caution. To update these attributes, please open a support ticket. // // ## Example Usage type Git struct { pulumi.CustomResourceState + // Restricted ACL for instance access. + Acls pulumi.StringArrayOutput `pulumi:"acls"` + // How many bytes of disk space is consumed. + ConsumedDisk pulumi.StringOutput `pulumi:"consumedDisk"` + // How many bytes of Object Storage is consumed. + ConsumedObjectStorage pulumi.StringOutput `pulumi:"consumedObjectStorage"` + // Instance creation timestamp in RFC3339 format. + Created pulumi.StringOutput `pulumi:"created"` + // Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + Flavor pulumi.StringOutput `pulumi:"flavor"` // ID linked to the git instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Unique name linked to the git instance. @@ -65,6 +75,16 @@ func GetGit(ctx *pulumi.Context, // Input properties used for looking up and filtering Git resources. type gitState struct { + // Restricted ACL for instance access. + Acls []string `pulumi:"acls"` + // How many bytes of disk space is consumed. + ConsumedDisk *string `pulumi:"consumedDisk"` + // How many bytes of Object Storage is consumed. + ConsumedObjectStorage *string `pulumi:"consumedObjectStorage"` + // Instance creation timestamp in RFC3339 format. + Created *string `pulumi:"created"` + // Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + Flavor *string `pulumi:"flavor"` // ID linked to the git instance. InstanceId *string `pulumi:"instanceId"` // Unique name linked to the git instance. @@ -78,6 +98,16 @@ type gitState struct { } type GitState struct { + // Restricted ACL for instance access. + Acls pulumi.StringArrayInput + // How many bytes of disk space is consumed. + ConsumedDisk pulumi.StringPtrInput + // How many bytes of Object Storage is consumed. + ConsumedObjectStorage pulumi.StringPtrInput + // Instance creation timestamp in RFC3339 format. + Created pulumi.StringPtrInput + // Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + Flavor pulumi.StringPtrInput // ID linked to the git instance. InstanceId pulumi.StringPtrInput // Unique name linked to the git instance. @@ -95,6 +125,10 @@ func (GitState) ElementType() reflect.Type { } type gitArgs struct { + // Restricted ACL for instance access. + Acls []string `pulumi:"acls"` + // Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + Flavor *string `pulumi:"flavor"` // Unique name linked to the git instance. Name *string `pulumi:"name"` // STACKIT project ID to which the git instance is associated. @@ -103,6 +137,10 @@ type gitArgs struct { // The set of arguments for constructing a Git resource. type GitArgs struct { + // Restricted ACL for instance access. + Acls pulumi.StringArrayInput + // Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + Flavor pulumi.StringPtrInput // Unique name linked to the git instance. Name pulumi.StringPtrInput // STACKIT project ID to which the git instance is associated. @@ -196,6 +234,31 @@ func (o GitOutput) ToGitOutputWithContext(ctx context.Context) GitOutput { return o } +// Restricted ACL for instance access. +func (o GitOutput) Acls() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Git) pulumi.StringArrayOutput { return v.Acls }).(pulumi.StringArrayOutput) +} + +// How many bytes of disk space is consumed. +func (o GitOutput) ConsumedDisk() pulumi.StringOutput { + return o.ApplyT(func(v *Git) pulumi.StringOutput { return v.ConsumedDisk }).(pulumi.StringOutput) +} + +// How many bytes of Object Storage is consumed. +func (o GitOutput) ConsumedObjectStorage() pulumi.StringOutput { + return o.ApplyT(func(v *Git) pulumi.StringOutput { return v.ConsumedObjectStorage }).(pulumi.StringOutput) +} + +// Instance creation timestamp in RFC3339 format. +func (o GitOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v *Git) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) +} + +// Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` +func (o GitOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v *Git) pulumi.StringOutput { return v.Flavor }).(pulumi.StringOutput) +} + // ID linked to the git instance. func (o GitOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *Git) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) diff --git a/sdk/go/stackit/init.go b/sdk/go/stackit/init.go index d64e15a5..76dbc8ab 100644 --- a/sdk/go/stackit/init.go +++ b/sdk/go/stackit/init.go @@ -105,8 +105,18 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &RedisCredential{} case "stackit:index/redisInstance:RedisInstance": r = &RedisInstance{} + case "stackit:index/resourcemanagerFolder:ResourcemanagerFolder": + r = &ResourcemanagerFolder{} case "stackit:index/resourcemanagerProject:ResourcemanagerProject": r = &ResourcemanagerProject{} + case "stackit:index/routingTable:RoutingTable": + r = &RoutingTable{} + case "stackit:index/routingTableRoute:RoutingTableRoute": + r = &RoutingTableRoute{} + case "stackit:index/scfOrganization:ScfOrganization": + r = &ScfOrganization{} + case "stackit:index/scfOrganizationManager:ScfOrganizationManager": + r = &ScfOrganizationManager{} case "stackit:index/secretsmanagerInstance:SecretsmanagerInstance": r = &SecretsmanagerInstance{} case "stackit:index/secretsmanagerUser:SecretsmanagerUser": @@ -384,11 +394,36 @@ func init() { "index/redisInstance", &module{version}, ) + pulumi.RegisterResourceModule( + "stackit", + "index/resourcemanagerFolder", + &module{version}, + ) pulumi.RegisterResourceModule( "stackit", "index/resourcemanagerProject", &module{version}, ) + pulumi.RegisterResourceModule( + "stackit", + "index/routingTable", + &module{version}, + ) + pulumi.RegisterResourceModule( + "stackit", + "index/routingTableRoute", + &module{version}, + ) + pulumi.RegisterResourceModule( + "stackit", + "index/scfOrganization", + &module{version}, + ) + pulumi.RegisterResourceModule( + "stackit", + "index/scfOrganizationManager", + &module{version}, + ) pulumi.RegisterResourceModule( "stackit", "index/secretsmanagerInstance", diff --git a/sdk/go/stackit/keyPair.go b/sdk/go/stackit/keyPair.go index 249de77e..f3f99f4b 100644 --- a/sdk/go/stackit/keyPair.go +++ b/sdk/go/stackit/keyPair.go @@ -13,6 +13,8 @@ import ( ) // Key pair resource schema. Must have a `region` specified in the provider configuration. Allows uploading an SSH public key to be used for server authentication. +// +// ## Example Usage type KeyPair struct { pulumi.CustomResourceState diff --git a/sdk/go/stackit/loadbalancer.go b/sdk/go/stackit/loadbalancer.go index c0e990d8..c26f0e1c 100644 --- a/sdk/go/stackit/loadbalancer.go +++ b/sdk/go/stackit/loadbalancer.go @@ -16,6 +16,8 @@ import ( type Loadbalancer struct { pulumi.CustomResourceState + // If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + DisableSecurityGroupAssignment pulumi.BoolOutput `pulumi:"disableSecurityGroupAssignment"` // External Load Balancer IP address where this Load Balancer is exposed. ExternalAddress pulumi.StringPtrOutput `pulumi:"externalAddress"` // List of all listeners which will accept traffic. Limited to 20. @@ -26,12 +28,16 @@ type Loadbalancer struct { Networks LoadbalancerNetworkArrayOutput `pulumi:"networks"` // Defines any optional functionality you want to have enabled on your load balancer. Options LoadbalancerOptionsOutput `pulumi:"options"` + // The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + PlanId pulumi.StringOutput `pulumi:"planId"` // Transient private Load Balancer IP address. It can change any time. PrivateAddress pulumi.StringOutput `pulumi:"privateAddress"` // STACKIT project ID to which the Load Balancer is associated. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The resource region. If not defined, the provider region is used. Region pulumi.StringOutput `pulumi:"region"` + // The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. + SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // List of all target pools which will be used in the Load Balancer. Limited to 20. TargetPools LoadbalancerTargetPoolArrayOutput `pulumi:"targetPools"` } @@ -78,6 +84,8 @@ func GetLoadbalancer(ctx *pulumi.Context, // Input properties used for looking up and filtering Loadbalancer resources. type loadbalancerState struct { + // If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + DisableSecurityGroupAssignment *bool `pulumi:"disableSecurityGroupAssignment"` // External Load Balancer IP address where this Load Balancer is exposed. ExternalAddress *string `pulumi:"externalAddress"` // List of all listeners which will accept traffic. Limited to 20. @@ -88,17 +96,23 @@ type loadbalancerState struct { Networks []LoadbalancerNetwork `pulumi:"networks"` // Defines any optional functionality you want to have enabled on your load balancer. Options *LoadbalancerOptions `pulumi:"options"` + // The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + PlanId *string `pulumi:"planId"` // Transient private Load Balancer IP address. It can change any time. PrivateAddress *string `pulumi:"privateAddress"` // STACKIT project ID to which the Load Balancer is associated. ProjectId *string `pulumi:"projectId"` // The resource region. If not defined, the provider region is used. Region *string `pulumi:"region"` + // The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. + SecurityGroupId *string `pulumi:"securityGroupId"` // List of all target pools which will be used in the Load Balancer. Limited to 20. TargetPools []LoadbalancerTargetPool `pulumi:"targetPools"` } type LoadbalancerState struct { + // If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + DisableSecurityGroupAssignment pulumi.BoolPtrInput // External Load Balancer IP address where this Load Balancer is exposed. ExternalAddress pulumi.StringPtrInput // List of all listeners which will accept traffic. Limited to 20. @@ -109,12 +123,16 @@ type LoadbalancerState struct { Networks LoadbalancerNetworkArrayInput // Defines any optional functionality you want to have enabled on your load balancer. Options LoadbalancerOptionsPtrInput + // The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + PlanId pulumi.StringPtrInput // Transient private Load Balancer IP address. It can change any time. PrivateAddress pulumi.StringPtrInput // STACKIT project ID to which the Load Balancer is associated. ProjectId pulumi.StringPtrInput // The resource region. If not defined, the provider region is used. Region pulumi.StringPtrInput + // The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. + SecurityGroupId pulumi.StringPtrInput // List of all target pools which will be used in the Load Balancer. Limited to 20. TargetPools LoadbalancerTargetPoolArrayInput } @@ -124,6 +142,8 @@ func (LoadbalancerState) ElementType() reflect.Type { } type loadbalancerArgs struct { + // If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + DisableSecurityGroupAssignment *bool `pulumi:"disableSecurityGroupAssignment"` // External Load Balancer IP address where this Load Balancer is exposed. ExternalAddress *string `pulumi:"externalAddress"` // List of all listeners which will accept traffic. Limited to 20. @@ -134,6 +154,8 @@ type loadbalancerArgs struct { Networks []LoadbalancerNetwork `pulumi:"networks"` // Defines any optional functionality you want to have enabled on your load balancer. Options *LoadbalancerOptions `pulumi:"options"` + // The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + PlanId *string `pulumi:"planId"` // STACKIT project ID to which the Load Balancer is associated. ProjectId string `pulumi:"projectId"` // The resource region. If not defined, the provider region is used. @@ -144,6 +166,8 @@ type loadbalancerArgs struct { // The set of arguments for constructing a Loadbalancer resource. type LoadbalancerArgs struct { + // If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + DisableSecurityGroupAssignment pulumi.BoolPtrInput // External Load Balancer IP address where this Load Balancer is exposed. ExternalAddress pulumi.StringPtrInput // List of all listeners which will accept traffic. Limited to 20. @@ -154,6 +178,8 @@ type LoadbalancerArgs struct { Networks LoadbalancerNetworkArrayInput // Defines any optional functionality you want to have enabled on your load balancer. Options LoadbalancerOptionsPtrInput + // The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + PlanId pulumi.StringPtrInput // STACKIT project ID to which the Load Balancer is associated. ProjectId pulumi.StringInput // The resource region. If not defined, the provider region is used. @@ -249,6 +275,11 @@ func (o LoadbalancerOutput) ToLoadbalancerOutputWithContext(ctx context.Context) return o } +// If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. +func (o LoadbalancerOutput) DisableSecurityGroupAssignment() pulumi.BoolOutput { + return o.ApplyT(func(v *Loadbalancer) pulumi.BoolOutput { return v.DisableSecurityGroupAssignment }).(pulumi.BoolOutput) +} + // External Load Balancer IP address where this Load Balancer is exposed. func (o LoadbalancerOutput) ExternalAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringPtrOutput { return v.ExternalAddress }).(pulumi.StringPtrOutput) @@ -274,6 +305,11 @@ func (o LoadbalancerOutput) Options() LoadbalancerOptionsOutput { return o.ApplyT(func(v *Loadbalancer) LoadbalancerOptionsOutput { return v.Options }).(LoadbalancerOptionsOutput) } +// The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. +func (o LoadbalancerOutput) PlanId() pulumi.StringOutput { + return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.PlanId }).(pulumi.StringOutput) +} + // Transient private Load Balancer IP address. It can change any time. func (o LoadbalancerOutput) PrivateAddress() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.PrivateAddress }).(pulumi.StringOutput) @@ -289,6 +325,11 @@ func (o LoadbalancerOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) } +// The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. +func (o LoadbalancerOutput) SecurityGroupId() pulumi.StringOutput { + return o.ApplyT(func(v *Loadbalancer) pulumi.StringOutput { return v.SecurityGroupId }).(pulumi.StringOutput) +} + // List of all target pools which will be used in the Load Balancer. Limited to 20. func (o LoadbalancerOutput) TargetPools() LoadbalancerTargetPoolArrayOutput { return o.ApplyT(func(v *Loadbalancer) LoadbalancerTargetPoolArrayOutput { return v.TargetPools }).(LoadbalancerTargetPoolArrayOutput) diff --git a/sdk/go/stackit/mongodbflexInstance.go b/sdk/go/stackit/mongodbflexInstance.go index 7efd33fb..de653aec 100644 --- a/sdk/go/stackit/mongodbflexInstance.go +++ b/sdk/go/stackit/mongodbflexInstance.go @@ -29,10 +29,12 @@ type MongodbflexInstance struct { Name pulumi.StringOutput `pulumi:"name"` Options MongodbflexInstanceOptionsOutput `pulumi:"options"` // STACKIT project ID to which the instance is associated. - ProjectId pulumi.StringOutput `pulumi:"projectId"` - Replicas pulumi.IntOutput `pulumi:"replicas"` - Storage MongodbflexInstanceStorageOutput `pulumi:"storage"` - Version pulumi.StringOutput `pulumi:"version"` + ProjectId pulumi.StringOutput `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringOutput `pulumi:"region"` + Replicas pulumi.IntOutput `pulumi:"replicas"` + Storage MongodbflexInstanceStorageOutput `pulumi:"storage"` + Version pulumi.StringOutput `pulumi:"version"` } // NewMongodbflexInstance registers a new resource with the given unique name, arguments, and options. @@ -100,10 +102,12 @@ type mongodbflexInstanceState struct { Name *string `pulumi:"name"` Options *MongodbflexInstanceOptions `pulumi:"options"` // STACKIT project ID to which the instance is associated. - ProjectId *string `pulumi:"projectId"` - Replicas *int `pulumi:"replicas"` - Storage *MongodbflexInstanceStorage `pulumi:"storage"` - Version *string `pulumi:"version"` + ProjectId *string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + Replicas *int `pulumi:"replicas"` + Storage *MongodbflexInstanceStorage `pulumi:"storage"` + Version *string `pulumi:"version"` } type MongodbflexInstanceState struct { @@ -119,9 +123,11 @@ type MongodbflexInstanceState struct { Options MongodbflexInstanceOptionsPtrInput // STACKIT project ID to which the instance is associated. ProjectId pulumi.StringPtrInput - Replicas pulumi.IntPtrInput - Storage MongodbflexInstanceStoragePtrInput - Version pulumi.StringPtrInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput + Replicas pulumi.IntPtrInput + Storage MongodbflexInstanceStoragePtrInput + Version pulumi.StringPtrInput } func (MongodbflexInstanceState) ElementType() reflect.Type { @@ -138,10 +144,12 @@ type mongodbflexInstanceArgs struct { Name *string `pulumi:"name"` Options MongodbflexInstanceOptions `pulumi:"options"` // STACKIT project ID to which the instance is associated. - ProjectId string `pulumi:"projectId"` - Replicas int `pulumi:"replicas"` - Storage MongodbflexInstanceStorage `pulumi:"storage"` - Version string `pulumi:"version"` + ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + Replicas int `pulumi:"replicas"` + Storage MongodbflexInstanceStorage `pulumi:"storage"` + Version string `pulumi:"version"` } // The set of arguments for constructing a MongodbflexInstance resource. @@ -156,9 +164,11 @@ type MongodbflexInstanceArgs struct { Options MongodbflexInstanceOptionsInput // STACKIT project ID to which the instance is associated. ProjectId pulumi.StringInput - Replicas pulumi.IntInput - Storage MongodbflexInstanceStorageInput - Version pulumi.StringInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput + Replicas pulumi.IntInput + Storage MongodbflexInstanceStorageInput + Version pulumi.StringInput } func (MongodbflexInstanceArgs) ElementType() reflect.Type { @@ -281,6 +291,11 @@ func (o MongodbflexInstanceOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MongodbflexInstance) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } +// The resource region. If not defined, the provider region is used. +func (o MongodbflexInstanceOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *MongodbflexInstance) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + func (o MongodbflexInstanceOutput) Replicas() pulumi.IntOutput { return o.ApplyT(func(v *MongodbflexInstance) pulumi.IntOutput { return v.Replicas }).(pulumi.IntOutput) } diff --git a/sdk/go/stackit/mongodbflexUser.go b/sdk/go/stackit/mongodbflexUser.go index 879abf1e..3354dfff 100644 --- a/sdk/go/stackit/mongodbflexUser.go +++ b/sdk/go/stackit/mongodbflexUser.go @@ -26,6 +26,8 @@ type MongodbflexUser struct { Port pulumi.IntOutput `pulumi:"port"` // STACKIT project ID to which the instance is associated. ProjectId pulumi.StringOutput `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringOutput `pulumi:"region"` // Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] Roles pulumi.StringArrayOutput `pulumi:"roles"` Uri pulumi.StringOutput `pulumi:"uri"` @@ -89,6 +91,8 @@ type mongodbflexUserState struct { Port *int `pulumi:"port"` // STACKIT project ID to which the instance is associated. ProjectId *string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` // Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] Roles []string `pulumi:"roles"` Uri *string `pulumi:"uri"` @@ -106,6 +110,8 @@ type MongodbflexUserState struct { Port pulumi.IntPtrInput // STACKIT project ID to which the instance is associated. ProjectId pulumi.StringPtrInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput // Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] Roles pulumi.StringArrayInput Uri pulumi.StringPtrInput @@ -124,6 +130,8 @@ type mongodbflexUserArgs struct { InstanceId string `pulumi:"instanceId"` // STACKIT project ID to which the instance is associated. ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` // Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] Roles []string `pulumi:"roles"` Username *string `pulumi:"username"` @@ -136,6 +144,8 @@ type MongodbflexUserArgs struct { InstanceId pulumi.StringInput // STACKIT project ID to which the instance is associated. ProjectId pulumi.StringInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput // Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] Roles pulumi.StringArrayInput Username pulumi.StringPtrInput @@ -254,6 +264,11 @@ func (o MongodbflexUserOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *MongodbflexUser) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } +// The resource region. If not defined, the provider region is used. +func (o MongodbflexUserOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *MongodbflexUser) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + // Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] func (o MongodbflexUserOutput) Roles() pulumi.StringArrayOutput { return o.ApplyT(func(v *MongodbflexUser) pulumi.StringArrayOutput { return v.Roles }).(pulumi.StringArrayOutput) diff --git a/sdk/go/stackit/network.go b/sdk/go/stackit/network.go index 6a366b10..88acadab 100644 --- a/sdk/go/stackit/network.go +++ b/sdk/go/stackit/network.go @@ -60,8 +60,14 @@ type Network struct { ProjectId pulumi.StringOutput `pulumi:"projectId"` // The public IP of the network. PublicIp pulumi.StringOutput `pulumi:"publicIp"` + // Can only be used when experimental "network" is set. + // The resource region. If not defined, the provider region is used. + Region pulumi.StringOutput `pulumi:"region"` // If set to `true`, the network is routed and therefore accessible from other networks. Routed pulumi.BoolOutput `pulumi:"routed"` + // Can only be used when experimental "network" is set. + // The ID of the routing table associated with the network. + RoutingTableId pulumi.StringOutput `pulumi:"routingTableId"` } // NewNetwork registers a new resource with the given unique name, arguments, and options. @@ -139,8 +145,14 @@ type networkState struct { ProjectId *string `pulumi:"projectId"` // The public IP of the network. PublicIp *string `pulumi:"publicIp"` + // Can only be used when experimental "network" is set. + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` // If set to `true`, the network is routed and therefore accessible from other networks. Routed *bool `pulumi:"routed"` + // Can only be used when experimental "network" is set. + // The ID of the routing table associated with the network. + RoutingTableId *string `pulumi:"routingTableId"` } type NetworkState struct { @@ -186,8 +198,14 @@ type NetworkState struct { ProjectId pulumi.StringPtrInput // The public IP of the network. PublicIp pulumi.StringPtrInput + // Can only be used when experimental "network" is set. + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput // If set to `true`, the network is routed and therefore accessible from other networks. Routed pulumi.BoolPtrInput + // Can only be used when experimental "network" is set. + // The ID of the routing table associated with the network. + RoutingTableId pulumi.StringPtrInput } func (NetworkState) ElementType() reflect.Type { @@ -225,8 +243,14 @@ type networkArgs struct { NoIpv6Gateway *bool `pulumi:"noIpv6Gateway"` // STACKIT project ID to which the network is associated. ProjectId string `pulumi:"projectId"` + // Can only be used when experimental "network" is set. + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` // If set to `true`, the network is routed and therefore accessible from other networks. Routed *bool `pulumi:"routed"` + // Can only be used when experimental "network" is set. + // The ID of the routing table associated with the network. + RoutingTableId *string `pulumi:"routingTableId"` } // The set of arguments for constructing a Network resource. @@ -261,8 +285,14 @@ type NetworkArgs struct { NoIpv6Gateway pulumi.BoolPtrInput // STACKIT project ID to which the network is associated. ProjectId pulumi.StringInput + // Can only be used when experimental "network" is set. + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput // If set to `true`, the network is routed and therefore accessible from other networks. Routed pulumi.BoolPtrInput + // Can only be used when experimental "network" is set. + // The ID of the routing table associated with the network. + RoutingTableId pulumi.StringPtrInput } func (NetworkArgs) ElementType() reflect.Type { @@ -451,11 +481,23 @@ func (o NetworkOutput) PublicIp() pulumi.StringOutput { return o.ApplyT(func(v *Network) pulumi.StringOutput { return v.PublicIp }).(pulumi.StringOutput) } +// Can only be used when experimental "network" is set. +// The resource region. If not defined, the provider region is used. +func (o NetworkOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *Network) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + // If set to `true`, the network is routed and therefore accessible from other networks. func (o NetworkOutput) Routed() pulumi.BoolOutput { return o.ApplyT(func(v *Network) pulumi.BoolOutput { return v.Routed }).(pulumi.BoolOutput) } +// Can only be used when experimental "network" is set. +// The ID of the routing table associated with the network. +func (o NetworkOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v *Network) pulumi.StringOutput { return v.RoutingTableId }).(pulumi.StringOutput) +} + type NetworkArrayOutput struct{ *pulumi.OutputState } func (NetworkArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/stackit/observabilityCredential.go b/sdk/go/stackit/observabilityCredential.go index 24aa9b18..8d9ddbea 100644 --- a/sdk/go/stackit/observabilityCredential.go +++ b/sdk/go/stackit/observabilityCredential.go @@ -18,6 +18,8 @@ import ( type ObservabilityCredential struct { pulumi.CustomResourceState + // A description of the credential. + Description pulumi.StringPtrOutput `pulumi:"description"` // The Observability Instance ID the credential belongs to. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Credential password @@ -68,6 +70,8 @@ func GetObservabilityCredential(ctx *pulumi.Context, // Input properties used for looking up and filtering ObservabilityCredential resources. type observabilityCredentialState struct { + // A description of the credential. + Description *string `pulumi:"description"` // The Observability Instance ID the credential belongs to. InstanceId *string `pulumi:"instanceId"` // Credential password @@ -79,6 +83,8 @@ type observabilityCredentialState struct { } type ObservabilityCredentialState struct { + // A description of the credential. + Description pulumi.StringPtrInput // The Observability Instance ID the credential belongs to. InstanceId pulumi.StringPtrInput // Credential password @@ -94,6 +100,8 @@ func (ObservabilityCredentialState) ElementType() reflect.Type { } type observabilityCredentialArgs struct { + // A description of the credential. + Description *string `pulumi:"description"` // The Observability Instance ID the credential belongs to. InstanceId string `pulumi:"instanceId"` // STACKIT project ID to which the credential is associated. @@ -102,6 +110,8 @@ type observabilityCredentialArgs struct { // The set of arguments for constructing a ObservabilityCredential resource. type ObservabilityCredentialArgs struct { + // A description of the credential. + Description pulumi.StringPtrInput // The Observability Instance ID the credential belongs to. InstanceId pulumi.StringInput // STACKIT project ID to which the credential is associated. @@ -195,6 +205,11 @@ func (o ObservabilityCredentialOutput) ToObservabilityCredentialOutputWithContex return o } +// A description of the credential. +func (o ObservabilityCredentialOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ObservabilityCredential) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + // The Observability Instance ID the credential belongs to. func (o ObservabilityCredentialOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *ObservabilityCredential) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) diff --git a/sdk/go/stackit/observabilityInstance.go b/sdk/go/stackit/observabilityInstance.go index bf80f264..ec4d2a34 100644 --- a/sdk/go/stackit/observabilityInstance.go +++ b/sdk/go/stackit/observabilityInstance.go @@ -46,11 +46,11 @@ type ObservabilityInstance struct { LogsUrl pulumi.StringOutput `pulumi:"logsUrl"` // Specifies URL for pushing metrics. MetricsPushUrl pulumi.StringOutput `pulumi:"metricsPushUrl"` - // Specifies for how many days the raw metrics are kept. + // Specifies for how many days the raw metrics are kept. Default is set to `90`. MetricsRetentionDays pulumi.IntOutput `pulumi:"metricsRetentionDays"` - // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. MetricsRetentionDays1hDownsampling pulumi.IntOutput `pulumi:"metricsRetentionDays1hDownsampling"` - // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. MetricsRetentionDays5mDownsampling pulumi.IntOutput `pulumi:"metricsRetentionDays5mDownsampling"` // Specifies metrics URL. MetricsUrl pulumi.StringOutput `pulumi:"metricsUrl"` @@ -138,11 +138,11 @@ type observabilityInstanceState struct { LogsUrl *string `pulumi:"logsUrl"` // Specifies URL for pushing metrics. MetricsPushUrl *string `pulumi:"metricsPushUrl"` - // Specifies for how many days the raw metrics are kept. + // Specifies for how many days the raw metrics are kept. Default is set to `90`. MetricsRetentionDays *int `pulumi:"metricsRetentionDays"` - // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. MetricsRetentionDays1hDownsampling *int `pulumi:"metricsRetentionDays1hDownsampling"` - // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. MetricsRetentionDays5mDownsampling *int `pulumi:"metricsRetentionDays5mDownsampling"` // Specifies metrics URL. MetricsUrl *string `pulumi:"metricsUrl"` @@ -191,11 +191,11 @@ type ObservabilityInstanceState struct { LogsUrl pulumi.StringPtrInput // Specifies URL for pushing metrics. MetricsPushUrl pulumi.StringPtrInput - // Specifies for how many days the raw metrics are kept. + // Specifies for how many days the raw metrics are kept. Default is set to `90`. MetricsRetentionDays pulumi.IntPtrInput - // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. MetricsRetentionDays1hDownsampling pulumi.IntPtrInput - // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. MetricsRetentionDays5mDownsampling pulumi.IntPtrInput // Specifies metrics URL. MetricsUrl pulumi.StringPtrInput @@ -224,11 +224,11 @@ type observabilityInstanceArgs struct { Acls []string `pulumi:"acls"` // Alert configuration for the instance. AlertConfig *ObservabilityInstanceAlertConfig `pulumi:"alertConfig"` - // Specifies for how many days the raw metrics are kept. + // Specifies for how many days the raw metrics are kept. Default is set to `90`. MetricsRetentionDays *int `pulumi:"metricsRetentionDays"` - // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. MetricsRetentionDays1hDownsampling *int `pulumi:"metricsRetentionDays1hDownsampling"` - // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. MetricsRetentionDays5mDownsampling *int `pulumi:"metricsRetentionDays5mDownsampling"` // The name of the Observability instance. Name *string `pulumi:"name"` @@ -246,11 +246,11 @@ type ObservabilityInstanceArgs struct { Acls pulumi.StringArrayInput // Alert configuration for the instance. AlertConfig ObservabilityInstanceAlertConfigPtrInput - // Specifies for how many days the raw metrics are kept. + // Specifies for how many days the raw metrics are kept. Default is set to `90`. MetricsRetentionDays pulumi.IntPtrInput - // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + // Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. MetricsRetentionDays1hDownsampling pulumi.IntPtrInput - // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + // Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. MetricsRetentionDays5mDownsampling pulumi.IntPtrInput // The name of the Observability instance. Name pulumi.StringPtrInput @@ -422,17 +422,17 @@ func (o ObservabilityInstanceOutput) MetricsPushUrl() pulumi.StringOutput { return o.ApplyT(func(v *ObservabilityInstance) pulumi.StringOutput { return v.MetricsPushUrl }).(pulumi.StringOutput) } -// Specifies for how many days the raw metrics are kept. +// Specifies for how many days the raw metrics are kept. Default is set to `90`. func (o ObservabilityInstanceOutput) MetricsRetentionDays() pulumi.IntOutput { return o.ApplyT(func(v *ObservabilityInstance) pulumi.IntOutput { return v.MetricsRetentionDays }).(pulumi.IntOutput) } -// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). +// Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. func (o ObservabilityInstanceOutput) MetricsRetentionDays1hDownsampling() pulumi.IntOutput { return o.ApplyT(func(v *ObservabilityInstance) pulumi.IntOutput { return v.MetricsRetentionDays1hDownsampling }).(pulumi.IntOutput) } -// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). +// Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. func (o ObservabilityInstanceOutput) MetricsRetentionDays5mDownsampling() pulumi.IntOutput { return o.ApplyT(func(v *ObservabilityInstance) pulumi.IntOutput { return v.MetricsRetentionDays5mDownsampling }).(pulumi.IntOutput) } diff --git a/sdk/go/stackit/provider.go b/sdk/go/stackit/provider.go index eeaed0b5..1c391778 100644 --- a/sdk/go/stackit/provider.go +++ b/sdk/go/stackit/provider.go @@ -18,16 +18,11 @@ import ( type Provider struct { pulumi.ProviderResourceState - // Custom endpoint for the Argus service - // - // Deprecated: Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observabilityCustomEndpoint` and `observability` resources instead, which offer the exact same functionality. - ArgusCustomEndpoint pulumi.StringPtrOutput `pulumi:"argusCustomEndpoint"` // Custom endpoint for the Membership service AuthorizationCustomEndpoint pulumi.StringPtrOutput `pulumi:"authorizationCustomEndpoint"` // Custom endpoint for the CDN service CdnCustomEndpoint pulumi.StringPtrOutput `pulumi:"cdnCustomEndpoint"` - // Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - // value is `~/.stackit/credentials.json`. + // Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. CredentialsPath pulumi.StringPtrOutput `pulumi:"credentialsPath"` // Region will be used as the default location for regional services. Not all services require a region, some are global DefaultRegion pulumi.StringPtrOutput `pulumi:"defaultRegion"` @@ -55,11 +50,9 @@ type Provider struct { OpensearchCustomEndpoint pulumi.StringPtrOutput `pulumi:"opensearchCustomEndpoint"` // Custom endpoint for the PostgresFlex service PostgresflexCustomEndpoint pulumi.StringPtrOutput `pulumi:"postgresflexCustomEndpoint"` - // Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - // included in the service account key. + // Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` - // Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - // key that is included in the service account key. + // Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. PrivateKeyPath pulumi.StringPtrOutput `pulumi:"privateKeyPath"` // Custom endpoint for the RabbitMQ service RabbitmqCustomEndpoint pulumi.StringPtrOutput `pulumi:"rabbitmqCustomEndpoint"` @@ -71,6 +64,8 @@ type Provider struct { Region pulumi.StringPtrOutput `pulumi:"region"` // Custom endpoint for the Resource Manager service ResourcemanagerCustomEndpoint pulumi.StringPtrOutput `pulumi:"resourcemanagerCustomEndpoint"` + // Custom endpoint for the Cloud Foundry (SCF) service + ScfCustomEndpoint pulumi.StringPtrOutput `pulumi:"scfCustomEndpoint"` // Custom endpoint for the Secrets Manager service SecretsmanagerCustomEndpoint pulumi.StringPtrOutput `pulumi:"secretsmanagerCustomEndpoint"` // Custom endpoint for the Server Backup service @@ -79,17 +74,17 @@ type Provider struct { ServerUpdateCustomEndpoint pulumi.StringPtrOutput `pulumi:"serverUpdateCustomEndpoint"` // Custom endpoint for the Service Account service ServiceAccountCustomEndpoint pulumi.StringPtrOutput `pulumi:"serviceAccountCustomEndpoint"` - // Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - // if you want to use the resource manager project resource. + // Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. // // Deprecated: The `serviceAccountEmail` field has been deprecated because it is not required. Will be removed after June 12th 2025. ServiceAccountEmail pulumi.StringPtrOutput `pulumi:"serviceAccountEmail"` // Service account key used for authentication. If set, the key flow will be used to authenticate all operations. ServiceAccountKey pulumi.StringPtrOutput `pulumi:"serviceAccountKey"` - // Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - // operations. + // Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. ServiceAccountKeyPath pulumi.StringPtrOutput `pulumi:"serviceAccountKeyPath"` // Token used for authentication. If set, the token flow will be used to authenticate all operations. + // + // Deprecated: Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `serviceAccountKey` or `serviceAccountKeyPath` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html ServiceAccountToken pulumi.StringPtrOutput `pulumi:"serviceAccountToken"` // Custom endpoint for the Service Enablement API ServiceEnablementCustomEndpoint pulumi.StringPtrOutput `pulumi:"serviceEnablementCustomEndpoint"` @@ -118,16 +113,11 @@ func NewProvider(ctx *pulumi.Context, } type providerArgs struct { - // Custom endpoint for the Argus service - // - // Deprecated: Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observabilityCustomEndpoint` and `observability` resources instead, which offer the exact same functionality. - ArgusCustomEndpoint *string `pulumi:"argusCustomEndpoint"` // Custom endpoint for the Membership service AuthorizationCustomEndpoint *string `pulumi:"authorizationCustomEndpoint"` // Custom endpoint for the CDN service CdnCustomEndpoint *string `pulumi:"cdnCustomEndpoint"` - // Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - // value is `~/.stackit/credentials.json`. + // Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. CredentialsPath *string `pulumi:"credentialsPath"` // Region will be used as the default location for regional services. Not all services require a region, some are global DefaultRegion *string `pulumi:"defaultRegion"` @@ -135,8 +125,7 @@ type providerArgs struct { DnsCustomEndpoint *string `pulumi:"dnsCustomEndpoint"` // Enable beta resources. Default is false. EnableBetaResources *bool `pulumi:"enableBetaResources"` - // Enables experiments. These are unstable features without official support. More information can be found in the README. - // Available Experiments: [iam] + // Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network Experiments []string `pulumi:"experiments"` // Custom endpoint for the Git service GitCustomEndpoint *string `pulumi:"gitCustomEndpoint"` @@ -160,11 +149,9 @@ type providerArgs struct { OpensearchCustomEndpoint *string `pulumi:"opensearchCustomEndpoint"` // Custom endpoint for the PostgresFlex service PostgresflexCustomEndpoint *string `pulumi:"postgresflexCustomEndpoint"` - // Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - // included in the service account key. + // Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. PrivateKey *string `pulumi:"privateKey"` - // Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - // key that is included in the service account key. + // Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. PrivateKeyPath *string `pulumi:"privateKeyPath"` // Custom endpoint for the RabbitMQ service RabbitmqCustomEndpoint *string `pulumi:"rabbitmqCustomEndpoint"` @@ -176,6 +163,8 @@ type providerArgs struct { Region *string `pulumi:"region"` // Custom endpoint for the Resource Manager service ResourcemanagerCustomEndpoint *string `pulumi:"resourcemanagerCustomEndpoint"` + // Custom endpoint for the Cloud Foundry (SCF) service + ScfCustomEndpoint *string `pulumi:"scfCustomEndpoint"` // Custom endpoint for the Secrets Manager service SecretsmanagerCustomEndpoint *string `pulumi:"secretsmanagerCustomEndpoint"` // Custom endpoint for the Server Backup service @@ -184,17 +173,17 @@ type providerArgs struct { ServerUpdateCustomEndpoint *string `pulumi:"serverUpdateCustomEndpoint"` // Custom endpoint for the Service Account service ServiceAccountCustomEndpoint *string `pulumi:"serviceAccountCustomEndpoint"` - // Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - // if you want to use the resource manager project resource. + // Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. // // Deprecated: The `serviceAccountEmail` field has been deprecated because it is not required. Will be removed after June 12th 2025. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` // Service account key used for authentication. If set, the key flow will be used to authenticate all operations. ServiceAccountKey *string `pulumi:"serviceAccountKey"` - // Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - // operations. + // Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. ServiceAccountKeyPath *string `pulumi:"serviceAccountKeyPath"` // Token used for authentication. If set, the token flow will be used to authenticate all operations. + // + // Deprecated: Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `serviceAccountKey` or `serviceAccountKeyPath` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html ServiceAccountToken *string `pulumi:"serviceAccountToken"` // Custom endpoint for the Service Enablement API ServiceEnablementCustomEndpoint *string `pulumi:"serviceEnablementCustomEndpoint"` @@ -208,16 +197,11 @@ type providerArgs struct { // The set of arguments for constructing a Provider resource. type ProviderArgs struct { - // Custom endpoint for the Argus service - // - // Deprecated: Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observabilityCustomEndpoint` and `observability` resources instead, which offer the exact same functionality. - ArgusCustomEndpoint pulumi.StringPtrInput // Custom endpoint for the Membership service AuthorizationCustomEndpoint pulumi.StringPtrInput // Custom endpoint for the CDN service CdnCustomEndpoint pulumi.StringPtrInput - // Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - // value is `~/.stackit/credentials.json`. + // Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. CredentialsPath pulumi.StringPtrInput // Region will be used as the default location for regional services. Not all services require a region, some are global DefaultRegion pulumi.StringPtrInput @@ -225,8 +209,7 @@ type ProviderArgs struct { DnsCustomEndpoint pulumi.StringPtrInput // Enable beta resources. Default is false. EnableBetaResources pulumi.BoolPtrInput - // Enables experiments. These are unstable features without official support. More information can be found in the README. - // Available Experiments: [iam] + // Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network Experiments pulumi.StringArrayInput // Custom endpoint for the Git service GitCustomEndpoint pulumi.StringPtrInput @@ -250,11 +233,9 @@ type ProviderArgs struct { OpensearchCustomEndpoint pulumi.StringPtrInput // Custom endpoint for the PostgresFlex service PostgresflexCustomEndpoint pulumi.StringPtrInput - // Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - // included in the service account key. + // Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. PrivateKey pulumi.StringPtrInput - // Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - // key that is included in the service account key. + // Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. PrivateKeyPath pulumi.StringPtrInput // Custom endpoint for the RabbitMQ service RabbitmqCustomEndpoint pulumi.StringPtrInput @@ -266,6 +247,8 @@ type ProviderArgs struct { Region pulumi.StringPtrInput // Custom endpoint for the Resource Manager service ResourcemanagerCustomEndpoint pulumi.StringPtrInput + // Custom endpoint for the Cloud Foundry (SCF) service + ScfCustomEndpoint pulumi.StringPtrInput // Custom endpoint for the Secrets Manager service SecretsmanagerCustomEndpoint pulumi.StringPtrInput // Custom endpoint for the Server Backup service @@ -274,17 +257,17 @@ type ProviderArgs struct { ServerUpdateCustomEndpoint pulumi.StringPtrInput // Custom endpoint for the Service Account service ServiceAccountCustomEndpoint pulumi.StringPtrInput - // Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - // if you want to use the resource manager project resource. + // Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. // // Deprecated: The `serviceAccountEmail` field has been deprecated because it is not required. Will be removed after June 12th 2025. ServiceAccountEmail pulumi.StringPtrInput // Service account key used for authentication. If set, the key flow will be used to authenticate all operations. ServiceAccountKey pulumi.StringPtrInput - // Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - // operations. + // Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. ServiceAccountKeyPath pulumi.StringPtrInput // Token used for authentication. If set, the token flow will be used to authenticate all operations. + // + // Deprecated: Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `serviceAccountKey` or `serviceAccountKeyPath` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html ServiceAccountToken pulumi.StringPtrInput // Custom endpoint for the Service Enablement API ServiceEnablementCustomEndpoint pulumi.StringPtrInput @@ -356,13 +339,6 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } -// Custom endpoint for the Argus service -// -// Deprecated: Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observabilityCustomEndpoint` and `observability` resources instead, which offer the exact same functionality. -func (o ProviderOutput) ArgusCustomEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ArgusCustomEndpoint }).(pulumi.StringPtrOutput) -} - // Custom endpoint for the Membership service func (o ProviderOutput) AuthorizationCustomEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.AuthorizationCustomEndpoint }).(pulumi.StringPtrOutput) @@ -373,8 +349,7 @@ func (o ProviderOutput) CdnCustomEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.CdnCustomEndpoint }).(pulumi.StringPtrOutput) } -// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default -// value is `~/.stackit/credentials.json`. +// Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. func (o ProviderOutput) CredentialsPath() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.CredentialsPath }).(pulumi.StringPtrOutput) } @@ -444,14 +419,12 @@ func (o ProviderOutput) PostgresflexCustomEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.PostgresflexCustomEndpoint }).(pulumi.StringPtrOutput) } -// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is -// included in the service account key. +// Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. func (o ProviderOutput) PrivateKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.PrivateKey }).(pulumi.StringPtrOutput) } -// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private -// key that is included in the service account key. +// Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. func (o ProviderOutput) PrivateKeyPath() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.PrivateKeyPath }).(pulumi.StringPtrOutput) } @@ -478,6 +451,11 @@ func (o ProviderOutput) ResourcemanagerCustomEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ResourcemanagerCustomEndpoint }).(pulumi.StringPtrOutput) } +// Custom endpoint for the Cloud Foundry (SCF) service +func (o ProviderOutput) ScfCustomEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ScfCustomEndpoint }).(pulumi.StringPtrOutput) +} + // Custom endpoint for the Secrets Manager service func (o ProviderOutput) SecretsmanagerCustomEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SecretsmanagerCustomEndpoint }).(pulumi.StringPtrOutput) @@ -498,8 +476,7 @@ func (o ProviderOutput) ServiceAccountCustomEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ServiceAccountCustomEndpoint }).(pulumi.StringPtrOutput) } -// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required -// if you want to use the resource manager project resource. +// Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. // // Deprecated: The `serviceAccountEmail` field has been deprecated because it is not required. Will be removed after June 12th 2025. func (o ProviderOutput) ServiceAccountEmail() pulumi.StringPtrOutput { @@ -511,13 +488,14 @@ func (o ProviderOutput) ServiceAccountKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ServiceAccountKey }).(pulumi.StringPtrOutput) } -// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all -// operations. +// Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. func (o ProviderOutput) ServiceAccountKeyPath() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ServiceAccountKeyPath }).(pulumi.StringPtrOutput) } // Token used for authentication. If set, the token flow will be used to authenticate all operations. +// +// Deprecated: Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `serviceAccountKey` or `serviceAccountKeyPath` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html func (o ProviderOutput) ServiceAccountToken() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ServiceAccountToken }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/stackit/pulumiTypes.go b/sdk/go/stackit/pulumiTypes.go index e97d01b7..1cf7d333 100644 --- a/sdk/go/stackit/pulumiTypes.go +++ b/sdk/go/stackit/pulumiTypes.go @@ -13,9 +13,188 @@ import ( var _ = internal.GetEnvOrDefault +type CdnCustomDomainCertificate struct { + // The PEM-encoded TLS certificate. Required for custom certificates. + Certificate *string `pulumi:"certificate"` + // The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + PrivateKey *string `pulumi:"privateKey"` + // A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + Version *int `pulumi:"version"` +} + +// CdnCustomDomainCertificateInput is an input type that accepts CdnCustomDomainCertificateArgs and CdnCustomDomainCertificateOutput values. +// You can construct a concrete instance of `CdnCustomDomainCertificateInput` via: +// +// CdnCustomDomainCertificateArgs{...} +type CdnCustomDomainCertificateInput interface { + pulumi.Input + + ToCdnCustomDomainCertificateOutput() CdnCustomDomainCertificateOutput + ToCdnCustomDomainCertificateOutputWithContext(context.Context) CdnCustomDomainCertificateOutput +} + +type CdnCustomDomainCertificateArgs struct { + // The PEM-encoded TLS certificate. Required for custom certificates. + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + // A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + Version pulumi.IntPtrInput `pulumi:"version"` +} + +func (CdnCustomDomainCertificateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CdnCustomDomainCertificate)(nil)).Elem() +} + +func (i CdnCustomDomainCertificateArgs) ToCdnCustomDomainCertificateOutput() CdnCustomDomainCertificateOutput { + return i.ToCdnCustomDomainCertificateOutputWithContext(context.Background()) +} + +func (i CdnCustomDomainCertificateArgs) ToCdnCustomDomainCertificateOutputWithContext(ctx context.Context) CdnCustomDomainCertificateOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnCustomDomainCertificateOutput) +} + +func (i CdnCustomDomainCertificateArgs) ToCdnCustomDomainCertificatePtrOutput() CdnCustomDomainCertificatePtrOutput { + return i.ToCdnCustomDomainCertificatePtrOutputWithContext(context.Background()) +} + +func (i CdnCustomDomainCertificateArgs) ToCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) CdnCustomDomainCertificatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnCustomDomainCertificateOutput).ToCdnCustomDomainCertificatePtrOutputWithContext(ctx) +} + +// CdnCustomDomainCertificatePtrInput is an input type that accepts CdnCustomDomainCertificateArgs, CdnCustomDomainCertificatePtr and CdnCustomDomainCertificatePtrOutput values. +// You can construct a concrete instance of `CdnCustomDomainCertificatePtrInput` via: +// +// CdnCustomDomainCertificateArgs{...} +// +// or: +// +// nil +type CdnCustomDomainCertificatePtrInput interface { + pulumi.Input + + ToCdnCustomDomainCertificatePtrOutput() CdnCustomDomainCertificatePtrOutput + ToCdnCustomDomainCertificatePtrOutputWithContext(context.Context) CdnCustomDomainCertificatePtrOutput +} + +type cdnCustomDomainCertificatePtrType CdnCustomDomainCertificateArgs + +func CdnCustomDomainCertificatePtr(v *CdnCustomDomainCertificateArgs) CdnCustomDomainCertificatePtrInput { + return (*cdnCustomDomainCertificatePtrType)(v) +} + +func (*cdnCustomDomainCertificatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CdnCustomDomainCertificate)(nil)).Elem() +} + +func (i *cdnCustomDomainCertificatePtrType) ToCdnCustomDomainCertificatePtrOutput() CdnCustomDomainCertificatePtrOutput { + return i.ToCdnCustomDomainCertificatePtrOutputWithContext(context.Background()) +} + +func (i *cdnCustomDomainCertificatePtrType) ToCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) CdnCustomDomainCertificatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnCustomDomainCertificatePtrOutput) +} + +type CdnCustomDomainCertificateOutput struct{ *pulumi.OutputState } + +func (CdnCustomDomainCertificateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CdnCustomDomainCertificate)(nil)).Elem() +} + +func (o CdnCustomDomainCertificateOutput) ToCdnCustomDomainCertificateOutput() CdnCustomDomainCertificateOutput { + return o +} + +func (o CdnCustomDomainCertificateOutput) ToCdnCustomDomainCertificateOutputWithContext(ctx context.Context) CdnCustomDomainCertificateOutput { + return o +} + +func (o CdnCustomDomainCertificateOutput) ToCdnCustomDomainCertificatePtrOutput() CdnCustomDomainCertificatePtrOutput { + return o.ToCdnCustomDomainCertificatePtrOutputWithContext(context.Background()) +} + +func (o CdnCustomDomainCertificateOutput) ToCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) CdnCustomDomainCertificatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CdnCustomDomainCertificate) *CdnCustomDomainCertificate { + return &v + }).(CdnCustomDomainCertificatePtrOutput) +} + +// The PEM-encoded TLS certificate. Required for custom certificates. +func (o CdnCustomDomainCertificateOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v CdnCustomDomainCertificate) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +// The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. +func (o CdnCustomDomainCertificateOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v CdnCustomDomainCertificate) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) +} + +// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. +func (o CdnCustomDomainCertificateOutput) Version() pulumi.IntPtrOutput { + return o.ApplyT(func(v CdnCustomDomainCertificate) *int { return v.Version }).(pulumi.IntPtrOutput) +} + +type CdnCustomDomainCertificatePtrOutput struct{ *pulumi.OutputState } + +func (CdnCustomDomainCertificatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CdnCustomDomainCertificate)(nil)).Elem() +} + +func (o CdnCustomDomainCertificatePtrOutput) ToCdnCustomDomainCertificatePtrOutput() CdnCustomDomainCertificatePtrOutput { + return o +} + +func (o CdnCustomDomainCertificatePtrOutput) ToCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) CdnCustomDomainCertificatePtrOutput { + return o +} + +func (o CdnCustomDomainCertificatePtrOutput) Elem() CdnCustomDomainCertificateOutput { + return o.ApplyT(func(v *CdnCustomDomainCertificate) CdnCustomDomainCertificate { + if v != nil { + return *v + } + var ret CdnCustomDomainCertificate + return ret + }).(CdnCustomDomainCertificateOutput) +} + +// The PEM-encoded TLS certificate. Required for custom certificates. +func (o CdnCustomDomainCertificatePtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CdnCustomDomainCertificate) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) +} + +// The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. +func (o CdnCustomDomainCertificatePtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CdnCustomDomainCertificate) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} + +// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. +func (o CdnCustomDomainCertificatePtrOutput) Version() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CdnCustomDomainCertificate) *int { + if v == nil { + return nil + } + return v.Version + }).(pulumi.IntPtrOutput) +} + type CdnDistributionConfig struct { // The configured backend for the distribution Backend CdnDistributionConfigBackend `pulumi:"backend"` + // The configured countries where distribution of content is blocked + BlockedCountries []string `pulumi:"blockedCountries"` + // Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + Optimizer *CdnDistributionConfigOptimizer `pulumi:"optimizer"` // The configured regions where content will be hosted Regions []string `pulumi:"regions"` } @@ -34,6 +213,10 @@ type CdnDistributionConfigInput interface { type CdnDistributionConfigArgs struct { // The configured backend for the distribution Backend CdnDistributionConfigBackendInput `pulumi:"backend"` + // The configured countries where distribution of content is blocked + BlockedCountries pulumi.StringArrayInput `pulumi:"blockedCountries"` + // Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + Optimizer CdnDistributionConfigOptimizerPtrInput `pulumi:"optimizer"` // The configured regions where content will be hosted Regions pulumi.StringArrayInput `pulumi:"regions"` } @@ -120,6 +303,16 @@ func (o CdnDistributionConfigOutput) Backend() CdnDistributionConfigBackendOutpu return o.ApplyT(func(v CdnDistributionConfig) CdnDistributionConfigBackend { return v.Backend }).(CdnDistributionConfigBackendOutput) } +// The configured countries where distribution of content is blocked +func (o CdnDistributionConfigOutput) BlockedCountries() pulumi.StringArrayOutput { + return o.ApplyT(func(v CdnDistributionConfig) []string { return v.BlockedCountries }).(pulumi.StringArrayOutput) +} + +// Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. +func (o CdnDistributionConfigOutput) Optimizer() CdnDistributionConfigOptimizerPtrOutput { + return o.ApplyT(func(v CdnDistributionConfig) *CdnDistributionConfigOptimizer { return v.Optimizer }).(CdnDistributionConfigOptimizerPtrOutput) +} + // The configured regions where content will be hosted func (o CdnDistributionConfigOutput) Regions() pulumi.StringArrayOutput { return o.ApplyT(func(v CdnDistributionConfig) []string { return v.Regions }).(pulumi.StringArrayOutput) @@ -159,6 +352,26 @@ func (o CdnDistributionConfigPtrOutput) Backend() CdnDistributionConfigBackendPt }).(CdnDistributionConfigBackendPtrOutput) } +// The configured countries where distribution of content is blocked +func (o CdnDistributionConfigPtrOutput) BlockedCountries() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CdnDistributionConfig) []string { + if v == nil { + return nil + } + return v.BlockedCountries + }).(pulumi.StringArrayOutput) +} + +// Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. +func (o CdnDistributionConfigPtrOutput) Optimizer() CdnDistributionConfigOptimizerPtrOutput { + return o.ApplyT(func(v *CdnDistributionConfig) *CdnDistributionConfigOptimizer { + if v == nil { + return nil + } + return v.Optimizer + }).(CdnDistributionConfigOptimizerPtrOutput) +} + // The configured regions where content will be hosted func (o CdnDistributionConfigPtrOutput) Regions() pulumi.StringArrayOutput { return o.ApplyT(func(v *CdnDistributionConfig) []string { @@ -344,6 +557,139 @@ func (o CdnDistributionConfigBackendPtrOutput) Type() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type CdnDistributionConfigOptimizer struct { + Enabled *bool `pulumi:"enabled"` +} + +// CdnDistributionConfigOptimizerInput is an input type that accepts CdnDistributionConfigOptimizerArgs and CdnDistributionConfigOptimizerOutput values. +// You can construct a concrete instance of `CdnDistributionConfigOptimizerInput` via: +// +// CdnDistributionConfigOptimizerArgs{...} +type CdnDistributionConfigOptimizerInput interface { + pulumi.Input + + ToCdnDistributionConfigOptimizerOutput() CdnDistributionConfigOptimizerOutput + ToCdnDistributionConfigOptimizerOutputWithContext(context.Context) CdnDistributionConfigOptimizerOutput +} + +type CdnDistributionConfigOptimizerArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +} + +func (CdnDistributionConfigOptimizerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CdnDistributionConfigOptimizer)(nil)).Elem() +} + +func (i CdnDistributionConfigOptimizerArgs) ToCdnDistributionConfigOptimizerOutput() CdnDistributionConfigOptimizerOutput { + return i.ToCdnDistributionConfigOptimizerOutputWithContext(context.Background()) +} + +func (i CdnDistributionConfigOptimizerArgs) ToCdnDistributionConfigOptimizerOutputWithContext(ctx context.Context) CdnDistributionConfigOptimizerOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnDistributionConfigOptimizerOutput) +} + +func (i CdnDistributionConfigOptimizerArgs) ToCdnDistributionConfigOptimizerPtrOutput() CdnDistributionConfigOptimizerPtrOutput { + return i.ToCdnDistributionConfigOptimizerPtrOutputWithContext(context.Background()) +} + +func (i CdnDistributionConfigOptimizerArgs) ToCdnDistributionConfigOptimizerPtrOutputWithContext(ctx context.Context) CdnDistributionConfigOptimizerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnDistributionConfigOptimizerOutput).ToCdnDistributionConfigOptimizerPtrOutputWithContext(ctx) +} + +// CdnDistributionConfigOptimizerPtrInput is an input type that accepts CdnDistributionConfigOptimizerArgs, CdnDistributionConfigOptimizerPtr and CdnDistributionConfigOptimizerPtrOutput values. +// You can construct a concrete instance of `CdnDistributionConfigOptimizerPtrInput` via: +// +// CdnDistributionConfigOptimizerArgs{...} +// +// or: +// +// nil +type CdnDistributionConfigOptimizerPtrInput interface { + pulumi.Input + + ToCdnDistributionConfigOptimizerPtrOutput() CdnDistributionConfigOptimizerPtrOutput + ToCdnDistributionConfigOptimizerPtrOutputWithContext(context.Context) CdnDistributionConfigOptimizerPtrOutput +} + +type cdnDistributionConfigOptimizerPtrType CdnDistributionConfigOptimizerArgs + +func CdnDistributionConfigOptimizerPtr(v *CdnDistributionConfigOptimizerArgs) CdnDistributionConfigOptimizerPtrInput { + return (*cdnDistributionConfigOptimizerPtrType)(v) +} + +func (*cdnDistributionConfigOptimizerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CdnDistributionConfigOptimizer)(nil)).Elem() +} + +func (i *cdnDistributionConfigOptimizerPtrType) ToCdnDistributionConfigOptimizerPtrOutput() CdnDistributionConfigOptimizerPtrOutput { + return i.ToCdnDistributionConfigOptimizerPtrOutputWithContext(context.Background()) +} + +func (i *cdnDistributionConfigOptimizerPtrType) ToCdnDistributionConfigOptimizerPtrOutputWithContext(ctx context.Context) CdnDistributionConfigOptimizerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnDistributionConfigOptimizerPtrOutput) +} + +type CdnDistributionConfigOptimizerOutput struct{ *pulumi.OutputState } + +func (CdnDistributionConfigOptimizerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CdnDistributionConfigOptimizer)(nil)).Elem() +} + +func (o CdnDistributionConfigOptimizerOutput) ToCdnDistributionConfigOptimizerOutput() CdnDistributionConfigOptimizerOutput { + return o +} + +func (o CdnDistributionConfigOptimizerOutput) ToCdnDistributionConfigOptimizerOutputWithContext(ctx context.Context) CdnDistributionConfigOptimizerOutput { + return o +} + +func (o CdnDistributionConfigOptimizerOutput) ToCdnDistributionConfigOptimizerPtrOutput() CdnDistributionConfigOptimizerPtrOutput { + return o.ToCdnDistributionConfigOptimizerPtrOutputWithContext(context.Background()) +} + +func (o CdnDistributionConfigOptimizerOutput) ToCdnDistributionConfigOptimizerPtrOutputWithContext(ctx context.Context) CdnDistributionConfigOptimizerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CdnDistributionConfigOptimizer) *CdnDistributionConfigOptimizer { + return &v + }).(CdnDistributionConfigOptimizerPtrOutput) +} + +func (o CdnDistributionConfigOptimizerOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CdnDistributionConfigOptimizer) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +type CdnDistributionConfigOptimizerPtrOutput struct{ *pulumi.OutputState } + +func (CdnDistributionConfigOptimizerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CdnDistributionConfigOptimizer)(nil)).Elem() +} + +func (o CdnDistributionConfigOptimizerPtrOutput) ToCdnDistributionConfigOptimizerPtrOutput() CdnDistributionConfigOptimizerPtrOutput { + return o +} + +func (o CdnDistributionConfigOptimizerPtrOutput) ToCdnDistributionConfigOptimizerPtrOutputWithContext(ctx context.Context) CdnDistributionConfigOptimizerPtrOutput { + return o +} + +func (o CdnDistributionConfigOptimizerPtrOutput) Elem() CdnDistributionConfigOptimizerOutput { + return o.ApplyT(func(v *CdnDistributionConfigOptimizer) CdnDistributionConfigOptimizer { + if v != nil { + return *v + } + var ret CdnDistributionConfigOptimizer + return ret + }).(CdnDistributionConfigOptimizerOutput) +} + +func (o CdnDistributionConfigOptimizerPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CdnDistributionConfigOptimizer) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + type CdnDistributionDomain struct { // List of domain errors Errors []string `pulumi:"errors"` @@ -4112,7 +4458,7 @@ func (o ObservabilityAlertgroupRuleArrayOutput) Index(i pulumi.IntInput) Observa } type ObservabilityInstanceAlertConfig struct { - // Global configuration for the alerts. + // Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. Global *ObservabilityInstanceAlertConfigGlobal `pulumi:"global"` // List of alert receivers. Receivers []ObservabilityInstanceAlertConfigReceiver `pulumi:"receivers"` @@ -4132,7 +4478,7 @@ type ObservabilityInstanceAlertConfigInput interface { } type ObservabilityInstanceAlertConfigArgs struct { - // Global configuration for the alerts. + // Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. Global ObservabilityInstanceAlertConfigGlobalPtrInput `pulumi:"global"` // List of alert receivers. Receivers ObservabilityInstanceAlertConfigReceiverArrayInput `pulumi:"receivers"` @@ -4217,7 +4563,7 @@ func (o ObservabilityInstanceAlertConfigOutput) ToObservabilityInstanceAlertConf }).(ObservabilityInstanceAlertConfigPtrOutput) } -// Global configuration for the alerts. +// Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. func (o ObservabilityInstanceAlertConfigOutput) Global() ObservabilityInstanceAlertConfigGlobalPtrOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfig) *ObservabilityInstanceAlertConfigGlobal { return v.Global }).(ObservabilityInstanceAlertConfigGlobalPtrOutput) } @@ -4258,7 +4604,7 @@ func (o ObservabilityInstanceAlertConfigPtrOutput) Elem() ObservabilityInstanceA }).(ObservabilityInstanceAlertConfigOutput) } -// Global configuration for the alerts. +// Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. func (o ObservabilityInstanceAlertConfigPtrOutput) Global() ObservabilityInstanceAlertConfigGlobalPtrOutput { return o.ApplyT(func(v *ObservabilityInstanceAlertConfig) *ObservabilityInstanceAlertConfigGlobal { if v == nil { @@ -4697,6 +5043,8 @@ type ObservabilityInstanceAlertConfigReceiverEmailConfig struct { AuthUsername *string `pulumi:"authUsername"` // The sender email address. Must be a valid email address From *string `pulumi:"from"` + // Whether to notify about resolved alerts. + SendResolved *bool `pulumi:"sendResolved"` // The SMTP host through which emails are sent. SmartHost *string `pulumi:"smartHost"` // The email address to send notifications to. Must be a valid email address @@ -4723,6 +5071,8 @@ type ObservabilityInstanceAlertConfigReceiverEmailConfigArgs struct { AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` // The sender email address. Must be a valid email address From pulumi.StringPtrInput `pulumi:"from"` + // Whether to notify about resolved alerts. + SendResolved pulumi.BoolPtrInput `pulumi:"sendResolved"` // The SMTP host through which emails are sent. SmartHost pulumi.StringPtrInput `pulumi:"smartHost"` // The email address to send notifications to. Must be a valid email address @@ -4800,6 +5150,11 @@ func (o ObservabilityInstanceAlertConfigReceiverEmailConfigOutput) From() pulumi return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverEmailConfig) *string { return v.From }).(pulumi.StringPtrOutput) } +// Whether to notify about resolved alerts. +func (o ObservabilityInstanceAlertConfigReceiverEmailConfigOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverEmailConfig) *bool { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + // The SMTP host through which emails are sent. func (o ObservabilityInstanceAlertConfigReceiverEmailConfigOutput) SmartHost() pulumi.StringPtrOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverEmailConfig) *string { return v.SmartHost }).(pulumi.StringPtrOutput) @@ -4835,6 +5190,10 @@ type ObservabilityInstanceAlertConfigReceiverOpsgenieConfig struct { ApiKey *string `pulumi:"apiKey"` // The host to send OpsGenie API requests to. Must be a valid URL ApiUrl *string `pulumi:"apiUrl"` + // Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + Priority *string `pulumi:"priority"` + // Whether to notify about resolved alerts. + SendResolved *bool `pulumi:"sendResolved"` // Comma separated list of tags attached to the notifications. Tags *string `pulumi:"tags"` } @@ -4855,6 +5214,10 @@ type ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs struct { ApiKey pulumi.StringPtrInput `pulumi:"apiKey"` // The host to send OpsGenie API requests to. Must be a valid URL ApiUrl pulumi.StringPtrInput `pulumi:"apiUrl"` + // Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + Priority pulumi.StringPtrInput `pulumi:"priority"` + // Whether to notify about resolved alerts. + SendResolved pulumi.BoolPtrInput `pulumi:"sendResolved"` // Comma separated list of tags attached to the notifications. Tags pulumi.StringPtrInput `pulumi:"tags"` } @@ -4920,6 +5283,16 @@ func (o ObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ApiUrl() p return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverOpsgenieConfig) *string { return v.ApiUrl }).(pulumi.StringPtrOutput) } +// Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. +func (o ObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) Priority() pulumi.StringPtrOutput { + return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverOpsgenieConfig) *string { return v.Priority }).(pulumi.StringPtrOutput) +} + +// Whether to notify about resolved alerts. +func (o ObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverOpsgenieConfig) *bool { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + // Comma separated list of tags attached to the notifications. func (o ObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) Tags() pulumi.StringPtrOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverOpsgenieConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) @@ -4946,8 +5319,12 @@ func (o ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) Index } type ObservabilityInstanceAlertConfigReceiverWebhooksConfig struct { + // Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + GoogleChat *bool `pulumi:"googleChat"` // Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. MsTeams *bool `pulumi:"msTeams"` + // Whether to notify about resolved alerts. + SendResolved *bool `pulumi:"sendResolved"` // The endpoint to send HTTP POST requests to. Must be a valid URL Url *string `pulumi:"url"` } @@ -4964,8 +5341,12 @@ type ObservabilityInstanceAlertConfigReceiverWebhooksConfigInput interface { } type ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs struct { + // Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + GoogleChat pulumi.BoolPtrInput `pulumi:"googleChat"` // Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. MsTeams pulumi.BoolPtrInput `pulumi:"msTeams"` + // Whether to notify about resolved alerts. + SendResolved pulumi.BoolPtrInput `pulumi:"sendResolved"` // The endpoint to send HTTP POST requests to. Must be a valid URL Url pulumi.StringPtrInput `pulumi:"url"` } @@ -5021,11 +5402,21 @@ func (o ObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) ToObservab return o } +// Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. +func (o ObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) GoogleChat() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverWebhooksConfig) *bool { return v.GoogleChat }).(pulumi.BoolPtrOutput) +} + // Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. func (o ObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) MsTeams() pulumi.BoolPtrOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverWebhooksConfig) *bool { return v.MsTeams }).(pulumi.BoolPtrOutput) } +// Whether to notify about resolved alerts. +func (o ObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverWebhooksConfig) *bool { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + // The endpoint to send HTTP POST requests to. Must be a valid URL func (o ObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigReceiverWebhooksConfig) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -5058,10 +5449,6 @@ type ObservabilityInstanceAlertConfigRoute struct { GroupInterval *string `pulumi:"groupInterval"` // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) GroupWait *string `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. - Match map[string]string `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. - MatchRegex map[string]string `pulumi:"matchRegex"` // The name of the receiver to route the alerts to. Receiver string `pulumi:"receiver"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). @@ -5088,10 +5475,6 @@ type ObservabilityInstanceAlertConfigRouteArgs struct { GroupInterval pulumi.StringPtrInput `pulumi:"groupInterval"` // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) GroupWait pulumi.StringPtrInput `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. - Match pulumi.StringMapInput `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. - MatchRegex pulumi.StringMapInput `pulumi:"matchRegex"` // The name of the receiver to route the alerts to. Receiver pulumi.StringInput `pulumi:"receiver"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). @@ -5192,16 +5575,6 @@ func (o ObservabilityInstanceAlertConfigRouteOutput) GroupWait() pulumi.StringPt return o.ApplyT(func(v ObservabilityInstanceAlertConfigRoute) *string { return v.GroupWait }).(pulumi.StringPtrOutput) } -// A set of equality matchers an alert has to fulfill to match the node. -func (o ObservabilityInstanceAlertConfigRouteOutput) Match() pulumi.StringMapOutput { - return o.ApplyT(func(v ObservabilityInstanceAlertConfigRoute) map[string]string { return v.Match }).(pulumi.StringMapOutput) -} - -// A set of regex-matchers an alert has to fulfill to match the node. -func (o ObservabilityInstanceAlertConfigRouteOutput) MatchRegex() pulumi.StringMapOutput { - return o.ApplyT(func(v ObservabilityInstanceAlertConfigRoute) map[string]string { return v.MatchRegex }).(pulumi.StringMapOutput) -} - // The name of the receiver to route the alerts to. func (o ObservabilityInstanceAlertConfigRouteOutput) Receiver() pulumi.StringOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigRoute) string { return v.Receiver }).(pulumi.StringOutput) @@ -5273,26 +5646,6 @@ func (o ObservabilityInstanceAlertConfigRoutePtrOutput) GroupWait() pulumi.Strin }).(pulumi.StringPtrOutput) } -// A set of equality matchers an alert has to fulfill to match the node. -func (o ObservabilityInstanceAlertConfigRoutePtrOutput) Match() pulumi.StringMapOutput { - return o.ApplyT(func(v *ObservabilityInstanceAlertConfigRoute) map[string]string { - if v == nil { - return nil - } - return v.Match - }).(pulumi.StringMapOutput) -} - -// A set of regex-matchers an alert has to fulfill to match the node. -func (o ObservabilityInstanceAlertConfigRoutePtrOutput) MatchRegex() pulumi.StringMapOutput { - return o.ApplyT(func(v *ObservabilityInstanceAlertConfigRoute) map[string]string { - if v == nil { - return nil - } - return v.MatchRegex - }).(pulumi.StringMapOutput) -} - // The name of the receiver to route the alerts to. func (o ObservabilityInstanceAlertConfigRoutePtrOutput) Receiver() pulumi.StringPtrOutput { return o.ApplyT(func(v *ObservabilityInstanceAlertConfigRoute) *string { @@ -5324,16 +5677,24 @@ func (o ObservabilityInstanceAlertConfigRoutePtrOutput) Routes() ObservabilityIn } type ObservabilityInstanceAlertConfigRouteRoute struct { + // Whether an alert should continue matching subsequent sibling nodes. + Continue *bool `pulumi:"continue"` // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. GroupBies []string `pulumi:"groupBies"` // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) GroupInterval *string `pulumi:"groupInterval"` // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) GroupWait *string `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. + // A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. Match map[string]string `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. + // A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. MatchRegex map[string]string `pulumi:"matchRegex"` + // A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + Matchers []string `pulumi:"matchers"` // The name of the receiver to route the alerts to. Receiver string `pulumi:"receiver"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). @@ -5352,16 +5713,24 @@ type ObservabilityInstanceAlertConfigRouteRouteInput interface { } type ObservabilityInstanceAlertConfigRouteRouteArgs struct { + // Whether an alert should continue matching subsequent sibling nodes. + Continue pulumi.BoolPtrInput `pulumi:"continue"` // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) GroupInterval pulumi.StringPtrInput `pulumi:"groupInterval"` // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) GroupWait pulumi.StringPtrInput `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. + // A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. Match pulumi.StringMapInput `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. + // A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. MatchRegex pulumi.StringMapInput `pulumi:"matchRegex"` + // A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + Matchers pulumi.StringArrayInput `pulumi:"matchers"` // The name of the receiver to route the alerts to. Receiver pulumi.StringInput `pulumi:"receiver"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). @@ -5419,6 +5788,11 @@ func (o ObservabilityInstanceAlertConfigRouteRouteOutput) ToObservabilityInstanc return o } +// Whether an alert should continue matching subsequent sibling nodes. +func (o ObservabilityInstanceAlertConfigRouteRouteOutput) Continue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ObservabilityInstanceAlertConfigRouteRoute) *bool { return v.Continue }).(pulumi.BoolPtrOutput) +} + // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. func (o ObservabilityInstanceAlertConfigRouteRouteOutput) GroupBies() pulumi.StringArrayOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigRouteRoute) []string { return v.GroupBies }).(pulumi.StringArrayOutput) @@ -5434,16 +5808,25 @@ func (o ObservabilityInstanceAlertConfigRouteRouteOutput) GroupWait() pulumi.Str return o.ApplyT(func(v ObservabilityInstanceAlertConfigRouteRoute) *string { return v.GroupWait }).(pulumi.StringPtrOutput) } -// A set of equality matchers an alert has to fulfill to match the node. +// A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead +// +// Deprecated: Use `matchers` in the `routes` instead. func (o ObservabilityInstanceAlertConfigRouteRouteOutput) Match() pulumi.StringMapOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigRouteRoute) map[string]string { return v.Match }).(pulumi.StringMapOutput) } -// A set of regex-matchers an alert has to fulfill to match the node. +// A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead +// +// Deprecated: Use `matchers` in the `routes` instead. func (o ObservabilityInstanceAlertConfigRouteRouteOutput) MatchRegex() pulumi.StringMapOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigRouteRoute) map[string]string { return v.MatchRegex }).(pulumi.StringMapOutput) } +// A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. +func (o ObservabilityInstanceAlertConfigRouteRouteOutput) Matchers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ObservabilityInstanceAlertConfigRouteRoute) []string { return v.Matchers }).(pulumi.StringArrayOutput) +} + // The name of the receiver to route the alerts to. func (o ObservabilityInstanceAlertConfigRouteRouteOutput) Receiver() pulumi.StringOutput { return o.ApplyT(func(v ObservabilityInstanceAlertConfigRouteRoute) string { return v.Receiver }).(pulumi.StringOutput) @@ -6034,7 +6417,7 @@ type OpensearchInstanceParameters struct { // List of TLS ciphers to use. TlsCiphers []string `pulumi:"tlsCiphers"` // The TLS protocol to use. - TlsProtocols *string `pulumi:"tlsProtocols"` + TlsProtocols []string `pulumi:"tlsProtocols"` } // OpensearchInstanceParametersInput is an input type that accepts OpensearchInstanceParametersArgs and OpensearchInstanceParametersOutput values. @@ -6076,7 +6459,7 @@ type OpensearchInstanceParametersArgs struct { // List of TLS ciphers to use. TlsCiphers pulumi.StringArrayInput `pulumi:"tlsCiphers"` // The TLS protocol to use. - TlsProtocols pulumi.StringPtrInput `pulumi:"tlsProtocols"` + TlsProtocols pulumi.StringArrayInput `pulumi:"tlsProtocols"` } func (OpensearchInstanceParametersArgs) ElementType() reflect.Type { @@ -6222,8 +6605,8 @@ func (o OpensearchInstanceParametersOutput) TlsCiphers() pulumi.StringArrayOutpu } // The TLS protocol to use. -func (o OpensearchInstanceParametersOutput) TlsProtocols() pulumi.StringPtrOutput { - return o.ApplyT(func(v OpensearchInstanceParameters) *string { return v.TlsProtocols }).(pulumi.StringPtrOutput) +func (o OpensearchInstanceParametersOutput) TlsProtocols() pulumi.StringArrayOutput { + return o.ApplyT(func(v OpensearchInstanceParameters) []string { return v.TlsProtocols }).(pulumi.StringArrayOutput) } type OpensearchInstanceParametersPtrOutput struct{ *pulumi.OutputState } @@ -6381,13 +6764,13 @@ func (o OpensearchInstanceParametersPtrOutput) TlsCiphers() pulumi.StringArrayOu } // The TLS protocol to use. -func (o OpensearchInstanceParametersPtrOutput) TlsProtocols() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OpensearchInstanceParameters) *string { +func (o OpensearchInstanceParametersPtrOutput) TlsProtocols() pulumi.StringArrayOutput { + return o.ApplyT(func(v *OpensearchInstanceParameters) []string { if v == nil { return nil } return v.TlsProtocols - }).(pulumi.StringPtrOutput) + }).(pulumi.StringArrayOutput) } type PostgresflexInstanceFlavor struct { @@ -7617,41 +8000,353 @@ func (o RedisInstanceParametersPtrOutput) TlsProtocols() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -type SecurityGroupRuleIcmpParameters struct { - // ICMP code. Can be set if the protocol is ICMP. - Code int `pulumi:"code"` - // ICMP type. Can be set if the protocol is ICMP. - Type int `pulumi:"type"` +type RoutingTableRouteDestination struct { + // CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + Type string `pulumi:"type"` + // An CIDR string. + Value string `pulumi:"value"` } -// SecurityGroupRuleIcmpParametersInput is an input type that accepts SecurityGroupRuleIcmpParametersArgs and SecurityGroupRuleIcmpParametersOutput values. -// You can construct a concrete instance of `SecurityGroupRuleIcmpParametersInput` via: +// RoutingTableRouteDestinationInput is an input type that accepts RoutingTableRouteDestinationArgs and RoutingTableRouteDestinationOutput values. +// You can construct a concrete instance of `RoutingTableRouteDestinationInput` via: // -// SecurityGroupRuleIcmpParametersArgs{...} -type SecurityGroupRuleIcmpParametersInput interface { +// RoutingTableRouteDestinationArgs{...} +type RoutingTableRouteDestinationInput interface { pulumi.Input - ToSecurityGroupRuleIcmpParametersOutput() SecurityGroupRuleIcmpParametersOutput - ToSecurityGroupRuleIcmpParametersOutputWithContext(context.Context) SecurityGroupRuleIcmpParametersOutput + ToRoutingTableRouteDestinationOutput() RoutingTableRouteDestinationOutput + ToRoutingTableRouteDestinationOutputWithContext(context.Context) RoutingTableRouteDestinationOutput } -type SecurityGroupRuleIcmpParametersArgs struct { - // ICMP code. Can be set if the protocol is ICMP. - Code pulumi.IntInput `pulumi:"code"` - // ICMP type. Can be set if the protocol is ICMP. - Type pulumi.IntInput `pulumi:"type"` +type RoutingTableRouteDestinationArgs struct { + // CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + Type pulumi.StringInput `pulumi:"type"` + // An CIDR string. + Value pulumi.StringInput `pulumi:"value"` } -func (SecurityGroupRuleIcmpParametersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupRuleIcmpParameters)(nil)).Elem() +func (RoutingTableRouteDestinationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingTableRouteDestination)(nil)).Elem() } -func (i SecurityGroupRuleIcmpParametersArgs) ToSecurityGroupRuleIcmpParametersOutput() SecurityGroupRuleIcmpParametersOutput { - return i.ToSecurityGroupRuleIcmpParametersOutputWithContext(context.Background()) +func (i RoutingTableRouteDestinationArgs) ToRoutingTableRouteDestinationOutput() RoutingTableRouteDestinationOutput { + return i.ToRoutingTableRouteDestinationOutputWithContext(context.Background()) } -func (i SecurityGroupRuleIcmpParametersArgs) ToSecurityGroupRuleIcmpParametersOutputWithContext(ctx context.Context) SecurityGroupRuleIcmpParametersOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleIcmpParametersOutput) +func (i RoutingTableRouteDestinationArgs) ToRoutingTableRouteDestinationOutputWithContext(ctx context.Context) RoutingTableRouteDestinationOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteDestinationOutput) +} + +func (i RoutingTableRouteDestinationArgs) ToRoutingTableRouteDestinationPtrOutput() RoutingTableRouteDestinationPtrOutput { + return i.ToRoutingTableRouteDestinationPtrOutputWithContext(context.Background()) +} + +func (i RoutingTableRouteDestinationArgs) ToRoutingTableRouteDestinationPtrOutputWithContext(ctx context.Context) RoutingTableRouteDestinationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteDestinationOutput).ToRoutingTableRouteDestinationPtrOutputWithContext(ctx) +} + +// RoutingTableRouteDestinationPtrInput is an input type that accepts RoutingTableRouteDestinationArgs, RoutingTableRouteDestinationPtr and RoutingTableRouteDestinationPtrOutput values. +// You can construct a concrete instance of `RoutingTableRouteDestinationPtrInput` via: +// +// RoutingTableRouteDestinationArgs{...} +// +// or: +// +// nil +type RoutingTableRouteDestinationPtrInput interface { + pulumi.Input + + ToRoutingTableRouteDestinationPtrOutput() RoutingTableRouteDestinationPtrOutput + ToRoutingTableRouteDestinationPtrOutputWithContext(context.Context) RoutingTableRouteDestinationPtrOutput +} + +type routingTableRouteDestinationPtrType RoutingTableRouteDestinationArgs + +func RoutingTableRouteDestinationPtr(v *RoutingTableRouteDestinationArgs) RoutingTableRouteDestinationPtrInput { + return (*routingTableRouteDestinationPtrType)(v) +} + +func (*routingTableRouteDestinationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTableRouteDestination)(nil)).Elem() +} + +func (i *routingTableRouteDestinationPtrType) ToRoutingTableRouteDestinationPtrOutput() RoutingTableRouteDestinationPtrOutput { + return i.ToRoutingTableRouteDestinationPtrOutputWithContext(context.Background()) +} + +func (i *routingTableRouteDestinationPtrType) ToRoutingTableRouteDestinationPtrOutputWithContext(ctx context.Context) RoutingTableRouteDestinationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteDestinationPtrOutput) +} + +type RoutingTableRouteDestinationOutput struct{ *pulumi.OutputState } + +func (RoutingTableRouteDestinationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingTableRouteDestination)(nil)).Elem() +} + +func (o RoutingTableRouteDestinationOutput) ToRoutingTableRouteDestinationOutput() RoutingTableRouteDestinationOutput { + return o +} + +func (o RoutingTableRouteDestinationOutput) ToRoutingTableRouteDestinationOutputWithContext(ctx context.Context) RoutingTableRouteDestinationOutput { + return o +} + +func (o RoutingTableRouteDestinationOutput) ToRoutingTableRouteDestinationPtrOutput() RoutingTableRouteDestinationPtrOutput { + return o.ToRoutingTableRouteDestinationPtrOutputWithContext(context.Background()) +} + +func (o RoutingTableRouteDestinationOutput) ToRoutingTableRouteDestinationPtrOutputWithContext(ctx context.Context) RoutingTableRouteDestinationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingTableRouteDestination) *RoutingTableRouteDestination { + return &v + }).(RoutingTableRouteDestinationPtrOutput) +} + +// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. +func (o RoutingTableRouteDestinationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v RoutingTableRouteDestination) string { return v.Type }).(pulumi.StringOutput) +} + +// An CIDR string. +func (o RoutingTableRouteDestinationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v RoutingTableRouteDestination) string { return v.Value }).(pulumi.StringOutput) +} + +type RoutingTableRouteDestinationPtrOutput struct{ *pulumi.OutputState } + +func (RoutingTableRouteDestinationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTableRouteDestination)(nil)).Elem() +} + +func (o RoutingTableRouteDestinationPtrOutput) ToRoutingTableRouteDestinationPtrOutput() RoutingTableRouteDestinationPtrOutput { + return o +} + +func (o RoutingTableRouteDestinationPtrOutput) ToRoutingTableRouteDestinationPtrOutputWithContext(ctx context.Context) RoutingTableRouteDestinationPtrOutput { + return o +} + +func (o RoutingTableRouteDestinationPtrOutput) Elem() RoutingTableRouteDestinationOutput { + return o.ApplyT(func(v *RoutingTableRouteDestination) RoutingTableRouteDestination { + if v != nil { + return *v + } + var ret RoutingTableRouteDestination + return ret + }).(RoutingTableRouteDestinationOutput) +} + +// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. +func (o RoutingTableRouteDestinationPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingTableRouteDestination) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// An CIDR string. +func (o RoutingTableRouteDestinationPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingTableRouteDestination) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type RoutingTableRouteNextHop struct { + // Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + Type string `pulumi:"type"` + // Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + Value *string `pulumi:"value"` +} + +// RoutingTableRouteNextHopInput is an input type that accepts RoutingTableRouteNextHopArgs and RoutingTableRouteNextHopOutput values. +// You can construct a concrete instance of `RoutingTableRouteNextHopInput` via: +// +// RoutingTableRouteNextHopArgs{...} +type RoutingTableRouteNextHopInput interface { + pulumi.Input + + ToRoutingTableRouteNextHopOutput() RoutingTableRouteNextHopOutput + ToRoutingTableRouteNextHopOutputWithContext(context.Context) RoutingTableRouteNextHopOutput +} + +type RoutingTableRouteNextHopArgs struct { + // Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + Type pulumi.StringInput `pulumi:"type"` + // Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (RoutingTableRouteNextHopArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingTableRouteNextHop)(nil)).Elem() +} + +func (i RoutingTableRouteNextHopArgs) ToRoutingTableRouteNextHopOutput() RoutingTableRouteNextHopOutput { + return i.ToRoutingTableRouteNextHopOutputWithContext(context.Background()) +} + +func (i RoutingTableRouteNextHopArgs) ToRoutingTableRouteNextHopOutputWithContext(ctx context.Context) RoutingTableRouteNextHopOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteNextHopOutput) +} + +func (i RoutingTableRouteNextHopArgs) ToRoutingTableRouteNextHopPtrOutput() RoutingTableRouteNextHopPtrOutput { + return i.ToRoutingTableRouteNextHopPtrOutputWithContext(context.Background()) +} + +func (i RoutingTableRouteNextHopArgs) ToRoutingTableRouteNextHopPtrOutputWithContext(ctx context.Context) RoutingTableRouteNextHopPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteNextHopOutput).ToRoutingTableRouteNextHopPtrOutputWithContext(ctx) +} + +// RoutingTableRouteNextHopPtrInput is an input type that accepts RoutingTableRouteNextHopArgs, RoutingTableRouteNextHopPtr and RoutingTableRouteNextHopPtrOutput values. +// You can construct a concrete instance of `RoutingTableRouteNextHopPtrInput` via: +// +// RoutingTableRouteNextHopArgs{...} +// +// or: +// +// nil +type RoutingTableRouteNextHopPtrInput interface { + pulumi.Input + + ToRoutingTableRouteNextHopPtrOutput() RoutingTableRouteNextHopPtrOutput + ToRoutingTableRouteNextHopPtrOutputWithContext(context.Context) RoutingTableRouteNextHopPtrOutput +} + +type routingTableRouteNextHopPtrType RoutingTableRouteNextHopArgs + +func RoutingTableRouteNextHopPtr(v *RoutingTableRouteNextHopArgs) RoutingTableRouteNextHopPtrInput { + return (*routingTableRouteNextHopPtrType)(v) +} + +func (*routingTableRouteNextHopPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTableRouteNextHop)(nil)).Elem() +} + +func (i *routingTableRouteNextHopPtrType) ToRoutingTableRouteNextHopPtrOutput() RoutingTableRouteNextHopPtrOutput { + return i.ToRoutingTableRouteNextHopPtrOutputWithContext(context.Background()) +} + +func (i *routingTableRouteNextHopPtrType) ToRoutingTableRouteNextHopPtrOutputWithContext(ctx context.Context) RoutingTableRouteNextHopPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteNextHopPtrOutput) +} + +type RoutingTableRouteNextHopOutput struct{ *pulumi.OutputState } + +func (RoutingTableRouteNextHopOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingTableRouteNextHop)(nil)).Elem() +} + +func (o RoutingTableRouteNextHopOutput) ToRoutingTableRouteNextHopOutput() RoutingTableRouteNextHopOutput { + return o +} + +func (o RoutingTableRouteNextHopOutput) ToRoutingTableRouteNextHopOutputWithContext(ctx context.Context) RoutingTableRouteNextHopOutput { + return o +} + +func (o RoutingTableRouteNextHopOutput) ToRoutingTableRouteNextHopPtrOutput() RoutingTableRouteNextHopPtrOutput { + return o.ToRoutingTableRouteNextHopPtrOutputWithContext(context.Background()) +} + +func (o RoutingTableRouteNextHopOutput) ToRoutingTableRouteNextHopPtrOutputWithContext(ctx context.Context) RoutingTableRouteNextHopPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingTableRouteNextHop) *RoutingTableRouteNextHop { + return &v + }).(RoutingTableRouteNextHopPtrOutput) +} + +// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. +func (o RoutingTableRouteNextHopOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v RoutingTableRouteNextHop) string { return v.Type }).(pulumi.StringOutput) +} + +// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. +func (o RoutingTableRouteNextHopOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingTableRouteNextHop) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type RoutingTableRouteNextHopPtrOutput struct{ *pulumi.OutputState } + +func (RoutingTableRouteNextHopPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTableRouteNextHop)(nil)).Elem() +} + +func (o RoutingTableRouteNextHopPtrOutput) ToRoutingTableRouteNextHopPtrOutput() RoutingTableRouteNextHopPtrOutput { + return o +} + +func (o RoutingTableRouteNextHopPtrOutput) ToRoutingTableRouteNextHopPtrOutputWithContext(ctx context.Context) RoutingTableRouteNextHopPtrOutput { + return o +} + +func (o RoutingTableRouteNextHopPtrOutput) Elem() RoutingTableRouteNextHopOutput { + return o.ApplyT(func(v *RoutingTableRouteNextHop) RoutingTableRouteNextHop { + if v != nil { + return *v + } + var ret RoutingTableRouteNextHop + return ret + }).(RoutingTableRouteNextHopOutput) +} + +// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. +func (o RoutingTableRouteNextHopPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingTableRouteNextHop) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. +func (o RoutingTableRouteNextHopPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingTableRouteNextHop) *string { + if v == nil { + return nil + } + return v.Value + }).(pulumi.StringPtrOutput) +} + +type SecurityGroupRuleIcmpParameters struct { + // ICMP code. Can be set if the protocol is ICMP. + Code int `pulumi:"code"` + // ICMP type. Can be set if the protocol is ICMP. + Type int `pulumi:"type"` +} + +// SecurityGroupRuleIcmpParametersInput is an input type that accepts SecurityGroupRuleIcmpParametersArgs and SecurityGroupRuleIcmpParametersOutput values. +// You can construct a concrete instance of `SecurityGroupRuleIcmpParametersInput` via: +// +// SecurityGroupRuleIcmpParametersArgs{...} +type SecurityGroupRuleIcmpParametersInput interface { + pulumi.Input + + ToSecurityGroupRuleIcmpParametersOutput() SecurityGroupRuleIcmpParametersOutput + ToSecurityGroupRuleIcmpParametersOutputWithContext(context.Context) SecurityGroupRuleIcmpParametersOutput +} + +type SecurityGroupRuleIcmpParametersArgs struct { + // ICMP code. Can be set if the protocol is ICMP. + Code pulumi.IntInput `pulumi:"code"` + // ICMP type. Can be set if the protocol is ICMP. + Type pulumi.IntInput `pulumi:"type"` +} + +func (SecurityGroupRuleIcmpParametersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityGroupRuleIcmpParameters)(nil)).Elem() +} + +func (i SecurityGroupRuleIcmpParametersArgs) ToSecurityGroupRuleIcmpParametersOutput() SecurityGroupRuleIcmpParametersOutput { + return i.ToSecurityGroupRuleIcmpParametersOutputWithContext(context.Background()) +} + +func (i SecurityGroupRuleIcmpParametersArgs) ToSecurityGroupRuleIcmpParametersOutputWithContext(ctx context.Context) SecurityGroupRuleIcmpParametersOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleIcmpParametersOutput) } func (i SecurityGroupRuleIcmpParametersArgs) ToSecurityGroupRuleIcmpParametersPtrOutput() SecurityGroupRuleIcmpParametersPtrOutput { @@ -8483,10 +9178,14 @@ func (o ServerBootVolumePtrOutput) SourceType() pulumi.StringPtrOutput { type SkeClusterExtensions struct { // Cluster access control configuration. Acl *SkeClusterExtensionsAcl `pulumi:"acl"` - // A single argus block as defined below. + // A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. + // + // Deprecated: Use observability instead. Argus *SkeClusterExtensionsArgus `pulumi:"argus"` // DNS extension configuration Dns *SkeClusterExtensionsDns `pulumi:"dns"` + // A single observability block as defined below. + Observability *SkeClusterExtensionsObservability `pulumi:"observability"` } // SkeClusterExtensionsInput is an input type that accepts SkeClusterExtensionsArgs and SkeClusterExtensionsOutput values. @@ -8503,10 +9202,14 @@ type SkeClusterExtensionsInput interface { type SkeClusterExtensionsArgs struct { // Cluster access control configuration. Acl SkeClusterExtensionsAclPtrInput `pulumi:"acl"` - // A single argus block as defined below. + // A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. + // + // Deprecated: Use observability instead. Argus SkeClusterExtensionsArgusPtrInput `pulumi:"argus"` // DNS extension configuration Dns SkeClusterExtensionsDnsPtrInput `pulumi:"dns"` + // A single observability block as defined below. + Observability SkeClusterExtensionsObservabilityPtrInput `pulumi:"observability"` } func (SkeClusterExtensionsArgs) ElementType() reflect.Type { @@ -8591,7 +9294,9 @@ func (o SkeClusterExtensionsOutput) Acl() SkeClusterExtensionsAclPtrOutput { return o.ApplyT(func(v SkeClusterExtensions) *SkeClusterExtensionsAcl { return v.Acl }).(SkeClusterExtensionsAclPtrOutput) } -// A single argus block as defined below. +// A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. +// +// Deprecated: Use observability instead. func (o SkeClusterExtensionsOutput) Argus() SkeClusterExtensionsArgusPtrOutput { return o.ApplyT(func(v SkeClusterExtensions) *SkeClusterExtensionsArgus { return v.Argus }).(SkeClusterExtensionsArgusPtrOutput) } @@ -8601,6 +9306,11 @@ func (o SkeClusterExtensionsOutput) Dns() SkeClusterExtensionsDnsPtrOutput { return o.ApplyT(func(v SkeClusterExtensions) *SkeClusterExtensionsDns { return v.Dns }).(SkeClusterExtensionsDnsPtrOutput) } +// A single observability block as defined below. +func (o SkeClusterExtensionsOutput) Observability() SkeClusterExtensionsObservabilityPtrOutput { + return o.ApplyT(func(v SkeClusterExtensions) *SkeClusterExtensionsObservability { return v.Observability }).(SkeClusterExtensionsObservabilityPtrOutput) +} + type SkeClusterExtensionsPtrOutput struct{ *pulumi.OutputState } func (SkeClusterExtensionsPtrOutput) ElementType() reflect.Type { @@ -8635,7 +9345,9 @@ func (o SkeClusterExtensionsPtrOutput) Acl() SkeClusterExtensionsAclPtrOutput { }).(SkeClusterExtensionsAclPtrOutput) } -// A single argus block as defined below. +// A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. +// +// Deprecated: Use observability instead. func (o SkeClusterExtensionsPtrOutput) Argus() SkeClusterExtensionsArgusPtrOutput { return o.ApplyT(func(v *SkeClusterExtensions) *SkeClusterExtensionsArgus { if v == nil { @@ -8655,6 +9367,16 @@ func (o SkeClusterExtensionsPtrOutput) Dns() SkeClusterExtensionsDnsPtrOutput { }).(SkeClusterExtensionsDnsPtrOutput) } +// A single observability block as defined below. +func (o SkeClusterExtensionsPtrOutput) Observability() SkeClusterExtensionsObservabilityPtrOutput { + return o.ApplyT(func(v *SkeClusterExtensions) *SkeClusterExtensionsObservability { + if v == nil { + return nil + } + return v.Observability + }).(SkeClusterExtensionsObservabilityPtrOutput) +} + type SkeClusterExtensionsAcl struct { // Specify a list of CIDRs to whitelist. AllowedCidrs []string `pulumi:"allowedCidrs"` @@ -9123,75 +9845,231 @@ func (o SkeClusterExtensionsDnsPtrOutput) Zones() pulumi.StringArrayOutput { }).(pulumi.StringArrayOutput) } -type SkeClusterHibernation struct { - // End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. - End string `pulumi:"end"` - // Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. - Start string `pulumi:"start"` - // Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. - Timezone *string `pulumi:"timezone"` +type SkeClusterExtensionsObservability struct { + // Flag to enable/disable Observability extensions. + Enabled bool `pulumi:"enabled"` + // Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + InstanceId *string `pulumi:"instanceId"` } -// SkeClusterHibernationInput is an input type that accepts SkeClusterHibernationArgs and SkeClusterHibernationOutput values. -// You can construct a concrete instance of `SkeClusterHibernationInput` via: +// SkeClusterExtensionsObservabilityInput is an input type that accepts SkeClusterExtensionsObservabilityArgs and SkeClusterExtensionsObservabilityOutput values. +// You can construct a concrete instance of `SkeClusterExtensionsObservabilityInput` via: // -// SkeClusterHibernationArgs{...} -type SkeClusterHibernationInput interface { +// SkeClusterExtensionsObservabilityArgs{...} +type SkeClusterExtensionsObservabilityInput interface { pulumi.Input - ToSkeClusterHibernationOutput() SkeClusterHibernationOutput - ToSkeClusterHibernationOutputWithContext(context.Context) SkeClusterHibernationOutput + ToSkeClusterExtensionsObservabilityOutput() SkeClusterExtensionsObservabilityOutput + ToSkeClusterExtensionsObservabilityOutputWithContext(context.Context) SkeClusterExtensionsObservabilityOutput } -type SkeClusterHibernationArgs struct { - // End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. - End pulumi.StringInput `pulumi:"end"` - // Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. - Start pulumi.StringInput `pulumi:"start"` - // Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. - Timezone pulumi.StringPtrInput `pulumi:"timezone"` +type SkeClusterExtensionsObservabilityArgs struct { + // Flag to enable/disable Observability extensions. + Enabled pulumi.BoolInput `pulumi:"enabled"` + // Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` } -func (SkeClusterHibernationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SkeClusterHibernation)(nil)).Elem() +func (SkeClusterExtensionsObservabilityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SkeClusterExtensionsObservability)(nil)).Elem() } -func (i SkeClusterHibernationArgs) ToSkeClusterHibernationOutput() SkeClusterHibernationOutput { - return i.ToSkeClusterHibernationOutputWithContext(context.Background()) +func (i SkeClusterExtensionsObservabilityArgs) ToSkeClusterExtensionsObservabilityOutput() SkeClusterExtensionsObservabilityOutput { + return i.ToSkeClusterExtensionsObservabilityOutputWithContext(context.Background()) } -func (i SkeClusterHibernationArgs) ToSkeClusterHibernationOutputWithContext(ctx context.Context) SkeClusterHibernationOutput { - return pulumi.ToOutputWithContext(ctx, i).(SkeClusterHibernationOutput) +func (i SkeClusterExtensionsObservabilityArgs) ToSkeClusterExtensionsObservabilityOutputWithContext(ctx context.Context) SkeClusterExtensionsObservabilityOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkeClusterExtensionsObservabilityOutput) } -// SkeClusterHibernationArrayInput is an input type that accepts SkeClusterHibernationArray and SkeClusterHibernationArrayOutput values. -// You can construct a concrete instance of `SkeClusterHibernationArrayInput` via: +func (i SkeClusterExtensionsObservabilityArgs) ToSkeClusterExtensionsObservabilityPtrOutput() SkeClusterExtensionsObservabilityPtrOutput { + return i.ToSkeClusterExtensionsObservabilityPtrOutputWithContext(context.Background()) +} + +func (i SkeClusterExtensionsObservabilityArgs) ToSkeClusterExtensionsObservabilityPtrOutputWithContext(ctx context.Context) SkeClusterExtensionsObservabilityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkeClusterExtensionsObservabilityOutput).ToSkeClusterExtensionsObservabilityPtrOutputWithContext(ctx) +} + +// SkeClusterExtensionsObservabilityPtrInput is an input type that accepts SkeClusterExtensionsObservabilityArgs, SkeClusterExtensionsObservabilityPtr and SkeClusterExtensionsObservabilityPtrOutput values. +// You can construct a concrete instance of `SkeClusterExtensionsObservabilityPtrInput` via: // -// SkeClusterHibernationArray{ SkeClusterHibernationArgs{...} } -type SkeClusterHibernationArrayInput interface { +// SkeClusterExtensionsObservabilityArgs{...} +// +// or: +// +// nil +type SkeClusterExtensionsObservabilityPtrInput interface { pulumi.Input - ToSkeClusterHibernationArrayOutput() SkeClusterHibernationArrayOutput - ToSkeClusterHibernationArrayOutputWithContext(context.Context) SkeClusterHibernationArrayOutput + ToSkeClusterExtensionsObservabilityPtrOutput() SkeClusterExtensionsObservabilityPtrOutput + ToSkeClusterExtensionsObservabilityPtrOutputWithContext(context.Context) SkeClusterExtensionsObservabilityPtrOutput } -type SkeClusterHibernationArray []SkeClusterHibernationInput +type skeClusterExtensionsObservabilityPtrType SkeClusterExtensionsObservabilityArgs -func (SkeClusterHibernationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SkeClusterHibernation)(nil)).Elem() +func SkeClusterExtensionsObservabilityPtr(v *SkeClusterExtensionsObservabilityArgs) SkeClusterExtensionsObservabilityPtrInput { + return (*skeClusterExtensionsObservabilityPtrType)(v) } -func (i SkeClusterHibernationArray) ToSkeClusterHibernationArrayOutput() SkeClusterHibernationArrayOutput { - return i.ToSkeClusterHibernationArrayOutputWithContext(context.Background()) +func (*skeClusterExtensionsObservabilityPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SkeClusterExtensionsObservability)(nil)).Elem() } -func (i SkeClusterHibernationArray) ToSkeClusterHibernationArrayOutputWithContext(ctx context.Context) SkeClusterHibernationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SkeClusterHibernationArrayOutput) +func (i *skeClusterExtensionsObservabilityPtrType) ToSkeClusterExtensionsObservabilityPtrOutput() SkeClusterExtensionsObservabilityPtrOutput { + return i.ToSkeClusterExtensionsObservabilityPtrOutputWithContext(context.Background()) } -type SkeClusterHibernationOutput struct{ *pulumi.OutputState } +func (i *skeClusterExtensionsObservabilityPtrType) ToSkeClusterExtensionsObservabilityPtrOutputWithContext(ctx context.Context) SkeClusterExtensionsObservabilityPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkeClusterExtensionsObservabilityPtrOutput) +} -func (SkeClusterHibernationOutput) ElementType() reflect.Type { +type SkeClusterExtensionsObservabilityOutput struct{ *pulumi.OutputState } + +func (SkeClusterExtensionsObservabilityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SkeClusterExtensionsObservability)(nil)).Elem() +} + +func (o SkeClusterExtensionsObservabilityOutput) ToSkeClusterExtensionsObservabilityOutput() SkeClusterExtensionsObservabilityOutput { + return o +} + +func (o SkeClusterExtensionsObservabilityOutput) ToSkeClusterExtensionsObservabilityOutputWithContext(ctx context.Context) SkeClusterExtensionsObservabilityOutput { + return o +} + +func (o SkeClusterExtensionsObservabilityOutput) ToSkeClusterExtensionsObservabilityPtrOutput() SkeClusterExtensionsObservabilityPtrOutput { + return o.ToSkeClusterExtensionsObservabilityPtrOutputWithContext(context.Background()) +} + +func (o SkeClusterExtensionsObservabilityOutput) ToSkeClusterExtensionsObservabilityPtrOutputWithContext(ctx context.Context) SkeClusterExtensionsObservabilityPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SkeClusterExtensionsObservability) *SkeClusterExtensionsObservability { + return &v + }).(SkeClusterExtensionsObservabilityPtrOutput) +} + +// Flag to enable/disable Observability extensions. +func (o SkeClusterExtensionsObservabilityOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v SkeClusterExtensionsObservability) bool { return v.Enabled }).(pulumi.BoolOutput) +} + +// Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. +func (o SkeClusterExtensionsObservabilityOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v SkeClusterExtensionsObservability) *string { return v.InstanceId }).(pulumi.StringPtrOutput) +} + +type SkeClusterExtensionsObservabilityPtrOutput struct{ *pulumi.OutputState } + +func (SkeClusterExtensionsObservabilityPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SkeClusterExtensionsObservability)(nil)).Elem() +} + +func (o SkeClusterExtensionsObservabilityPtrOutput) ToSkeClusterExtensionsObservabilityPtrOutput() SkeClusterExtensionsObservabilityPtrOutput { + return o +} + +func (o SkeClusterExtensionsObservabilityPtrOutput) ToSkeClusterExtensionsObservabilityPtrOutputWithContext(ctx context.Context) SkeClusterExtensionsObservabilityPtrOutput { + return o +} + +func (o SkeClusterExtensionsObservabilityPtrOutput) Elem() SkeClusterExtensionsObservabilityOutput { + return o.ApplyT(func(v *SkeClusterExtensionsObservability) SkeClusterExtensionsObservability { + if v != nil { + return *v + } + var ret SkeClusterExtensionsObservability + return ret + }).(SkeClusterExtensionsObservabilityOutput) +} + +// Flag to enable/disable Observability extensions. +func (o SkeClusterExtensionsObservabilityPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SkeClusterExtensionsObservability) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) +} + +// Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. +func (o SkeClusterExtensionsObservabilityPtrOutput) InstanceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SkeClusterExtensionsObservability) *string { + if v == nil { + return nil + } + return v.InstanceId + }).(pulumi.StringPtrOutput) +} + +type SkeClusterHibernation struct { + // End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. + End string `pulumi:"end"` + // Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. + Start string `pulumi:"start"` + // Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. + Timezone *string `pulumi:"timezone"` +} + +// SkeClusterHibernationInput is an input type that accepts SkeClusterHibernationArgs and SkeClusterHibernationOutput values. +// You can construct a concrete instance of `SkeClusterHibernationInput` via: +// +// SkeClusterHibernationArgs{...} +type SkeClusterHibernationInput interface { + pulumi.Input + + ToSkeClusterHibernationOutput() SkeClusterHibernationOutput + ToSkeClusterHibernationOutputWithContext(context.Context) SkeClusterHibernationOutput +} + +type SkeClusterHibernationArgs struct { + // End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. + End pulumi.StringInput `pulumi:"end"` + // Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. + Start pulumi.StringInput `pulumi:"start"` + // Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. + Timezone pulumi.StringPtrInput `pulumi:"timezone"` +} + +func (SkeClusterHibernationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SkeClusterHibernation)(nil)).Elem() +} + +func (i SkeClusterHibernationArgs) ToSkeClusterHibernationOutput() SkeClusterHibernationOutput { + return i.ToSkeClusterHibernationOutputWithContext(context.Background()) +} + +func (i SkeClusterHibernationArgs) ToSkeClusterHibernationOutputWithContext(ctx context.Context) SkeClusterHibernationOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkeClusterHibernationOutput) +} + +// SkeClusterHibernationArrayInput is an input type that accepts SkeClusterHibernationArray and SkeClusterHibernationArrayOutput values. +// You can construct a concrete instance of `SkeClusterHibernationArrayInput` via: +// +// SkeClusterHibernationArray{ SkeClusterHibernationArgs{...} } +type SkeClusterHibernationArrayInput interface { + pulumi.Input + + ToSkeClusterHibernationArrayOutput() SkeClusterHibernationArrayOutput + ToSkeClusterHibernationArrayOutputWithContext(context.Context) SkeClusterHibernationArrayOutput +} + +type SkeClusterHibernationArray []SkeClusterHibernationInput + +func (SkeClusterHibernationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SkeClusterHibernation)(nil)).Elem() +} + +func (i SkeClusterHibernationArray) ToSkeClusterHibernationArrayOutput() SkeClusterHibernationArrayOutput { + return i.ToSkeClusterHibernationArrayOutputWithContext(context.Background()) +} + +func (i SkeClusterHibernationArray) ToSkeClusterHibernationArrayOutputWithContext(ctx context.Context) SkeClusterHibernationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SkeClusterHibernationArrayOutput) +} + +type SkeClusterHibernationOutput struct{ *pulumi.OutputState } + +func (SkeClusterHibernationOutput) ElementType() reflect.Type { return reflect.TypeOf((*SkeClusterHibernation)(nil)).Elem() } @@ -10561,9 +11439,150 @@ func (o VolumeSourcePtrOutput) Type() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type GetCdnCustomDomainCertificate struct { + // A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + Version int `pulumi:"version"` +} + +// GetCdnCustomDomainCertificateInput is an input type that accepts GetCdnCustomDomainCertificateArgs and GetCdnCustomDomainCertificateOutput values. +// You can construct a concrete instance of `GetCdnCustomDomainCertificateInput` via: +// +// GetCdnCustomDomainCertificateArgs{...} +type GetCdnCustomDomainCertificateInput interface { + pulumi.Input + + ToGetCdnCustomDomainCertificateOutput() GetCdnCustomDomainCertificateOutput + ToGetCdnCustomDomainCertificateOutputWithContext(context.Context) GetCdnCustomDomainCertificateOutput +} + +type GetCdnCustomDomainCertificateArgs struct { + // A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + Version pulumi.IntInput `pulumi:"version"` +} + +func (GetCdnCustomDomainCertificateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCdnCustomDomainCertificate)(nil)).Elem() +} + +func (i GetCdnCustomDomainCertificateArgs) ToGetCdnCustomDomainCertificateOutput() GetCdnCustomDomainCertificateOutput { + return i.ToGetCdnCustomDomainCertificateOutputWithContext(context.Background()) +} + +func (i GetCdnCustomDomainCertificateArgs) ToGetCdnCustomDomainCertificateOutputWithContext(ctx context.Context) GetCdnCustomDomainCertificateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCdnCustomDomainCertificateOutput) +} + +func (i GetCdnCustomDomainCertificateArgs) ToGetCdnCustomDomainCertificatePtrOutput() GetCdnCustomDomainCertificatePtrOutput { + return i.ToGetCdnCustomDomainCertificatePtrOutputWithContext(context.Background()) +} + +func (i GetCdnCustomDomainCertificateArgs) ToGetCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) GetCdnCustomDomainCertificatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCdnCustomDomainCertificateOutput).ToGetCdnCustomDomainCertificatePtrOutputWithContext(ctx) +} + +// GetCdnCustomDomainCertificatePtrInput is an input type that accepts GetCdnCustomDomainCertificateArgs, GetCdnCustomDomainCertificatePtr and GetCdnCustomDomainCertificatePtrOutput values. +// You can construct a concrete instance of `GetCdnCustomDomainCertificatePtrInput` via: +// +// GetCdnCustomDomainCertificateArgs{...} +// +// or: +// +// nil +type GetCdnCustomDomainCertificatePtrInput interface { + pulumi.Input + + ToGetCdnCustomDomainCertificatePtrOutput() GetCdnCustomDomainCertificatePtrOutput + ToGetCdnCustomDomainCertificatePtrOutputWithContext(context.Context) GetCdnCustomDomainCertificatePtrOutput +} + +type getCdnCustomDomainCertificatePtrType GetCdnCustomDomainCertificateArgs + +func GetCdnCustomDomainCertificatePtr(v *GetCdnCustomDomainCertificateArgs) GetCdnCustomDomainCertificatePtrInput { + return (*getCdnCustomDomainCertificatePtrType)(v) +} + +func (*getCdnCustomDomainCertificatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCdnCustomDomainCertificate)(nil)).Elem() +} + +func (i *getCdnCustomDomainCertificatePtrType) ToGetCdnCustomDomainCertificatePtrOutput() GetCdnCustomDomainCertificatePtrOutput { + return i.ToGetCdnCustomDomainCertificatePtrOutputWithContext(context.Background()) +} + +func (i *getCdnCustomDomainCertificatePtrType) ToGetCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) GetCdnCustomDomainCertificatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCdnCustomDomainCertificatePtrOutput) +} + +type GetCdnCustomDomainCertificateOutput struct{ *pulumi.OutputState } + +func (GetCdnCustomDomainCertificateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCdnCustomDomainCertificate)(nil)).Elem() +} + +func (o GetCdnCustomDomainCertificateOutput) ToGetCdnCustomDomainCertificateOutput() GetCdnCustomDomainCertificateOutput { + return o +} + +func (o GetCdnCustomDomainCertificateOutput) ToGetCdnCustomDomainCertificateOutputWithContext(ctx context.Context) GetCdnCustomDomainCertificateOutput { + return o +} + +func (o GetCdnCustomDomainCertificateOutput) ToGetCdnCustomDomainCertificatePtrOutput() GetCdnCustomDomainCertificatePtrOutput { + return o.ToGetCdnCustomDomainCertificatePtrOutputWithContext(context.Background()) +} + +func (o GetCdnCustomDomainCertificateOutput) ToGetCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) GetCdnCustomDomainCertificatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCdnCustomDomainCertificate) *GetCdnCustomDomainCertificate { + return &v + }).(GetCdnCustomDomainCertificatePtrOutput) +} + +// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. +func (o GetCdnCustomDomainCertificateOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v GetCdnCustomDomainCertificate) int { return v.Version }).(pulumi.IntOutput) +} + +type GetCdnCustomDomainCertificatePtrOutput struct{ *pulumi.OutputState } + +func (GetCdnCustomDomainCertificatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCdnCustomDomainCertificate)(nil)).Elem() +} + +func (o GetCdnCustomDomainCertificatePtrOutput) ToGetCdnCustomDomainCertificatePtrOutput() GetCdnCustomDomainCertificatePtrOutput { + return o +} + +func (o GetCdnCustomDomainCertificatePtrOutput) ToGetCdnCustomDomainCertificatePtrOutputWithContext(ctx context.Context) GetCdnCustomDomainCertificatePtrOutput { + return o +} + +func (o GetCdnCustomDomainCertificatePtrOutput) Elem() GetCdnCustomDomainCertificateOutput { + return o.ApplyT(func(v *GetCdnCustomDomainCertificate) GetCdnCustomDomainCertificate { + if v != nil { + return *v + } + var ret GetCdnCustomDomainCertificate + return ret + }).(GetCdnCustomDomainCertificateOutput) +} + +// A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. +func (o GetCdnCustomDomainCertificatePtrOutput) Version() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetCdnCustomDomainCertificate) *int { + if v == nil { + return nil + } + return &v.Version + }).(pulumi.IntPtrOutput) +} + type GetCdnDistributionConfig struct { // The configured backend for the distribution Backend GetCdnDistributionConfigBackend `pulumi:"backend"` + // The configured countries where distribution of content is blocked + BlockedCountries []string `pulumi:"blockedCountries"` + // Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + Optimizer GetCdnDistributionConfigOptimizer `pulumi:"optimizer"` // The configured regions where content will be hosted Regions []string `pulumi:"regions"` } @@ -10582,6 +11601,10 @@ type GetCdnDistributionConfigInput interface { type GetCdnDistributionConfigArgs struct { // The configured backend for the distribution Backend GetCdnDistributionConfigBackendInput `pulumi:"backend"` + // The configured countries where distribution of content is blocked + BlockedCountries pulumi.StringArrayInput `pulumi:"blockedCountries"` + // Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + Optimizer GetCdnDistributionConfigOptimizerInput `pulumi:"optimizer"` // The configured regions where content will be hosted Regions pulumi.StringArrayInput `pulumi:"regions"` } @@ -10617,6 +11640,16 @@ func (o GetCdnDistributionConfigOutput) Backend() GetCdnDistributionConfigBacken return o.ApplyT(func(v GetCdnDistributionConfig) GetCdnDistributionConfigBackend { return v.Backend }).(GetCdnDistributionConfigBackendOutput) } +// The configured countries where distribution of content is blocked +func (o GetCdnDistributionConfigOutput) BlockedCountries() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCdnDistributionConfig) []string { return v.BlockedCountries }).(pulumi.StringArrayOutput) +} + +// Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. +func (o GetCdnDistributionConfigOutput) Optimizer() GetCdnDistributionConfigOptimizerOutput { + return o.ApplyT(func(v GetCdnDistributionConfig) GetCdnDistributionConfigOptimizer { return v.Optimizer }).(GetCdnDistributionConfigOptimizerOutput) +} + // The configured regions where content will be hosted func (o GetCdnDistributionConfigOutput) Regions() pulumi.StringArrayOutput { return o.ApplyT(func(v GetCdnDistributionConfig) []string { return v.Regions }).(pulumi.StringArrayOutput) @@ -10692,6 +11725,55 @@ func (o GetCdnDistributionConfigBackendOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetCdnDistributionConfigBackend) string { return v.Type }).(pulumi.StringOutput) } +type GetCdnDistributionConfigOptimizer struct { + Enabled bool `pulumi:"enabled"` +} + +// GetCdnDistributionConfigOptimizerInput is an input type that accepts GetCdnDistributionConfigOptimizerArgs and GetCdnDistributionConfigOptimizerOutput values. +// You can construct a concrete instance of `GetCdnDistributionConfigOptimizerInput` via: +// +// GetCdnDistributionConfigOptimizerArgs{...} +type GetCdnDistributionConfigOptimizerInput interface { + pulumi.Input + + ToGetCdnDistributionConfigOptimizerOutput() GetCdnDistributionConfigOptimizerOutput + ToGetCdnDistributionConfigOptimizerOutputWithContext(context.Context) GetCdnDistributionConfigOptimizerOutput +} + +type GetCdnDistributionConfigOptimizerArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` +} + +func (GetCdnDistributionConfigOptimizerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCdnDistributionConfigOptimizer)(nil)).Elem() +} + +func (i GetCdnDistributionConfigOptimizerArgs) ToGetCdnDistributionConfigOptimizerOutput() GetCdnDistributionConfigOptimizerOutput { + return i.ToGetCdnDistributionConfigOptimizerOutputWithContext(context.Background()) +} + +func (i GetCdnDistributionConfigOptimizerArgs) ToGetCdnDistributionConfigOptimizerOutputWithContext(ctx context.Context) GetCdnDistributionConfigOptimizerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCdnDistributionConfigOptimizerOutput) +} + +type GetCdnDistributionConfigOptimizerOutput struct{ *pulumi.OutputState } + +func (GetCdnDistributionConfigOptimizerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCdnDistributionConfigOptimizer)(nil)).Elem() +} + +func (o GetCdnDistributionConfigOptimizerOutput) ToGetCdnDistributionConfigOptimizerOutput() GetCdnDistributionConfigOptimizerOutput { + return o +} + +func (o GetCdnDistributionConfigOptimizerOutput) ToGetCdnDistributionConfigOptimizerOutputWithContext(ctx context.Context) GetCdnDistributionConfigOptimizerOutput { + return o +} + +func (o GetCdnDistributionConfigOptimizerOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetCdnDistributionConfigOptimizer) bool { return v.Enabled }).(pulumi.BoolOutput) +} + type GetCdnDistributionDomain struct { // List of domain errors Errors []string `pulumi:"errors"` @@ -11037,3923 +12119,4960 @@ func (o GetImageConfigOutput) VirtioScsi() pulumi.BoolOutput { return o.ApplyT(func(v GetImageConfig) bool { return v.VirtioScsi }).(pulumi.BoolOutput) } -type GetLoadbalancerListener struct { - DisplayName string `pulumi:"displayName"` - // Port number where we listen for traffic. - Port int `pulumi:"port"` - // Protocol is the highest network protocol we understand to load balance. - Protocol string `pulumi:"protocol"` - // A list of domain names to match in order to pass TLS traffic to the target pool in the current listener - ServerNameIndicators []GetLoadbalancerListenerServerNameIndicator `pulumi:"serverNameIndicators"` - // Reference target pool by target pool name. - TargetPool string `pulumi:"targetPool"` +type GetImageV2Checksum struct { + // Algorithm for the checksum of the image data. + Algorithm string `pulumi:"algorithm"` + // Hexdigest of the checksum of the image data. + Digest string `pulumi:"digest"` } -// GetLoadbalancerListenerInput is an input type that accepts GetLoadbalancerListenerArgs and GetLoadbalancerListenerOutput values. -// You can construct a concrete instance of `GetLoadbalancerListenerInput` via: +// GetImageV2ChecksumInput is an input type that accepts GetImageV2ChecksumArgs and GetImageV2ChecksumOutput values. +// You can construct a concrete instance of `GetImageV2ChecksumInput` via: // -// GetLoadbalancerListenerArgs{...} -type GetLoadbalancerListenerInput interface { +// GetImageV2ChecksumArgs{...} +type GetImageV2ChecksumInput interface { pulumi.Input - ToGetLoadbalancerListenerOutput() GetLoadbalancerListenerOutput - ToGetLoadbalancerListenerOutputWithContext(context.Context) GetLoadbalancerListenerOutput + ToGetImageV2ChecksumOutput() GetImageV2ChecksumOutput + ToGetImageV2ChecksumOutputWithContext(context.Context) GetImageV2ChecksumOutput } -type GetLoadbalancerListenerArgs struct { - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Port number where we listen for traffic. - Port pulumi.IntInput `pulumi:"port"` - // Protocol is the highest network protocol we understand to load balance. - Protocol pulumi.StringInput `pulumi:"protocol"` - // A list of domain names to match in order to pass TLS traffic to the target pool in the current listener - ServerNameIndicators GetLoadbalancerListenerServerNameIndicatorArrayInput `pulumi:"serverNameIndicators"` - // Reference target pool by target pool name. - TargetPool pulumi.StringInput `pulumi:"targetPool"` +type GetImageV2ChecksumArgs struct { + // Algorithm for the checksum of the image data. + Algorithm pulumi.StringInput `pulumi:"algorithm"` + // Hexdigest of the checksum of the image data. + Digest pulumi.StringInput `pulumi:"digest"` } -func (GetLoadbalancerListenerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerListener)(nil)).Elem() +func (GetImageV2ChecksumArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Checksum)(nil)).Elem() } -func (i GetLoadbalancerListenerArgs) ToGetLoadbalancerListenerOutput() GetLoadbalancerListenerOutput { - return i.ToGetLoadbalancerListenerOutputWithContext(context.Background()) +func (i GetImageV2ChecksumArgs) ToGetImageV2ChecksumOutput() GetImageV2ChecksumOutput { + return i.ToGetImageV2ChecksumOutputWithContext(context.Background()) } -func (i GetLoadbalancerListenerArgs) ToGetLoadbalancerListenerOutputWithContext(ctx context.Context) GetLoadbalancerListenerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerOutput) +func (i GetImageV2ChecksumArgs) ToGetImageV2ChecksumOutputWithContext(ctx context.Context) GetImageV2ChecksumOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetImageV2ChecksumOutput) } -// GetLoadbalancerListenerArrayInput is an input type that accepts GetLoadbalancerListenerArray and GetLoadbalancerListenerArrayOutput values. -// You can construct a concrete instance of `GetLoadbalancerListenerArrayInput` via: -// -// GetLoadbalancerListenerArray{ GetLoadbalancerListenerArgs{...} } -type GetLoadbalancerListenerArrayInput interface { - pulumi.Input +type GetImageV2ChecksumOutput struct{ *pulumi.OutputState } - ToGetLoadbalancerListenerArrayOutput() GetLoadbalancerListenerArrayOutput - ToGetLoadbalancerListenerArrayOutputWithContext(context.Context) GetLoadbalancerListenerArrayOutput +func (GetImageV2ChecksumOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Checksum)(nil)).Elem() } -type GetLoadbalancerListenerArray []GetLoadbalancerListenerInput - -func (GetLoadbalancerListenerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerListener)(nil)).Elem() +func (o GetImageV2ChecksumOutput) ToGetImageV2ChecksumOutput() GetImageV2ChecksumOutput { + return o } -func (i GetLoadbalancerListenerArray) ToGetLoadbalancerListenerArrayOutput() GetLoadbalancerListenerArrayOutput { - return i.ToGetLoadbalancerListenerArrayOutputWithContext(context.Background()) +func (o GetImageV2ChecksumOutput) ToGetImageV2ChecksumOutputWithContext(ctx context.Context) GetImageV2ChecksumOutput { + return o } -func (i GetLoadbalancerListenerArray) ToGetLoadbalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerArrayOutput) +// Algorithm for the checksum of the image data. +func (o GetImageV2ChecksumOutput) Algorithm() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Checksum) string { return v.Algorithm }).(pulumi.StringOutput) } -type GetLoadbalancerListenerOutput struct{ *pulumi.OutputState } - -func (GetLoadbalancerListenerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerListener)(nil)).Elem() +// Hexdigest of the checksum of the image data. +func (o GetImageV2ChecksumOutput) Digest() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Checksum) string { return v.Digest }).(pulumi.StringOutput) } -func (o GetLoadbalancerListenerOutput) ToGetLoadbalancerListenerOutput() GetLoadbalancerListenerOutput { - return o +type GetImageV2Config struct { + // Enables the BIOS bootmenu. + BootMenu bool `pulumi:"bootMenu"` + // Sets CDROM bus controller type. + CdromBus string `pulumi:"cdromBus"` + // Sets Disk bus controller type. + DiskBus string `pulumi:"diskBus"` + // Sets virtual network interface model. + NicModel string `pulumi:"nicModel"` + // Enables operating system specific optimizations. + OperatingSystem string `pulumi:"operatingSystem"` + // Operating system distribution. + OperatingSystemDistro string `pulumi:"operatingSystemDistro"` + // Version of the operating system. + OperatingSystemVersion string `pulumi:"operatingSystemVersion"` + // Sets the device bus when the image is used as a rescue image. + RescueBus string `pulumi:"rescueBus"` + // Sets the device when the image is used as a rescue image. + RescueDevice string `pulumi:"rescueDevice"` + // Enables Secure Boot. + SecureBoot bool `pulumi:"secureBoot"` + // Enables UEFI boot. + Uefi bool `pulumi:"uefi"` + // Sets Graphic device model. + VideoModel string `pulumi:"videoModel"` + // Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + VirtioScsi bool `pulumi:"virtioScsi"` } -func (o GetLoadbalancerListenerOutput) ToGetLoadbalancerListenerOutputWithContext(ctx context.Context) GetLoadbalancerListenerOutput { - return o -} +// GetImageV2ConfigInput is an input type that accepts GetImageV2ConfigArgs and GetImageV2ConfigOutput values. +// You can construct a concrete instance of `GetImageV2ConfigInput` via: +// +// GetImageV2ConfigArgs{...} +type GetImageV2ConfigInput interface { + pulumi.Input -func (o GetLoadbalancerListenerOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerListener) string { return v.DisplayName }).(pulumi.StringOutput) + ToGetImageV2ConfigOutput() GetImageV2ConfigOutput + ToGetImageV2ConfigOutputWithContext(context.Context) GetImageV2ConfigOutput } -// Port number where we listen for traffic. -func (o GetLoadbalancerListenerOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadbalancerListener) int { return v.Port }).(pulumi.IntOutput) +type GetImageV2ConfigArgs struct { + // Enables the BIOS bootmenu. + BootMenu pulumi.BoolInput `pulumi:"bootMenu"` + // Sets CDROM bus controller type. + CdromBus pulumi.StringInput `pulumi:"cdromBus"` + // Sets Disk bus controller type. + DiskBus pulumi.StringInput `pulumi:"diskBus"` + // Sets virtual network interface model. + NicModel pulumi.StringInput `pulumi:"nicModel"` + // Enables operating system specific optimizations. + OperatingSystem pulumi.StringInput `pulumi:"operatingSystem"` + // Operating system distribution. + OperatingSystemDistro pulumi.StringInput `pulumi:"operatingSystemDistro"` + // Version of the operating system. + OperatingSystemVersion pulumi.StringInput `pulumi:"operatingSystemVersion"` + // Sets the device bus when the image is used as a rescue image. + RescueBus pulumi.StringInput `pulumi:"rescueBus"` + // Sets the device when the image is used as a rescue image. + RescueDevice pulumi.StringInput `pulumi:"rescueDevice"` + // Enables Secure Boot. + SecureBoot pulumi.BoolInput `pulumi:"secureBoot"` + // Enables UEFI boot. + Uefi pulumi.BoolInput `pulumi:"uefi"` + // Sets Graphic device model. + VideoModel pulumi.StringInput `pulumi:"videoModel"` + // Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + VirtioScsi pulumi.BoolInput `pulumi:"virtioScsi"` } -// Protocol is the highest network protocol we understand to load balance. -func (o GetLoadbalancerListenerOutput) Protocol() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerListener) string { return v.Protocol }).(pulumi.StringOutput) +func (GetImageV2ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Config)(nil)).Elem() } -// A list of domain names to match in order to pass TLS traffic to the target pool in the current listener -func (o GetLoadbalancerListenerOutput) ServerNameIndicators() GetLoadbalancerListenerServerNameIndicatorArrayOutput { - return o.ApplyT(func(v GetLoadbalancerListener) []GetLoadbalancerListenerServerNameIndicator { - return v.ServerNameIndicators - }).(GetLoadbalancerListenerServerNameIndicatorArrayOutput) +func (i GetImageV2ConfigArgs) ToGetImageV2ConfigOutput() GetImageV2ConfigOutput { + return i.ToGetImageV2ConfigOutputWithContext(context.Background()) } -// Reference target pool by target pool name. -func (o GetLoadbalancerListenerOutput) TargetPool() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerListener) string { return v.TargetPool }).(pulumi.StringOutput) +func (i GetImageV2ConfigArgs) ToGetImageV2ConfigOutputWithContext(ctx context.Context) GetImageV2ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetImageV2ConfigOutput) } -type GetLoadbalancerListenerArrayOutput struct{ *pulumi.OutputState } +type GetImageV2ConfigOutput struct{ *pulumi.OutputState } -func (GetLoadbalancerListenerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerListener)(nil)).Elem() +func (GetImageV2ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Config)(nil)).Elem() } -func (o GetLoadbalancerListenerArrayOutput) ToGetLoadbalancerListenerArrayOutput() GetLoadbalancerListenerArrayOutput { +func (o GetImageV2ConfigOutput) ToGetImageV2ConfigOutput() GetImageV2ConfigOutput { return o } -func (o GetLoadbalancerListenerArrayOutput) ToGetLoadbalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerArrayOutput { +func (o GetImageV2ConfigOutput) ToGetImageV2ConfigOutputWithContext(ctx context.Context) GetImageV2ConfigOutput { return o } -func (o GetLoadbalancerListenerArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerListenerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerListener { - return vs[0].([]GetLoadbalancerListener)[vs[1].(int)] - }).(GetLoadbalancerListenerOutput) +// Enables the BIOS bootmenu. +func (o GetImageV2ConfigOutput) BootMenu() pulumi.BoolOutput { + return o.ApplyT(func(v GetImageV2Config) bool { return v.BootMenu }).(pulumi.BoolOutput) } -type GetLoadbalancerListenerServerNameIndicator struct { - // A domain name to match in order to pass TLS traffic to the target pool in the current listener - Name *string `pulumi:"name"` +// Sets CDROM bus controller type. +func (o GetImageV2ConfigOutput) CdromBus() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.CdromBus }).(pulumi.StringOutput) } -// GetLoadbalancerListenerServerNameIndicatorInput is an input type that accepts GetLoadbalancerListenerServerNameIndicatorArgs and GetLoadbalancerListenerServerNameIndicatorOutput values. -// You can construct a concrete instance of `GetLoadbalancerListenerServerNameIndicatorInput` via: -// -// GetLoadbalancerListenerServerNameIndicatorArgs{...} -type GetLoadbalancerListenerServerNameIndicatorInput interface { - pulumi.Input - - ToGetLoadbalancerListenerServerNameIndicatorOutput() GetLoadbalancerListenerServerNameIndicatorOutput - ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(context.Context) GetLoadbalancerListenerServerNameIndicatorOutput +// Sets Disk bus controller type. +func (o GetImageV2ConfigOutput) DiskBus() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.DiskBus }).(pulumi.StringOutput) } -type GetLoadbalancerListenerServerNameIndicatorArgs struct { - // A domain name to match in order to pass TLS traffic to the target pool in the current listener - Name pulumi.StringPtrInput `pulumi:"name"` +// Sets virtual network interface model. +func (o GetImageV2ConfigOutput) NicModel() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.NicModel }).(pulumi.StringOutput) } -func (GetLoadbalancerListenerServerNameIndicatorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() +// Enables operating system specific optimizations. +func (o GetImageV2ConfigOutput) OperatingSystem() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.OperatingSystem }).(pulumi.StringOutput) } -func (i GetLoadbalancerListenerServerNameIndicatorArgs) ToGetLoadbalancerListenerServerNameIndicatorOutput() GetLoadbalancerListenerServerNameIndicatorOutput { - return i.ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(context.Background()) +// Operating system distribution. +func (o GetImageV2ConfigOutput) OperatingSystemDistro() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.OperatingSystemDistro }).(pulumi.StringOutput) } -func (i GetLoadbalancerListenerServerNameIndicatorArgs) ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerServerNameIndicatorOutput) +// Version of the operating system. +func (o GetImageV2ConfigOutput) OperatingSystemVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.OperatingSystemVersion }).(pulumi.StringOutput) } -// GetLoadbalancerListenerServerNameIndicatorArrayInput is an input type that accepts GetLoadbalancerListenerServerNameIndicatorArray and GetLoadbalancerListenerServerNameIndicatorArrayOutput values. -// You can construct a concrete instance of `GetLoadbalancerListenerServerNameIndicatorArrayInput` via: -// -// GetLoadbalancerListenerServerNameIndicatorArray{ GetLoadbalancerListenerServerNameIndicatorArgs{...} } -type GetLoadbalancerListenerServerNameIndicatorArrayInput interface { - pulumi.Input - - ToGetLoadbalancerListenerServerNameIndicatorArrayOutput() GetLoadbalancerListenerServerNameIndicatorArrayOutput - ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(context.Context) GetLoadbalancerListenerServerNameIndicatorArrayOutput +// Sets the device bus when the image is used as a rescue image. +func (o GetImageV2ConfigOutput) RescueBus() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.RescueBus }).(pulumi.StringOutput) } -type GetLoadbalancerListenerServerNameIndicatorArray []GetLoadbalancerListenerServerNameIndicatorInput - -func (GetLoadbalancerListenerServerNameIndicatorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() +// Sets the device when the image is used as a rescue image. +func (o GetImageV2ConfigOutput) RescueDevice() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.RescueDevice }).(pulumi.StringOutput) } -func (i GetLoadbalancerListenerServerNameIndicatorArray) ToGetLoadbalancerListenerServerNameIndicatorArrayOutput() GetLoadbalancerListenerServerNameIndicatorArrayOutput { - return i.ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(context.Background()) +// Enables Secure Boot. +func (o GetImageV2ConfigOutput) SecureBoot() pulumi.BoolOutput { + return o.ApplyT(func(v GetImageV2Config) bool { return v.SecureBoot }).(pulumi.BoolOutput) } -func (i GetLoadbalancerListenerServerNameIndicatorArray) ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerServerNameIndicatorArrayOutput) +// Enables UEFI boot. +func (o GetImageV2ConfigOutput) Uefi() pulumi.BoolOutput { + return o.ApplyT(func(v GetImageV2Config) bool { return v.Uefi }).(pulumi.BoolOutput) } -type GetLoadbalancerListenerServerNameIndicatorOutput struct{ *pulumi.OutputState } - -func (GetLoadbalancerListenerServerNameIndicatorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() +// Sets Graphic device model. +func (o GetImageV2ConfigOutput) VideoModel() pulumi.StringOutput { + return o.ApplyT(func(v GetImageV2Config) string { return v.VideoModel }).(pulumi.StringOutput) } -func (o GetLoadbalancerListenerServerNameIndicatorOutput) ToGetLoadbalancerListenerServerNameIndicatorOutput() GetLoadbalancerListenerServerNameIndicatorOutput { - return o +// Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. +func (o GetImageV2ConfigOutput) VirtioScsi() pulumi.BoolOutput { + return o.ApplyT(func(v GetImageV2Config) bool { return v.VirtioScsi }).(pulumi.BoolOutput) } -func (o GetLoadbalancerListenerServerNameIndicatorOutput) ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorOutput { - return o +type GetImageV2Filter struct { + // Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + Distro *string `pulumi:"distro"` + // Filter images by operating system type, such as `linux` or `windows`. + Os *string `pulumi:"os"` + // Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + SecureBoot *bool `pulumi:"secureBoot"` + // Filter images based on UEFI support. Set to `true` to match images that support UEFI. + Uefi *bool `pulumi:"uefi"` + // Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + Version *string `pulumi:"version"` } -// A domain name to match in order to pass TLS traffic to the target pool in the current listener -func (o GetLoadbalancerListenerServerNameIndicatorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetLoadbalancerListenerServerNameIndicator) *string { return v.Name }).(pulumi.StringPtrOutput) +// GetImageV2FilterInput is an input type that accepts GetImageV2FilterArgs and GetImageV2FilterOutput values. +// You can construct a concrete instance of `GetImageV2FilterInput` via: +// +// GetImageV2FilterArgs{...} +type GetImageV2FilterInput interface { + pulumi.Input + + ToGetImageV2FilterOutput() GetImageV2FilterOutput + ToGetImageV2FilterOutputWithContext(context.Context) GetImageV2FilterOutput } -type GetLoadbalancerListenerServerNameIndicatorArrayOutput struct{ *pulumi.OutputState } +type GetImageV2FilterArgs struct { + // Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + Distro pulumi.StringPtrInput `pulumi:"distro"` + // Filter images by operating system type, such as `linux` or `windows`. + Os pulumi.StringPtrInput `pulumi:"os"` + // Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + SecureBoot pulumi.BoolPtrInput `pulumi:"secureBoot"` + // Filter images based on UEFI support. Set to `true` to match images that support UEFI. + Uefi pulumi.BoolPtrInput `pulumi:"uefi"` + // Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + Version pulumi.StringPtrInput `pulumi:"version"` +} -func (GetLoadbalancerListenerServerNameIndicatorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() +func (GetImageV2FilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Filter)(nil)).Elem() } -func (o GetLoadbalancerListenerServerNameIndicatorArrayOutput) ToGetLoadbalancerListenerServerNameIndicatorArrayOutput() GetLoadbalancerListenerServerNameIndicatorArrayOutput { - return o +func (i GetImageV2FilterArgs) ToGetImageV2FilterOutput() GetImageV2FilterOutput { + return i.ToGetImageV2FilterOutputWithContext(context.Background()) } -func (o GetLoadbalancerListenerServerNameIndicatorArrayOutput) ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorArrayOutput { - return o +func (i GetImageV2FilterArgs) ToGetImageV2FilterOutputWithContext(ctx context.Context) GetImageV2FilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetImageV2FilterOutput) } -func (o GetLoadbalancerListenerServerNameIndicatorArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerListenerServerNameIndicatorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerListenerServerNameIndicator { - return vs[0].([]GetLoadbalancerListenerServerNameIndicator)[vs[1].(int)] - }).(GetLoadbalancerListenerServerNameIndicatorOutput) +func (i GetImageV2FilterArgs) ToGetImageV2FilterPtrOutput() GetImageV2FilterPtrOutput { + return i.ToGetImageV2FilterPtrOutputWithContext(context.Background()) } -type GetLoadbalancerNetwork struct { - // Openstack network ID. - NetworkId string `pulumi:"networkId"` - // The role defines how the load balancer is using the network. - Role string `pulumi:"role"` +func (i GetImageV2FilterArgs) ToGetImageV2FilterPtrOutputWithContext(ctx context.Context) GetImageV2FilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetImageV2FilterOutput).ToGetImageV2FilterPtrOutputWithContext(ctx) } -// GetLoadbalancerNetworkInput is an input type that accepts GetLoadbalancerNetworkArgs and GetLoadbalancerNetworkOutput values. -// You can construct a concrete instance of `GetLoadbalancerNetworkInput` via: +// GetImageV2FilterPtrInput is an input type that accepts GetImageV2FilterArgs, GetImageV2FilterPtr and GetImageV2FilterPtrOutput values. +// You can construct a concrete instance of `GetImageV2FilterPtrInput` via: // -// GetLoadbalancerNetworkArgs{...} -type GetLoadbalancerNetworkInput interface { +// GetImageV2FilterArgs{...} +// +// or: +// +// nil +type GetImageV2FilterPtrInput interface { pulumi.Input - ToGetLoadbalancerNetworkOutput() GetLoadbalancerNetworkOutput - ToGetLoadbalancerNetworkOutputWithContext(context.Context) GetLoadbalancerNetworkOutput + ToGetImageV2FilterPtrOutput() GetImageV2FilterPtrOutput + ToGetImageV2FilterPtrOutputWithContext(context.Context) GetImageV2FilterPtrOutput } -type GetLoadbalancerNetworkArgs struct { - // Openstack network ID. - NetworkId pulumi.StringInput `pulumi:"networkId"` - // The role defines how the load balancer is using the network. - Role pulumi.StringInput `pulumi:"role"` +type getImageV2FilterPtrType GetImageV2FilterArgs + +func GetImageV2FilterPtr(v *GetImageV2FilterArgs) GetImageV2FilterPtrInput { + return (*getImageV2FilterPtrType)(v) } -func (GetLoadbalancerNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerNetwork)(nil)).Elem() +func (*getImageV2FilterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetImageV2Filter)(nil)).Elem() } -func (i GetLoadbalancerNetworkArgs) ToGetLoadbalancerNetworkOutput() GetLoadbalancerNetworkOutput { - return i.ToGetLoadbalancerNetworkOutputWithContext(context.Background()) +func (i *getImageV2FilterPtrType) ToGetImageV2FilterPtrOutput() GetImageV2FilterPtrOutput { + return i.ToGetImageV2FilterPtrOutputWithContext(context.Background()) } -func (i GetLoadbalancerNetworkArgs) ToGetLoadbalancerNetworkOutputWithContext(ctx context.Context) GetLoadbalancerNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerNetworkOutput) +func (i *getImageV2FilterPtrType) ToGetImageV2FilterPtrOutputWithContext(ctx context.Context) GetImageV2FilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetImageV2FilterPtrOutput) } -// GetLoadbalancerNetworkArrayInput is an input type that accepts GetLoadbalancerNetworkArray and GetLoadbalancerNetworkArrayOutput values. -// You can construct a concrete instance of `GetLoadbalancerNetworkArrayInput` via: -// -// GetLoadbalancerNetworkArray{ GetLoadbalancerNetworkArgs{...} } -type GetLoadbalancerNetworkArrayInput interface { - pulumi.Input +type GetImageV2FilterOutput struct{ *pulumi.OutputState } - ToGetLoadbalancerNetworkArrayOutput() GetLoadbalancerNetworkArrayOutput - ToGetLoadbalancerNetworkArrayOutputWithContext(context.Context) GetLoadbalancerNetworkArrayOutput +func (GetImageV2FilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetImageV2Filter)(nil)).Elem() } -type GetLoadbalancerNetworkArray []GetLoadbalancerNetworkInput - -func (GetLoadbalancerNetworkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerNetwork)(nil)).Elem() +func (o GetImageV2FilterOutput) ToGetImageV2FilterOutput() GetImageV2FilterOutput { + return o } -func (i GetLoadbalancerNetworkArray) ToGetLoadbalancerNetworkArrayOutput() GetLoadbalancerNetworkArrayOutput { - return i.ToGetLoadbalancerNetworkArrayOutputWithContext(context.Background()) +func (o GetImageV2FilterOutput) ToGetImageV2FilterOutputWithContext(ctx context.Context) GetImageV2FilterOutput { + return o } -func (i GetLoadbalancerNetworkArray) ToGetLoadbalancerNetworkArrayOutputWithContext(ctx context.Context) GetLoadbalancerNetworkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerNetworkArrayOutput) +func (o GetImageV2FilterOutput) ToGetImageV2FilterPtrOutput() GetImageV2FilterPtrOutput { + return o.ToGetImageV2FilterPtrOutputWithContext(context.Background()) } -type GetLoadbalancerNetworkOutput struct{ *pulumi.OutputState } +func (o GetImageV2FilterOutput) ToGetImageV2FilterPtrOutputWithContext(ctx context.Context) GetImageV2FilterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetImageV2Filter) *GetImageV2Filter { + return &v + }).(GetImageV2FilterPtrOutput) +} -func (GetLoadbalancerNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerNetwork)(nil)).Elem() +// Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. +func (o GetImageV2FilterOutput) Distro() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetImageV2Filter) *string { return v.Distro }).(pulumi.StringPtrOutput) } -func (o GetLoadbalancerNetworkOutput) ToGetLoadbalancerNetworkOutput() GetLoadbalancerNetworkOutput { - return o +// Filter images by operating system type, such as `linux` or `windows`. +func (o GetImageV2FilterOutput) Os() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetImageV2Filter) *string { return v.Os }).(pulumi.StringPtrOutput) } -func (o GetLoadbalancerNetworkOutput) ToGetLoadbalancerNetworkOutputWithContext(ctx context.Context) GetLoadbalancerNetworkOutput { - return o +// Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. +func (o GetImageV2FilterOutput) SecureBoot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetImageV2Filter) *bool { return v.SecureBoot }).(pulumi.BoolPtrOutput) } -// Openstack network ID. -func (o GetLoadbalancerNetworkOutput) NetworkId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerNetwork) string { return v.NetworkId }).(pulumi.StringOutput) +// Filter images based on UEFI support. Set to `true` to match images that support UEFI. +func (o GetImageV2FilterOutput) Uefi() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetImageV2Filter) *bool { return v.Uefi }).(pulumi.BoolPtrOutput) } -// The role defines how the load balancer is using the network. -func (o GetLoadbalancerNetworkOutput) Role() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerNetwork) string { return v.Role }).(pulumi.StringOutput) +// Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. +func (o GetImageV2FilterOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetImageV2Filter) *string { return v.Version }).(pulumi.StringPtrOutput) } -type GetLoadbalancerNetworkArrayOutput struct{ *pulumi.OutputState } +type GetImageV2FilterPtrOutput struct{ *pulumi.OutputState } -func (GetLoadbalancerNetworkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerNetwork)(nil)).Elem() +func (GetImageV2FilterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetImageV2Filter)(nil)).Elem() } -func (o GetLoadbalancerNetworkArrayOutput) ToGetLoadbalancerNetworkArrayOutput() GetLoadbalancerNetworkArrayOutput { +func (o GetImageV2FilterPtrOutput) ToGetImageV2FilterPtrOutput() GetImageV2FilterPtrOutput { return o } -func (o GetLoadbalancerNetworkArrayOutput) ToGetLoadbalancerNetworkArrayOutputWithContext(ctx context.Context) GetLoadbalancerNetworkArrayOutput { +func (o GetImageV2FilterPtrOutput) ToGetImageV2FilterPtrOutputWithContext(ctx context.Context) GetImageV2FilterPtrOutput { return o } -func (o GetLoadbalancerNetworkArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerNetworkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerNetwork { - return vs[0].([]GetLoadbalancerNetwork)[vs[1].(int)] - }).(GetLoadbalancerNetworkOutput) -} - -type GetLoadbalancerOptions struct { - // Load Balancer is accessible only from an IP address in this range. - Acls []string `pulumi:"acls"` - // We offer Load Balancer metrics observability via ARGUS or external solutions. - Observability GetLoadbalancerOptionsObservability `pulumi:"observability"` - // If true, Load Balancer is accessible only via a private network IP address. - PrivateNetworkOnly bool `pulumi:"privateNetworkOnly"` +func (o GetImageV2FilterPtrOutput) Elem() GetImageV2FilterOutput { + return o.ApplyT(func(v *GetImageV2Filter) GetImageV2Filter { + if v != nil { + return *v + } + var ret GetImageV2Filter + return ret + }).(GetImageV2FilterOutput) } -// GetLoadbalancerOptionsInput is an input type that accepts GetLoadbalancerOptionsArgs and GetLoadbalancerOptionsOutput values. -// You can construct a concrete instance of `GetLoadbalancerOptionsInput` via: -// -// GetLoadbalancerOptionsArgs{...} -type GetLoadbalancerOptionsInput interface { - pulumi.Input - - ToGetLoadbalancerOptionsOutput() GetLoadbalancerOptionsOutput - ToGetLoadbalancerOptionsOutputWithContext(context.Context) GetLoadbalancerOptionsOutput +// Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. +func (o GetImageV2FilterPtrOutput) Distro() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetImageV2Filter) *string { + if v == nil { + return nil + } + return v.Distro + }).(pulumi.StringPtrOutput) } -type GetLoadbalancerOptionsArgs struct { - // Load Balancer is accessible only from an IP address in this range. - Acls pulumi.StringArrayInput `pulumi:"acls"` - // We offer Load Balancer metrics observability via ARGUS or external solutions. - Observability GetLoadbalancerOptionsObservabilityInput `pulumi:"observability"` - // If true, Load Balancer is accessible only via a private network IP address. - PrivateNetworkOnly pulumi.BoolInput `pulumi:"privateNetworkOnly"` +// Filter images by operating system type, such as `linux` or `windows`. +func (o GetImageV2FilterPtrOutput) Os() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetImageV2Filter) *string { + if v == nil { + return nil + } + return v.Os + }).(pulumi.StringPtrOutput) } -func (GetLoadbalancerOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptions)(nil)).Elem() +// Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. +func (o GetImageV2FilterPtrOutput) SecureBoot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetImageV2Filter) *bool { + if v == nil { + return nil + } + return v.SecureBoot + }).(pulumi.BoolPtrOutput) } -func (i GetLoadbalancerOptionsArgs) ToGetLoadbalancerOptionsOutput() GetLoadbalancerOptionsOutput { - return i.ToGetLoadbalancerOptionsOutputWithContext(context.Background()) +// Filter images based on UEFI support. Set to `true` to match images that support UEFI. +func (o GetImageV2FilterPtrOutput) Uefi() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetImageV2Filter) *bool { + if v == nil { + return nil + } + return v.Uefi + }).(pulumi.BoolPtrOutput) } -func (i GetLoadbalancerOptionsArgs) ToGetLoadbalancerOptionsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsOutput) +// Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. +func (o GetImageV2FilterPtrOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetImageV2Filter) *string { + if v == nil { + return nil + } + return v.Version + }).(pulumi.StringPtrOutput) } -type GetLoadbalancerOptionsOutput struct{ *pulumi.OutputState } - -func (GetLoadbalancerOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptions)(nil)).Elem() +type GetLoadbalancerListener struct { + DisplayName string `pulumi:"displayName"` + // Port number where we listen for traffic. + Port int `pulumi:"port"` + // Protocol is the highest network protocol we understand to load balance. + Protocol string `pulumi:"protocol"` + // A list of domain names to match in order to pass TLS traffic to the target pool in the current listener + ServerNameIndicators []GetLoadbalancerListenerServerNameIndicator `pulumi:"serverNameIndicators"` + // Reference target pool by target pool name. + TargetPool string `pulumi:"targetPool"` } -func (o GetLoadbalancerOptionsOutput) ToGetLoadbalancerOptionsOutput() GetLoadbalancerOptionsOutput { - return o -} +// GetLoadbalancerListenerInput is an input type that accepts GetLoadbalancerListenerArgs and GetLoadbalancerListenerOutput values. +// You can construct a concrete instance of `GetLoadbalancerListenerInput` via: +// +// GetLoadbalancerListenerArgs{...} +type GetLoadbalancerListenerInput interface { + pulumi.Input -func (o GetLoadbalancerOptionsOutput) ToGetLoadbalancerOptionsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsOutput { - return o + ToGetLoadbalancerListenerOutput() GetLoadbalancerListenerOutput + ToGetLoadbalancerListenerOutputWithContext(context.Context) GetLoadbalancerListenerOutput } -// Load Balancer is accessible only from an IP address in this range. -func (o GetLoadbalancerOptionsOutput) Acls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadbalancerOptions) []string { return v.Acls }).(pulumi.StringArrayOutput) +type GetLoadbalancerListenerArgs struct { + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Port number where we listen for traffic. + Port pulumi.IntInput `pulumi:"port"` + // Protocol is the highest network protocol we understand to load balance. + Protocol pulumi.StringInput `pulumi:"protocol"` + // A list of domain names to match in order to pass TLS traffic to the target pool in the current listener + ServerNameIndicators GetLoadbalancerListenerServerNameIndicatorArrayInput `pulumi:"serverNameIndicators"` + // Reference target pool by target pool name. + TargetPool pulumi.StringInput `pulumi:"targetPool"` } -// We offer Load Balancer metrics observability via ARGUS or external solutions. -func (o GetLoadbalancerOptionsOutput) Observability() GetLoadbalancerOptionsObservabilityOutput { - return o.ApplyT(func(v GetLoadbalancerOptions) GetLoadbalancerOptionsObservability { return v.Observability }).(GetLoadbalancerOptionsObservabilityOutput) +func (GetLoadbalancerListenerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerListener)(nil)).Elem() } -// If true, Load Balancer is accessible only via a private network IP address. -func (o GetLoadbalancerOptionsOutput) PrivateNetworkOnly() pulumi.BoolOutput { - return o.ApplyT(func(v GetLoadbalancerOptions) bool { return v.PrivateNetworkOnly }).(pulumi.BoolOutput) +func (i GetLoadbalancerListenerArgs) ToGetLoadbalancerListenerOutput() GetLoadbalancerListenerOutput { + return i.ToGetLoadbalancerListenerOutputWithContext(context.Background()) } -type GetLoadbalancerOptionsObservability struct { - // Observability logs configuration. - Logs GetLoadbalancerOptionsObservabilityLogs `pulumi:"logs"` - // Observability metrics configuration. - Metrics GetLoadbalancerOptionsObservabilityMetrics `pulumi:"metrics"` +func (i GetLoadbalancerListenerArgs) ToGetLoadbalancerListenerOutputWithContext(ctx context.Context) GetLoadbalancerListenerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerOutput) } -// GetLoadbalancerOptionsObservabilityInput is an input type that accepts GetLoadbalancerOptionsObservabilityArgs and GetLoadbalancerOptionsObservabilityOutput values. -// You can construct a concrete instance of `GetLoadbalancerOptionsObservabilityInput` via: +// GetLoadbalancerListenerArrayInput is an input type that accepts GetLoadbalancerListenerArray and GetLoadbalancerListenerArrayOutput values. +// You can construct a concrete instance of `GetLoadbalancerListenerArrayInput` via: // -// GetLoadbalancerOptionsObservabilityArgs{...} -type GetLoadbalancerOptionsObservabilityInput interface { +// GetLoadbalancerListenerArray{ GetLoadbalancerListenerArgs{...} } +type GetLoadbalancerListenerArrayInput interface { pulumi.Input - ToGetLoadbalancerOptionsObservabilityOutput() GetLoadbalancerOptionsObservabilityOutput - ToGetLoadbalancerOptionsObservabilityOutputWithContext(context.Context) GetLoadbalancerOptionsObservabilityOutput + ToGetLoadbalancerListenerArrayOutput() GetLoadbalancerListenerArrayOutput + ToGetLoadbalancerListenerArrayOutputWithContext(context.Context) GetLoadbalancerListenerArrayOutput } -type GetLoadbalancerOptionsObservabilityArgs struct { - // Observability logs configuration. - Logs GetLoadbalancerOptionsObservabilityLogsInput `pulumi:"logs"` - // Observability metrics configuration. - Metrics GetLoadbalancerOptionsObservabilityMetricsInput `pulumi:"metrics"` -} +type GetLoadbalancerListenerArray []GetLoadbalancerListenerInput -func (GetLoadbalancerOptionsObservabilityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptionsObservability)(nil)).Elem() +func (GetLoadbalancerListenerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerListener)(nil)).Elem() } -func (i GetLoadbalancerOptionsObservabilityArgs) ToGetLoadbalancerOptionsObservabilityOutput() GetLoadbalancerOptionsObservabilityOutput { - return i.ToGetLoadbalancerOptionsObservabilityOutputWithContext(context.Background()) +func (i GetLoadbalancerListenerArray) ToGetLoadbalancerListenerArrayOutput() GetLoadbalancerListenerArrayOutput { + return i.ToGetLoadbalancerListenerArrayOutputWithContext(context.Background()) } -func (i GetLoadbalancerOptionsObservabilityArgs) ToGetLoadbalancerOptionsObservabilityOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsObservabilityOutput) +func (i GetLoadbalancerListenerArray) ToGetLoadbalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerArrayOutput) } -type GetLoadbalancerOptionsObservabilityOutput struct{ *pulumi.OutputState } +type GetLoadbalancerListenerOutput struct{ *pulumi.OutputState } -func (GetLoadbalancerOptionsObservabilityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptionsObservability)(nil)).Elem() +func (GetLoadbalancerListenerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerListener)(nil)).Elem() } -func (o GetLoadbalancerOptionsObservabilityOutput) ToGetLoadbalancerOptionsObservabilityOutput() GetLoadbalancerOptionsObservabilityOutput { +func (o GetLoadbalancerListenerOutput) ToGetLoadbalancerListenerOutput() GetLoadbalancerListenerOutput { return o } -func (o GetLoadbalancerOptionsObservabilityOutput) ToGetLoadbalancerOptionsObservabilityOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityOutput { +func (o GetLoadbalancerListenerOutput) ToGetLoadbalancerListenerOutputWithContext(ctx context.Context) GetLoadbalancerListenerOutput { return o } -// Observability logs configuration. -func (o GetLoadbalancerOptionsObservabilityOutput) Logs() GetLoadbalancerOptionsObservabilityLogsOutput { - return o.ApplyT(func(v GetLoadbalancerOptionsObservability) GetLoadbalancerOptionsObservabilityLogs { return v.Logs }).(GetLoadbalancerOptionsObservabilityLogsOutput) +func (o GetLoadbalancerListenerOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerListener) string { return v.DisplayName }).(pulumi.StringOutput) } -// Observability metrics configuration. -func (o GetLoadbalancerOptionsObservabilityOutput) Metrics() GetLoadbalancerOptionsObservabilityMetricsOutput { - return o.ApplyT(func(v GetLoadbalancerOptionsObservability) GetLoadbalancerOptionsObservabilityMetrics { - return v.Metrics - }).(GetLoadbalancerOptionsObservabilityMetricsOutput) +// Port number where we listen for traffic. +func (o GetLoadbalancerListenerOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetLoadbalancerListener) int { return v.Port }).(pulumi.IntOutput) } -type GetLoadbalancerOptionsObservabilityLogs struct { - // Credentials reference for logs. - CredentialsRef string `pulumi:"credentialsRef"` - // Credentials reference for logs. - PushUrl string `pulumi:"pushUrl"` +// Protocol is the highest network protocol we understand to load balance. +func (o GetLoadbalancerListenerOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerListener) string { return v.Protocol }).(pulumi.StringOutput) } -// GetLoadbalancerOptionsObservabilityLogsInput is an input type that accepts GetLoadbalancerOptionsObservabilityLogsArgs and GetLoadbalancerOptionsObservabilityLogsOutput values. -// You can construct a concrete instance of `GetLoadbalancerOptionsObservabilityLogsInput` via: -// -// GetLoadbalancerOptionsObservabilityLogsArgs{...} -type GetLoadbalancerOptionsObservabilityLogsInput interface { - pulumi.Input - - ToGetLoadbalancerOptionsObservabilityLogsOutput() GetLoadbalancerOptionsObservabilityLogsOutput - ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(context.Context) GetLoadbalancerOptionsObservabilityLogsOutput +// A list of domain names to match in order to pass TLS traffic to the target pool in the current listener +func (o GetLoadbalancerListenerOutput) ServerNameIndicators() GetLoadbalancerListenerServerNameIndicatorArrayOutput { + return o.ApplyT(func(v GetLoadbalancerListener) []GetLoadbalancerListenerServerNameIndicator { + return v.ServerNameIndicators + }).(GetLoadbalancerListenerServerNameIndicatorArrayOutput) } -type GetLoadbalancerOptionsObservabilityLogsArgs struct { - // Credentials reference for logs. - CredentialsRef pulumi.StringInput `pulumi:"credentialsRef"` - // Credentials reference for logs. - PushUrl pulumi.StringInput `pulumi:"pushUrl"` +// Reference target pool by target pool name. +func (o GetLoadbalancerListenerOutput) TargetPool() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerListener) string { return v.TargetPool }).(pulumi.StringOutput) } -func (GetLoadbalancerOptionsObservabilityLogsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityLogs)(nil)).Elem() +type GetLoadbalancerListenerArrayOutput struct{ *pulumi.OutputState } + +func (GetLoadbalancerListenerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerListener)(nil)).Elem() } -func (i GetLoadbalancerOptionsObservabilityLogsArgs) ToGetLoadbalancerOptionsObservabilityLogsOutput() GetLoadbalancerOptionsObservabilityLogsOutput { - return i.ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(context.Background()) +func (o GetLoadbalancerListenerArrayOutput) ToGetLoadbalancerListenerArrayOutput() GetLoadbalancerListenerArrayOutput { + return o } -func (i GetLoadbalancerOptionsObservabilityLogsArgs) ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityLogsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsObservabilityLogsOutput) +func (o GetLoadbalancerListenerArrayOutput) ToGetLoadbalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerArrayOutput { + return o } -type GetLoadbalancerOptionsObservabilityLogsOutput struct{ *pulumi.OutputState } +func (o GetLoadbalancerListenerArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerListenerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerListener { + return vs[0].([]GetLoadbalancerListener)[vs[1].(int)] + }).(GetLoadbalancerListenerOutput) +} -func (GetLoadbalancerOptionsObservabilityLogsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityLogs)(nil)).Elem() +type GetLoadbalancerListenerServerNameIndicator struct { + // A domain name to match in order to pass TLS traffic to the target pool in the current listener + Name *string `pulumi:"name"` } -func (o GetLoadbalancerOptionsObservabilityLogsOutput) ToGetLoadbalancerOptionsObservabilityLogsOutput() GetLoadbalancerOptionsObservabilityLogsOutput { - return o +// GetLoadbalancerListenerServerNameIndicatorInput is an input type that accepts GetLoadbalancerListenerServerNameIndicatorArgs and GetLoadbalancerListenerServerNameIndicatorOutput values. +// You can construct a concrete instance of `GetLoadbalancerListenerServerNameIndicatorInput` via: +// +// GetLoadbalancerListenerServerNameIndicatorArgs{...} +type GetLoadbalancerListenerServerNameIndicatorInput interface { + pulumi.Input + + ToGetLoadbalancerListenerServerNameIndicatorOutput() GetLoadbalancerListenerServerNameIndicatorOutput + ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(context.Context) GetLoadbalancerListenerServerNameIndicatorOutput } -func (o GetLoadbalancerOptionsObservabilityLogsOutput) ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityLogsOutput { - return o +type GetLoadbalancerListenerServerNameIndicatorArgs struct { + // A domain name to match in order to pass TLS traffic to the target pool in the current listener + Name pulumi.StringPtrInput `pulumi:"name"` } -// Credentials reference for logs. -func (o GetLoadbalancerOptionsObservabilityLogsOutput) CredentialsRef() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityLogs) string { return v.CredentialsRef }).(pulumi.StringOutput) +func (GetLoadbalancerListenerServerNameIndicatorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() } -// Credentials reference for logs. -func (o GetLoadbalancerOptionsObservabilityLogsOutput) PushUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityLogs) string { return v.PushUrl }).(pulumi.StringOutput) +func (i GetLoadbalancerListenerServerNameIndicatorArgs) ToGetLoadbalancerListenerServerNameIndicatorOutput() GetLoadbalancerListenerServerNameIndicatorOutput { + return i.ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(context.Background()) } -type GetLoadbalancerOptionsObservabilityMetrics struct { - // Credentials reference for metrics. - CredentialsRef string `pulumi:"credentialsRef"` - // Credentials reference for metrics. - PushUrl string `pulumi:"pushUrl"` +func (i GetLoadbalancerListenerServerNameIndicatorArgs) ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerServerNameIndicatorOutput) } -// GetLoadbalancerOptionsObservabilityMetricsInput is an input type that accepts GetLoadbalancerOptionsObservabilityMetricsArgs and GetLoadbalancerOptionsObservabilityMetricsOutput values. -// You can construct a concrete instance of `GetLoadbalancerOptionsObservabilityMetricsInput` via: +// GetLoadbalancerListenerServerNameIndicatorArrayInput is an input type that accepts GetLoadbalancerListenerServerNameIndicatorArray and GetLoadbalancerListenerServerNameIndicatorArrayOutput values. +// You can construct a concrete instance of `GetLoadbalancerListenerServerNameIndicatorArrayInput` via: // -// GetLoadbalancerOptionsObservabilityMetricsArgs{...} -type GetLoadbalancerOptionsObservabilityMetricsInput interface { +// GetLoadbalancerListenerServerNameIndicatorArray{ GetLoadbalancerListenerServerNameIndicatorArgs{...} } +type GetLoadbalancerListenerServerNameIndicatorArrayInput interface { pulumi.Input - ToGetLoadbalancerOptionsObservabilityMetricsOutput() GetLoadbalancerOptionsObservabilityMetricsOutput - ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(context.Context) GetLoadbalancerOptionsObservabilityMetricsOutput + ToGetLoadbalancerListenerServerNameIndicatorArrayOutput() GetLoadbalancerListenerServerNameIndicatorArrayOutput + ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(context.Context) GetLoadbalancerListenerServerNameIndicatorArrayOutput } -type GetLoadbalancerOptionsObservabilityMetricsArgs struct { - // Credentials reference for metrics. - CredentialsRef pulumi.StringInput `pulumi:"credentialsRef"` - // Credentials reference for metrics. - PushUrl pulumi.StringInput `pulumi:"pushUrl"` -} +type GetLoadbalancerListenerServerNameIndicatorArray []GetLoadbalancerListenerServerNameIndicatorInput -func (GetLoadbalancerOptionsObservabilityMetricsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityMetrics)(nil)).Elem() +func (GetLoadbalancerListenerServerNameIndicatorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() } -func (i GetLoadbalancerOptionsObservabilityMetricsArgs) ToGetLoadbalancerOptionsObservabilityMetricsOutput() GetLoadbalancerOptionsObservabilityMetricsOutput { - return i.ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(context.Background()) +func (i GetLoadbalancerListenerServerNameIndicatorArray) ToGetLoadbalancerListenerServerNameIndicatorArrayOutput() GetLoadbalancerListenerServerNameIndicatorArrayOutput { + return i.ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(context.Background()) } -func (i GetLoadbalancerOptionsObservabilityMetricsArgs) ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityMetricsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsObservabilityMetricsOutput) +func (i GetLoadbalancerListenerServerNameIndicatorArray) ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerListenerServerNameIndicatorArrayOutput) } -type GetLoadbalancerOptionsObservabilityMetricsOutput struct{ *pulumi.OutputState } +type GetLoadbalancerListenerServerNameIndicatorOutput struct{ *pulumi.OutputState } -func (GetLoadbalancerOptionsObservabilityMetricsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityMetrics)(nil)).Elem() +func (GetLoadbalancerListenerServerNameIndicatorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() } -func (o GetLoadbalancerOptionsObservabilityMetricsOutput) ToGetLoadbalancerOptionsObservabilityMetricsOutput() GetLoadbalancerOptionsObservabilityMetricsOutput { +func (o GetLoadbalancerListenerServerNameIndicatorOutput) ToGetLoadbalancerListenerServerNameIndicatorOutput() GetLoadbalancerListenerServerNameIndicatorOutput { return o } -func (o GetLoadbalancerOptionsObservabilityMetricsOutput) ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityMetricsOutput { +func (o GetLoadbalancerListenerServerNameIndicatorOutput) ToGetLoadbalancerListenerServerNameIndicatorOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorOutput { return o } -// Credentials reference for metrics. -func (o GetLoadbalancerOptionsObservabilityMetricsOutput) CredentialsRef() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityMetrics) string { return v.CredentialsRef }).(pulumi.StringOutput) +// A domain name to match in order to pass TLS traffic to the target pool in the current listener +func (o GetLoadbalancerListenerServerNameIndicatorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetLoadbalancerListenerServerNameIndicator) *string { return v.Name }).(pulumi.StringPtrOutput) } -// Credentials reference for metrics. -func (o GetLoadbalancerOptionsObservabilityMetricsOutput) PushUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityMetrics) string { return v.PushUrl }).(pulumi.StringOutput) +type GetLoadbalancerListenerServerNameIndicatorArrayOutput struct{ *pulumi.OutputState } + +func (GetLoadbalancerListenerServerNameIndicatorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerListenerServerNameIndicator)(nil)).Elem() } -type GetLoadbalancerTargetPool struct { - ActiveHealthCheck GetLoadbalancerTargetPoolActiveHealthCheck `pulumi:"activeHealthCheck"` - // Target pool name. - Name string `pulumi:"name"` - // Here you can setup various session persistence options, so far only "`useSourceIpAddress`" is supported. - SessionPersistence *GetLoadbalancerTargetPoolSessionPersistence `pulumi:"sessionPersistence"` - // Identical port number where each target listens for traffic. - TargetPort int `pulumi:"targetPort"` - // List of all targets which will be used in the pool. Limited to 1000. - Targets []GetLoadbalancerTargetPoolTarget `pulumi:"targets"` +func (o GetLoadbalancerListenerServerNameIndicatorArrayOutput) ToGetLoadbalancerListenerServerNameIndicatorArrayOutput() GetLoadbalancerListenerServerNameIndicatorArrayOutput { + return o } -// GetLoadbalancerTargetPoolInput is an input type that accepts GetLoadbalancerTargetPoolArgs and GetLoadbalancerTargetPoolOutput values. -// You can construct a concrete instance of `GetLoadbalancerTargetPoolInput` via: +func (o GetLoadbalancerListenerServerNameIndicatorArrayOutput) ToGetLoadbalancerListenerServerNameIndicatorArrayOutputWithContext(ctx context.Context) GetLoadbalancerListenerServerNameIndicatorArrayOutput { + return o +} + +func (o GetLoadbalancerListenerServerNameIndicatorArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerListenerServerNameIndicatorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerListenerServerNameIndicator { + return vs[0].([]GetLoadbalancerListenerServerNameIndicator)[vs[1].(int)] + }).(GetLoadbalancerListenerServerNameIndicatorOutput) +} + +type GetLoadbalancerNetwork struct { + // Openstack network ID. + NetworkId string `pulumi:"networkId"` + // The role defines how the load balancer is using the network. + Role string `pulumi:"role"` +} + +// GetLoadbalancerNetworkInput is an input type that accepts GetLoadbalancerNetworkArgs and GetLoadbalancerNetworkOutput values. +// You can construct a concrete instance of `GetLoadbalancerNetworkInput` via: // -// GetLoadbalancerTargetPoolArgs{...} -type GetLoadbalancerTargetPoolInput interface { +// GetLoadbalancerNetworkArgs{...} +type GetLoadbalancerNetworkInput interface { pulumi.Input - ToGetLoadbalancerTargetPoolOutput() GetLoadbalancerTargetPoolOutput - ToGetLoadbalancerTargetPoolOutputWithContext(context.Context) GetLoadbalancerTargetPoolOutput + ToGetLoadbalancerNetworkOutput() GetLoadbalancerNetworkOutput + ToGetLoadbalancerNetworkOutputWithContext(context.Context) GetLoadbalancerNetworkOutput } -type GetLoadbalancerTargetPoolArgs struct { - ActiveHealthCheck GetLoadbalancerTargetPoolActiveHealthCheckInput `pulumi:"activeHealthCheck"` - // Target pool name. - Name pulumi.StringInput `pulumi:"name"` - // Here you can setup various session persistence options, so far only "`useSourceIpAddress`" is supported. - SessionPersistence GetLoadbalancerTargetPoolSessionPersistencePtrInput `pulumi:"sessionPersistence"` - // Identical port number where each target listens for traffic. - TargetPort pulumi.IntInput `pulumi:"targetPort"` - // List of all targets which will be used in the pool. Limited to 1000. - Targets GetLoadbalancerTargetPoolTargetArrayInput `pulumi:"targets"` +type GetLoadbalancerNetworkArgs struct { + // Openstack network ID. + NetworkId pulumi.StringInput `pulumi:"networkId"` + // The role defines how the load balancer is using the network. + Role pulumi.StringInput `pulumi:"role"` } -func (GetLoadbalancerTargetPoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPool)(nil)).Elem() +func (GetLoadbalancerNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerNetwork)(nil)).Elem() } -func (i GetLoadbalancerTargetPoolArgs) ToGetLoadbalancerTargetPoolOutput() GetLoadbalancerTargetPoolOutput { - return i.ToGetLoadbalancerTargetPoolOutputWithContext(context.Background()) +func (i GetLoadbalancerNetworkArgs) ToGetLoadbalancerNetworkOutput() GetLoadbalancerNetworkOutput { + return i.ToGetLoadbalancerNetworkOutputWithContext(context.Background()) } -func (i GetLoadbalancerTargetPoolArgs) ToGetLoadbalancerTargetPoolOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolOutput) +func (i GetLoadbalancerNetworkArgs) ToGetLoadbalancerNetworkOutputWithContext(ctx context.Context) GetLoadbalancerNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerNetworkOutput) } -// GetLoadbalancerTargetPoolArrayInput is an input type that accepts GetLoadbalancerTargetPoolArray and GetLoadbalancerTargetPoolArrayOutput values. -// You can construct a concrete instance of `GetLoadbalancerTargetPoolArrayInput` via: +// GetLoadbalancerNetworkArrayInput is an input type that accepts GetLoadbalancerNetworkArray and GetLoadbalancerNetworkArrayOutput values. +// You can construct a concrete instance of `GetLoadbalancerNetworkArrayInput` via: // -// GetLoadbalancerTargetPoolArray{ GetLoadbalancerTargetPoolArgs{...} } -type GetLoadbalancerTargetPoolArrayInput interface { +// GetLoadbalancerNetworkArray{ GetLoadbalancerNetworkArgs{...} } +type GetLoadbalancerNetworkArrayInput interface { pulumi.Input - ToGetLoadbalancerTargetPoolArrayOutput() GetLoadbalancerTargetPoolArrayOutput - ToGetLoadbalancerTargetPoolArrayOutputWithContext(context.Context) GetLoadbalancerTargetPoolArrayOutput + ToGetLoadbalancerNetworkArrayOutput() GetLoadbalancerNetworkArrayOutput + ToGetLoadbalancerNetworkArrayOutputWithContext(context.Context) GetLoadbalancerNetworkArrayOutput } -type GetLoadbalancerTargetPoolArray []GetLoadbalancerTargetPoolInput +type GetLoadbalancerNetworkArray []GetLoadbalancerNetworkInput -func (GetLoadbalancerTargetPoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerTargetPool)(nil)).Elem() +func (GetLoadbalancerNetworkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerNetwork)(nil)).Elem() } -func (i GetLoadbalancerTargetPoolArray) ToGetLoadbalancerTargetPoolArrayOutput() GetLoadbalancerTargetPoolArrayOutput { - return i.ToGetLoadbalancerTargetPoolArrayOutputWithContext(context.Background()) +func (i GetLoadbalancerNetworkArray) ToGetLoadbalancerNetworkArrayOutput() GetLoadbalancerNetworkArrayOutput { + return i.ToGetLoadbalancerNetworkArrayOutputWithContext(context.Background()) } -func (i GetLoadbalancerTargetPoolArray) ToGetLoadbalancerTargetPoolArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolArrayOutput) +func (i GetLoadbalancerNetworkArray) ToGetLoadbalancerNetworkArrayOutputWithContext(ctx context.Context) GetLoadbalancerNetworkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerNetworkArrayOutput) } -type GetLoadbalancerTargetPoolOutput struct{ *pulumi.OutputState } +type GetLoadbalancerNetworkOutput struct{ *pulumi.OutputState } -func (GetLoadbalancerTargetPoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPool)(nil)).Elem() +func (GetLoadbalancerNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerNetwork)(nil)).Elem() } -func (o GetLoadbalancerTargetPoolOutput) ToGetLoadbalancerTargetPoolOutput() GetLoadbalancerTargetPoolOutput { +func (o GetLoadbalancerNetworkOutput) ToGetLoadbalancerNetworkOutput() GetLoadbalancerNetworkOutput { return o } -func (o GetLoadbalancerTargetPoolOutput) ToGetLoadbalancerTargetPoolOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolOutput { +func (o GetLoadbalancerNetworkOutput) ToGetLoadbalancerNetworkOutputWithContext(ctx context.Context) GetLoadbalancerNetworkOutput { return o } -func (o GetLoadbalancerTargetPoolOutput) ActiveHealthCheck() GetLoadbalancerTargetPoolActiveHealthCheckOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPool) GetLoadbalancerTargetPoolActiveHealthCheck { - return v.ActiveHealthCheck - }).(GetLoadbalancerTargetPoolActiveHealthCheckOutput) -} - -// Target pool name. -func (o GetLoadbalancerTargetPoolOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPool) string { return v.Name }).(pulumi.StringOutput) -} - -// Here you can setup various session persistence options, so far only "`useSourceIpAddress`" is supported. -func (o GetLoadbalancerTargetPoolOutput) SessionPersistence() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPool) *GetLoadbalancerTargetPoolSessionPersistence { - return v.SessionPersistence - }).(GetLoadbalancerTargetPoolSessionPersistencePtrOutput) -} - -// Identical port number where each target listens for traffic. -func (o GetLoadbalancerTargetPoolOutput) TargetPort() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPool) int { return v.TargetPort }).(pulumi.IntOutput) +// Openstack network ID. +func (o GetLoadbalancerNetworkOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerNetwork) string { return v.NetworkId }).(pulumi.StringOutput) } -// List of all targets which will be used in the pool. Limited to 1000. -func (o GetLoadbalancerTargetPoolOutput) Targets() GetLoadbalancerTargetPoolTargetArrayOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPool) []GetLoadbalancerTargetPoolTarget { return v.Targets }).(GetLoadbalancerTargetPoolTargetArrayOutput) +// The role defines how the load balancer is using the network. +func (o GetLoadbalancerNetworkOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerNetwork) string { return v.Role }).(pulumi.StringOutput) } -type GetLoadbalancerTargetPoolArrayOutput struct{ *pulumi.OutputState } +type GetLoadbalancerNetworkArrayOutput struct{ *pulumi.OutputState } -func (GetLoadbalancerTargetPoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerTargetPool)(nil)).Elem() +func (GetLoadbalancerNetworkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerNetwork)(nil)).Elem() } -func (o GetLoadbalancerTargetPoolArrayOutput) ToGetLoadbalancerTargetPoolArrayOutput() GetLoadbalancerTargetPoolArrayOutput { +func (o GetLoadbalancerNetworkArrayOutput) ToGetLoadbalancerNetworkArrayOutput() GetLoadbalancerNetworkArrayOutput { return o } -func (o GetLoadbalancerTargetPoolArrayOutput) ToGetLoadbalancerTargetPoolArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolArrayOutput { +func (o GetLoadbalancerNetworkArrayOutput) ToGetLoadbalancerNetworkArrayOutputWithContext(ctx context.Context) GetLoadbalancerNetworkArrayOutput { return o } -func (o GetLoadbalancerTargetPoolArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerTargetPoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerTargetPool { - return vs[0].([]GetLoadbalancerTargetPool)[vs[1].(int)] - }).(GetLoadbalancerTargetPoolOutput) +func (o GetLoadbalancerNetworkArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerNetworkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerNetwork { + return vs[0].([]GetLoadbalancerNetwork)[vs[1].(int)] + }).(GetLoadbalancerNetworkOutput) } -type GetLoadbalancerTargetPoolActiveHealthCheck struct { - // Healthy threshold of the health checking. - HealthyThreshold int `pulumi:"healthyThreshold"` - // Interval duration of health checking in seconds. - Interval string `pulumi:"interval"` - // Interval duration threshold of the health checking in seconds. - IntervalJitter string `pulumi:"intervalJitter"` - // Active health checking timeout duration in seconds. - Timeout string `pulumi:"timeout"` - // Unhealthy threshold of the health checking. - UnhealthyThreshold int `pulumi:"unhealthyThreshold"` +type GetLoadbalancerOptions struct { + // Load Balancer is accessible only from an IP address in this range. + Acls []string `pulumi:"acls"` + // We offer Load Balancer metrics observability via ARGUS or external solutions. + Observability GetLoadbalancerOptionsObservability `pulumi:"observability"` + // If true, Load Balancer is accessible only via a private network IP address. + PrivateNetworkOnly bool `pulumi:"privateNetworkOnly"` } -// GetLoadbalancerTargetPoolActiveHealthCheckInput is an input type that accepts GetLoadbalancerTargetPoolActiveHealthCheckArgs and GetLoadbalancerTargetPoolActiveHealthCheckOutput values. -// You can construct a concrete instance of `GetLoadbalancerTargetPoolActiveHealthCheckInput` via: +// GetLoadbalancerOptionsInput is an input type that accepts GetLoadbalancerOptionsArgs and GetLoadbalancerOptionsOutput values. +// You can construct a concrete instance of `GetLoadbalancerOptionsInput` via: // -// GetLoadbalancerTargetPoolActiveHealthCheckArgs{...} -type GetLoadbalancerTargetPoolActiveHealthCheckInput interface { +// GetLoadbalancerOptionsArgs{...} +type GetLoadbalancerOptionsInput interface { pulumi.Input - ToGetLoadbalancerTargetPoolActiveHealthCheckOutput() GetLoadbalancerTargetPoolActiveHealthCheckOutput - ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(context.Context) GetLoadbalancerTargetPoolActiveHealthCheckOutput -} - -type GetLoadbalancerTargetPoolActiveHealthCheckArgs struct { - // Healthy threshold of the health checking. - HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"` - // Interval duration of health checking in seconds. - Interval pulumi.StringInput `pulumi:"interval"` - // Interval duration threshold of the health checking in seconds. - IntervalJitter pulumi.StringInput `pulumi:"intervalJitter"` - // Active health checking timeout duration in seconds. - Timeout pulumi.StringInput `pulumi:"timeout"` - // Unhealthy threshold of the health checking. - UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"` + ToGetLoadbalancerOptionsOutput() GetLoadbalancerOptionsOutput + ToGetLoadbalancerOptionsOutputWithContext(context.Context) GetLoadbalancerOptionsOutput } -func (GetLoadbalancerTargetPoolActiveHealthCheckArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPoolActiveHealthCheck)(nil)).Elem() +type GetLoadbalancerOptionsArgs struct { + // Load Balancer is accessible only from an IP address in this range. + Acls pulumi.StringArrayInput `pulumi:"acls"` + // We offer Load Balancer metrics observability via ARGUS or external solutions. + Observability GetLoadbalancerOptionsObservabilityInput `pulumi:"observability"` + // If true, Load Balancer is accessible only via a private network IP address. + PrivateNetworkOnly pulumi.BoolInput `pulumi:"privateNetworkOnly"` } -func (i GetLoadbalancerTargetPoolActiveHealthCheckArgs) ToGetLoadbalancerTargetPoolActiveHealthCheckOutput() GetLoadbalancerTargetPoolActiveHealthCheckOutput { - return i.ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(context.Background()) +func (GetLoadbalancerOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptions)(nil)).Elem() } -func (i GetLoadbalancerTargetPoolActiveHealthCheckArgs) ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolActiveHealthCheckOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolActiveHealthCheckOutput) +func (i GetLoadbalancerOptionsArgs) ToGetLoadbalancerOptionsOutput() GetLoadbalancerOptionsOutput { + return i.ToGetLoadbalancerOptionsOutputWithContext(context.Background()) } -type GetLoadbalancerTargetPoolActiveHealthCheckOutput struct{ *pulumi.OutputState } - -func (GetLoadbalancerTargetPoolActiveHealthCheckOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPoolActiveHealthCheck)(nil)).Elem() +func (i GetLoadbalancerOptionsArgs) ToGetLoadbalancerOptionsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsOutput) } -func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) ToGetLoadbalancerTargetPoolActiveHealthCheckOutput() GetLoadbalancerTargetPoolActiveHealthCheckOutput { - return o -} +type GetLoadbalancerOptionsOutput struct{ *pulumi.OutputState } -func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolActiveHealthCheckOutput { - return o +func (GetLoadbalancerOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptions)(nil)).Elem() } -// Healthy threshold of the health checking. -func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) HealthyThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) int { return v.HealthyThreshold }).(pulumi.IntOutput) +func (o GetLoadbalancerOptionsOutput) ToGetLoadbalancerOptionsOutput() GetLoadbalancerOptionsOutput { + return o } -// Interval duration of health checking in seconds. -func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) Interval() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) string { return v.Interval }).(pulumi.StringOutput) +func (o GetLoadbalancerOptionsOutput) ToGetLoadbalancerOptionsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsOutput { + return o } -// Interval duration threshold of the health checking in seconds. -func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) IntervalJitter() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) string { return v.IntervalJitter }).(pulumi.StringOutput) +// Load Balancer is accessible only from an IP address in this range. +func (o GetLoadbalancerOptionsOutput) Acls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetLoadbalancerOptions) []string { return v.Acls }).(pulumi.StringArrayOutput) } -// Active health checking timeout duration in seconds. -func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) Timeout() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) string { return v.Timeout }).(pulumi.StringOutput) +// We offer Load Balancer metrics observability via ARGUS or external solutions. +func (o GetLoadbalancerOptionsOutput) Observability() GetLoadbalancerOptionsObservabilityOutput { + return o.ApplyT(func(v GetLoadbalancerOptions) GetLoadbalancerOptionsObservability { return v.Observability }).(GetLoadbalancerOptionsObservabilityOutput) } -// Unhealthy threshold of the health checking. -func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) int { return v.UnhealthyThreshold }).(pulumi.IntOutput) +// If true, Load Balancer is accessible only via a private network IP address. +func (o GetLoadbalancerOptionsOutput) PrivateNetworkOnly() pulumi.BoolOutput { + return o.ApplyT(func(v GetLoadbalancerOptions) bool { return v.PrivateNetworkOnly }).(pulumi.BoolOutput) } -type GetLoadbalancerTargetPoolSessionPersistence struct { - // If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. - UseSourceIpAddress *bool `pulumi:"useSourceIpAddress"` +type GetLoadbalancerOptionsObservability struct { + // Observability logs configuration. + Logs GetLoadbalancerOptionsObservabilityLogs `pulumi:"logs"` + // Observability metrics configuration. + Metrics GetLoadbalancerOptionsObservabilityMetrics `pulumi:"metrics"` } -// GetLoadbalancerTargetPoolSessionPersistenceInput is an input type that accepts GetLoadbalancerTargetPoolSessionPersistenceArgs and GetLoadbalancerTargetPoolSessionPersistenceOutput values. -// You can construct a concrete instance of `GetLoadbalancerTargetPoolSessionPersistenceInput` via: +// GetLoadbalancerOptionsObservabilityInput is an input type that accepts GetLoadbalancerOptionsObservabilityArgs and GetLoadbalancerOptionsObservabilityOutput values. +// You can construct a concrete instance of `GetLoadbalancerOptionsObservabilityInput` via: // -// GetLoadbalancerTargetPoolSessionPersistenceArgs{...} -type GetLoadbalancerTargetPoolSessionPersistenceInput interface { +// GetLoadbalancerOptionsObservabilityArgs{...} +type GetLoadbalancerOptionsObservabilityInput interface { pulumi.Input - ToGetLoadbalancerTargetPoolSessionPersistenceOutput() GetLoadbalancerTargetPoolSessionPersistenceOutput - ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(context.Context) GetLoadbalancerTargetPoolSessionPersistenceOutput + ToGetLoadbalancerOptionsObservabilityOutput() GetLoadbalancerOptionsObservabilityOutput + ToGetLoadbalancerOptionsObservabilityOutputWithContext(context.Context) GetLoadbalancerOptionsObservabilityOutput } -type GetLoadbalancerTargetPoolSessionPersistenceArgs struct { - // If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. - UseSourceIpAddress pulumi.BoolPtrInput `pulumi:"useSourceIpAddress"` +type GetLoadbalancerOptionsObservabilityArgs struct { + // Observability logs configuration. + Logs GetLoadbalancerOptionsObservabilityLogsInput `pulumi:"logs"` + // Observability metrics configuration. + Metrics GetLoadbalancerOptionsObservabilityMetricsInput `pulumi:"metrics"` } -func (GetLoadbalancerTargetPoolSessionPersistenceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() +func (GetLoadbalancerOptionsObservabilityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptionsObservability)(nil)).Elem() } -func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistenceOutput() GetLoadbalancerTargetPoolSessionPersistenceOutput { - return i.ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(context.Background()) +func (i GetLoadbalancerOptionsObservabilityArgs) ToGetLoadbalancerOptionsObservabilityOutput() GetLoadbalancerOptionsObservabilityOutput { + return i.ToGetLoadbalancerOptionsObservabilityOutputWithContext(context.Background()) } -func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistenceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolSessionPersistenceOutput) +func (i GetLoadbalancerOptionsObservabilityArgs) ToGetLoadbalancerOptionsObservabilityOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsObservabilityOutput) } -func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { - return i.ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Background()) -} +type GetLoadbalancerOptionsObservabilityOutput struct{ *pulumi.OutputState } -func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolSessionPersistenceOutput).ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx) +func (GetLoadbalancerOptionsObservabilityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptionsObservability)(nil)).Elem() } -// GetLoadbalancerTargetPoolSessionPersistencePtrInput is an input type that accepts GetLoadbalancerTargetPoolSessionPersistenceArgs, GetLoadbalancerTargetPoolSessionPersistencePtr and GetLoadbalancerTargetPoolSessionPersistencePtrOutput values. -// You can construct a concrete instance of `GetLoadbalancerTargetPoolSessionPersistencePtrInput` via: -// -// GetLoadbalancerTargetPoolSessionPersistenceArgs{...} -// -// or: -// -// nil -type GetLoadbalancerTargetPoolSessionPersistencePtrInput interface { - pulumi.Input - - ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput - ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput +func (o GetLoadbalancerOptionsObservabilityOutput) ToGetLoadbalancerOptionsObservabilityOutput() GetLoadbalancerOptionsObservabilityOutput { + return o } -type getLoadbalancerTargetPoolSessionPersistencePtrType GetLoadbalancerTargetPoolSessionPersistenceArgs - -func GetLoadbalancerTargetPoolSessionPersistencePtr(v *GetLoadbalancerTargetPoolSessionPersistenceArgs) GetLoadbalancerTargetPoolSessionPersistencePtrInput { - return (*getLoadbalancerTargetPoolSessionPersistencePtrType)(v) +func (o GetLoadbalancerOptionsObservabilityOutput) ToGetLoadbalancerOptionsObservabilityOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityOutput { + return o } -func (*getLoadbalancerTargetPoolSessionPersistencePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() +// Observability logs configuration. +func (o GetLoadbalancerOptionsObservabilityOutput) Logs() GetLoadbalancerOptionsObservabilityLogsOutput { + return o.ApplyT(func(v GetLoadbalancerOptionsObservability) GetLoadbalancerOptionsObservabilityLogs { return v.Logs }).(GetLoadbalancerOptionsObservabilityLogsOutput) } -func (i *getLoadbalancerTargetPoolSessionPersistencePtrType) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { - return i.ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Background()) +// Observability metrics configuration. +func (o GetLoadbalancerOptionsObservabilityOutput) Metrics() GetLoadbalancerOptionsObservabilityMetricsOutput { + return o.ApplyT(func(v GetLoadbalancerOptionsObservability) GetLoadbalancerOptionsObservabilityMetrics { + return v.Metrics + }).(GetLoadbalancerOptionsObservabilityMetricsOutput) } -func (i *getLoadbalancerTargetPoolSessionPersistencePtrType) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolSessionPersistencePtrOutput) +type GetLoadbalancerOptionsObservabilityLogs struct { + // Credentials reference for logs. + CredentialsRef string `pulumi:"credentialsRef"` + // Credentials reference for logs. + PushUrl string `pulumi:"pushUrl"` } -type GetLoadbalancerTargetPoolSessionPersistenceOutput struct{ *pulumi.OutputState } - -func (GetLoadbalancerTargetPoolSessionPersistenceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() -} +// GetLoadbalancerOptionsObservabilityLogsInput is an input type that accepts GetLoadbalancerOptionsObservabilityLogsArgs and GetLoadbalancerOptionsObservabilityLogsOutput values. +// You can construct a concrete instance of `GetLoadbalancerOptionsObservabilityLogsInput` via: +// +// GetLoadbalancerOptionsObservabilityLogsArgs{...} +type GetLoadbalancerOptionsObservabilityLogsInput interface { + pulumi.Input -func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistenceOutput() GetLoadbalancerTargetPoolSessionPersistenceOutput { - return o + ToGetLoadbalancerOptionsObservabilityLogsOutput() GetLoadbalancerOptionsObservabilityLogsOutput + ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(context.Context) GetLoadbalancerOptionsObservabilityLogsOutput } -func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistenceOutput { - return o +type GetLoadbalancerOptionsObservabilityLogsArgs struct { + // Credentials reference for logs. + CredentialsRef pulumi.StringInput `pulumi:"credentialsRef"` + // Credentials reference for logs. + PushUrl pulumi.StringInput `pulumi:"pushUrl"` } -func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { - return o.ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Background()) +func (GetLoadbalancerOptionsObservabilityLogsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityLogs)(nil)).Elem() } -func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetLoadbalancerTargetPoolSessionPersistence) *GetLoadbalancerTargetPoolSessionPersistence { - return &v - }).(GetLoadbalancerTargetPoolSessionPersistencePtrOutput) +func (i GetLoadbalancerOptionsObservabilityLogsArgs) ToGetLoadbalancerOptionsObservabilityLogsOutput() GetLoadbalancerOptionsObservabilityLogsOutput { + return i.ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(context.Background()) } -// If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. -func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) UseSourceIpAddress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolSessionPersistence) *bool { return v.UseSourceIpAddress }).(pulumi.BoolPtrOutput) +func (i GetLoadbalancerOptionsObservabilityLogsArgs) ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityLogsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsObservabilityLogsOutput) } -type GetLoadbalancerTargetPoolSessionPersistencePtrOutput struct{ *pulumi.OutputState } +type GetLoadbalancerOptionsObservabilityLogsOutput struct{ *pulumi.OutputState } -func (GetLoadbalancerTargetPoolSessionPersistencePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() +func (GetLoadbalancerOptionsObservabilityLogsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityLogs)(nil)).Elem() } -func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { +func (o GetLoadbalancerOptionsObservabilityLogsOutput) ToGetLoadbalancerOptionsObservabilityLogsOutput() GetLoadbalancerOptionsObservabilityLogsOutput { return o } -func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { +func (o GetLoadbalancerOptionsObservabilityLogsOutput) ToGetLoadbalancerOptionsObservabilityLogsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityLogsOutput { return o } -func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) Elem() GetLoadbalancerTargetPoolSessionPersistenceOutput { - return o.ApplyT(func(v *GetLoadbalancerTargetPoolSessionPersistence) GetLoadbalancerTargetPoolSessionPersistence { - if v != nil { - return *v - } - var ret GetLoadbalancerTargetPoolSessionPersistence - return ret - }).(GetLoadbalancerTargetPoolSessionPersistenceOutput) +// Credentials reference for logs. +func (o GetLoadbalancerOptionsObservabilityLogsOutput) CredentialsRef() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityLogs) string { return v.CredentialsRef }).(pulumi.StringOutput) } -// If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. -func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) UseSourceIpAddress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetLoadbalancerTargetPoolSessionPersistence) *bool { - if v == nil { - return nil - } - return v.UseSourceIpAddress - }).(pulumi.BoolPtrOutput) +// Credentials reference for logs. +func (o GetLoadbalancerOptionsObservabilityLogsOutput) PushUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityLogs) string { return v.PushUrl }).(pulumi.StringOutput) } -type GetLoadbalancerTargetPoolTarget struct { - // Target display name - DisplayName string `pulumi:"displayName"` - // Target IP - Ip string `pulumi:"ip"` +type GetLoadbalancerOptionsObservabilityMetrics struct { + // Credentials reference for metrics. + CredentialsRef string `pulumi:"credentialsRef"` + // Credentials reference for metrics. + PushUrl string `pulumi:"pushUrl"` } -// GetLoadbalancerTargetPoolTargetInput is an input type that accepts GetLoadbalancerTargetPoolTargetArgs and GetLoadbalancerTargetPoolTargetOutput values. -// You can construct a concrete instance of `GetLoadbalancerTargetPoolTargetInput` via: +// GetLoadbalancerOptionsObservabilityMetricsInput is an input type that accepts GetLoadbalancerOptionsObservabilityMetricsArgs and GetLoadbalancerOptionsObservabilityMetricsOutput values. +// You can construct a concrete instance of `GetLoadbalancerOptionsObservabilityMetricsInput` via: // -// GetLoadbalancerTargetPoolTargetArgs{...} -type GetLoadbalancerTargetPoolTargetInput interface { +// GetLoadbalancerOptionsObservabilityMetricsArgs{...} +type GetLoadbalancerOptionsObservabilityMetricsInput interface { pulumi.Input - ToGetLoadbalancerTargetPoolTargetOutput() GetLoadbalancerTargetPoolTargetOutput - ToGetLoadbalancerTargetPoolTargetOutputWithContext(context.Context) GetLoadbalancerTargetPoolTargetOutput + ToGetLoadbalancerOptionsObservabilityMetricsOutput() GetLoadbalancerOptionsObservabilityMetricsOutput + ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(context.Context) GetLoadbalancerOptionsObservabilityMetricsOutput } -type GetLoadbalancerTargetPoolTargetArgs struct { - // Target display name - DisplayName pulumi.StringInput `pulumi:"displayName"` - // Target IP - Ip pulumi.StringInput `pulumi:"ip"` +type GetLoadbalancerOptionsObservabilityMetricsArgs struct { + // Credentials reference for metrics. + CredentialsRef pulumi.StringInput `pulumi:"credentialsRef"` + // Credentials reference for metrics. + PushUrl pulumi.StringInput `pulumi:"pushUrl"` } -func (GetLoadbalancerTargetPoolTargetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPoolTarget)(nil)).Elem() +func (GetLoadbalancerOptionsObservabilityMetricsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityMetrics)(nil)).Elem() } -func (i GetLoadbalancerTargetPoolTargetArgs) ToGetLoadbalancerTargetPoolTargetOutput() GetLoadbalancerTargetPoolTargetOutput { - return i.ToGetLoadbalancerTargetPoolTargetOutputWithContext(context.Background()) +func (i GetLoadbalancerOptionsObservabilityMetricsArgs) ToGetLoadbalancerOptionsObservabilityMetricsOutput() GetLoadbalancerOptionsObservabilityMetricsOutput { + return i.ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(context.Background()) } -func (i GetLoadbalancerTargetPoolTargetArgs) ToGetLoadbalancerTargetPoolTargetOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolTargetOutput) -} - -// GetLoadbalancerTargetPoolTargetArrayInput is an input type that accepts GetLoadbalancerTargetPoolTargetArray and GetLoadbalancerTargetPoolTargetArrayOutput values. -// You can construct a concrete instance of `GetLoadbalancerTargetPoolTargetArrayInput` via: -// -// GetLoadbalancerTargetPoolTargetArray{ GetLoadbalancerTargetPoolTargetArgs{...} } -type GetLoadbalancerTargetPoolTargetArrayInput interface { - pulumi.Input - - ToGetLoadbalancerTargetPoolTargetArrayOutput() GetLoadbalancerTargetPoolTargetArrayOutput - ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(context.Context) GetLoadbalancerTargetPoolTargetArrayOutput -} - -type GetLoadbalancerTargetPoolTargetArray []GetLoadbalancerTargetPoolTargetInput - -func (GetLoadbalancerTargetPoolTargetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerTargetPoolTarget)(nil)).Elem() +func (i GetLoadbalancerOptionsObservabilityMetricsArgs) ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityMetricsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerOptionsObservabilityMetricsOutput) } -func (i GetLoadbalancerTargetPoolTargetArray) ToGetLoadbalancerTargetPoolTargetArrayOutput() GetLoadbalancerTargetPoolTargetArrayOutput { - return i.ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(context.Background()) -} +type GetLoadbalancerOptionsObservabilityMetricsOutput struct{ *pulumi.OutputState } -func (i GetLoadbalancerTargetPoolTargetArray) ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolTargetArrayOutput) +func (GetLoadbalancerOptionsObservabilityMetricsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerOptionsObservabilityMetrics)(nil)).Elem() } -type GetLoadbalancerTargetPoolTargetOutput struct{ *pulumi.OutputState } - -func (GetLoadbalancerTargetPoolTargetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadbalancerTargetPoolTarget)(nil)).Elem() +func (o GetLoadbalancerOptionsObservabilityMetricsOutput) ToGetLoadbalancerOptionsObservabilityMetricsOutput() GetLoadbalancerOptionsObservabilityMetricsOutput { + return o } -func (o GetLoadbalancerTargetPoolTargetOutput) ToGetLoadbalancerTargetPoolTargetOutput() GetLoadbalancerTargetPoolTargetOutput { +func (o GetLoadbalancerOptionsObservabilityMetricsOutput) ToGetLoadbalancerOptionsObservabilityMetricsOutputWithContext(ctx context.Context) GetLoadbalancerOptionsObservabilityMetricsOutput { return o } -func (o GetLoadbalancerTargetPoolTargetOutput) ToGetLoadbalancerTargetPoolTargetOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetOutput { - return o +// Credentials reference for metrics. +func (o GetLoadbalancerOptionsObservabilityMetricsOutput) CredentialsRef() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityMetrics) string { return v.CredentialsRef }).(pulumi.StringOutput) } -// Target display name -func (o GetLoadbalancerTargetPoolTargetOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolTarget) string { return v.DisplayName }).(pulumi.StringOutput) +// Credentials reference for metrics. +func (o GetLoadbalancerOptionsObservabilityMetricsOutput) PushUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerOptionsObservabilityMetrics) string { return v.PushUrl }).(pulumi.StringOutput) } -// Target IP -func (o GetLoadbalancerTargetPoolTargetOutput) Ip() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadbalancerTargetPoolTarget) string { return v.Ip }).(pulumi.StringOutput) +type GetLoadbalancerTargetPool struct { + ActiveHealthCheck GetLoadbalancerTargetPoolActiveHealthCheck `pulumi:"activeHealthCheck"` + // Target pool name. + Name string `pulumi:"name"` + // Here you can setup various session persistence options, so far only "`useSourceIpAddress`" is supported. + SessionPersistence *GetLoadbalancerTargetPoolSessionPersistence `pulumi:"sessionPersistence"` + // Identical port number where each target listens for traffic. + TargetPort int `pulumi:"targetPort"` + // List of all targets which will be used in the pool. Limited to 1000. + Targets []GetLoadbalancerTargetPoolTarget `pulumi:"targets"` } -type GetLoadbalancerTargetPoolTargetArrayOutput struct{ *pulumi.OutputState } +// GetLoadbalancerTargetPoolInput is an input type that accepts GetLoadbalancerTargetPoolArgs and GetLoadbalancerTargetPoolOutput values. +// You can construct a concrete instance of `GetLoadbalancerTargetPoolInput` via: +// +// GetLoadbalancerTargetPoolArgs{...} +type GetLoadbalancerTargetPoolInput interface { + pulumi.Input -func (GetLoadbalancerTargetPoolTargetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadbalancerTargetPoolTarget)(nil)).Elem() + ToGetLoadbalancerTargetPoolOutput() GetLoadbalancerTargetPoolOutput + ToGetLoadbalancerTargetPoolOutputWithContext(context.Context) GetLoadbalancerTargetPoolOutput } -func (o GetLoadbalancerTargetPoolTargetArrayOutput) ToGetLoadbalancerTargetPoolTargetArrayOutput() GetLoadbalancerTargetPoolTargetArrayOutput { - return o +type GetLoadbalancerTargetPoolArgs struct { + ActiveHealthCheck GetLoadbalancerTargetPoolActiveHealthCheckInput `pulumi:"activeHealthCheck"` + // Target pool name. + Name pulumi.StringInput `pulumi:"name"` + // Here you can setup various session persistence options, so far only "`useSourceIpAddress`" is supported. + SessionPersistence GetLoadbalancerTargetPoolSessionPersistencePtrInput `pulumi:"sessionPersistence"` + // Identical port number where each target listens for traffic. + TargetPort pulumi.IntInput `pulumi:"targetPort"` + // List of all targets which will be used in the pool. Limited to 1000. + Targets GetLoadbalancerTargetPoolTargetArrayInput `pulumi:"targets"` } -func (o GetLoadbalancerTargetPoolTargetArrayOutput) ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetArrayOutput { - return o +func (GetLoadbalancerTargetPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPool)(nil)).Elem() } -func (o GetLoadbalancerTargetPoolTargetArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerTargetPoolTargetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerTargetPoolTarget { - return vs[0].([]GetLoadbalancerTargetPoolTarget)[vs[1].(int)] - }).(GetLoadbalancerTargetPoolTargetOutput) +func (i GetLoadbalancerTargetPoolArgs) ToGetLoadbalancerTargetPoolOutput() GetLoadbalancerTargetPoolOutput { + return i.ToGetLoadbalancerTargetPoolOutputWithContext(context.Background()) } -type GetLogmeInstanceParameters struct { - // Enable monitoring. - EnableMonitoring bool `pulumi:"enableMonitoring"` - FluentdTcp int `pulumi:"fluentdTcp"` - FluentdTls int `pulumi:"fluentdTls"` - FluentdTlsCiphers string `pulumi:"fluentdTlsCiphers"` - FluentdTlsMaxVersion string `pulumi:"fluentdTlsMaxVersion"` - FluentdTlsMinVersion string `pulumi:"fluentdTlsMinVersion"` - FluentdTlsVersion string `pulumi:"fluentdTlsVersion"` - FluentdUdp int `pulumi:"fluentdUdp"` - // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - Graphite string `pulumi:"graphite"` - // Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. - IsmDeletionAfter string `pulumi:"ismDeletionAfter"` - IsmJitter float64 `pulumi:"ismJitter"` - // Jitter of the execution time. - IsmJobInterval int `pulumi:"ismJobInterval"` - // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - JavaHeapspace int `pulumi:"javaHeapspace"` - // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - JavaMaxmetaspace int `pulumi:"javaMaxmetaspace"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold int `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted (in seconds). - MetricsFrequency int `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - MetricsPrefix string `pulumi:"metricsPrefix"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId string `pulumi:"monitoringInstanceId"` - OpensearchTlsCiphers []string `pulumi:"opensearchTlsCiphers"` - OpensearchTlsProtocols []string `pulumi:"opensearchTlsProtocols"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl string `pulumi:"sgwAcl"` - // List of syslog servers to send logs to. - Syslogs []string `pulumi:"syslogs"` +func (i GetLoadbalancerTargetPoolArgs) ToGetLoadbalancerTargetPoolOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolOutput) } -// GetLogmeInstanceParametersInput is an input type that accepts GetLogmeInstanceParametersArgs and GetLogmeInstanceParametersOutput values. -// You can construct a concrete instance of `GetLogmeInstanceParametersInput` via: +// GetLoadbalancerTargetPoolArrayInput is an input type that accepts GetLoadbalancerTargetPoolArray and GetLoadbalancerTargetPoolArrayOutput values. +// You can construct a concrete instance of `GetLoadbalancerTargetPoolArrayInput` via: // -// GetLogmeInstanceParametersArgs{...} -type GetLogmeInstanceParametersInput interface { +// GetLoadbalancerTargetPoolArray{ GetLoadbalancerTargetPoolArgs{...} } +type GetLoadbalancerTargetPoolArrayInput interface { pulumi.Input - ToGetLogmeInstanceParametersOutput() GetLogmeInstanceParametersOutput - ToGetLogmeInstanceParametersOutputWithContext(context.Context) GetLogmeInstanceParametersOutput + ToGetLoadbalancerTargetPoolArrayOutput() GetLoadbalancerTargetPoolArrayOutput + ToGetLoadbalancerTargetPoolArrayOutputWithContext(context.Context) GetLoadbalancerTargetPoolArrayOutput } -type GetLogmeInstanceParametersArgs struct { - // Enable monitoring. - EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` - FluentdTcp pulumi.IntInput `pulumi:"fluentdTcp"` - FluentdTls pulumi.IntInput `pulumi:"fluentdTls"` - FluentdTlsCiphers pulumi.StringInput `pulumi:"fluentdTlsCiphers"` - FluentdTlsMaxVersion pulumi.StringInput `pulumi:"fluentdTlsMaxVersion"` - FluentdTlsMinVersion pulumi.StringInput `pulumi:"fluentdTlsMinVersion"` - FluentdTlsVersion pulumi.StringInput `pulumi:"fluentdTlsVersion"` - FluentdUdp pulumi.IntInput `pulumi:"fluentdUdp"` - // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - Graphite pulumi.StringInput `pulumi:"graphite"` - // Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. - IsmDeletionAfter pulumi.StringInput `pulumi:"ismDeletionAfter"` - IsmJitter pulumi.Float64Input `pulumi:"ismJitter"` - // Jitter of the execution time. - IsmJobInterval pulumi.IntInput `pulumi:"ismJobInterval"` - // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - JavaHeapspace pulumi.IntInput `pulumi:"javaHeapspace"` - // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - JavaMaxmetaspace pulumi.IntInput `pulumi:"javaMaxmetaspace"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted (in seconds). - MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` - OpensearchTlsCiphers pulumi.StringArrayInput `pulumi:"opensearchTlsCiphers"` - OpensearchTlsProtocols pulumi.StringArrayInput `pulumi:"opensearchTlsProtocols"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` - // List of syslog servers to send logs to. - Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` -} +type GetLoadbalancerTargetPoolArray []GetLoadbalancerTargetPoolInput -func (GetLogmeInstanceParametersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLogmeInstanceParameters)(nil)).Elem() +func (GetLoadbalancerTargetPoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerTargetPool)(nil)).Elem() } -func (i GetLogmeInstanceParametersArgs) ToGetLogmeInstanceParametersOutput() GetLogmeInstanceParametersOutput { - return i.ToGetLogmeInstanceParametersOutputWithContext(context.Background()) +func (i GetLoadbalancerTargetPoolArray) ToGetLoadbalancerTargetPoolArrayOutput() GetLoadbalancerTargetPoolArrayOutput { + return i.ToGetLoadbalancerTargetPoolArrayOutputWithContext(context.Background()) } -func (i GetLogmeInstanceParametersArgs) ToGetLogmeInstanceParametersOutputWithContext(ctx context.Context) GetLogmeInstanceParametersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLogmeInstanceParametersOutput) +func (i GetLoadbalancerTargetPoolArray) ToGetLoadbalancerTargetPoolArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolArrayOutput) } -type GetLogmeInstanceParametersOutput struct{ *pulumi.OutputState } +type GetLoadbalancerTargetPoolOutput struct{ *pulumi.OutputState } -func (GetLogmeInstanceParametersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLogmeInstanceParameters)(nil)).Elem() +func (GetLoadbalancerTargetPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPool)(nil)).Elem() } -func (o GetLogmeInstanceParametersOutput) ToGetLogmeInstanceParametersOutput() GetLogmeInstanceParametersOutput { +func (o GetLoadbalancerTargetPoolOutput) ToGetLoadbalancerTargetPoolOutput() GetLoadbalancerTargetPoolOutput { return o } -func (o GetLogmeInstanceParametersOutput) ToGetLogmeInstanceParametersOutputWithContext(ctx context.Context) GetLogmeInstanceParametersOutput { +func (o GetLoadbalancerTargetPoolOutput) ToGetLoadbalancerTargetPoolOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolOutput { return o } -// Enable monitoring. -func (o GetLogmeInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) +func (o GetLoadbalancerTargetPoolOutput) ActiveHealthCheck() GetLoadbalancerTargetPoolActiveHealthCheckOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPool) GetLoadbalancerTargetPoolActiveHealthCheck { + return v.ActiveHealthCheck + }).(GetLoadbalancerTargetPoolActiveHealthCheckOutput) } -func (o GetLogmeInstanceParametersOutput) FluentdTcp() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.FluentdTcp }).(pulumi.IntOutput) +// Target pool name. +func (o GetLoadbalancerTargetPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPool) string { return v.Name }).(pulumi.StringOutput) } -func (o GetLogmeInstanceParametersOutput) FluentdTls() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.FluentdTls }).(pulumi.IntOutput) +// Here you can setup various session persistence options, so far only "`useSourceIpAddress`" is supported. +func (o GetLoadbalancerTargetPoolOutput) SessionPersistence() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPool) *GetLoadbalancerTargetPoolSessionPersistence { + return v.SessionPersistence + }).(GetLoadbalancerTargetPoolSessionPersistencePtrOutput) } -func (o GetLogmeInstanceParametersOutput) FluentdTlsCiphers() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsCiphers }).(pulumi.StringOutput) +// Identical port number where each target listens for traffic. +func (o GetLoadbalancerTargetPoolOutput) TargetPort() pulumi.IntOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPool) int { return v.TargetPort }).(pulumi.IntOutput) } -func (o GetLogmeInstanceParametersOutput) FluentdTlsMaxVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsMaxVersion }).(pulumi.StringOutput) +// List of all targets which will be used in the pool. Limited to 1000. +func (o GetLoadbalancerTargetPoolOutput) Targets() GetLoadbalancerTargetPoolTargetArrayOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPool) []GetLoadbalancerTargetPoolTarget { return v.Targets }).(GetLoadbalancerTargetPoolTargetArrayOutput) } -func (o GetLogmeInstanceParametersOutput) FluentdTlsMinVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsMinVersion }).(pulumi.StringOutput) -} +type GetLoadbalancerTargetPoolArrayOutput struct{ *pulumi.OutputState } -func (o GetLogmeInstanceParametersOutput) FluentdTlsVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsVersion }).(pulumi.StringOutput) +func (GetLoadbalancerTargetPoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerTargetPool)(nil)).Elem() } -func (o GetLogmeInstanceParametersOutput) FluentdUdp() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.FluentdUdp }).(pulumi.IntOutput) +func (o GetLoadbalancerTargetPoolArrayOutput) ToGetLoadbalancerTargetPoolArrayOutput() GetLoadbalancerTargetPoolArrayOutput { + return o } -// If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). -func (o GetLogmeInstanceParametersOutput) Graphite() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) +func (o GetLoadbalancerTargetPoolArrayOutput) ToGetLoadbalancerTargetPoolArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolArrayOutput { + return o } -// Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. -func (o GetLogmeInstanceParametersOutput) IsmDeletionAfter() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.IsmDeletionAfter }).(pulumi.StringOutput) +func (o GetLoadbalancerTargetPoolArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerTargetPoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerTargetPool { + return vs[0].([]GetLoadbalancerTargetPool)[vs[1].(int)] + }).(GetLoadbalancerTargetPoolOutput) } -func (o GetLogmeInstanceParametersOutput) IsmJitter() pulumi.Float64Output { - return o.ApplyT(func(v GetLogmeInstanceParameters) float64 { return v.IsmJitter }).(pulumi.Float64Output) +type GetLoadbalancerTargetPoolActiveHealthCheck struct { + // Healthy threshold of the health checking. + HealthyThreshold int `pulumi:"healthyThreshold"` + // Interval duration of health checking in seconds. + Interval string `pulumi:"interval"` + // Interval duration threshold of the health checking in seconds. + IntervalJitter string `pulumi:"intervalJitter"` + // Active health checking timeout duration in seconds. + Timeout string `pulumi:"timeout"` + // Unhealthy threshold of the health checking. + UnhealthyThreshold int `pulumi:"unhealthyThreshold"` } -// Jitter of the execution time. -func (o GetLogmeInstanceParametersOutput) IsmJobInterval() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.IsmJobInterval }).(pulumi.IntOutput) +// GetLoadbalancerTargetPoolActiveHealthCheckInput is an input type that accepts GetLoadbalancerTargetPoolActiveHealthCheckArgs and GetLoadbalancerTargetPoolActiveHealthCheckOutput values. +// You can construct a concrete instance of `GetLoadbalancerTargetPoolActiveHealthCheckInput` via: +// +// GetLoadbalancerTargetPoolActiveHealthCheckArgs{...} +type GetLoadbalancerTargetPoolActiveHealthCheckInput interface { + pulumi.Input + + ToGetLoadbalancerTargetPoolActiveHealthCheckOutput() GetLoadbalancerTargetPoolActiveHealthCheckOutput + ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(context.Context) GetLoadbalancerTargetPoolActiveHealthCheckOutput } -// The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. -func (o GetLogmeInstanceParametersOutput) JavaHeapspace() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.JavaHeapspace }).(pulumi.IntOutput) +type GetLoadbalancerTargetPoolActiveHealthCheckArgs struct { + // Healthy threshold of the health checking. + HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"` + // Interval duration of health checking in seconds. + Interval pulumi.StringInput `pulumi:"interval"` + // Interval duration threshold of the health checking in seconds. + IntervalJitter pulumi.StringInput `pulumi:"intervalJitter"` + // Active health checking timeout duration in seconds. + Timeout pulumi.StringInput `pulumi:"timeout"` + // Unhealthy threshold of the health checking. + UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"` } -// The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. -func (o GetLogmeInstanceParametersOutput) JavaMaxmetaspace() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.JavaMaxmetaspace }).(pulumi.IntOutput) +func (GetLoadbalancerTargetPoolActiveHealthCheckArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPoolActiveHealthCheck)(nil)).Elem() } -// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. -func (o GetLogmeInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) +func (i GetLoadbalancerTargetPoolActiveHealthCheckArgs) ToGetLoadbalancerTargetPoolActiveHealthCheckOutput() GetLoadbalancerTargetPoolActiveHealthCheckOutput { + return i.ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(context.Background()) } -// The frequency in seconds at which metrics are emitted (in seconds). -func (o GetLogmeInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) +func (i GetLoadbalancerTargetPoolActiveHealthCheckArgs) ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolActiveHealthCheckOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolActiveHealthCheckOutput) } -// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. -func (o GetLogmeInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) +type GetLoadbalancerTargetPoolActiveHealthCheckOutput struct{ *pulumi.OutputState } + +func (GetLoadbalancerTargetPoolActiveHealthCheckOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPoolActiveHealthCheck)(nil)).Elem() } -// The ID of the STACKIT monitoring instance. -func (o GetLogmeInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) +func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) ToGetLoadbalancerTargetPoolActiveHealthCheckOutput() GetLoadbalancerTargetPoolActiveHealthCheckOutput { + return o } -func (o GetLogmeInstanceParametersOutput) OpensearchTlsCiphers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) []string { return v.OpensearchTlsCiphers }).(pulumi.StringArrayOutput) +func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) ToGetLoadbalancerTargetPoolActiveHealthCheckOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolActiveHealthCheckOutput { + return o } -func (o GetLogmeInstanceParametersOutput) OpensearchTlsProtocols() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) []string { return v.OpensearchTlsProtocols }).(pulumi.StringArrayOutput) +// Healthy threshold of the health checking. +func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) HealthyThreshold() pulumi.IntOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) int { return v.HealthyThreshold }).(pulumi.IntOutput) } -// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. -func (o GetLogmeInstanceParametersOutput) SgwAcl() pulumi.StringOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) +// Interval duration of health checking in seconds. +func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) Interval() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) string { return v.Interval }).(pulumi.StringOutput) } -// List of syslog servers to send logs to. -func (o GetLogmeInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLogmeInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) +// Interval duration threshold of the health checking in seconds. +func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) IntervalJitter() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) string { return v.IntervalJitter }).(pulumi.StringOutput) } -type GetMariadbInstanceParameters struct { - // Enable monitoring. - EnableMonitoring bool `pulumi:"enableMonitoring"` - Graphite string `pulumi:"graphite"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold int `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted. - MetricsFrequency int `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - MetricsPrefix string `pulumi:"metricsPrefix"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId string `pulumi:"monitoringInstanceId"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl string `pulumi:"sgwAcl"` - // List of syslog servers to send logs to. - Syslogs []string `pulumi:"syslogs"` +// Active health checking timeout duration in seconds. +func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) Timeout() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) string { return v.Timeout }).(pulumi.StringOutput) } -// GetMariadbInstanceParametersInput is an input type that accepts GetMariadbInstanceParametersArgs and GetMariadbInstanceParametersOutput values. -// You can construct a concrete instance of `GetMariadbInstanceParametersInput` via: +// Unhealthy threshold of the health checking. +func (o GetLoadbalancerTargetPoolActiveHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolActiveHealthCheck) int { return v.UnhealthyThreshold }).(pulumi.IntOutput) +} + +type GetLoadbalancerTargetPoolSessionPersistence struct { + // If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. + UseSourceIpAddress *bool `pulumi:"useSourceIpAddress"` +} + +// GetLoadbalancerTargetPoolSessionPersistenceInput is an input type that accepts GetLoadbalancerTargetPoolSessionPersistenceArgs and GetLoadbalancerTargetPoolSessionPersistenceOutput values. +// You can construct a concrete instance of `GetLoadbalancerTargetPoolSessionPersistenceInput` via: // -// GetMariadbInstanceParametersArgs{...} -type GetMariadbInstanceParametersInput interface { +// GetLoadbalancerTargetPoolSessionPersistenceArgs{...} +type GetLoadbalancerTargetPoolSessionPersistenceInput interface { pulumi.Input - ToGetMariadbInstanceParametersOutput() GetMariadbInstanceParametersOutput - ToGetMariadbInstanceParametersOutputWithContext(context.Context) GetMariadbInstanceParametersOutput + ToGetLoadbalancerTargetPoolSessionPersistenceOutput() GetLoadbalancerTargetPoolSessionPersistenceOutput + ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(context.Context) GetLoadbalancerTargetPoolSessionPersistenceOutput } -type GetMariadbInstanceParametersArgs struct { - // Enable monitoring. - EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` - Graphite pulumi.StringInput `pulumi:"graphite"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted. - MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` - // List of syslog servers to send logs to. - Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` +type GetLoadbalancerTargetPoolSessionPersistenceArgs struct { + // If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. + UseSourceIpAddress pulumi.BoolPtrInput `pulumi:"useSourceIpAddress"` } -func (GetMariadbInstanceParametersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMariadbInstanceParameters)(nil)).Elem() +func (GetLoadbalancerTargetPoolSessionPersistenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() } -func (i GetMariadbInstanceParametersArgs) ToGetMariadbInstanceParametersOutput() GetMariadbInstanceParametersOutput { - return i.ToGetMariadbInstanceParametersOutputWithContext(context.Background()) +func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistenceOutput() GetLoadbalancerTargetPoolSessionPersistenceOutput { + return i.ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(context.Background()) } -func (i GetMariadbInstanceParametersArgs) ToGetMariadbInstanceParametersOutputWithContext(ctx context.Context) GetMariadbInstanceParametersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMariadbInstanceParametersOutput) +func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolSessionPersistenceOutput) } -type GetMariadbInstanceParametersOutput struct{ *pulumi.OutputState } +func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return i.ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Background()) +} -func (GetMariadbInstanceParametersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMariadbInstanceParameters)(nil)).Elem() +func (i GetLoadbalancerTargetPoolSessionPersistenceArgs) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolSessionPersistenceOutput).ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx) } -func (o GetMariadbInstanceParametersOutput) ToGetMariadbInstanceParametersOutput() GetMariadbInstanceParametersOutput { - return o +// GetLoadbalancerTargetPoolSessionPersistencePtrInput is an input type that accepts GetLoadbalancerTargetPoolSessionPersistenceArgs, GetLoadbalancerTargetPoolSessionPersistencePtr and GetLoadbalancerTargetPoolSessionPersistencePtrOutput values. +// You can construct a concrete instance of `GetLoadbalancerTargetPoolSessionPersistencePtrInput` via: +// +// GetLoadbalancerTargetPoolSessionPersistenceArgs{...} +// +// or: +// +// nil +type GetLoadbalancerTargetPoolSessionPersistencePtrInput interface { + pulumi.Input + + ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput + ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput } -func (o GetMariadbInstanceParametersOutput) ToGetMariadbInstanceParametersOutputWithContext(ctx context.Context) GetMariadbInstanceParametersOutput { - return o +type getLoadbalancerTargetPoolSessionPersistencePtrType GetLoadbalancerTargetPoolSessionPersistenceArgs + +func GetLoadbalancerTargetPoolSessionPersistencePtr(v *GetLoadbalancerTargetPoolSessionPersistenceArgs) GetLoadbalancerTargetPoolSessionPersistencePtrInput { + return (*getLoadbalancerTargetPoolSessionPersistencePtrType)(v) } -// Enable monitoring. -func (o GetMariadbInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) +func (*getLoadbalancerTargetPoolSessionPersistencePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() } -func (o GetMariadbInstanceParametersOutput) Graphite() pulumi.StringOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) +func (i *getLoadbalancerTargetPoolSessionPersistencePtrType) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return i.ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Background()) } -// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. -func (o GetMariadbInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) +func (i *getLoadbalancerTargetPoolSessionPersistencePtrType) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolSessionPersistencePtrOutput) } -// The frequency in seconds at which metrics are emitted. -func (o GetMariadbInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) +type GetLoadbalancerTargetPoolSessionPersistenceOutput struct{ *pulumi.OutputState } + +func (GetLoadbalancerTargetPoolSessionPersistenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() } -// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key -func (o GetMariadbInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) +func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistenceOutput() GetLoadbalancerTargetPoolSessionPersistenceOutput { + return o } -// The ID of the STACKIT monitoring instance. -func (o GetMariadbInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) +func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistenceOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistenceOutput { + return o } -// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. -func (o GetMariadbInstanceParametersOutput) SgwAcl() pulumi.StringOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) +func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return o.ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(context.Background()) } -// List of syslog servers to send logs to. -func (o GetMariadbInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetMariadbInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) +func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetLoadbalancerTargetPoolSessionPersistence) *GetLoadbalancerTargetPoolSessionPersistence { + return &v + }).(GetLoadbalancerTargetPoolSessionPersistencePtrOutput) } -type GetMongodbflexInstanceFlavor struct { - Cpu int `pulumi:"cpu"` - Description string `pulumi:"description"` - Id string `pulumi:"id"` - Ram int `pulumi:"ram"` +// If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. +func (o GetLoadbalancerTargetPoolSessionPersistenceOutput) UseSourceIpAddress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolSessionPersistence) *bool { return v.UseSourceIpAddress }).(pulumi.BoolPtrOutput) } -// GetMongodbflexInstanceFlavorInput is an input type that accepts GetMongodbflexInstanceFlavorArgs and GetMongodbflexInstanceFlavorOutput values. -// You can construct a concrete instance of `GetMongodbflexInstanceFlavorInput` via: -// -// GetMongodbflexInstanceFlavorArgs{...} -type GetMongodbflexInstanceFlavorInput interface { - pulumi.Input +type GetLoadbalancerTargetPoolSessionPersistencePtrOutput struct{ *pulumi.OutputState } - ToGetMongodbflexInstanceFlavorOutput() GetMongodbflexInstanceFlavorOutput - ToGetMongodbflexInstanceFlavorOutputWithContext(context.Context) GetMongodbflexInstanceFlavorOutput +func (GetLoadbalancerTargetPoolSessionPersistencePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetLoadbalancerTargetPoolSessionPersistence)(nil)).Elem() } -type GetMongodbflexInstanceFlavorArgs struct { - Cpu pulumi.IntInput `pulumi:"cpu"` - Description pulumi.StringInput `pulumi:"description"` - Id pulumi.StringInput `pulumi:"id"` - Ram pulumi.IntInput `pulumi:"ram"` +func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutput() GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return o } -func (GetMongodbflexInstanceFlavorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMongodbflexInstanceFlavor)(nil)).Elem() -} - -func (i GetMongodbflexInstanceFlavorArgs) ToGetMongodbflexInstanceFlavorOutput() GetMongodbflexInstanceFlavorOutput { - return i.ToGetMongodbflexInstanceFlavorOutputWithContext(context.Background()) +func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) ToGetLoadbalancerTargetPoolSessionPersistencePtrOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolSessionPersistencePtrOutput { + return o } -func (i GetMongodbflexInstanceFlavorArgs) ToGetMongodbflexInstanceFlavorOutputWithContext(ctx context.Context) GetMongodbflexInstanceFlavorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMongodbflexInstanceFlavorOutput) +func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) Elem() GetLoadbalancerTargetPoolSessionPersistenceOutput { + return o.ApplyT(func(v *GetLoadbalancerTargetPoolSessionPersistence) GetLoadbalancerTargetPoolSessionPersistence { + if v != nil { + return *v + } + var ret GetLoadbalancerTargetPoolSessionPersistence + return ret + }).(GetLoadbalancerTargetPoolSessionPersistenceOutput) } -type GetMongodbflexInstanceFlavorOutput struct{ *pulumi.OutputState } - -func (GetMongodbflexInstanceFlavorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMongodbflexInstanceFlavor)(nil)).Elem() +// If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. +func (o GetLoadbalancerTargetPoolSessionPersistencePtrOutput) UseSourceIpAddress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetLoadbalancerTargetPoolSessionPersistence) *bool { + if v == nil { + return nil + } + return v.UseSourceIpAddress + }).(pulumi.BoolPtrOutput) } -func (o GetMongodbflexInstanceFlavorOutput) ToGetMongodbflexInstanceFlavorOutput() GetMongodbflexInstanceFlavorOutput { - return o +type GetLoadbalancerTargetPoolTarget struct { + // Target display name + DisplayName string `pulumi:"displayName"` + // Target IP + Ip string `pulumi:"ip"` } -func (o GetMongodbflexInstanceFlavorOutput) ToGetMongodbflexInstanceFlavorOutputWithContext(ctx context.Context) GetMongodbflexInstanceFlavorOutput { - return o -} +// GetLoadbalancerTargetPoolTargetInput is an input type that accepts GetLoadbalancerTargetPoolTargetArgs and GetLoadbalancerTargetPoolTargetOutput values. +// You can construct a concrete instance of `GetLoadbalancerTargetPoolTargetInput` via: +// +// GetLoadbalancerTargetPoolTargetArgs{...} +type GetLoadbalancerTargetPoolTargetInput interface { + pulumi.Input -func (o GetMongodbflexInstanceFlavorOutput) Cpu() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceFlavor) int { return v.Cpu }).(pulumi.IntOutput) + ToGetLoadbalancerTargetPoolTargetOutput() GetLoadbalancerTargetPoolTargetOutput + ToGetLoadbalancerTargetPoolTargetOutputWithContext(context.Context) GetLoadbalancerTargetPoolTargetOutput } -func (o GetMongodbflexInstanceFlavorOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetMongodbflexInstanceFlavor) string { return v.Description }).(pulumi.StringOutput) +type GetLoadbalancerTargetPoolTargetArgs struct { + // Target display name + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Target IP + Ip pulumi.StringInput `pulumi:"ip"` } -func (o GetMongodbflexInstanceFlavorOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetMongodbflexInstanceFlavor) string { return v.Id }).(pulumi.StringOutput) +func (GetLoadbalancerTargetPoolTargetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPoolTarget)(nil)).Elem() } -func (o GetMongodbflexInstanceFlavorOutput) Ram() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceFlavor) int { return v.Ram }).(pulumi.IntOutput) +func (i GetLoadbalancerTargetPoolTargetArgs) ToGetLoadbalancerTargetPoolTargetOutput() GetLoadbalancerTargetPoolTargetOutput { + return i.ToGetLoadbalancerTargetPoolTargetOutputWithContext(context.Background()) } -type GetMongodbflexInstanceOptions struct { - // The number of days that daily backups will be retained. - DailySnapshotRetentionDays int `pulumi:"dailySnapshotRetentionDays"` - // The number of months that monthly backups will be retained. - MonthlySnapshotRetentionMonths int `pulumi:"monthlySnapshotRetentionMonths"` - // The number of hours back in time the point-in-time recovery feature will be able to recover. - PointInTimeWindowHours int `pulumi:"pointInTimeWindowHours"` - // The number of days that continuous backups (controlled via the `backupSchedule`) will be retained. - SnapshotRetentionDays int `pulumi:"snapshotRetentionDays"` - // Type of the MongoDB Flex instance. - Type string `pulumi:"type"` - // The number of weeks that weekly backups will be retained. - WeeklySnapshotRetentionWeeks int `pulumi:"weeklySnapshotRetentionWeeks"` +func (i GetLoadbalancerTargetPoolTargetArgs) ToGetLoadbalancerTargetPoolTargetOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolTargetOutput) } -// GetMongodbflexInstanceOptionsInput is an input type that accepts GetMongodbflexInstanceOptionsArgs and GetMongodbflexInstanceOptionsOutput values. -// You can construct a concrete instance of `GetMongodbflexInstanceOptionsInput` via: +// GetLoadbalancerTargetPoolTargetArrayInput is an input type that accepts GetLoadbalancerTargetPoolTargetArray and GetLoadbalancerTargetPoolTargetArrayOutput values. +// You can construct a concrete instance of `GetLoadbalancerTargetPoolTargetArrayInput` via: // -// GetMongodbflexInstanceOptionsArgs{...} -type GetMongodbflexInstanceOptionsInput interface { +// GetLoadbalancerTargetPoolTargetArray{ GetLoadbalancerTargetPoolTargetArgs{...} } +type GetLoadbalancerTargetPoolTargetArrayInput interface { pulumi.Input - ToGetMongodbflexInstanceOptionsOutput() GetMongodbflexInstanceOptionsOutput - ToGetMongodbflexInstanceOptionsOutputWithContext(context.Context) GetMongodbflexInstanceOptionsOutput + ToGetLoadbalancerTargetPoolTargetArrayOutput() GetLoadbalancerTargetPoolTargetArrayOutput + ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(context.Context) GetLoadbalancerTargetPoolTargetArrayOutput } -type GetMongodbflexInstanceOptionsArgs struct { - // The number of days that daily backups will be retained. - DailySnapshotRetentionDays pulumi.IntInput `pulumi:"dailySnapshotRetentionDays"` - // The number of months that monthly backups will be retained. - MonthlySnapshotRetentionMonths pulumi.IntInput `pulumi:"monthlySnapshotRetentionMonths"` - // The number of hours back in time the point-in-time recovery feature will be able to recover. - PointInTimeWindowHours pulumi.IntInput `pulumi:"pointInTimeWindowHours"` - // The number of days that continuous backups (controlled via the `backupSchedule`) will be retained. - SnapshotRetentionDays pulumi.IntInput `pulumi:"snapshotRetentionDays"` - // Type of the MongoDB Flex instance. - Type pulumi.StringInput `pulumi:"type"` - // The number of weeks that weekly backups will be retained. - WeeklySnapshotRetentionWeeks pulumi.IntInput `pulumi:"weeklySnapshotRetentionWeeks"` -} +type GetLoadbalancerTargetPoolTargetArray []GetLoadbalancerTargetPoolTargetInput -func (GetMongodbflexInstanceOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMongodbflexInstanceOptions)(nil)).Elem() +func (GetLoadbalancerTargetPoolTargetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerTargetPoolTarget)(nil)).Elem() } -func (i GetMongodbflexInstanceOptionsArgs) ToGetMongodbflexInstanceOptionsOutput() GetMongodbflexInstanceOptionsOutput { - return i.ToGetMongodbflexInstanceOptionsOutputWithContext(context.Background()) +func (i GetLoadbalancerTargetPoolTargetArray) ToGetLoadbalancerTargetPoolTargetArrayOutput() GetLoadbalancerTargetPoolTargetArrayOutput { + return i.ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(context.Background()) } -func (i GetMongodbflexInstanceOptionsArgs) ToGetMongodbflexInstanceOptionsOutputWithContext(ctx context.Context) GetMongodbflexInstanceOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMongodbflexInstanceOptionsOutput) +func (i GetLoadbalancerTargetPoolTargetArray) ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLoadbalancerTargetPoolTargetArrayOutput) } -type GetMongodbflexInstanceOptionsOutput struct{ *pulumi.OutputState } +type GetLoadbalancerTargetPoolTargetOutput struct{ *pulumi.OutputState } -func (GetMongodbflexInstanceOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMongodbflexInstanceOptions)(nil)).Elem() +func (GetLoadbalancerTargetPoolTargetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLoadbalancerTargetPoolTarget)(nil)).Elem() } -func (o GetMongodbflexInstanceOptionsOutput) ToGetMongodbflexInstanceOptionsOutput() GetMongodbflexInstanceOptionsOutput { +func (o GetLoadbalancerTargetPoolTargetOutput) ToGetLoadbalancerTargetPoolTargetOutput() GetLoadbalancerTargetPoolTargetOutput { return o } -func (o GetMongodbflexInstanceOptionsOutput) ToGetMongodbflexInstanceOptionsOutputWithContext(ctx context.Context) GetMongodbflexInstanceOptionsOutput { +func (o GetLoadbalancerTargetPoolTargetOutput) ToGetLoadbalancerTargetPoolTargetOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetOutput { return o } -// The number of days that daily backups will be retained. -func (o GetMongodbflexInstanceOptionsOutput) DailySnapshotRetentionDays() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.DailySnapshotRetentionDays }).(pulumi.IntOutput) +// Target display name +func (o GetLoadbalancerTargetPoolTargetOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolTarget) string { return v.DisplayName }).(pulumi.StringOutput) } -// The number of months that monthly backups will be retained. -func (o GetMongodbflexInstanceOptionsOutput) MonthlySnapshotRetentionMonths() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.MonthlySnapshotRetentionMonths }).(pulumi.IntOutput) +// Target IP +func (o GetLoadbalancerTargetPoolTargetOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadbalancerTargetPoolTarget) string { return v.Ip }).(pulumi.StringOutput) } -// The number of hours back in time the point-in-time recovery feature will be able to recover. -func (o GetMongodbflexInstanceOptionsOutput) PointInTimeWindowHours() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.PointInTimeWindowHours }).(pulumi.IntOutput) +type GetLoadbalancerTargetPoolTargetArrayOutput struct{ *pulumi.OutputState } + +func (GetLoadbalancerTargetPoolTargetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLoadbalancerTargetPoolTarget)(nil)).Elem() } -// The number of days that continuous backups (controlled via the `backupSchedule`) will be retained. -func (o GetMongodbflexInstanceOptionsOutput) SnapshotRetentionDays() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.SnapshotRetentionDays }).(pulumi.IntOutput) +func (o GetLoadbalancerTargetPoolTargetArrayOutput) ToGetLoadbalancerTargetPoolTargetArrayOutput() GetLoadbalancerTargetPoolTargetArrayOutput { + return o } -// Type of the MongoDB Flex instance. -func (o GetMongodbflexInstanceOptionsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetMongodbflexInstanceOptions) string { return v.Type }).(pulumi.StringOutput) +func (o GetLoadbalancerTargetPoolTargetArrayOutput) ToGetLoadbalancerTargetPoolTargetArrayOutputWithContext(ctx context.Context) GetLoadbalancerTargetPoolTargetArrayOutput { + return o } -// The number of weeks that weekly backups will be retained. -func (o GetMongodbflexInstanceOptionsOutput) WeeklySnapshotRetentionWeeks() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.WeeklySnapshotRetentionWeeks }).(pulumi.IntOutput) +func (o GetLoadbalancerTargetPoolTargetArrayOutput) Index(i pulumi.IntInput) GetLoadbalancerTargetPoolTargetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadbalancerTargetPoolTarget { + return vs[0].([]GetLoadbalancerTargetPoolTarget)[vs[1].(int)] + }).(GetLoadbalancerTargetPoolTargetOutput) } -type GetMongodbflexInstanceStorage struct { - Class string `pulumi:"class"` - Size int `pulumi:"size"` +type GetLogmeInstanceParameters struct { + // Enable monitoring. + EnableMonitoring bool `pulumi:"enableMonitoring"` + FluentdTcp int `pulumi:"fluentdTcp"` + FluentdTls int `pulumi:"fluentdTls"` + FluentdTlsCiphers string `pulumi:"fluentdTlsCiphers"` + FluentdTlsMaxVersion string `pulumi:"fluentdTlsMaxVersion"` + FluentdTlsMinVersion string `pulumi:"fluentdTlsMinVersion"` + FluentdTlsVersion string `pulumi:"fluentdTlsVersion"` + FluentdUdp int `pulumi:"fluentdUdp"` + // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + Graphite string `pulumi:"graphite"` + // Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. + IsmDeletionAfter string `pulumi:"ismDeletionAfter"` + IsmJitter float64 `pulumi:"ismJitter"` + // Jitter of the execution time. + IsmJobInterval int `pulumi:"ismJobInterval"` + // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + JavaHeapspace int `pulumi:"javaHeapspace"` + // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + JavaMaxmetaspace int `pulumi:"javaMaxmetaspace"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold int `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted (in seconds). + MetricsFrequency int `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + MetricsPrefix string `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId string `pulumi:"monitoringInstanceId"` + OpensearchTlsCiphers []string `pulumi:"opensearchTlsCiphers"` + OpensearchTlsProtocols []string `pulumi:"opensearchTlsProtocols"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl string `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs []string `pulumi:"syslogs"` } -// GetMongodbflexInstanceStorageInput is an input type that accepts GetMongodbflexInstanceStorageArgs and GetMongodbflexInstanceStorageOutput values. -// You can construct a concrete instance of `GetMongodbflexInstanceStorageInput` via: +// GetLogmeInstanceParametersInput is an input type that accepts GetLogmeInstanceParametersArgs and GetLogmeInstanceParametersOutput values. +// You can construct a concrete instance of `GetLogmeInstanceParametersInput` via: // -// GetMongodbflexInstanceStorageArgs{...} -type GetMongodbflexInstanceStorageInput interface { +// GetLogmeInstanceParametersArgs{...} +type GetLogmeInstanceParametersInput interface { pulumi.Input - ToGetMongodbflexInstanceStorageOutput() GetMongodbflexInstanceStorageOutput - ToGetMongodbflexInstanceStorageOutputWithContext(context.Context) GetMongodbflexInstanceStorageOutput + ToGetLogmeInstanceParametersOutput() GetLogmeInstanceParametersOutput + ToGetLogmeInstanceParametersOutputWithContext(context.Context) GetLogmeInstanceParametersOutput } -type GetMongodbflexInstanceStorageArgs struct { - Class pulumi.StringInput `pulumi:"class"` - Size pulumi.IntInput `pulumi:"size"` +type GetLogmeInstanceParametersArgs struct { + // Enable monitoring. + EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` + FluentdTcp pulumi.IntInput `pulumi:"fluentdTcp"` + FluentdTls pulumi.IntInput `pulumi:"fluentdTls"` + FluentdTlsCiphers pulumi.StringInput `pulumi:"fluentdTlsCiphers"` + FluentdTlsMaxVersion pulumi.StringInput `pulumi:"fluentdTlsMaxVersion"` + FluentdTlsMinVersion pulumi.StringInput `pulumi:"fluentdTlsMinVersion"` + FluentdTlsVersion pulumi.StringInput `pulumi:"fluentdTlsVersion"` + FluentdUdp pulumi.IntInput `pulumi:"fluentdUdp"` + // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + Graphite pulumi.StringInput `pulumi:"graphite"` + // Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. + IsmDeletionAfter pulumi.StringInput `pulumi:"ismDeletionAfter"` + IsmJitter pulumi.Float64Input `pulumi:"ismJitter"` + // Jitter of the execution time. + IsmJobInterval pulumi.IntInput `pulumi:"ismJobInterval"` + // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + JavaHeapspace pulumi.IntInput `pulumi:"javaHeapspace"` + // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + JavaMaxmetaspace pulumi.IntInput `pulumi:"javaMaxmetaspace"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted (in seconds). + MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` + OpensearchTlsCiphers pulumi.StringArrayInput `pulumi:"opensearchTlsCiphers"` + OpensearchTlsProtocols pulumi.StringArrayInput `pulumi:"opensearchTlsProtocols"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` } -func (GetMongodbflexInstanceStorageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMongodbflexInstanceStorage)(nil)).Elem() -} +func (GetLogmeInstanceParametersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLogmeInstanceParameters)(nil)).Elem() +} -func (i GetMongodbflexInstanceStorageArgs) ToGetMongodbflexInstanceStorageOutput() GetMongodbflexInstanceStorageOutput { - return i.ToGetMongodbflexInstanceStorageOutputWithContext(context.Background()) +func (i GetLogmeInstanceParametersArgs) ToGetLogmeInstanceParametersOutput() GetLogmeInstanceParametersOutput { + return i.ToGetLogmeInstanceParametersOutputWithContext(context.Background()) } -func (i GetMongodbflexInstanceStorageArgs) ToGetMongodbflexInstanceStorageOutputWithContext(ctx context.Context) GetMongodbflexInstanceStorageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMongodbflexInstanceStorageOutput) +func (i GetLogmeInstanceParametersArgs) ToGetLogmeInstanceParametersOutputWithContext(ctx context.Context) GetLogmeInstanceParametersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLogmeInstanceParametersOutput) } -type GetMongodbflexInstanceStorageOutput struct{ *pulumi.OutputState } +type GetLogmeInstanceParametersOutput struct{ *pulumi.OutputState } -func (GetMongodbflexInstanceStorageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMongodbflexInstanceStorage)(nil)).Elem() +func (GetLogmeInstanceParametersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLogmeInstanceParameters)(nil)).Elem() } -func (o GetMongodbflexInstanceStorageOutput) ToGetMongodbflexInstanceStorageOutput() GetMongodbflexInstanceStorageOutput { +func (o GetLogmeInstanceParametersOutput) ToGetLogmeInstanceParametersOutput() GetLogmeInstanceParametersOutput { return o } -func (o GetMongodbflexInstanceStorageOutput) ToGetMongodbflexInstanceStorageOutputWithContext(ctx context.Context) GetMongodbflexInstanceStorageOutput { +func (o GetLogmeInstanceParametersOutput) ToGetLogmeInstanceParametersOutputWithContext(ctx context.Context) GetLogmeInstanceParametersOutput { return o } -func (o GetMongodbflexInstanceStorageOutput) Class() pulumi.StringOutput { - return o.ApplyT(func(v GetMongodbflexInstanceStorage) string { return v.Class }).(pulumi.StringOutput) +// Enable monitoring. +func (o GetLogmeInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) } -func (o GetMongodbflexInstanceStorageOutput) Size() pulumi.IntOutput { - return o.ApplyT(func(v GetMongodbflexInstanceStorage) int { return v.Size }).(pulumi.IntOutput) +func (o GetLogmeInstanceParametersOutput) FluentdTcp() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.FluentdTcp }).(pulumi.IntOutput) } -type GetNetworkAreaNetworkRange struct { - NetworkRangeId string `pulumi:"networkRangeId"` - Prefix string `pulumi:"prefix"` +func (o GetLogmeInstanceParametersOutput) FluentdTls() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.FluentdTls }).(pulumi.IntOutput) } -// GetNetworkAreaNetworkRangeInput is an input type that accepts GetNetworkAreaNetworkRangeArgs and GetNetworkAreaNetworkRangeOutput values. -// You can construct a concrete instance of `GetNetworkAreaNetworkRangeInput` via: -// -// GetNetworkAreaNetworkRangeArgs{...} -type GetNetworkAreaNetworkRangeInput interface { - pulumi.Input - - ToGetNetworkAreaNetworkRangeOutput() GetNetworkAreaNetworkRangeOutput - ToGetNetworkAreaNetworkRangeOutputWithContext(context.Context) GetNetworkAreaNetworkRangeOutput +func (o GetLogmeInstanceParametersOutput) FluentdTlsCiphers() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsCiphers }).(pulumi.StringOutput) } -type GetNetworkAreaNetworkRangeArgs struct { - NetworkRangeId pulumi.StringInput `pulumi:"networkRangeId"` - Prefix pulumi.StringInput `pulumi:"prefix"` +func (o GetLogmeInstanceParametersOutput) FluentdTlsMaxVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsMaxVersion }).(pulumi.StringOutput) } -func (GetNetworkAreaNetworkRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkAreaNetworkRange)(nil)).Elem() +func (o GetLogmeInstanceParametersOutput) FluentdTlsMinVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsMinVersion }).(pulumi.StringOutput) } -func (i GetNetworkAreaNetworkRangeArgs) ToGetNetworkAreaNetworkRangeOutput() GetNetworkAreaNetworkRangeOutput { - return i.ToGetNetworkAreaNetworkRangeOutputWithContext(context.Background()) +func (o GetLogmeInstanceParametersOutput) FluentdTlsVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.FluentdTlsVersion }).(pulumi.StringOutput) } -func (i GetNetworkAreaNetworkRangeArgs) ToGetNetworkAreaNetworkRangeOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAreaNetworkRangeOutput) +func (o GetLogmeInstanceParametersOutput) FluentdUdp() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.FluentdUdp }).(pulumi.IntOutput) } -// GetNetworkAreaNetworkRangeArrayInput is an input type that accepts GetNetworkAreaNetworkRangeArray and GetNetworkAreaNetworkRangeArrayOutput values. -// You can construct a concrete instance of `GetNetworkAreaNetworkRangeArrayInput` via: -// -// GetNetworkAreaNetworkRangeArray{ GetNetworkAreaNetworkRangeArgs{...} } -type GetNetworkAreaNetworkRangeArrayInput interface { - pulumi.Input - - ToGetNetworkAreaNetworkRangeArrayOutput() GetNetworkAreaNetworkRangeArrayOutput - ToGetNetworkAreaNetworkRangeArrayOutputWithContext(context.Context) GetNetworkAreaNetworkRangeArrayOutput +// If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). +func (o GetLogmeInstanceParametersOutput) Graphite() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) } -type GetNetworkAreaNetworkRangeArray []GetNetworkAreaNetworkRangeInput - -func (GetNetworkAreaNetworkRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkAreaNetworkRange)(nil)).Elem() +// Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. +func (o GetLogmeInstanceParametersOutput) IsmDeletionAfter() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.IsmDeletionAfter }).(pulumi.StringOutput) } -func (i GetNetworkAreaNetworkRangeArray) ToGetNetworkAreaNetworkRangeArrayOutput() GetNetworkAreaNetworkRangeArrayOutput { - return i.ToGetNetworkAreaNetworkRangeArrayOutputWithContext(context.Background()) +func (o GetLogmeInstanceParametersOutput) IsmJitter() pulumi.Float64Output { + return o.ApplyT(func(v GetLogmeInstanceParameters) float64 { return v.IsmJitter }).(pulumi.Float64Output) } -func (i GetNetworkAreaNetworkRangeArray) ToGetNetworkAreaNetworkRangeArrayOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAreaNetworkRangeArrayOutput) +// Jitter of the execution time. +func (o GetLogmeInstanceParametersOutput) IsmJobInterval() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.IsmJobInterval }).(pulumi.IntOutput) } -type GetNetworkAreaNetworkRangeOutput struct{ *pulumi.OutputState } - -func (GetNetworkAreaNetworkRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetworkAreaNetworkRange)(nil)).Elem() +// The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. +func (o GetLogmeInstanceParametersOutput) JavaHeapspace() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.JavaHeapspace }).(pulumi.IntOutput) } -func (o GetNetworkAreaNetworkRangeOutput) ToGetNetworkAreaNetworkRangeOutput() GetNetworkAreaNetworkRangeOutput { - return o +// The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. +func (o GetLogmeInstanceParametersOutput) JavaMaxmetaspace() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.JavaMaxmetaspace }).(pulumi.IntOutput) } -func (o GetNetworkAreaNetworkRangeOutput) ToGetNetworkAreaNetworkRangeOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeOutput { - return o +// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. +func (o GetLogmeInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) } -func (o GetNetworkAreaNetworkRangeOutput) NetworkRangeId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkAreaNetworkRange) string { return v.NetworkRangeId }).(pulumi.StringOutput) +// The frequency in seconds at which metrics are emitted (in seconds). +func (o GetLogmeInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) } -func (o GetNetworkAreaNetworkRangeOutput) Prefix() pulumi.StringOutput { - return o.ApplyT(func(v GetNetworkAreaNetworkRange) string { return v.Prefix }).(pulumi.StringOutput) +// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. +func (o GetLogmeInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) } -type GetNetworkAreaNetworkRangeArrayOutput struct{ *pulumi.OutputState } +// The ID of the STACKIT monitoring instance. +func (o GetLogmeInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) +} -func (GetNetworkAreaNetworkRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetworkAreaNetworkRange)(nil)).Elem() +func (o GetLogmeInstanceParametersOutput) OpensearchTlsCiphers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) []string { return v.OpensearchTlsCiphers }).(pulumi.StringArrayOutput) } -func (o GetNetworkAreaNetworkRangeArrayOutput) ToGetNetworkAreaNetworkRangeArrayOutput() GetNetworkAreaNetworkRangeArrayOutput { - return o +func (o GetLogmeInstanceParametersOutput) OpensearchTlsProtocols() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) []string { return v.OpensearchTlsProtocols }).(pulumi.StringArrayOutput) } -func (o GetNetworkAreaNetworkRangeArrayOutput) ToGetNetworkAreaNetworkRangeArrayOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeArrayOutput { - return o +// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. +func (o GetLogmeInstanceParametersOutput) SgwAcl() pulumi.StringOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) } -func (o GetNetworkAreaNetworkRangeArrayOutput) Index(i pulumi.IntInput) GetNetworkAreaNetworkRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkAreaNetworkRange { - return vs[0].([]GetNetworkAreaNetworkRange)[vs[1].(int)] - }).(GetNetworkAreaNetworkRangeOutput) +// List of syslog servers to send logs to. +func (o GetLogmeInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetLogmeInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) } -type GetObservabilityAlertgroupRule struct { - // The name of the alert rule. Is the identifier and must be unique in the group. - Alert string `pulumi:"alert"` - // A map of key:value. Annotations to add or overwrite for each alert - Annotations map[string]string `pulumi:"annotations"` - // The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - Expression string `pulumi:"expression"` - // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - For string `pulumi:"for"` - // A map of key:value. Labels to add or overwrite for each alert - Labels map[string]string `pulumi:"labels"` +type GetMariadbInstanceParameters struct { + // Enable monitoring. + EnableMonitoring bool `pulumi:"enableMonitoring"` + Graphite string `pulumi:"graphite"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold int `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted. + MetricsFrequency int `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + MetricsPrefix string `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId string `pulumi:"monitoringInstanceId"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl string `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs []string `pulumi:"syslogs"` } -// GetObservabilityAlertgroupRuleInput is an input type that accepts GetObservabilityAlertgroupRuleArgs and GetObservabilityAlertgroupRuleOutput values. -// You can construct a concrete instance of `GetObservabilityAlertgroupRuleInput` via: +// GetMariadbInstanceParametersInput is an input type that accepts GetMariadbInstanceParametersArgs and GetMariadbInstanceParametersOutput values. +// You can construct a concrete instance of `GetMariadbInstanceParametersInput` via: // -// GetObservabilityAlertgroupRuleArgs{...} -type GetObservabilityAlertgroupRuleInput interface { +// GetMariadbInstanceParametersArgs{...} +type GetMariadbInstanceParametersInput interface { pulumi.Input - ToGetObservabilityAlertgroupRuleOutput() GetObservabilityAlertgroupRuleOutput - ToGetObservabilityAlertgroupRuleOutputWithContext(context.Context) GetObservabilityAlertgroupRuleOutput + ToGetMariadbInstanceParametersOutput() GetMariadbInstanceParametersOutput + ToGetMariadbInstanceParametersOutputWithContext(context.Context) GetMariadbInstanceParametersOutput } -type GetObservabilityAlertgroupRuleArgs struct { - // The name of the alert rule. Is the identifier and must be unique in the group. - Alert pulumi.StringInput `pulumi:"alert"` - // A map of key:value. Annotations to add or overwrite for each alert - Annotations pulumi.StringMapInput `pulumi:"annotations"` - // The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - Expression pulumi.StringInput `pulumi:"expression"` - // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - For pulumi.StringInput `pulumi:"for"` - // A map of key:value. Labels to add or overwrite for each alert - Labels pulumi.StringMapInput `pulumi:"labels"` +type GetMariadbInstanceParametersArgs struct { + // Enable monitoring. + EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` + Graphite pulumi.StringInput `pulumi:"graphite"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted. + MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` } -func (GetObservabilityAlertgroupRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityAlertgroupRule)(nil)).Elem() +func (GetMariadbInstanceParametersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMariadbInstanceParameters)(nil)).Elem() } -func (i GetObservabilityAlertgroupRuleArgs) ToGetObservabilityAlertgroupRuleOutput() GetObservabilityAlertgroupRuleOutput { - return i.ToGetObservabilityAlertgroupRuleOutputWithContext(context.Background()) +func (i GetMariadbInstanceParametersArgs) ToGetMariadbInstanceParametersOutput() GetMariadbInstanceParametersOutput { + return i.ToGetMariadbInstanceParametersOutputWithContext(context.Background()) } -func (i GetObservabilityAlertgroupRuleArgs) ToGetObservabilityAlertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityAlertgroupRuleOutput) +func (i GetMariadbInstanceParametersArgs) ToGetMariadbInstanceParametersOutputWithContext(ctx context.Context) GetMariadbInstanceParametersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMariadbInstanceParametersOutput) } -// GetObservabilityAlertgroupRuleArrayInput is an input type that accepts GetObservabilityAlertgroupRuleArray and GetObservabilityAlertgroupRuleArrayOutput values. -// You can construct a concrete instance of `GetObservabilityAlertgroupRuleArrayInput` via: -// -// GetObservabilityAlertgroupRuleArray{ GetObservabilityAlertgroupRuleArgs{...} } -type GetObservabilityAlertgroupRuleArrayInput interface { - pulumi.Input +type GetMariadbInstanceParametersOutput struct{ *pulumi.OutputState } - ToGetObservabilityAlertgroupRuleArrayOutput() GetObservabilityAlertgroupRuleArrayOutput - ToGetObservabilityAlertgroupRuleArrayOutputWithContext(context.Context) GetObservabilityAlertgroupRuleArrayOutput +func (GetMariadbInstanceParametersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMariadbInstanceParameters)(nil)).Elem() } -type GetObservabilityAlertgroupRuleArray []GetObservabilityAlertgroupRuleInput - -func (GetObservabilityAlertgroupRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityAlertgroupRule)(nil)).Elem() +func (o GetMariadbInstanceParametersOutput) ToGetMariadbInstanceParametersOutput() GetMariadbInstanceParametersOutput { + return o } -func (i GetObservabilityAlertgroupRuleArray) ToGetObservabilityAlertgroupRuleArrayOutput() GetObservabilityAlertgroupRuleArrayOutput { - return i.ToGetObservabilityAlertgroupRuleArrayOutputWithContext(context.Background()) +func (o GetMariadbInstanceParametersOutput) ToGetMariadbInstanceParametersOutputWithContext(ctx context.Context) GetMariadbInstanceParametersOutput { + return o } -func (i GetObservabilityAlertgroupRuleArray) ToGetObservabilityAlertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityAlertgroupRuleArrayOutput) +// Enable monitoring. +func (o GetMariadbInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) } -type GetObservabilityAlertgroupRuleOutput struct{ *pulumi.OutputState } +func (o GetMariadbInstanceParametersOutput) Graphite() pulumi.StringOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) +} -func (GetObservabilityAlertgroupRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityAlertgroupRule)(nil)).Elem() +// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. +func (o GetMariadbInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) } -func (o GetObservabilityAlertgroupRuleOutput) ToGetObservabilityAlertgroupRuleOutput() GetObservabilityAlertgroupRuleOutput { - return o -} - -func (o GetObservabilityAlertgroupRuleOutput) ToGetObservabilityAlertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleOutput { - return o -} - -// The name of the alert rule. Is the identifier and must be unique in the group. -func (o GetObservabilityAlertgroupRuleOutput) Alert() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityAlertgroupRule) string { return v.Alert }).(pulumi.StringOutput) -} - -// A map of key:value. Annotations to add or overwrite for each alert -func (o GetObservabilityAlertgroupRuleOutput) Annotations() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityAlertgroupRule) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) -} - -// The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. -func (o GetObservabilityAlertgroupRuleOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityAlertgroupRule) string { return v.Expression }).(pulumi.StringOutput) -} - -// Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s -func (o GetObservabilityAlertgroupRuleOutput) For() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityAlertgroupRule) string { return v.For }).(pulumi.StringOutput) -} - -// A map of key:value. Labels to add or overwrite for each alert -func (o GetObservabilityAlertgroupRuleOutput) Labels() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityAlertgroupRule) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +// The frequency in seconds at which metrics are emitted. +func (o GetMariadbInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) } -type GetObservabilityAlertgroupRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetObservabilityAlertgroupRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityAlertgroupRule)(nil)).Elem() +// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key +func (o GetMariadbInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) } -func (o GetObservabilityAlertgroupRuleArrayOutput) ToGetObservabilityAlertgroupRuleArrayOutput() GetObservabilityAlertgroupRuleArrayOutput { - return o +// The ID of the STACKIT monitoring instance. +func (o GetMariadbInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) } -func (o GetObservabilityAlertgroupRuleArrayOutput) ToGetObservabilityAlertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleArrayOutput { - return o +// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. +func (o GetMariadbInstanceParametersOutput) SgwAcl() pulumi.StringOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) } -func (o GetObservabilityAlertgroupRuleArrayOutput) Index(i pulumi.IntInput) GetObservabilityAlertgroupRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityAlertgroupRule { - return vs[0].([]GetObservabilityAlertgroupRule)[vs[1].(int)] - }).(GetObservabilityAlertgroupRuleOutput) +// List of syslog servers to send logs to. +func (o GetMariadbInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMariadbInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) } -type GetObservabilityInstanceAlertConfig struct { - // Global configuration for the alerts. - Global GetObservabilityInstanceAlertConfigGlobal `pulumi:"global"` - // List of alert receivers. - Receivers []GetObservabilityInstanceAlertConfigReceiver `pulumi:"receivers"` - // The route for the alert. - Route GetObservabilityInstanceAlertConfigRoute `pulumi:"route"` +type GetMongodbflexInstanceFlavor struct { + Cpu int `pulumi:"cpu"` + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Ram int `pulumi:"ram"` } -// GetObservabilityInstanceAlertConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigArgs and GetObservabilityInstanceAlertConfigOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigInput` via: +// GetMongodbflexInstanceFlavorInput is an input type that accepts GetMongodbflexInstanceFlavorArgs and GetMongodbflexInstanceFlavorOutput values. +// You can construct a concrete instance of `GetMongodbflexInstanceFlavorInput` via: // -// GetObservabilityInstanceAlertConfigArgs{...} -type GetObservabilityInstanceAlertConfigInput interface { +// GetMongodbflexInstanceFlavorArgs{...} +type GetMongodbflexInstanceFlavorInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigOutput() GetObservabilityInstanceAlertConfigOutput - ToGetObservabilityInstanceAlertConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigOutput + ToGetMongodbflexInstanceFlavorOutput() GetMongodbflexInstanceFlavorOutput + ToGetMongodbflexInstanceFlavorOutputWithContext(context.Context) GetMongodbflexInstanceFlavorOutput } -type GetObservabilityInstanceAlertConfigArgs struct { - // Global configuration for the alerts. - Global GetObservabilityInstanceAlertConfigGlobalInput `pulumi:"global"` - // List of alert receivers. - Receivers GetObservabilityInstanceAlertConfigReceiverArrayInput `pulumi:"receivers"` - // The route for the alert. - Route GetObservabilityInstanceAlertConfigRouteInput `pulumi:"route"` +type GetMongodbflexInstanceFlavorArgs struct { + Cpu pulumi.IntInput `pulumi:"cpu"` + Description pulumi.StringInput `pulumi:"description"` + Id pulumi.StringInput `pulumi:"id"` + Ram pulumi.IntInput `pulumi:"ram"` } -func (GetObservabilityInstanceAlertConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfig)(nil)).Elem() +func (GetMongodbflexInstanceFlavorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMongodbflexInstanceFlavor)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigArgs) ToGetObservabilityInstanceAlertConfigOutput() GetObservabilityInstanceAlertConfigOutput { - return i.ToGetObservabilityInstanceAlertConfigOutputWithContext(context.Background()) +func (i GetMongodbflexInstanceFlavorArgs) ToGetMongodbflexInstanceFlavorOutput() GetMongodbflexInstanceFlavorOutput { + return i.ToGetMongodbflexInstanceFlavorOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigArgs) ToGetObservabilityInstanceAlertConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigOutput) +func (i GetMongodbflexInstanceFlavorArgs) ToGetMongodbflexInstanceFlavorOutputWithContext(ctx context.Context) GetMongodbflexInstanceFlavorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMongodbflexInstanceFlavorOutput) } -type GetObservabilityInstanceAlertConfigOutput struct{ *pulumi.OutputState } +type GetMongodbflexInstanceFlavorOutput struct{ *pulumi.OutputState } -func (GetObservabilityInstanceAlertConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfig)(nil)).Elem() +func (GetMongodbflexInstanceFlavorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMongodbflexInstanceFlavor)(nil)).Elem() } -func (o GetObservabilityInstanceAlertConfigOutput) ToGetObservabilityInstanceAlertConfigOutput() GetObservabilityInstanceAlertConfigOutput { +func (o GetMongodbflexInstanceFlavorOutput) ToGetMongodbflexInstanceFlavorOutput() GetMongodbflexInstanceFlavorOutput { return o } -func (o GetObservabilityInstanceAlertConfigOutput) ToGetObservabilityInstanceAlertConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigOutput { +func (o GetMongodbflexInstanceFlavorOutput) ToGetMongodbflexInstanceFlavorOutputWithContext(ctx context.Context) GetMongodbflexInstanceFlavorOutput { return o } -// Global configuration for the alerts. -func (o GetObservabilityInstanceAlertConfigOutput) Global() GetObservabilityInstanceAlertConfigGlobalOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfig) GetObservabilityInstanceAlertConfigGlobal { return v.Global }).(GetObservabilityInstanceAlertConfigGlobalOutput) +func (o GetMongodbflexInstanceFlavorOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceFlavor) int { return v.Cpu }).(pulumi.IntOutput) } -// List of alert receivers. -func (o GetObservabilityInstanceAlertConfigOutput) Receivers() GetObservabilityInstanceAlertConfigReceiverArrayOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfig) []GetObservabilityInstanceAlertConfigReceiver { - return v.Receivers - }).(GetObservabilityInstanceAlertConfigReceiverArrayOutput) +func (o GetMongodbflexInstanceFlavorOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMongodbflexInstanceFlavor) string { return v.Description }).(pulumi.StringOutput) } -// The route for the alert. -func (o GetObservabilityInstanceAlertConfigOutput) Route() GetObservabilityInstanceAlertConfigRouteOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfig) GetObservabilityInstanceAlertConfigRoute { return v.Route }).(GetObservabilityInstanceAlertConfigRouteOutput) +func (o GetMongodbflexInstanceFlavorOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMongodbflexInstanceFlavor) string { return v.Id }).(pulumi.StringOutput) } -type GetObservabilityInstanceAlertConfigGlobal struct { - // The API key for OpsGenie. - OpsgenieApiKey string `pulumi:"opsgenieApiKey"` - // The host to send OpsGenie API requests to. Must be a valid URL - OpsgenieApiUrl string `pulumi:"opsgenieApiUrl"` - // The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. - ResolveTimeout string `pulumi:"resolveTimeout"` - // SMTP authentication information. Must be a valid email address - SmtpAuthIdentity string `pulumi:"smtpAuthIdentity"` - // SMTP Auth using LOGIN and PLAIN. - SmtpAuthPassword string `pulumi:"smtpAuthPassword"` - // SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. - SmtpAuthUsername string `pulumi:"smtpAuthUsername"` - // The default SMTP From header field. Must be a valid email address - SmtpFrom string `pulumi:"smtpFrom"` - // The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). - SmtpSmartHost string `pulumi:"smtpSmartHost"` +func (o GetMongodbflexInstanceFlavorOutput) Ram() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceFlavor) int { return v.Ram }).(pulumi.IntOutput) } -// GetObservabilityInstanceAlertConfigGlobalInput is an input type that accepts GetObservabilityInstanceAlertConfigGlobalArgs and GetObservabilityInstanceAlertConfigGlobalOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigGlobalInput` via: +type GetMongodbflexInstanceOptions struct { + // The number of days that daily backups will be retained. + DailySnapshotRetentionDays int `pulumi:"dailySnapshotRetentionDays"` + // The number of months that monthly backups will be retained. + MonthlySnapshotRetentionMonths int `pulumi:"monthlySnapshotRetentionMonths"` + // The number of hours back in time the point-in-time recovery feature will be able to recover. + PointInTimeWindowHours int `pulumi:"pointInTimeWindowHours"` + // The number of days that continuous backups (controlled via the `backupSchedule`) will be retained. + SnapshotRetentionDays int `pulumi:"snapshotRetentionDays"` + // Type of the MongoDB Flex instance. + Type string `pulumi:"type"` + // The number of weeks that weekly backups will be retained. + WeeklySnapshotRetentionWeeks int `pulumi:"weeklySnapshotRetentionWeeks"` +} + +// GetMongodbflexInstanceOptionsInput is an input type that accepts GetMongodbflexInstanceOptionsArgs and GetMongodbflexInstanceOptionsOutput values. +// You can construct a concrete instance of `GetMongodbflexInstanceOptionsInput` via: // -// GetObservabilityInstanceAlertConfigGlobalArgs{...} -type GetObservabilityInstanceAlertConfigGlobalInput interface { +// GetMongodbflexInstanceOptionsArgs{...} +type GetMongodbflexInstanceOptionsInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigGlobalOutput() GetObservabilityInstanceAlertConfigGlobalOutput - ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigGlobalOutput + ToGetMongodbflexInstanceOptionsOutput() GetMongodbflexInstanceOptionsOutput + ToGetMongodbflexInstanceOptionsOutputWithContext(context.Context) GetMongodbflexInstanceOptionsOutput } -type GetObservabilityInstanceAlertConfigGlobalArgs struct { - // The API key for OpsGenie. - OpsgenieApiKey pulumi.StringInput `pulumi:"opsgenieApiKey"` - // The host to send OpsGenie API requests to. Must be a valid URL - OpsgenieApiUrl pulumi.StringInput `pulumi:"opsgenieApiUrl"` - // The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. - ResolveTimeout pulumi.StringInput `pulumi:"resolveTimeout"` - // SMTP authentication information. Must be a valid email address - SmtpAuthIdentity pulumi.StringInput `pulumi:"smtpAuthIdentity"` - // SMTP Auth using LOGIN and PLAIN. - SmtpAuthPassword pulumi.StringInput `pulumi:"smtpAuthPassword"` - // SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. - SmtpAuthUsername pulumi.StringInput `pulumi:"smtpAuthUsername"` - // The default SMTP From header field. Must be a valid email address - SmtpFrom pulumi.StringInput `pulumi:"smtpFrom"` - // The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). - SmtpSmartHost pulumi.StringInput `pulumi:"smtpSmartHost"` +type GetMongodbflexInstanceOptionsArgs struct { + // The number of days that daily backups will be retained. + DailySnapshotRetentionDays pulumi.IntInput `pulumi:"dailySnapshotRetentionDays"` + // The number of months that monthly backups will be retained. + MonthlySnapshotRetentionMonths pulumi.IntInput `pulumi:"monthlySnapshotRetentionMonths"` + // The number of hours back in time the point-in-time recovery feature will be able to recover. + PointInTimeWindowHours pulumi.IntInput `pulumi:"pointInTimeWindowHours"` + // The number of days that continuous backups (controlled via the `backupSchedule`) will be retained. + SnapshotRetentionDays pulumi.IntInput `pulumi:"snapshotRetentionDays"` + // Type of the MongoDB Flex instance. + Type pulumi.StringInput `pulumi:"type"` + // The number of weeks that weekly backups will be retained. + WeeklySnapshotRetentionWeeks pulumi.IntInput `pulumi:"weeklySnapshotRetentionWeeks"` } -func (GetObservabilityInstanceAlertConfigGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigGlobal)(nil)).Elem() +func (GetMongodbflexInstanceOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMongodbflexInstanceOptions)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigGlobalArgs) ToGetObservabilityInstanceAlertConfigGlobalOutput() GetObservabilityInstanceAlertConfigGlobalOutput { - return i.ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(context.Background()) +func (i GetMongodbflexInstanceOptionsArgs) ToGetMongodbflexInstanceOptionsOutput() GetMongodbflexInstanceOptionsOutput { + return i.ToGetMongodbflexInstanceOptionsOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigGlobalArgs) ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigGlobalOutput) +func (i GetMongodbflexInstanceOptionsArgs) ToGetMongodbflexInstanceOptionsOutputWithContext(ctx context.Context) GetMongodbflexInstanceOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMongodbflexInstanceOptionsOutput) } -type GetObservabilityInstanceAlertConfigGlobalOutput struct{ *pulumi.OutputState } +type GetMongodbflexInstanceOptionsOutput struct{ *pulumi.OutputState } -func (GetObservabilityInstanceAlertConfigGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigGlobal)(nil)).Elem() +func (GetMongodbflexInstanceOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMongodbflexInstanceOptions)(nil)).Elem() } -func (o GetObservabilityInstanceAlertConfigGlobalOutput) ToGetObservabilityInstanceAlertConfigGlobalOutput() GetObservabilityInstanceAlertConfigGlobalOutput { +func (o GetMongodbflexInstanceOptionsOutput) ToGetMongodbflexInstanceOptionsOutput() GetMongodbflexInstanceOptionsOutput { return o } -func (o GetObservabilityInstanceAlertConfigGlobalOutput) ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigGlobalOutput { +func (o GetMongodbflexInstanceOptionsOutput) ToGetMongodbflexInstanceOptionsOutputWithContext(ctx context.Context) GetMongodbflexInstanceOptionsOutput { return o } -// The API key for OpsGenie. -func (o GetObservabilityInstanceAlertConfigGlobalOutput) OpsgenieApiKey() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.OpsgenieApiKey }).(pulumi.StringOutput) +// The number of days that daily backups will be retained. +func (o GetMongodbflexInstanceOptionsOutput) DailySnapshotRetentionDays() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.DailySnapshotRetentionDays }).(pulumi.IntOutput) } -// The host to send OpsGenie API requests to. Must be a valid URL -func (o GetObservabilityInstanceAlertConfigGlobalOutput) OpsgenieApiUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.OpsgenieApiUrl }).(pulumi.StringOutput) +// The number of months that monthly backups will be retained. +func (o GetMongodbflexInstanceOptionsOutput) MonthlySnapshotRetentionMonths() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.MonthlySnapshotRetentionMonths }).(pulumi.IntOutput) } -// The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. -func (o GetObservabilityInstanceAlertConfigGlobalOutput) ResolveTimeout() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.ResolveTimeout }).(pulumi.StringOutput) +// The number of hours back in time the point-in-time recovery feature will be able to recover. +func (o GetMongodbflexInstanceOptionsOutput) PointInTimeWindowHours() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.PointInTimeWindowHours }).(pulumi.IntOutput) } -// SMTP authentication information. Must be a valid email address -func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpAuthIdentity() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpAuthIdentity }).(pulumi.StringOutput) +// The number of days that continuous backups (controlled via the `backupSchedule`) will be retained. +func (o GetMongodbflexInstanceOptionsOutput) SnapshotRetentionDays() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.SnapshotRetentionDays }).(pulumi.IntOutput) } -// SMTP Auth using LOGIN and PLAIN. -func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpAuthPassword() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpAuthPassword }).(pulumi.StringOutput) -} - -// SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. -func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpAuthUsername() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpAuthUsername }).(pulumi.StringOutput) -} - -// The default SMTP From header field. Must be a valid email address -func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpFrom() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpFrom }).(pulumi.StringOutput) +// Type of the MongoDB Flex instance. +func (o GetMongodbflexInstanceOptionsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMongodbflexInstanceOptions) string { return v.Type }).(pulumi.StringOutput) } -// The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). -func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpSmartHost() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpSmartHost }).(pulumi.StringOutput) +// The number of weeks that weekly backups will be retained. +func (o GetMongodbflexInstanceOptionsOutput) WeeklySnapshotRetentionWeeks() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceOptions) int { return v.WeeklySnapshotRetentionWeeks }).(pulumi.IntOutput) } -type GetObservabilityInstanceAlertConfigReceiver struct { - // List of email configurations. - EmailConfigs []GetObservabilityInstanceAlertConfigReceiverEmailConfig `pulumi:"emailConfigs"` - // Name of the receiver. - Name string `pulumi:"name"` - // List of OpsGenie configurations. - OpsgenieConfigs []GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig `pulumi:"opsgenieConfigs"` - // List of Webhooks configurations. - WebhooksConfigs []GetObservabilityInstanceAlertConfigReceiverWebhooksConfig `pulumi:"webhooksConfigs"` +type GetMongodbflexInstanceStorage struct { + Class string `pulumi:"class"` + Size int `pulumi:"size"` } -// GetObservabilityInstanceAlertConfigReceiverInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverArgs and GetObservabilityInstanceAlertConfigReceiverOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverInput` via: +// GetMongodbflexInstanceStorageInput is an input type that accepts GetMongodbflexInstanceStorageArgs and GetMongodbflexInstanceStorageOutput values. +// You can construct a concrete instance of `GetMongodbflexInstanceStorageInput` via: // -// GetObservabilityInstanceAlertConfigReceiverArgs{...} -type GetObservabilityInstanceAlertConfigReceiverInput interface { +// GetMongodbflexInstanceStorageArgs{...} +type GetMongodbflexInstanceStorageInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigReceiverOutput() GetObservabilityInstanceAlertConfigReceiverOutput - ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverOutput -} - -type GetObservabilityInstanceAlertConfigReceiverArgs struct { - // List of email configurations. - EmailConfigs GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput `pulumi:"emailConfigs"` - // Name of the receiver. - Name pulumi.StringInput `pulumi:"name"` - // List of OpsGenie configurations. - OpsgenieConfigs GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput `pulumi:"opsgenieConfigs"` - // List of Webhooks configurations. - WebhooksConfigs GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput `pulumi:"webhooksConfigs"` -} - -func (GetObservabilityInstanceAlertConfigReceiverArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() -} - -func (i GetObservabilityInstanceAlertConfigReceiverArgs) ToGetObservabilityInstanceAlertConfigReceiverOutput() GetObservabilityInstanceAlertConfigReceiverOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(context.Background()) -} - -func (i GetObservabilityInstanceAlertConfigReceiverArgs) ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverOutput) + ToGetMongodbflexInstanceStorageOutput() GetMongodbflexInstanceStorageOutput + ToGetMongodbflexInstanceStorageOutputWithContext(context.Context) GetMongodbflexInstanceStorageOutput } -// GetObservabilityInstanceAlertConfigReceiverArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverArray and GetObservabilityInstanceAlertConfigReceiverArrayOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverArrayInput` via: -// -// GetObservabilityInstanceAlertConfigReceiverArray{ GetObservabilityInstanceAlertConfigReceiverArgs{...} } -type GetObservabilityInstanceAlertConfigReceiverArrayInput interface { - pulumi.Input - - ToGetObservabilityInstanceAlertConfigReceiverArrayOutput() GetObservabilityInstanceAlertConfigReceiverArrayOutput - ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverArrayOutput +type GetMongodbflexInstanceStorageArgs struct { + Class pulumi.StringInput `pulumi:"class"` + Size pulumi.IntInput `pulumi:"size"` } -type GetObservabilityInstanceAlertConfigReceiverArray []GetObservabilityInstanceAlertConfigReceiverInput - -func (GetObservabilityInstanceAlertConfigReceiverArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() +func (GetMongodbflexInstanceStorageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMongodbflexInstanceStorage)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigReceiverArray) ToGetObservabilityInstanceAlertConfigReceiverArrayOutput() GetObservabilityInstanceAlertConfigReceiverArrayOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(context.Background()) +func (i GetMongodbflexInstanceStorageArgs) ToGetMongodbflexInstanceStorageOutput() GetMongodbflexInstanceStorageOutput { + return i.ToGetMongodbflexInstanceStorageOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigReceiverArray) ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverArrayOutput) +func (i GetMongodbflexInstanceStorageArgs) ToGetMongodbflexInstanceStorageOutputWithContext(ctx context.Context) GetMongodbflexInstanceStorageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMongodbflexInstanceStorageOutput) } -type GetObservabilityInstanceAlertConfigReceiverOutput struct{ *pulumi.OutputState } +type GetMongodbflexInstanceStorageOutput struct{ *pulumi.OutputState } -func (GetObservabilityInstanceAlertConfigReceiverOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() +func (GetMongodbflexInstanceStorageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMongodbflexInstanceStorage)(nil)).Elem() } -func (o GetObservabilityInstanceAlertConfigReceiverOutput) ToGetObservabilityInstanceAlertConfigReceiverOutput() GetObservabilityInstanceAlertConfigReceiverOutput { +func (o GetMongodbflexInstanceStorageOutput) ToGetMongodbflexInstanceStorageOutput() GetMongodbflexInstanceStorageOutput { return o } -func (o GetObservabilityInstanceAlertConfigReceiverOutput) ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOutput { +func (o GetMongodbflexInstanceStorageOutput) ToGetMongodbflexInstanceStorageOutputWithContext(ctx context.Context) GetMongodbflexInstanceStorageOutput { return o } -// List of email configurations. -func (o GetObservabilityInstanceAlertConfigReceiverOutput) EmailConfigs() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) []GetObservabilityInstanceAlertConfigReceiverEmailConfig { - return v.EmailConfigs - }).(GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) -} - -// Name of the receiver. -func (o GetObservabilityInstanceAlertConfigReceiverOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) string { return v.Name }).(pulumi.StringOutput) +func (o GetMongodbflexInstanceStorageOutput) Class() pulumi.StringOutput { + return o.ApplyT(func(v GetMongodbflexInstanceStorage) string { return v.Class }).(pulumi.StringOutput) } -// List of OpsGenie configurations. -func (o GetObservabilityInstanceAlertConfigReceiverOutput) OpsgenieConfigs() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) []GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig { - return v.OpsgenieConfigs - }).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) +func (o GetMongodbflexInstanceStorageOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetMongodbflexInstanceStorage) int { return v.Size }).(pulumi.IntOutput) } -// List of Webhooks configurations. -func (o GetObservabilityInstanceAlertConfigReceiverOutput) WebhooksConfigs() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) []GetObservabilityInstanceAlertConfigReceiverWebhooksConfig { - return v.WebhooksConfigs - }).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) +type GetNetworkAreaNetworkRange struct { + NetworkRangeId string `pulumi:"networkRangeId"` + Prefix string `pulumi:"prefix"` } -type GetObservabilityInstanceAlertConfigReceiverArrayOutput struct{ *pulumi.OutputState } +// GetNetworkAreaNetworkRangeInput is an input type that accepts GetNetworkAreaNetworkRangeArgs and GetNetworkAreaNetworkRangeOutput values. +// You can construct a concrete instance of `GetNetworkAreaNetworkRangeInput` via: +// +// GetNetworkAreaNetworkRangeArgs{...} +type GetNetworkAreaNetworkRangeInput interface { + pulumi.Input -func (GetObservabilityInstanceAlertConfigReceiverArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() + ToGetNetworkAreaNetworkRangeOutput() GetNetworkAreaNetworkRangeOutput + ToGetNetworkAreaNetworkRangeOutputWithContext(context.Context) GetNetworkAreaNetworkRangeOutput } -func (o GetObservabilityInstanceAlertConfigReceiverArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverArrayOutput() GetObservabilityInstanceAlertConfigReceiverArrayOutput { - return o +type GetNetworkAreaNetworkRangeArgs struct { + NetworkRangeId pulumi.StringInput `pulumi:"networkRangeId"` + Prefix pulumi.StringInput `pulumi:"prefix"` } -func (o GetObservabilityInstanceAlertConfigReceiverArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverArrayOutput { - return o +func (GetNetworkAreaNetworkRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkAreaNetworkRange)(nil)).Elem() } -func (o GetObservabilityInstanceAlertConfigReceiverArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiver { - return vs[0].([]GetObservabilityInstanceAlertConfigReceiver)[vs[1].(int)] - }).(GetObservabilityInstanceAlertConfigReceiverOutput) +func (i GetNetworkAreaNetworkRangeArgs) ToGetNetworkAreaNetworkRangeOutput() GetNetworkAreaNetworkRangeOutput { + return i.ToGetNetworkAreaNetworkRangeOutputWithContext(context.Background()) } -type GetObservabilityInstanceAlertConfigReceiverEmailConfig struct { - // SMTP authentication information. Must be a valid email address - AuthIdentity string `pulumi:"authIdentity"` - // SMTP authentication password. - AuthPassword string `pulumi:"authPassword"` - // SMTP authentication username. - AuthUsername string `pulumi:"authUsername"` - // The sender email address. Must be a valid email address - From string `pulumi:"from"` - // The SMTP host through which emails are sent. - SmartHost string `pulumi:"smartHost"` - // The email address to send notifications to. Must be a valid email address - To string `pulumi:"to"` +func (i GetNetworkAreaNetworkRangeArgs) ToGetNetworkAreaNetworkRangeOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAreaNetworkRangeOutput) } -// GetObservabilityInstanceAlertConfigReceiverEmailConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs and GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverEmailConfigInput` via: +// GetNetworkAreaNetworkRangeArrayInput is an input type that accepts GetNetworkAreaNetworkRangeArray and GetNetworkAreaNetworkRangeArrayOutput values. +// You can construct a concrete instance of `GetNetworkAreaNetworkRangeArrayInput` via: // -// GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs{...} -type GetObservabilityInstanceAlertConfigReceiverEmailConfigInput interface { +// GetNetworkAreaNetworkRangeArray{ GetNetworkAreaNetworkRangeArgs{...} } +type GetNetworkAreaNetworkRangeArrayInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput - ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput + ToGetNetworkAreaNetworkRangeArrayOutput() GetNetworkAreaNetworkRangeArrayOutput + ToGetNetworkAreaNetworkRangeArrayOutputWithContext(context.Context) GetNetworkAreaNetworkRangeArrayOutput } -type GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs struct { - // SMTP authentication information. Must be a valid email address - AuthIdentity pulumi.StringInput `pulumi:"authIdentity"` - // SMTP authentication password. - AuthPassword pulumi.StringInput `pulumi:"authPassword"` - // SMTP authentication username. - AuthUsername pulumi.StringInput `pulumi:"authUsername"` - // The sender email address. Must be a valid email address - From pulumi.StringInput `pulumi:"from"` - // The SMTP host through which emails are sent. - SmartHost pulumi.StringInput `pulumi:"smartHost"` - // The email address to send notifications to. Must be a valid email address - To pulumi.StringInput `pulumi:"to"` -} +type GetNetworkAreaNetworkRangeArray []GetNetworkAreaNetworkRangeInput -func (GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() +func (GetNetworkAreaNetworkRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkAreaNetworkRange)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(context.Background()) +func (i GetNetworkAreaNetworkRangeArray) ToGetNetworkAreaNetworkRangeArrayOutput() GetNetworkAreaNetworkRangeArrayOutput { + return i.ToGetNetworkAreaNetworkRangeArrayOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) +func (i GetNetworkAreaNetworkRangeArray) ToGetNetworkAreaNetworkRangeArrayOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworkAreaNetworkRangeArrayOutput) } -// GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverEmailConfigArray and GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput` via: -// -// GetObservabilityInstanceAlertConfigReceiverEmailConfigArray{ GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs{...} } -type GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput interface { - pulumi.Input +type GetNetworkAreaNetworkRangeOutput struct{ *pulumi.OutputState } - ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput - ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput +func (GetNetworkAreaNetworkRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworkAreaNetworkRange)(nil)).Elem() } -type GetObservabilityInstanceAlertConfigReceiverEmailConfigArray []GetObservabilityInstanceAlertConfigReceiverEmailConfigInput +func (o GetNetworkAreaNetworkRangeOutput) ToGetNetworkAreaNetworkRangeOutput() GetNetworkAreaNetworkRangeOutput { + return o +} -func (GetObservabilityInstanceAlertConfigReceiverEmailConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() +func (o GetNetworkAreaNetworkRangeOutput) ToGetNetworkAreaNetworkRangeOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeOutput { + return o } -func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArray) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(context.Background()) +func (o GetNetworkAreaNetworkRangeOutput) NetworkRangeId() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkAreaNetworkRange) string { return v.NetworkRangeId }).(pulumi.StringOutput) } -func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArray) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) +func (o GetNetworkAreaNetworkRangeOutput) Prefix() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworkAreaNetworkRange) string { return v.Prefix }).(pulumi.StringOutput) } -type GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput struct{ *pulumi.OutputState } +type GetNetworkAreaNetworkRangeArrayOutput struct{ *pulumi.OutputState } -func (GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() +func (GetNetworkAreaNetworkRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworkAreaNetworkRange)(nil)).Elem() } -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { +func (o GetNetworkAreaNetworkRangeArrayOutput) ToGetNetworkAreaNetworkRangeArrayOutput() GetNetworkAreaNetworkRangeArrayOutput { return o } -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { +func (o GetNetworkAreaNetworkRangeArrayOutput) ToGetNetworkAreaNetworkRangeArrayOutputWithContext(ctx context.Context) GetNetworkAreaNetworkRangeArrayOutput { return o } -// SMTP authentication information. Must be a valid email address -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) AuthIdentity() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.AuthIdentity }).(pulumi.StringOutput) +func (o GetNetworkAreaNetworkRangeArrayOutput) Index(i pulumi.IntInput) GetNetworkAreaNetworkRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworkAreaNetworkRange { + return vs[0].([]GetNetworkAreaNetworkRange)[vs[1].(int)] + }).(GetNetworkAreaNetworkRangeOutput) } -// SMTP authentication password. -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) AuthPassword() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.AuthPassword }).(pulumi.StringOutput) -} - -// SMTP authentication username. -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) AuthUsername() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.AuthUsername }).(pulumi.StringOutput) -} - -// The sender email address. Must be a valid email address -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) From() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.From }).(pulumi.StringOutput) -} - -// The SMTP host through which emails are sent. -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) SmartHost() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.SmartHost }).(pulumi.StringOutput) -} - -// The email address to send notifications to. Must be a valid email address -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) To() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.To }).(pulumi.StringOutput) -} - -type GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput struct{ *pulumi.OutputState } - -func (GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() -} - -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { - return o -} - -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { - return o -} - -func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiverEmailConfig { - return vs[0].([]GetObservabilityInstanceAlertConfigReceiverEmailConfig)[vs[1].(int)] - }).(GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) -} - -type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig struct { - // The API key for OpsGenie. - ApiKey string `pulumi:"apiKey"` - // The host to send OpsGenie API requests to. Must be a valid URL - ApiUrl string `pulumi:"apiUrl"` - // Comma separated list of tags attached to the notifications. - Tags string `pulumi:"tags"` +type GetObservabilityAlertgroupRule struct { + // The name of the alert rule. Is the identifier and must be unique in the group. + Alert string `pulumi:"alert"` + // A map of key:value. Annotations to add or overwrite for each alert + Annotations map[string]string `pulumi:"annotations"` + // The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + Expression string `pulumi:"expression"` + // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + For string `pulumi:"for"` + // A map of key:value. Labels to add or overwrite for each alert + Labels map[string]string `pulumi:"labels"` } -// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs and GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput` via: +// GetObservabilityAlertgroupRuleInput is an input type that accepts GetObservabilityAlertgroupRuleArgs and GetObservabilityAlertgroupRuleOutput values. +// You can construct a concrete instance of `GetObservabilityAlertgroupRuleInput` via: // -// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs{...} -type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput interface { +// GetObservabilityAlertgroupRuleArgs{...} +type GetObservabilityAlertgroupRuleInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput - ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput + ToGetObservabilityAlertgroupRuleOutput() GetObservabilityAlertgroupRuleOutput + ToGetObservabilityAlertgroupRuleOutputWithContext(context.Context) GetObservabilityAlertgroupRuleOutput } -type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs struct { - // The API key for OpsGenie. - ApiKey pulumi.StringInput `pulumi:"apiKey"` - // The host to send OpsGenie API requests to. Must be a valid URL - ApiUrl pulumi.StringInput `pulumi:"apiUrl"` - // Comma separated list of tags attached to the notifications. - Tags pulumi.StringInput `pulumi:"tags"` +type GetObservabilityAlertgroupRuleArgs struct { + // The name of the alert rule. Is the identifier and must be unique in the group. + Alert pulumi.StringInput `pulumi:"alert"` + // A map of key:value. Annotations to add or overwrite for each alert + Annotations pulumi.StringMapInput `pulumi:"annotations"` + // The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + Expression pulumi.StringInput `pulumi:"expression"` + // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + For pulumi.StringInput `pulumi:"for"` + // A map of key:value. Labels to add or overwrite for each alert + Labels pulumi.StringMapInput `pulumi:"labels"` } -func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +func (GetObservabilityAlertgroupRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityAlertgroupRule)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(context.Background()) +func (i GetObservabilityAlertgroupRuleArgs) ToGetObservabilityAlertgroupRuleOutput() GetObservabilityAlertgroupRuleOutput { + return i.ToGetObservabilityAlertgroupRuleOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) +func (i GetObservabilityAlertgroupRuleArgs) ToGetObservabilityAlertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityAlertgroupRuleOutput) } -// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray and GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput` via: +// GetObservabilityAlertgroupRuleArrayInput is an input type that accepts GetObservabilityAlertgroupRuleArray and GetObservabilityAlertgroupRuleArrayOutput values. +// You can construct a concrete instance of `GetObservabilityAlertgroupRuleArrayInput` via: // -// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray{ GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs{...} } -type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput interface { +// GetObservabilityAlertgroupRuleArray{ GetObservabilityAlertgroupRuleArgs{...} } +type GetObservabilityAlertgroupRuleArrayInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput - ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput + ToGetObservabilityAlertgroupRuleArrayOutput() GetObservabilityAlertgroupRuleArrayOutput + ToGetObservabilityAlertgroupRuleArrayOutputWithContext(context.Context) GetObservabilityAlertgroupRuleArrayOutput } -type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray []GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput +type GetObservabilityAlertgroupRuleArray []GetObservabilityAlertgroupRuleInput -func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +func (GetObservabilityAlertgroupRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityAlertgroupRule)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(context.Background()) +func (i GetObservabilityAlertgroupRuleArray) ToGetObservabilityAlertgroupRuleArrayOutput() GetObservabilityAlertgroupRuleArrayOutput { + return i.ToGetObservabilityAlertgroupRuleArrayOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) +func (i GetObservabilityAlertgroupRuleArray) ToGetObservabilityAlertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityAlertgroupRuleArrayOutput) } -type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput struct{ *pulumi.OutputState } +type GetObservabilityAlertgroupRuleOutput struct{ *pulumi.OutputState } -func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +func (GetObservabilityAlertgroupRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityAlertgroupRule)(nil)).Elem() } -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { +func (o GetObservabilityAlertgroupRuleOutput) ToGetObservabilityAlertgroupRuleOutput() GetObservabilityAlertgroupRuleOutput { return o } -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { +func (o GetObservabilityAlertgroupRuleOutput) ToGetObservabilityAlertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleOutput { return o } -// The API key for OpsGenie. -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ApiKey() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) string { return v.ApiKey }).(pulumi.StringOutput) +// The name of the alert rule. Is the identifier and must be unique in the group. +func (o GetObservabilityAlertgroupRuleOutput) Alert() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityAlertgroupRule) string { return v.Alert }).(pulumi.StringOutput) } -// The host to send OpsGenie API requests to. Must be a valid URL -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ApiUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) string { return v.ApiUrl }).(pulumi.StringOutput) +// A map of key:value. Annotations to add or overwrite for each alert +func (o GetObservabilityAlertgroupRuleOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v GetObservabilityAlertgroupRule) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) } -// Comma separated list of tags attached to the notifications. -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) Tags() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) string { return v.Tags }).(pulumi.StringOutput) +// The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. +func (o GetObservabilityAlertgroupRuleOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityAlertgroupRule) string { return v.Expression }).(pulumi.StringOutput) } -type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput struct{ *pulumi.OutputState } +// Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s +func (o GetObservabilityAlertgroupRuleOutput) For() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityAlertgroupRule) string { return v.For }).(pulumi.StringOutput) +} -func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +// A map of key:value. Labels to add or overwrite for each alert +func (o GetObservabilityAlertgroupRuleOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v GetObservabilityAlertgroupRule) map[string]string { return v.Labels }).(pulumi.StringMapOutput) } -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { +type GetObservabilityAlertgroupRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityAlertgroupRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityAlertgroupRule)(nil)).Elem() +} + +func (o GetObservabilityAlertgroupRuleArrayOutput) ToGetObservabilityAlertgroupRuleArrayOutput() GetObservabilityAlertgroupRuleArrayOutput { return o } -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { +func (o GetObservabilityAlertgroupRuleArrayOutput) ToGetObservabilityAlertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityAlertgroupRuleArrayOutput { return o } -func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig { - return vs[0].([]GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)[vs[1].(int)] - }).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) +func (o GetObservabilityAlertgroupRuleArrayOutput) Index(i pulumi.IntInput) GetObservabilityAlertgroupRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityAlertgroupRule { + return vs[0].([]GetObservabilityAlertgroupRule)[vs[1].(int)] + }).(GetObservabilityAlertgroupRuleOutput) } -type GetObservabilityInstanceAlertConfigReceiverWebhooksConfig struct { - // Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. - MsTeams bool `pulumi:"msTeams"` - // The endpoint to send HTTP POST requests to. Must be a valid URL - Url string `pulumi:"url"` +type GetObservabilityInstanceAlertConfig struct { + // Global configuration for the alerts. + Global GetObservabilityInstanceAlertConfigGlobal `pulumi:"global"` + // List of alert receivers. + Receivers []GetObservabilityInstanceAlertConfigReceiver `pulumi:"receivers"` + // The route for the alert. + Route GetObservabilityInstanceAlertConfigRoute `pulumi:"route"` } -// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs and GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput` via: +// GetObservabilityInstanceAlertConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigArgs and GetObservabilityInstanceAlertConfigOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigInput` via: // -// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs{...} -type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput interface { +// GetObservabilityInstanceAlertConfigArgs{...} +type GetObservabilityInstanceAlertConfigInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput - ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput + ToGetObservabilityInstanceAlertConfigOutput() GetObservabilityInstanceAlertConfigOutput + ToGetObservabilityInstanceAlertConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigOutput } -type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs struct { - // Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. - MsTeams pulumi.BoolInput `pulumi:"msTeams"` - // The endpoint to send HTTP POST requests to. Must be a valid URL - Url pulumi.StringInput `pulumi:"url"` +type GetObservabilityInstanceAlertConfigArgs struct { + // Global configuration for the alerts. + Global GetObservabilityInstanceAlertConfigGlobalInput `pulumi:"global"` + // List of alert receivers. + Receivers GetObservabilityInstanceAlertConfigReceiverArrayInput `pulumi:"receivers"` + // The route for the alert. + Route GetObservabilityInstanceAlertConfigRouteInput `pulumi:"route"` } -func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +func (GetObservabilityInstanceAlertConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfig)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(context.Background()) +func (i GetObservabilityInstanceAlertConfigArgs) ToGetObservabilityInstanceAlertConfigOutput() GetObservabilityInstanceAlertConfigOutput { + return i.ToGetObservabilityInstanceAlertConfigOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) +func (i GetObservabilityInstanceAlertConfigArgs) ToGetObservabilityInstanceAlertConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigOutput) } -// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray and GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput` via: -// -// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray{ GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs{...} } -type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput interface { - pulumi.Input +type GetObservabilityInstanceAlertConfigOutput struct{ *pulumi.OutputState } - ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput - ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput +func (GetObservabilityInstanceAlertConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfig)(nil)).Elem() } -type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray []GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput - -func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +func (o GetObservabilityInstanceAlertConfigOutput) ToGetObservabilityInstanceAlertConfigOutput() GetObservabilityInstanceAlertConfigOutput { + return o } -func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { - return i.ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(context.Background()) +func (o GetObservabilityInstanceAlertConfigOutput) ToGetObservabilityInstanceAlertConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigOutput { + return o } -func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) +// Global configuration for the alerts. +func (o GetObservabilityInstanceAlertConfigOutput) Global() GetObservabilityInstanceAlertConfigGlobalOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfig) GetObservabilityInstanceAlertConfigGlobal { return v.Global }).(GetObservabilityInstanceAlertConfigGlobalOutput) } -type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput struct{ *pulumi.OutputState } +// List of alert receivers. +func (o GetObservabilityInstanceAlertConfigOutput) Receivers() GetObservabilityInstanceAlertConfigReceiverArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfig) []GetObservabilityInstanceAlertConfigReceiver { + return v.Receivers + }).(GetObservabilityInstanceAlertConfigReceiverArrayOutput) +} -func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +// The route for the alert. +func (o GetObservabilityInstanceAlertConfigOutput) Route() GetObservabilityInstanceAlertConfigRouteOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfig) GetObservabilityInstanceAlertConfigRoute { return v.Route }).(GetObservabilityInstanceAlertConfigRouteOutput) } -func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { - return o +type GetObservabilityInstanceAlertConfigGlobal struct { + // The API key for OpsGenie. + OpsgenieApiKey string `pulumi:"opsgenieApiKey"` + // The host to send OpsGenie API requests to. Must be a valid URL + OpsgenieApiUrl string `pulumi:"opsgenieApiUrl"` + // The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. + ResolveTimeout string `pulumi:"resolveTimeout"` + // SMTP authentication information. Must be a valid email address + SmtpAuthIdentity string `pulumi:"smtpAuthIdentity"` + // SMTP Auth using LOGIN and PLAIN. + SmtpAuthPassword string `pulumi:"smtpAuthPassword"` + // SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. + SmtpAuthUsername string `pulumi:"smtpAuthUsername"` + // The default SMTP From header field. Must be a valid email address + SmtpFrom string `pulumi:"smtpFrom"` + // The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). + SmtpSmartHost string `pulumi:"smtpSmartHost"` } -func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { - return o +// GetObservabilityInstanceAlertConfigGlobalInput is an input type that accepts GetObservabilityInstanceAlertConfigGlobalArgs and GetObservabilityInstanceAlertConfigGlobalOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigGlobalInput` via: +// +// GetObservabilityInstanceAlertConfigGlobalArgs{...} +type GetObservabilityInstanceAlertConfigGlobalInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigGlobalOutput() GetObservabilityInstanceAlertConfigGlobalOutput + ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigGlobalOutput } -// Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. -func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) MsTeams() pulumi.BoolOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverWebhooksConfig) bool { return v.MsTeams }).(pulumi.BoolOutput) +type GetObservabilityInstanceAlertConfigGlobalArgs struct { + // The API key for OpsGenie. + OpsgenieApiKey pulumi.StringInput `pulumi:"opsgenieApiKey"` + // The host to send OpsGenie API requests to. Must be a valid URL + OpsgenieApiUrl pulumi.StringInput `pulumi:"opsgenieApiUrl"` + // The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. + ResolveTimeout pulumi.StringInput `pulumi:"resolveTimeout"` + // SMTP authentication information. Must be a valid email address + SmtpAuthIdentity pulumi.StringInput `pulumi:"smtpAuthIdentity"` + // SMTP Auth using LOGIN and PLAIN. + SmtpAuthPassword pulumi.StringInput `pulumi:"smtpAuthPassword"` + // SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. + SmtpAuthUsername pulumi.StringInput `pulumi:"smtpAuthUsername"` + // The default SMTP From header field. Must be a valid email address + SmtpFrom pulumi.StringInput `pulumi:"smtpFrom"` + // The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). + SmtpSmartHost pulumi.StringInput `pulumi:"smtpSmartHost"` } -// The endpoint to send HTTP POST requests to. Must be a valid URL -func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverWebhooksConfig) string { return v.Url }).(pulumi.StringOutput) +func (GetObservabilityInstanceAlertConfigGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigGlobal)(nil)).Elem() } -type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput struct{ *pulumi.OutputState } +func (i GetObservabilityInstanceAlertConfigGlobalArgs) ToGetObservabilityInstanceAlertConfigGlobalOutput() GetObservabilityInstanceAlertConfigGlobalOutput { + return i.ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(context.Background()) +} -func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +func (i GetObservabilityInstanceAlertConfigGlobalArgs) ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigGlobalOutput) } -func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { +type GetObservabilityInstanceAlertConfigGlobalOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigGlobal)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigGlobalOutput) ToGetObservabilityInstanceAlertConfigGlobalOutput() GetObservabilityInstanceAlertConfigGlobalOutput { return o } -func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { +func (o GetObservabilityInstanceAlertConfigGlobalOutput) ToGetObservabilityInstanceAlertConfigGlobalOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigGlobalOutput { return o } -func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiverWebhooksConfig { - return vs[0].([]GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)[vs[1].(int)] - }).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) +// The API key for OpsGenie. +func (o GetObservabilityInstanceAlertConfigGlobalOutput) OpsgenieApiKey() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.OpsgenieApiKey }).(pulumi.StringOutput) } -type GetObservabilityInstanceAlertConfigRoute struct { - // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - GroupBies []string `pulumi:"groupBies"` - // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - GroupInterval string `pulumi:"groupInterval"` - // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . - GroupWait string `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. - Match map[string]string `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. - MatchRegex map[string]string `pulumi:"matchRegex"` - // The name of the receiver to route the alerts to. - Receiver string `pulumi:"receiver"` - // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). - RepeatInterval string `pulumi:"repeatInterval"` - // List of child routes. - Routes []GetObservabilityInstanceAlertConfigRouteRoute `pulumi:"routes"` +// The host to send OpsGenie API requests to. Must be a valid URL +func (o GetObservabilityInstanceAlertConfigGlobalOutput) OpsgenieApiUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.OpsgenieApiUrl }).(pulumi.StringOutput) } -// GetObservabilityInstanceAlertConfigRouteInput is an input type that accepts GetObservabilityInstanceAlertConfigRouteArgs and GetObservabilityInstanceAlertConfigRouteOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigRouteInput` via: -// -// GetObservabilityInstanceAlertConfigRouteArgs{...} -type GetObservabilityInstanceAlertConfigRouteInput interface { - pulumi.Input +// The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. +func (o GetObservabilityInstanceAlertConfigGlobalOutput) ResolveTimeout() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.ResolveTimeout }).(pulumi.StringOutput) +} - ToGetObservabilityInstanceAlertConfigRouteOutput() GetObservabilityInstanceAlertConfigRouteOutput - ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigRouteOutput +// SMTP authentication information. Must be a valid email address +func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpAuthIdentity() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpAuthIdentity }).(pulumi.StringOutput) } -type GetObservabilityInstanceAlertConfigRouteArgs struct { - // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - GroupInterval pulumi.StringInput `pulumi:"groupInterval"` - // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . - GroupWait pulumi.StringInput `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. - Match pulumi.StringMapInput `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. - MatchRegex pulumi.StringMapInput `pulumi:"matchRegex"` - // The name of the receiver to route the alerts to. - Receiver pulumi.StringInput `pulumi:"receiver"` - // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). - RepeatInterval pulumi.StringInput `pulumi:"repeatInterval"` - // List of child routes. - Routes GetObservabilityInstanceAlertConfigRouteRouteArrayInput `pulumi:"routes"` +// SMTP Auth using LOGIN and PLAIN. +func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpAuthPassword() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpAuthPassword }).(pulumi.StringOutput) } -func (GetObservabilityInstanceAlertConfigRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRoute)(nil)).Elem() +// SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. +func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpAuthUsername() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpAuthUsername }).(pulumi.StringOutput) } -func (i GetObservabilityInstanceAlertConfigRouteArgs) ToGetObservabilityInstanceAlertConfigRouteOutput() GetObservabilityInstanceAlertConfigRouteOutput { - return i.ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(context.Background()) +// The default SMTP From header field. Must be a valid email address +func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpFrom() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpFrom }).(pulumi.StringOutput) } -func (i GetObservabilityInstanceAlertConfigRouteArgs) ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigRouteOutput) +// The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). +func (o GetObservabilityInstanceAlertConfigGlobalOutput) SmtpSmartHost() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigGlobal) string { return v.SmtpSmartHost }).(pulumi.StringOutput) } -type GetObservabilityInstanceAlertConfigRouteOutput struct{ *pulumi.OutputState } +type GetObservabilityInstanceAlertConfigReceiver struct { + // List of email configurations. + EmailConfigs []GetObservabilityInstanceAlertConfigReceiverEmailConfig `pulumi:"emailConfigs"` + // Name of the receiver. + Name string `pulumi:"name"` + // List of OpsGenie configurations. + OpsgenieConfigs []GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig `pulumi:"opsgenieConfigs"` + // List of Webhooks configurations. + WebhooksConfigs []GetObservabilityInstanceAlertConfigReceiverWebhooksConfig `pulumi:"webhooksConfigs"` +} -func (GetObservabilityInstanceAlertConfigRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRoute)(nil)).Elem() +// GetObservabilityInstanceAlertConfigReceiverInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverArgs and GetObservabilityInstanceAlertConfigReceiverOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverArgs{...} +type GetObservabilityInstanceAlertConfigReceiverInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverOutput() GetObservabilityInstanceAlertConfigReceiverOutput + ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverOutput } -func (o GetObservabilityInstanceAlertConfigRouteOutput) ToGetObservabilityInstanceAlertConfigRouteOutput() GetObservabilityInstanceAlertConfigRouteOutput { - return o +type GetObservabilityInstanceAlertConfigReceiverArgs struct { + // List of email configurations. + EmailConfigs GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput `pulumi:"emailConfigs"` + // Name of the receiver. + Name pulumi.StringInput `pulumi:"name"` + // List of OpsGenie configurations. + OpsgenieConfigs GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput `pulumi:"opsgenieConfigs"` + // List of Webhooks configurations. + WebhooksConfigs GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput `pulumi:"webhooksConfigs"` } -func (o GetObservabilityInstanceAlertConfigRouteOutput) ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteOutput { - return o +func (GetObservabilityInstanceAlertConfigReceiverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() } -// The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. -func (o GetObservabilityInstanceAlertConfigRouteOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +func (i GetObservabilityInstanceAlertConfigReceiverArgs) ToGetObservabilityInstanceAlertConfigReceiverOutput() GetObservabilityInstanceAlertConfigReceiverOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(context.Background()) } -// How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) -func (o GetObservabilityInstanceAlertConfigRouteOutput) GroupInterval() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.GroupInterval }).(pulumi.StringOutput) +func (i GetObservabilityInstanceAlertConfigReceiverArgs) ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverOutput) } -// How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . -func (o GetObservabilityInstanceAlertConfigRouteOutput) GroupWait() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.GroupWait }).(pulumi.StringOutput) +// GetObservabilityInstanceAlertConfigReceiverArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverArray and GetObservabilityInstanceAlertConfigReceiverArrayOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverArrayInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverArray{ GetObservabilityInstanceAlertConfigReceiverArgs{...} } +type GetObservabilityInstanceAlertConfigReceiverArrayInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverArrayOutput() GetObservabilityInstanceAlertConfigReceiverArrayOutput + ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverArrayOutput } -// A set of equality matchers an alert has to fulfill to match the node. -func (o GetObservabilityInstanceAlertConfigRouteOutput) Match() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) map[string]string { return v.Match }).(pulumi.StringMapOutput) +type GetObservabilityInstanceAlertConfigReceiverArray []GetObservabilityInstanceAlertConfigReceiverInput + +func (GetObservabilityInstanceAlertConfigReceiverArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() } -// A set of regex-matchers an alert has to fulfill to match the node. -func (o GetObservabilityInstanceAlertConfigRouteOutput) MatchRegex() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) map[string]string { return v.MatchRegex }).(pulumi.StringMapOutput) +func (i GetObservabilityInstanceAlertConfigReceiverArray) ToGetObservabilityInstanceAlertConfigReceiverArrayOutput() GetObservabilityInstanceAlertConfigReceiverArrayOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(context.Background()) } -// The name of the receiver to route the alerts to. -func (o GetObservabilityInstanceAlertConfigRouteOutput) Receiver() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.Receiver }).(pulumi.StringOutput) +func (i GetObservabilityInstanceAlertConfigReceiverArray) ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverArrayOutput) } -// How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). -func (o GetObservabilityInstanceAlertConfigRouteOutput) RepeatInterval() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.RepeatInterval }).(pulumi.StringOutput) +type GetObservabilityInstanceAlertConfigReceiverOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() } -// List of child routes. -func (o GetObservabilityInstanceAlertConfigRouteOutput) Routes() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) []GetObservabilityInstanceAlertConfigRouteRoute { - return v.Routes - }).(GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) +func (o GetObservabilityInstanceAlertConfigReceiverOutput) ToGetObservabilityInstanceAlertConfigReceiverOutput() GetObservabilityInstanceAlertConfigReceiverOutput { + return o } -type GetObservabilityInstanceAlertConfigRouteRoute struct { - // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - GroupBies []string `pulumi:"groupBies"` - // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - GroupInterval string `pulumi:"groupInterval"` - // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) - GroupWait string `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. - Match map[string]string `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. - MatchRegex map[string]string `pulumi:"matchRegex"` - // The name of the receiver to route the alerts to. +func (o GetObservabilityInstanceAlertConfigReceiverOutput) ToGetObservabilityInstanceAlertConfigReceiverOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOutput { + return o +} + +// List of email configurations. +func (o GetObservabilityInstanceAlertConfigReceiverOutput) EmailConfigs() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) []GetObservabilityInstanceAlertConfigReceiverEmailConfig { + return v.EmailConfigs + }).(GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) +} + +// Name of the receiver. +func (o GetObservabilityInstanceAlertConfigReceiverOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) string { return v.Name }).(pulumi.StringOutput) +} + +// List of OpsGenie configurations. +func (o GetObservabilityInstanceAlertConfigReceiverOutput) OpsgenieConfigs() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) []GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig { + return v.OpsgenieConfigs + }).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) +} + +// List of Webhooks configurations. +func (o GetObservabilityInstanceAlertConfigReceiverOutput) WebhooksConfigs() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiver) []GetObservabilityInstanceAlertConfigReceiverWebhooksConfig { + return v.WebhooksConfigs + }).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiver)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigReceiverArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverArrayOutput() GetObservabilityInstanceAlertConfigReceiverArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiver { + return vs[0].([]GetObservabilityInstanceAlertConfigReceiver)[vs[1].(int)] + }).(GetObservabilityInstanceAlertConfigReceiverOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverEmailConfig struct { + // SMTP authentication information. Must be a valid email address + AuthIdentity string `pulumi:"authIdentity"` + // SMTP authentication password. + AuthPassword string `pulumi:"authPassword"` + // SMTP authentication username. + AuthUsername string `pulumi:"authUsername"` + // The sender email address. Must be a valid email address + From string `pulumi:"from"` + // Whether to notify about resolved alerts. + SendResolved bool `pulumi:"sendResolved"` + // The SMTP host through which emails are sent. + SmartHost string `pulumi:"smartHost"` + // The email address to send notifications to. Must be a valid email address + To string `pulumi:"to"` +} + +// GetObservabilityInstanceAlertConfigReceiverEmailConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs and GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverEmailConfigInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs{...} +type GetObservabilityInstanceAlertConfigReceiverEmailConfigInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput + ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput +} + +type GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs struct { + // SMTP authentication information. Must be a valid email address + AuthIdentity pulumi.StringInput `pulumi:"authIdentity"` + // SMTP authentication password. + AuthPassword pulumi.StringInput `pulumi:"authPassword"` + // SMTP authentication username. + AuthUsername pulumi.StringInput `pulumi:"authUsername"` + // The sender email address. Must be a valid email address + From pulumi.StringInput `pulumi:"from"` + // Whether to notify about resolved alerts. + SendResolved pulumi.BoolInput `pulumi:"sendResolved"` + // The SMTP host through which emails are sent. + SmartHost pulumi.StringInput `pulumi:"smartHost"` + // The email address to send notifications to. Must be a valid email address + To pulumi.StringInput `pulumi:"to"` +} + +func (GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) +} + +// GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverEmailConfigArray and GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverEmailConfigArray{ GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs{...} } +type GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput + ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput +} + +type GetObservabilityInstanceAlertConfigReceiverEmailConfigArray []GetObservabilityInstanceAlertConfigReceiverEmailConfigInput + +func (GetObservabilityInstanceAlertConfigReceiverEmailConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArray) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigReceiverEmailConfigArray) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { + return o +} + +// SMTP authentication information. Must be a valid email address +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) AuthIdentity() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.AuthIdentity }).(pulumi.StringOutput) +} + +// SMTP authentication password. +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) AuthPassword() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.AuthPassword }).(pulumi.StringOutput) +} + +// SMTP authentication username. +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) AuthUsername() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.AuthUsername }).(pulumi.StringOutput) +} + +// The sender email address. Must be a valid email address +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) From() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.From }).(pulumi.StringOutput) +} + +// Whether to notify about resolved alerts. +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) SendResolved() pulumi.BoolOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) bool { return v.SendResolved }).(pulumi.BoolOutput) +} + +// The SMTP host through which emails are sent. +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) SmartHost() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.SmartHost }).(pulumi.StringOutput) +} + +// The email address to send notifications to. Must be a valid email address +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) To() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverEmailConfig) string { return v.To }).(pulumi.StringOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverEmailConfig)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverEmailConfigArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiverEmailConfig { + return vs[0].([]GetObservabilityInstanceAlertConfigReceiverEmailConfig)[vs[1].(int)] + }).(GetObservabilityInstanceAlertConfigReceiverEmailConfigOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig struct { + // The API key for OpsGenie. + ApiKey string `pulumi:"apiKey"` + // The host to send OpsGenie API requests to. Must be a valid URL + ApiUrl string `pulumi:"apiUrl"` + // Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + Priority string `pulumi:"priority"` + // Whether to notify about resolved alerts. + SendResolved bool `pulumi:"sendResolved"` + // Comma separated list of tags attached to the notifications. + Tags string `pulumi:"tags"` +} + +// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs and GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs{...} +type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput + ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput +} + +type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs struct { + // The API key for OpsGenie. + ApiKey pulumi.StringInput `pulumi:"apiKey"` + // The host to send OpsGenie API requests to. Must be a valid URL + ApiUrl pulumi.StringInput `pulumi:"apiUrl"` + // Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + Priority pulumi.StringInput `pulumi:"priority"` + // Whether to notify about resolved alerts. + SendResolved pulumi.BoolInput `pulumi:"sendResolved"` + // Comma separated list of tags attached to the notifications. + Tags pulumi.StringInput `pulumi:"tags"` +} + +func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) +} + +// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray and GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray{ GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs{...} } +type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput + ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput +} + +type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray []GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigInput + +func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArray) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { + return o +} + +// The API key for OpsGenie. +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ApiKey() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) string { return v.ApiKey }).(pulumi.StringOutput) +} + +// The host to send OpsGenie API requests to. Must be a valid URL +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) ApiUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) string { return v.ApiUrl }).(pulumi.StringOutput) +} + +// Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) string { return v.Priority }).(pulumi.StringOutput) +} + +// Whether to notify about resolved alerts. +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) SendResolved() pulumi.BoolOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) bool { return v.SendResolved }).(pulumi.BoolOutput) +} + +// Comma separated list of tags attached to the notifications. +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) Tags() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig) string { return v.Tags }).(pulumi.StringOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig { + return vs[0].([]GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig)[vs[1].(int)] + }).(GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverWebhooksConfig struct { + // Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + GoogleChat bool `pulumi:"googleChat"` + // Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. + MsTeams bool `pulumi:"msTeams"` + // Whether to notify about resolved alerts. + SendResolved bool `pulumi:"sendResolved"` + // The endpoint to send HTTP POST requests to. Must be a valid URL + Url string `pulumi:"url"` +} + +// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs and GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs{...} +type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput + ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput +} + +type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs struct { + // Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + GoogleChat pulumi.BoolInput `pulumi:"googleChat"` + // Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. + MsTeams pulumi.BoolInput `pulumi:"msTeams"` + // Whether to notify about resolved alerts. + SendResolved pulumi.BoolInput `pulumi:"sendResolved"` + // The endpoint to send HTTP POST requests to. Must be a valid URL + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) +} + +// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray and GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput` via: +// +// GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray{ GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs{...} } +type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput + ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput +} + +type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray []GetObservabilityInstanceAlertConfigReceiverWebhooksConfigInput + +func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { + return i.ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArray) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { + return o +} + +// Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) GoogleChat() pulumi.BoolOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverWebhooksConfig) bool { return v.GoogleChat }).(pulumi.BoolOutput) +} + +// Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) MsTeams() pulumi.BoolOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverWebhooksConfig) bool { return v.MsTeams }).(pulumi.BoolOutput) +} + +// Whether to notify about resolved alerts. +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) SendResolved() pulumi.BoolOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverWebhooksConfig) bool { return v.SendResolved }).(pulumi.BoolOutput) +} + +// The endpoint to send HTTP POST requests to. Must be a valid URL +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigReceiverWebhooksConfig) string { return v.Url }).(pulumi.StringOutput) +} + +type GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput() GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) ToGetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigReceiverWebhooksConfig { + return vs[0].([]GetObservabilityInstanceAlertConfigReceiverWebhooksConfig)[vs[1].(int)] + }).(GetObservabilityInstanceAlertConfigReceiverWebhooksConfigOutput) +} + +type GetObservabilityInstanceAlertConfigRoute struct { + // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + GroupBies []string `pulumi:"groupBies"` + // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + GroupInterval string `pulumi:"groupInterval"` + // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . + GroupWait string `pulumi:"groupWait"` + // The name of the receiver to route the alerts to. + Receiver string `pulumi:"receiver"` + // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + RepeatInterval string `pulumi:"repeatInterval"` + // List of child routes. + Routes []GetObservabilityInstanceAlertConfigRouteRoute `pulumi:"routes"` +} + +// GetObservabilityInstanceAlertConfigRouteInput is an input type that accepts GetObservabilityInstanceAlertConfigRouteArgs and GetObservabilityInstanceAlertConfigRouteOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigRouteInput` via: +// +// GetObservabilityInstanceAlertConfigRouteArgs{...} +type GetObservabilityInstanceAlertConfigRouteInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigRouteOutput() GetObservabilityInstanceAlertConfigRouteOutput + ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigRouteOutput +} + +type GetObservabilityInstanceAlertConfigRouteArgs struct { + // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + GroupInterval pulumi.StringInput `pulumi:"groupInterval"` + // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . + GroupWait pulumi.StringInput `pulumi:"groupWait"` + // The name of the receiver to route the alerts to. + Receiver pulumi.StringInput `pulumi:"receiver"` + // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + RepeatInterval pulumi.StringInput `pulumi:"repeatInterval"` + // List of child routes. + Routes GetObservabilityInstanceAlertConfigRouteRouteArrayInput `pulumi:"routes"` +} + +func (GetObservabilityInstanceAlertConfigRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRoute)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigRouteArgs) ToGetObservabilityInstanceAlertConfigRouteOutput() GetObservabilityInstanceAlertConfigRouteOutput { + return i.ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigRouteArgs) ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigRouteOutput) +} + +type GetObservabilityInstanceAlertConfigRouteOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRoute)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigRouteOutput) ToGetObservabilityInstanceAlertConfigRouteOutput() GetObservabilityInstanceAlertConfigRouteOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigRouteOutput) ToGetObservabilityInstanceAlertConfigRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteOutput { + return o +} + +// The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. +func (o GetObservabilityInstanceAlertConfigRouteOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +} + +// How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) +func (o GetObservabilityInstanceAlertConfigRouteOutput) GroupInterval() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.GroupInterval }).(pulumi.StringOutput) +} + +// How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . +func (o GetObservabilityInstanceAlertConfigRouteOutput) GroupWait() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.GroupWait }).(pulumi.StringOutput) +} + +// The name of the receiver to route the alerts to. +func (o GetObservabilityInstanceAlertConfigRouteOutput) Receiver() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.Receiver }).(pulumi.StringOutput) +} + +// How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). +func (o GetObservabilityInstanceAlertConfigRouteOutput) RepeatInterval() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) string { return v.RepeatInterval }).(pulumi.StringOutput) +} + +// List of child routes. +func (o GetObservabilityInstanceAlertConfigRouteOutput) Routes() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRoute) []GetObservabilityInstanceAlertConfigRouteRoute { + return v.Routes + }).(GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) +} + +type GetObservabilityInstanceAlertConfigRouteRoute struct { + // Whether an alert should continue matching subsequent sibling nodes. + Continue bool `pulumi:"continue"` + // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + GroupBies []string `pulumi:"groupBies"` + // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + GroupInterval string `pulumi:"groupInterval"` + // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) + GroupWait string `pulumi:"groupWait"` + // A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. + Match map[string]string `pulumi:"match"` + // A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. + MatchRegex map[string]string `pulumi:"matchRegex"` + // A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + Matchers []string `pulumi:"matchers"` + // The name of the receiver to route the alerts to. Receiver string `pulumi:"receiver"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). RepeatInterval string `pulumi:"repeatInterval"` } -// GetObservabilityInstanceAlertConfigRouteRouteInput is an input type that accepts GetObservabilityInstanceAlertConfigRouteRouteArgs and GetObservabilityInstanceAlertConfigRouteRouteOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigRouteRouteInput` via: +// GetObservabilityInstanceAlertConfigRouteRouteInput is an input type that accepts GetObservabilityInstanceAlertConfigRouteRouteArgs and GetObservabilityInstanceAlertConfigRouteRouteOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigRouteRouteInput` via: +// +// GetObservabilityInstanceAlertConfigRouteRouteArgs{...} +type GetObservabilityInstanceAlertConfigRouteRouteInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigRouteRouteOutput() GetObservabilityInstanceAlertConfigRouteRouteOutput + ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigRouteRouteOutput +} + +type GetObservabilityInstanceAlertConfigRouteRouteArgs struct { + // Whether an alert should continue matching subsequent sibling nodes. + Continue pulumi.BoolInput `pulumi:"continue"` + // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + GroupInterval pulumi.StringInput `pulumi:"groupInterval"` + // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) + GroupWait pulumi.StringInput `pulumi:"groupWait"` + // A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. + Match pulumi.StringMapInput `pulumi:"match"` + // A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + // + // Deprecated: Use `matchers` in the `routes` instead. + MatchRegex pulumi.StringMapInput `pulumi:"matchRegex"` + // A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + Matchers pulumi.StringArrayInput `pulumi:"matchers"` + // The name of the receiver to route the alerts to. + Receiver pulumi.StringInput `pulumi:"receiver"` + // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + RepeatInterval pulumi.StringInput `pulumi:"repeatInterval"` +} + +func (GetObservabilityInstanceAlertConfigRouteRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigRouteRouteArgs) ToGetObservabilityInstanceAlertConfigRouteRouteOutput() GetObservabilityInstanceAlertConfigRouteRouteOutput { + return i.ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigRouteRouteArgs) ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigRouteRouteOutput) +} + +// GetObservabilityInstanceAlertConfigRouteRouteArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigRouteRouteArray and GetObservabilityInstanceAlertConfigRouteRouteArrayOutput values. +// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigRouteRouteArrayInput` via: +// +// GetObservabilityInstanceAlertConfigRouteRouteArray{ GetObservabilityInstanceAlertConfigRouteRouteArgs{...} } +type GetObservabilityInstanceAlertConfigRouteRouteArrayInput interface { + pulumi.Input + + ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutput() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput + ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigRouteRouteArrayOutput +} + +type GetObservabilityInstanceAlertConfigRouteRouteArray []GetObservabilityInstanceAlertConfigRouteRouteInput + +func (GetObservabilityInstanceAlertConfigRouteRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +} + +func (i GetObservabilityInstanceAlertConfigRouteRouteArray) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutput() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { + return i.ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(context.Background()) +} + +func (i GetObservabilityInstanceAlertConfigRouteRouteArray) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) +} + +type GetObservabilityInstanceAlertConfigRouteRouteOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigRouteRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) ToGetObservabilityInstanceAlertConfigRouteRouteOutput() GetObservabilityInstanceAlertConfigRouteRouteOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteOutput { + return o +} + +// Whether an alert should continue matching subsequent sibling nodes. +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) Continue() pulumi.BoolOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) bool { return v.Continue }).(pulumi.BoolOutput) +} + +// The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +} + +// How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) GroupInterval() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.GroupInterval }).(pulumi.StringOutput) +} + +// How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) GroupWait() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.GroupWait }).(pulumi.StringOutput) +} + +// A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead +// +// Deprecated: Use `matchers` in the `routes` instead. +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) Match() pulumi.StringMapOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) map[string]string { return v.Match }).(pulumi.StringMapOutput) +} + +// A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead +// +// Deprecated: Use `matchers` in the `routes` instead. +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) MatchRegex() pulumi.StringMapOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) map[string]string { return v.MatchRegex }).(pulumi.StringMapOutput) +} + +// A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) Matchers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) []string { return v.Matchers }).(pulumi.StringArrayOutput) +} + +// The name of the receiver to route the alerts to. +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) Receiver() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.Receiver }).(pulumi.StringOutput) +} + +// How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). +func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) RepeatInterval() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.RepeatInterval }).(pulumi.StringOutput) +} + +type GetObservabilityInstanceAlertConfigRouteRouteArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +} + +func (o GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutput() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { + return o +} + +func (o GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigRouteRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigRouteRoute { + return vs[0].([]GetObservabilityInstanceAlertConfigRouteRoute)[vs[1].(int)] + }).(GetObservabilityInstanceAlertConfigRouteRouteOutput) +} + +type GetObservabilityLogalertgroupRule struct { + // The name of the alert rule. Is the identifier and must be unique in the group. + Alert string `pulumi:"alert"` + // A map of key:value. Annotations to add or overwrite for each alert + Annotations map[string]string `pulumi:"annotations"` + // The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + Expression string `pulumi:"expression"` + // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + For string `pulumi:"for"` + // A map of key:value. Labels to add or overwrite for each alert + Labels map[string]string `pulumi:"labels"` +} + +// GetObservabilityLogalertgroupRuleInput is an input type that accepts GetObservabilityLogalertgroupRuleArgs and GetObservabilityLogalertgroupRuleOutput values. +// You can construct a concrete instance of `GetObservabilityLogalertgroupRuleInput` via: +// +// GetObservabilityLogalertgroupRuleArgs{...} +type GetObservabilityLogalertgroupRuleInput interface { + pulumi.Input + + ToGetObservabilityLogalertgroupRuleOutput() GetObservabilityLogalertgroupRuleOutput + ToGetObservabilityLogalertgroupRuleOutputWithContext(context.Context) GetObservabilityLogalertgroupRuleOutput +} + +type GetObservabilityLogalertgroupRuleArgs struct { + // The name of the alert rule. Is the identifier and must be unique in the group. + Alert pulumi.StringInput `pulumi:"alert"` + // A map of key:value. Annotations to add or overwrite for each alert + Annotations pulumi.StringMapInput `pulumi:"annotations"` + // The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + Expression pulumi.StringInput `pulumi:"expression"` + // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + For pulumi.StringInput `pulumi:"for"` + // A map of key:value. Labels to add or overwrite for each alert + Labels pulumi.StringMapInput `pulumi:"labels"` +} + +func (GetObservabilityLogalertgroupRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityLogalertgroupRule)(nil)).Elem() +} + +func (i GetObservabilityLogalertgroupRuleArgs) ToGetObservabilityLogalertgroupRuleOutput() GetObservabilityLogalertgroupRuleOutput { + return i.ToGetObservabilityLogalertgroupRuleOutputWithContext(context.Background()) +} + +func (i GetObservabilityLogalertgroupRuleArgs) ToGetObservabilityLogalertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityLogalertgroupRuleOutput) +} + +// GetObservabilityLogalertgroupRuleArrayInput is an input type that accepts GetObservabilityLogalertgroupRuleArray and GetObservabilityLogalertgroupRuleArrayOutput values. +// You can construct a concrete instance of `GetObservabilityLogalertgroupRuleArrayInput` via: +// +// GetObservabilityLogalertgroupRuleArray{ GetObservabilityLogalertgroupRuleArgs{...} } +type GetObservabilityLogalertgroupRuleArrayInput interface { + pulumi.Input + + ToGetObservabilityLogalertgroupRuleArrayOutput() GetObservabilityLogalertgroupRuleArrayOutput + ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(context.Context) GetObservabilityLogalertgroupRuleArrayOutput +} + +type GetObservabilityLogalertgroupRuleArray []GetObservabilityLogalertgroupRuleInput + +func (GetObservabilityLogalertgroupRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityLogalertgroupRule)(nil)).Elem() +} + +func (i GetObservabilityLogalertgroupRuleArray) ToGetObservabilityLogalertgroupRuleArrayOutput() GetObservabilityLogalertgroupRuleArrayOutput { + return i.ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(context.Background()) +} + +func (i GetObservabilityLogalertgroupRuleArray) ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityLogalertgroupRuleArrayOutput) +} + +type GetObservabilityLogalertgroupRuleOutput struct{ *pulumi.OutputState } + +func (GetObservabilityLogalertgroupRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityLogalertgroupRule)(nil)).Elem() +} + +func (o GetObservabilityLogalertgroupRuleOutput) ToGetObservabilityLogalertgroupRuleOutput() GetObservabilityLogalertgroupRuleOutput { + return o +} + +func (o GetObservabilityLogalertgroupRuleOutput) ToGetObservabilityLogalertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleOutput { + return o +} + +// The name of the alert rule. Is the identifier and must be unique in the group. +func (o GetObservabilityLogalertgroupRuleOutput) Alert() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityLogalertgroupRule) string { return v.Alert }).(pulumi.StringOutput) +} + +// A map of key:value. Annotations to add or overwrite for each alert +func (o GetObservabilityLogalertgroupRuleOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v GetObservabilityLogalertgroupRule) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) +} + +// The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. +func (o GetObservabilityLogalertgroupRuleOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityLogalertgroupRule) string { return v.Expression }).(pulumi.StringOutput) +} + +// Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s +func (o GetObservabilityLogalertgroupRuleOutput) For() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityLogalertgroupRule) string { return v.For }).(pulumi.StringOutput) +} + +// A map of key:value. Labels to add or overwrite for each alert +func (o GetObservabilityLogalertgroupRuleOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v GetObservabilityLogalertgroupRule) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +type GetObservabilityLogalertgroupRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityLogalertgroupRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityLogalertgroupRule)(nil)).Elem() +} + +func (o GetObservabilityLogalertgroupRuleArrayOutput) ToGetObservabilityLogalertgroupRuleArrayOutput() GetObservabilityLogalertgroupRuleArrayOutput { + return o +} + +func (o GetObservabilityLogalertgroupRuleArrayOutput) ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleArrayOutput { + return o +} + +func (o GetObservabilityLogalertgroupRuleArrayOutput) Index(i pulumi.IntInput) GetObservabilityLogalertgroupRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityLogalertgroupRule { + return vs[0].([]GetObservabilityLogalertgroupRule)[vs[1].(int)] + }).(GetObservabilityLogalertgroupRuleOutput) +} + +type GetObservabilityScrapeconfigBasicAuth struct { + // Specifies basic auth password. + Password string `pulumi:"password"` + // Specifies basic auth username. + Username string `pulumi:"username"` +} + +// GetObservabilityScrapeconfigBasicAuthInput is an input type that accepts GetObservabilityScrapeconfigBasicAuthArgs and GetObservabilityScrapeconfigBasicAuthOutput values. +// You can construct a concrete instance of `GetObservabilityScrapeconfigBasicAuthInput` via: +// +// GetObservabilityScrapeconfigBasicAuthArgs{...} +type GetObservabilityScrapeconfigBasicAuthInput interface { + pulumi.Input + + ToGetObservabilityScrapeconfigBasicAuthOutput() GetObservabilityScrapeconfigBasicAuthOutput + ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(context.Context) GetObservabilityScrapeconfigBasicAuthOutput +} + +type GetObservabilityScrapeconfigBasicAuthArgs struct { + // Specifies basic auth password. + Password pulumi.StringInput `pulumi:"password"` + // Specifies basic auth username. + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetObservabilityScrapeconfigBasicAuthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityScrapeconfigBasicAuth)(nil)).Elem() +} + +func (i GetObservabilityScrapeconfigBasicAuthArgs) ToGetObservabilityScrapeconfigBasicAuthOutput() GetObservabilityScrapeconfigBasicAuthOutput { + return i.ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(context.Background()) +} + +func (i GetObservabilityScrapeconfigBasicAuthArgs) ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigBasicAuthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigBasicAuthOutput) +} + +type GetObservabilityScrapeconfigBasicAuthOutput struct{ *pulumi.OutputState } + +func (GetObservabilityScrapeconfigBasicAuthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityScrapeconfigBasicAuth)(nil)).Elem() +} + +func (o GetObservabilityScrapeconfigBasicAuthOutput) ToGetObservabilityScrapeconfigBasicAuthOutput() GetObservabilityScrapeconfigBasicAuthOutput { + return o +} + +func (o GetObservabilityScrapeconfigBasicAuthOutput) ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigBasicAuthOutput { + return o +} + +// Specifies basic auth password. +func (o GetObservabilityScrapeconfigBasicAuthOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityScrapeconfigBasicAuth) string { return v.Password }).(pulumi.StringOutput) +} + +// Specifies basic auth username. +func (o GetObservabilityScrapeconfigBasicAuthOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetObservabilityScrapeconfigBasicAuth) string { return v.Username }).(pulumi.StringOutput) +} + +type GetObservabilityScrapeconfigSaml2 struct { + // Specifies if URL parameters are enabled + EnableUrlParameters bool `pulumi:"enableUrlParameters"` +} + +// GetObservabilityScrapeconfigSaml2Input is an input type that accepts GetObservabilityScrapeconfigSaml2Args and GetObservabilityScrapeconfigSaml2Output values. +// You can construct a concrete instance of `GetObservabilityScrapeconfigSaml2Input` via: // -// GetObservabilityInstanceAlertConfigRouteRouteArgs{...} -type GetObservabilityInstanceAlertConfigRouteRouteInput interface { +// GetObservabilityScrapeconfigSaml2Args{...} +type GetObservabilityScrapeconfigSaml2Input interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigRouteRouteOutput() GetObservabilityInstanceAlertConfigRouteRouteOutput - ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigRouteRouteOutput + ToGetObservabilityScrapeconfigSaml2Output() GetObservabilityScrapeconfigSaml2Output + ToGetObservabilityScrapeconfigSaml2OutputWithContext(context.Context) GetObservabilityScrapeconfigSaml2Output } -type GetObservabilityInstanceAlertConfigRouteRouteArgs struct { - // The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - GroupInterval pulumi.StringInput `pulumi:"groupInterval"` - // How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) - GroupWait pulumi.StringInput `pulumi:"groupWait"` - // A set of equality matchers an alert has to fulfill to match the node. - Match pulumi.StringMapInput `pulumi:"match"` - // A set of regex-matchers an alert has to fulfill to match the node. - MatchRegex pulumi.StringMapInput `pulumi:"matchRegex"` - // The name of the receiver to route the alerts to. - Receiver pulumi.StringInput `pulumi:"receiver"` - // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). - RepeatInterval pulumi.StringInput `pulumi:"repeatInterval"` +type GetObservabilityScrapeconfigSaml2Args struct { + // Specifies if URL parameters are enabled + EnableUrlParameters pulumi.BoolInput `pulumi:"enableUrlParameters"` } -func (GetObservabilityInstanceAlertConfigRouteRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +func (GetObservabilityScrapeconfigSaml2Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityScrapeconfigSaml2)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigRouteRouteArgs) ToGetObservabilityInstanceAlertConfigRouteRouteOutput() GetObservabilityInstanceAlertConfigRouteRouteOutput { - return i.ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(context.Background()) +func (i GetObservabilityScrapeconfigSaml2Args) ToGetObservabilityScrapeconfigSaml2Output() GetObservabilityScrapeconfigSaml2Output { + return i.ToGetObservabilityScrapeconfigSaml2OutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigRouteRouteArgs) ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigRouteRouteOutput) +func (i GetObservabilityScrapeconfigSaml2Args) ToGetObservabilityScrapeconfigSaml2OutputWithContext(ctx context.Context) GetObservabilityScrapeconfigSaml2Output { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigSaml2Output) } -// GetObservabilityInstanceAlertConfigRouteRouteArrayInput is an input type that accepts GetObservabilityInstanceAlertConfigRouteRouteArray and GetObservabilityInstanceAlertConfigRouteRouteArrayOutput values. -// You can construct a concrete instance of `GetObservabilityInstanceAlertConfigRouteRouteArrayInput` via: +type GetObservabilityScrapeconfigSaml2Output struct{ *pulumi.OutputState } + +func (GetObservabilityScrapeconfigSaml2Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityScrapeconfigSaml2)(nil)).Elem() +} + +func (o GetObservabilityScrapeconfigSaml2Output) ToGetObservabilityScrapeconfigSaml2Output() GetObservabilityScrapeconfigSaml2Output { + return o +} + +func (o GetObservabilityScrapeconfigSaml2Output) ToGetObservabilityScrapeconfigSaml2OutputWithContext(ctx context.Context) GetObservabilityScrapeconfigSaml2Output { + return o +} + +// Specifies if URL parameters are enabled +func (o GetObservabilityScrapeconfigSaml2Output) EnableUrlParameters() pulumi.BoolOutput { + return o.ApplyT(func(v GetObservabilityScrapeconfigSaml2) bool { return v.EnableUrlParameters }).(pulumi.BoolOutput) +} + +type GetObservabilityScrapeconfigTarget struct { + // Specifies labels. + Labels map[string]string `pulumi:"labels"` + // Specifies target URLs. + Urls []string `pulumi:"urls"` +} + +// GetObservabilityScrapeconfigTargetInput is an input type that accepts GetObservabilityScrapeconfigTargetArgs and GetObservabilityScrapeconfigTargetOutput values. +// You can construct a concrete instance of `GetObservabilityScrapeconfigTargetInput` via: // -// GetObservabilityInstanceAlertConfigRouteRouteArray{ GetObservabilityInstanceAlertConfigRouteRouteArgs{...} } -type GetObservabilityInstanceAlertConfigRouteRouteArrayInput interface { +// GetObservabilityScrapeconfigTargetArgs{...} +type GetObservabilityScrapeconfigTargetInput interface { pulumi.Input - ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutput() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput - ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(context.Context) GetObservabilityInstanceAlertConfigRouteRouteArrayOutput + ToGetObservabilityScrapeconfigTargetOutput() GetObservabilityScrapeconfigTargetOutput + ToGetObservabilityScrapeconfigTargetOutputWithContext(context.Context) GetObservabilityScrapeconfigTargetOutput } -type GetObservabilityInstanceAlertConfigRouteRouteArray []GetObservabilityInstanceAlertConfigRouteRouteInput +type GetObservabilityScrapeconfigTargetArgs struct { + // Specifies labels. + Labels pulumi.StringMapInput `pulumi:"labels"` + // Specifies target URLs. + Urls pulumi.StringArrayInput `pulumi:"urls"` +} -func (GetObservabilityInstanceAlertConfigRouteRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +func (GetObservabilityScrapeconfigTargetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityScrapeconfigTarget)(nil)).Elem() +} + +func (i GetObservabilityScrapeconfigTargetArgs) ToGetObservabilityScrapeconfigTargetOutput() GetObservabilityScrapeconfigTargetOutput { + return i.ToGetObservabilityScrapeconfigTargetOutputWithContext(context.Background()) +} + +func (i GetObservabilityScrapeconfigTargetArgs) ToGetObservabilityScrapeconfigTargetOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigTargetOutput) +} + +// GetObservabilityScrapeconfigTargetArrayInput is an input type that accepts GetObservabilityScrapeconfigTargetArray and GetObservabilityScrapeconfigTargetArrayOutput values. +// You can construct a concrete instance of `GetObservabilityScrapeconfigTargetArrayInput` via: +// +// GetObservabilityScrapeconfigTargetArray{ GetObservabilityScrapeconfigTargetArgs{...} } +type GetObservabilityScrapeconfigTargetArrayInput interface { + pulumi.Input + + ToGetObservabilityScrapeconfigTargetArrayOutput() GetObservabilityScrapeconfigTargetArrayOutput + ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(context.Context) GetObservabilityScrapeconfigTargetArrayOutput +} + +type GetObservabilityScrapeconfigTargetArray []GetObservabilityScrapeconfigTargetInput + +func (GetObservabilityScrapeconfigTargetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityScrapeconfigTarget)(nil)).Elem() +} + +func (i GetObservabilityScrapeconfigTargetArray) ToGetObservabilityScrapeconfigTargetArrayOutput() GetObservabilityScrapeconfigTargetArrayOutput { + return i.ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(context.Background()) +} + +func (i GetObservabilityScrapeconfigTargetArray) ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigTargetArrayOutput) +} + +type GetObservabilityScrapeconfigTargetOutput struct{ *pulumi.OutputState } + +func (GetObservabilityScrapeconfigTargetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetObservabilityScrapeconfigTarget)(nil)).Elem() +} + +func (o GetObservabilityScrapeconfigTargetOutput) ToGetObservabilityScrapeconfigTargetOutput() GetObservabilityScrapeconfigTargetOutput { + return o +} + +func (o GetObservabilityScrapeconfigTargetOutput) ToGetObservabilityScrapeconfigTargetOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetOutput { + return o +} + +// Specifies labels. +func (o GetObservabilityScrapeconfigTargetOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v GetObservabilityScrapeconfigTarget) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +// Specifies target URLs. +func (o GetObservabilityScrapeconfigTargetOutput) Urls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetObservabilityScrapeconfigTarget) []string { return v.Urls }).(pulumi.StringArrayOutput) +} + +type GetObservabilityScrapeconfigTargetArrayOutput struct{ *pulumi.OutputState } + +func (GetObservabilityScrapeconfigTargetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetObservabilityScrapeconfigTarget)(nil)).Elem() +} + +func (o GetObservabilityScrapeconfigTargetArrayOutput) ToGetObservabilityScrapeconfigTargetArrayOutput() GetObservabilityScrapeconfigTargetArrayOutput { + return o +} + +func (o GetObservabilityScrapeconfigTargetArrayOutput) ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetArrayOutput { + return o +} + +func (o GetObservabilityScrapeconfigTargetArrayOutput) Index(i pulumi.IntInput) GetObservabilityScrapeconfigTargetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityScrapeconfigTarget { + return vs[0].([]GetObservabilityScrapeconfigTarget)[vs[1].(int)] + }).(GetObservabilityScrapeconfigTargetOutput) +} + +type GetOpensearchInstanceParameters struct { + // Enable monitoring. + EnableMonitoring bool `pulumi:"enableMonitoring"` + // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + Graphite string `pulumi:"graphite"` + // The garbage collector to use for OpenSearch. + JavaGarbageCollector string `pulumi:"javaGarbageCollector"` + // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + JavaHeapspace int `pulumi:"javaHeapspace"` + // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + JavaMaxmetaspace int `pulumi:"javaMaxmetaspace"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold int `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted (in seconds). + MetricsFrequency int `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + MetricsPrefix string `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId string `pulumi:"monitoringInstanceId"` + // List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. + Plugins []string `pulumi:"plugins"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl string `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs []string `pulumi:"syslogs"` + // List of TLS ciphers to use. + TlsCiphers []string `pulumi:"tlsCiphers"` + // The TLS protocol to use. + TlsProtocols string `pulumi:"tlsProtocols"` +} + +// GetOpensearchInstanceParametersInput is an input type that accepts GetOpensearchInstanceParametersArgs and GetOpensearchInstanceParametersOutput values. +// You can construct a concrete instance of `GetOpensearchInstanceParametersInput` via: +// +// GetOpensearchInstanceParametersArgs{...} +type GetOpensearchInstanceParametersInput interface { + pulumi.Input + + ToGetOpensearchInstanceParametersOutput() GetOpensearchInstanceParametersOutput + ToGetOpensearchInstanceParametersOutputWithContext(context.Context) GetOpensearchInstanceParametersOutput +} + +type GetOpensearchInstanceParametersArgs struct { + // Enable monitoring. + EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` + // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + Graphite pulumi.StringInput `pulumi:"graphite"` + // The garbage collector to use for OpenSearch. + JavaGarbageCollector pulumi.StringInput `pulumi:"javaGarbageCollector"` + // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + JavaHeapspace pulumi.IntInput `pulumi:"javaHeapspace"` + // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + JavaMaxmetaspace pulumi.IntInput `pulumi:"javaMaxmetaspace"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted (in seconds). + MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` + // List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. + Plugins pulumi.StringArrayInput `pulumi:"plugins"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` + // List of TLS ciphers to use. + TlsCiphers pulumi.StringArrayInput `pulumi:"tlsCiphers"` + // The TLS protocol to use. + TlsProtocols pulumi.StringInput `pulumi:"tlsProtocols"` +} + +func (GetOpensearchInstanceParametersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOpensearchInstanceParameters)(nil)).Elem() } -func (i GetObservabilityInstanceAlertConfigRouteRouteArray) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutput() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { - return i.ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(context.Background()) +func (i GetOpensearchInstanceParametersArgs) ToGetOpensearchInstanceParametersOutput() GetOpensearchInstanceParametersOutput { + return i.ToGetOpensearchInstanceParametersOutputWithContext(context.Background()) } -func (i GetObservabilityInstanceAlertConfigRouteRouteArray) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) +func (i GetOpensearchInstanceParametersArgs) ToGetOpensearchInstanceParametersOutputWithContext(ctx context.Context) GetOpensearchInstanceParametersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOpensearchInstanceParametersOutput) } -type GetObservabilityInstanceAlertConfigRouteRouteOutput struct{ *pulumi.OutputState } +type GetOpensearchInstanceParametersOutput struct{ *pulumi.OutputState } -func (GetObservabilityInstanceAlertConfigRouteRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +func (GetOpensearchInstanceParametersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOpensearchInstanceParameters)(nil)).Elem() } -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) ToGetObservabilityInstanceAlertConfigRouteRouteOutput() GetObservabilityInstanceAlertConfigRouteRouteOutput { +func (o GetOpensearchInstanceParametersOutput) ToGetOpensearchInstanceParametersOutput() GetOpensearchInstanceParametersOutput { return o } -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) ToGetObservabilityInstanceAlertConfigRouteRouteOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteOutput { +func (o GetOpensearchInstanceParametersOutput) ToGetOpensearchInstanceParametersOutputWithContext(ctx context.Context) GetOpensearchInstanceParametersOutput { return o } -// The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) []string { return v.GroupBies }).(pulumi.StringArrayOutput) -} - -// How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) GroupInterval() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.GroupInterval }).(pulumi.StringOutput) -} - -// How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) GroupWait() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.GroupWait }).(pulumi.StringOutput) +// Enable monitoring. +func (o GetOpensearchInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) } -// A set of equality matchers an alert has to fulfill to match the node. -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) Match() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) map[string]string { return v.Match }).(pulumi.StringMapOutput) +// If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). +func (o GetOpensearchInstanceParametersOutput) Graphite() pulumi.StringOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) } -// A set of regex-matchers an alert has to fulfill to match the node. -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) MatchRegex() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) map[string]string { return v.MatchRegex }).(pulumi.StringMapOutput) +// The garbage collector to use for OpenSearch. +func (o GetOpensearchInstanceParametersOutput) JavaGarbageCollector() pulumi.StringOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.JavaGarbageCollector }).(pulumi.StringOutput) } -// The name of the receiver to route the alerts to. -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) Receiver() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.Receiver }).(pulumi.StringOutput) +// The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. +func (o GetOpensearchInstanceParametersOutput) JavaHeapspace() pulumi.IntOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.JavaHeapspace }).(pulumi.IntOutput) } -// How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). -func (o GetObservabilityInstanceAlertConfigRouteRouteOutput) RepeatInterval() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityInstanceAlertConfigRouteRoute) string { return v.RepeatInterval }).(pulumi.StringOutput) +// The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. +func (o GetOpensearchInstanceParametersOutput) JavaMaxmetaspace() pulumi.IntOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.JavaMaxmetaspace }).(pulumi.IntOutput) } -type GetObservabilityInstanceAlertConfigRouteRouteArrayOutput struct{ *pulumi.OutputState } - -func (GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityInstanceAlertConfigRouteRoute)(nil)).Elem() +// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. +func (o GetOpensearchInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) } -func (o GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutput() GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { - return o +// The frequency in seconds at which metrics are emitted (in seconds). +func (o GetOpensearchInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) } -func (o GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) ToGetObservabilityInstanceAlertConfigRouteRouteArrayOutputWithContext(ctx context.Context) GetObservabilityInstanceAlertConfigRouteRouteArrayOutput { - return o +// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. +func (o GetOpensearchInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) } -func (o GetObservabilityInstanceAlertConfigRouteRouteArrayOutput) Index(i pulumi.IntInput) GetObservabilityInstanceAlertConfigRouteRouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityInstanceAlertConfigRouteRoute { - return vs[0].([]GetObservabilityInstanceAlertConfigRouteRoute)[vs[1].(int)] - }).(GetObservabilityInstanceAlertConfigRouteRouteOutput) +// The ID of the STACKIT monitoring instance. +func (o GetOpensearchInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) } -type GetObservabilityLogalertgroupRule struct { - // The name of the alert rule. Is the identifier and must be unique in the group. - Alert string `pulumi:"alert"` - // A map of key:value. Annotations to add or overwrite for each alert - Annotations map[string]string `pulumi:"annotations"` - // The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - Expression string `pulumi:"expression"` - // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - For string `pulumi:"for"` - // A map of key:value. Labels to add or overwrite for each alert - Labels map[string]string `pulumi:"labels"` +// List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. +func (o GetOpensearchInstanceParametersOutput) Plugins() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) []string { return v.Plugins }).(pulumi.StringArrayOutput) } -// GetObservabilityLogalertgroupRuleInput is an input type that accepts GetObservabilityLogalertgroupRuleArgs and GetObservabilityLogalertgroupRuleOutput values. -// You can construct a concrete instance of `GetObservabilityLogalertgroupRuleInput` via: -// -// GetObservabilityLogalertgroupRuleArgs{...} -type GetObservabilityLogalertgroupRuleInput interface { - pulumi.Input - - ToGetObservabilityLogalertgroupRuleOutput() GetObservabilityLogalertgroupRuleOutput - ToGetObservabilityLogalertgroupRuleOutputWithContext(context.Context) GetObservabilityLogalertgroupRuleOutput +// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. +func (o GetOpensearchInstanceParametersOutput) SgwAcl() pulumi.StringOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) } -type GetObservabilityLogalertgroupRuleArgs struct { - // The name of the alert rule. Is the identifier and must be unique in the group. - Alert pulumi.StringInput `pulumi:"alert"` - // A map of key:value. Annotations to add or overwrite for each alert - Annotations pulumi.StringMapInput `pulumi:"annotations"` - // The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - Expression pulumi.StringInput `pulumi:"expression"` - // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - For pulumi.StringInput `pulumi:"for"` - // A map of key:value. Labels to add or overwrite for each alert - Labels pulumi.StringMapInput `pulumi:"labels"` +// List of syslog servers to send logs to. +func (o GetOpensearchInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) } -func (GetObservabilityLogalertgroupRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityLogalertgroupRule)(nil)).Elem() +// List of TLS ciphers to use. +func (o GetOpensearchInstanceParametersOutput) TlsCiphers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) []string { return v.TlsCiphers }).(pulumi.StringArrayOutput) } -func (i GetObservabilityLogalertgroupRuleArgs) ToGetObservabilityLogalertgroupRuleOutput() GetObservabilityLogalertgroupRuleOutput { - return i.ToGetObservabilityLogalertgroupRuleOutputWithContext(context.Background()) +// The TLS protocol to use. +func (o GetOpensearchInstanceParametersOutput) TlsProtocols() pulumi.StringOutput { + return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.TlsProtocols }).(pulumi.StringOutput) } -func (i GetObservabilityLogalertgroupRuleArgs) ToGetObservabilityLogalertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityLogalertgroupRuleOutput) +type GetPostgresflexInstanceFlavor struct { + Cpu int `pulumi:"cpu"` + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Ram int `pulumi:"ram"` } -// GetObservabilityLogalertgroupRuleArrayInput is an input type that accepts GetObservabilityLogalertgroupRuleArray and GetObservabilityLogalertgroupRuleArrayOutput values. -// You can construct a concrete instance of `GetObservabilityLogalertgroupRuleArrayInput` via: +// GetPostgresflexInstanceFlavorInput is an input type that accepts GetPostgresflexInstanceFlavorArgs and GetPostgresflexInstanceFlavorOutput values. +// You can construct a concrete instance of `GetPostgresflexInstanceFlavorInput` via: // -// GetObservabilityLogalertgroupRuleArray{ GetObservabilityLogalertgroupRuleArgs{...} } -type GetObservabilityLogalertgroupRuleArrayInput interface { +// GetPostgresflexInstanceFlavorArgs{...} +type GetPostgresflexInstanceFlavorInput interface { pulumi.Input - ToGetObservabilityLogalertgroupRuleArrayOutput() GetObservabilityLogalertgroupRuleArrayOutput - ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(context.Context) GetObservabilityLogalertgroupRuleArrayOutput + ToGetPostgresflexInstanceFlavorOutput() GetPostgresflexInstanceFlavorOutput + ToGetPostgresflexInstanceFlavorOutputWithContext(context.Context) GetPostgresflexInstanceFlavorOutput } -type GetObservabilityLogalertgroupRuleArray []GetObservabilityLogalertgroupRuleInput +type GetPostgresflexInstanceFlavorArgs struct { + Cpu pulumi.IntInput `pulumi:"cpu"` + Description pulumi.StringInput `pulumi:"description"` + Id pulumi.StringInput `pulumi:"id"` + Ram pulumi.IntInput `pulumi:"ram"` +} -func (GetObservabilityLogalertgroupRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityLogalertgroupRule)(nil)).Elem() +func (GetPostgresflexInstanceFlavorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPostgresflexInstanceFlavor)(nil)).Elem() } -func (i GetObservabilityLogalertgroupRuleArray) ToGetObservabilityLogalertgroupRuleArrayOutput() GetObservabilityLogalertgroupRuleArrayOutput { - return i.ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(context.Background()) +func (i GetPostgresflexInstanceFlavorArgs) ToGetPostgresflexInstanceFlavorOutput() GetPostgresflexInstanceFlavorOutput { + return i.ToGetPostgresflexInstanceFlavorOutputWithContext(context.Background()) } -func (i GetObservabilityLogalertgroupRuleArray) ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityLogalertgroupRuleArrayOutput) +func (i GetPostgresflexInstanceFlavorArgs) ToGetPostgresflexInstanceFlavorOutputWithContext(ctx context.Context) GetPostgresflexInstanceFlavorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPostgresflexInstanceFlavorOutput) } -type GetObservabilityLogalertgroupRuleOutput struct{ *pulumi.OutputState } +type GetPostgresflexInstanceFlavorOutput struct{ *pulumi.OutputState } -func (GetObservabilityLogalertgroupRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityLogalertgroupRule)(nil)).Elem() +func (GetPostgresflexInstanceFlavorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPostgresflexInstanceFlavor)(nil)).Elem() } -func (o GetObservabilityLogalertgroupRuleOutput) ToGetObservabilityLogalertgroupRuleOutput() GetObservabilityLogalertgroupRuleOutput { +func (o GetPostgresflexInstanceFlavorOutput) ToGetPostgresflexInstanceFlavorOutput() GetPostgresflexInstanceFlavorOutput { return o } -func (o GetObservabilityLogalertgroupRuleOutput) ToGetObservabilityLogalertgroupRuleOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleOutput { +func (o GetPostgresflexInstanceFlavorOutput) ToGetPostgresflexInstanceFlavorOutputWithContext(ctx context.Context) GetPostgresflexInstanceFlavorOutput { return o } -// The name of the alert rule. Is the identifier and must be unique in the group. -func (o GetObservabilityLogalertgroupRuleOutput) Alert() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityLogalertgroupRule) string { return v.Alert }).(pulumi.StringOutput) +func (o GetPostgresflexInstanceFlavorOutput) Cpu() pulumi.IntOutput { + return o.ApplyT(func(v GetPostgresflexInstanceFlavor) int { return v.Cpu }).(pulumi.IntOutput) } -// A map of key:value. Annotations to add or overwrite for each alert -func (o GetObservabilityLogalertgroupRuleOutput) Annotations() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityLogalertgroupRule) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) +func (o GetPostgresflexInstanceFlavorOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetPostgresflexInstanceFlavor) string { return v.Description }).(pulumi.StringOutput) } -// The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. -func (o GetObservabilityLogalertgroupRuleOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityLogalertgroupRule) string { return v.Expression }).(pulumi.StringOutput) +func (o GetPostgresflexInstanceFlavorOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPostgresflexInstanceFlavor) string { return v.Id }).(pulumi.StringOutput) } -// Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s -func (o GetObservabilityLogalertgroupRuleOutput) For() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityLogalertgroupRule) string { return v.For }).(pulumi.StringOutput) +func (o GetPostgresflexInstanceFlavorOutput) Ram() pulumi.IntOutput { + return o.ApplyT(func(v GetPostgresflexInstanceFlavor) int { return v.Ram }).(pulumi.IntOutput) } -// A map of key:value. Labels to add or overwrite for each alert -func (o GetObservabilityLogalertgroupRuleOutput) Labels() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityLogalertgroupRule) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +type GetPostgresflexInstanceStorage struct { + Class string `pulumi:"class"` + Size int `pulumi:"size"` } -type GetObservabilityLogalertgroupRuleArrayOutput struct{ *pulumi.OutputState } +// GetPostgresflexInstanceStorageInput is an input type that accepts GetPostgresflexInstanceStorageArgs and GetPostgresflexInstanceStorageOutput values. +// You can construct a concrete instance of `GetPostgresflexInstanceStorageInput` via: +// +// GetPostgresflexInstanceStorageArgs{...} +type GetPostgresflexInstanceStorageInput interface { + pulumi.Input -func (GetObservabilityLogalertgroupRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityLogalertgroupRule)(nil)).Elem() + ToGetPostgresflexInstanceStorageOutput() GetPostgresflexInstanceStorageOutput + ToGetPostgresflexInstanceStorageOutputWithContext(context.Context) GetPostgresflexInstanceStorageOutput } -func (o GetObservabilityLogalertgroupRuleArrayOutput) ToGetObservabilityLogalertgroupRuleArrayOutput() GetObservabilityLogalertgroupRuleArrayOutput { - return o +type GetPostgresflexInstanceStorageArgs struct { + Class pulumi.StringInput `pulumi:"class"` + Size pulumi.IntInput `pulumi:"size"` } -func (o GetObservabilityLogalertgroupRuleArrayOutput) ToGetObservabilityLogalertgroupRuleArrayOutputWithContext(ctx context.Context) GetObservabilityLogalertgroupRuleArrayOutput { - return o +func (GetPostgresflexInstanceStorageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPostgresflexInstanceStorage)(nil)).Elem() } -func (o GetObservabilityLogalertgroupRuleArrayOutput) Index(i pulumi.IntInput) GetObservabilityLogalertgroupRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityLogalertgroupRule { - return vs[0].([]GetObservabilityLogalertgroupRule)[vs[1].(int)] - }).(GetObservabilityLogalertgroupRuleOutput) +func (i GetPostgresflexInstanceStorageArgs) ToGetPostgresflexInstanceStorageOutput() GetPostgresflexInstanceStorageOutput { + return i.ToGetPostgresflexInstanceStorageOutputWithContext(context.Background()) } -type GetObservabilityScrapeconfigBasicAuth struct { - // Specifies basic auth password. - Password string `pulumi:"password"` - // Specifies basic auth username. - Username string `pulumi:"username"` +func (i GetPostgresflexInstanceStorageArgs) ToGetPostgresflexInstanceStorageOutputWithContext(ctx context.Context) GetPostgresflexInstanceStorageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPostgresflexInstanceStorageOutput) } -// GetObservabilityScrapeconfigBasicAuthInput is an input type that accepts GetObservabilityScrapeconfigBasicAuthArgs and GetObservabilityScrapeconfigBasicAuthOutput values. -// You can construct a concrete instance of `GetObservabilityScrapeconfigBasicAuthInput` via: -// -// GetObservabilityScrapeconfigBasicAuthArgs{...} -type GetObservabilityScrapeconfigBasicAuthInput interface { - pulumi.Input - - ToGetObservabilityScrapeconfigBasicAuthOutput() GetObservabilityScrapeconfigBasicAuthOutput - ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(context.Context) GetObservabilityScrapeconfigBasicAuthOutput -} +type GetPostgresflexInstanceStorageOutput struct{ *pulumi.OutputState } -type GetObservabilityScrapeconfigBasicAuthArgs struct { - // Specifies basic auth password. - Password pulumi.StringInput `pulumi:"password"` - // Specifies basic auth username. - Username pulumi.StringInput `pulumi:"username"` +func (GetPostgresflexInstanceStorageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPostgresflexInstanceStorage)(nil)).Elem() } -func (GetObservabilityScrapeconfigBasicAuthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityScrapeconfigBasicAuth)(nil)).Elem() +func (o GetPostgresflexInstanceStorageOutput) ToGetPostgresflexInstanceStorageOutput() GetPostgresflexInstanceStorageOutput { + return o } -func (i GetObservabilityScrapeconfigBasicAuthArgs) ToGetObservabilityScrapeconfigBasicAuthOutput() GetObservabilityScrapeconfigBasicAuthOutput { - return i.ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(context.Background()) +func (o GetPostgresflexInstanceStorageOutput) ToGetPostgresflexInstanceStorageOutputWithContext(ctx context.Context) GetPostgresflexInstanceStorageOutput { + return o } -func (i GetObservabilityScrapeconfigBasicAuthArgs) ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigBasicAuthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigBasicAuthOutput) +func (o GetPostgresflexInstanceStorageOutput) Class() pulumi.StringOutput { + return o.ApplyT(func(v GetPostgresflexInstanceStorage) string { return v.Class }).(pulumi.StringOutput) } -type GetObservabilityScrapeconfigBasicAuthOutput struct{ *pulumi.OutputState } +func (o GetPostgresflexInstanceStorageOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetPostgresflexInstanceStorage) int { return v.Size }).(pulumi.IntOutput) +} -func (GetObservabilityScrapeconfigBasicAuthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityScrapeconfigBasicAuth)(nil)).Elem() +type GetPublicIpRangesPublicIpRange struct { + // Classless Inter-Domain Routing (CIDR) + Cidr string `pulumi:"cidr"` } -func (o GetObservabilityScrapeconfigBasicAuthOutput) ToGetObservabilityScrapeconfigBasicAuthOutput() GetObservabilityScrapeconfigBasicAuthOutput { - return o +// GetPublicIpRangesPublicIpRangeInput is an input type that accepts GetPublicIpRangesPublicIpRangeArgs and GetPublicIpRangesPublicIpRangeOutput values. +// You can construct a concrete instance of `GetPublicIpRangesPublicIpRangeInput` via: +// +// GetPublicIpRangesPublicIpRangeArgs{...} +type GetPublicIpRangesPublicIpRangeInput interface { + pulumi.Input + + ToGetPublicIpRangesPublicIpRangeOutput() GetPublicIpRangesPublicIpRangeOutput + ToGetPublicIpRangesPublicIpRangeOutputWithContext(context.Context) GetPublicIpRangesPublicIpRangeOutput } -func (o GetObservabilityScrapeconfigBasicAuthOutput) ToGetObservabilityScrapeconfigBasicAuthOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigBasicAuthOutput { - return o +type GetPublicIpRangesPublicIpRangeArgs struct { + // Classless Inter-Domain Routing (CIDR) + Cidr pulumi.StringInput `pulumi:"cidr"` } -// Specifies basic auth password. -func (o GetObservabilityScrapeconfigBasicAuthOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityScrapeconfigBasicAuth) string { return v.Password }).(pulumi.StringOutput) +func (GetPublicIpRangesPublicIpRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPublicIpRangesPublicIpRange)(nil)).Elem() } -// Specifies basic auth username. -func (o GetObservabilityScrapeconfigBasicAuthOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetObservabilityScrapeconfigBasicAuth) string { return v.Username }).(pulumi.StringOutput) +func (i GetPublicIpRangesPublicIpRangeArgs) ToGetPublicIpRangesPublicIpRangeOutput() GetPublicIpRangesPublicIpRangeOutput { + return i.ToGetPublicIpRangesPublicIpRangeOutputWithContext(context.Background()) } -type GetObservabilityScrapeconfigSaml2 struct { - // Specifies if URL parameters are enabled - EnableUrlParameters bool `pulumi:"enableUrlParameters"` +func (i GetPublicIpRangesPublicIpRangeArgs) ToGetPublicIpRangesPublicIpRangeOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpRangesPublicIpRangeOutput) } -// GetObservabilityScrapeconfigSaml2Input is an input type that accepts GetObservabilityScrapeconfigSaml2Args and GetObservabilityScrapeconfigSaml2Output values. -// You can construct a concrete instance of `GetObservabilityScrapeconfigSaml2Input` via: +// GetPublicIpRangesPublicIpRangeArrayInput is an input type that accepts GetPublicIpRangesPublicIpRangeArray and GetPublicIpRangesPublicIpRangeArrayOutput values. +// You can construct a concrete instance of `GetPublicIpRangesPublicIpRangeArrayInput` via: // -// GetObservabilityScrapeconfigSaml2Args{...} -type GetObservabilityScrapeconfigSaml2Input interface { +// GetPublicIpRangesPublicIpRangeArray{ GetPublicIpRangesPublicIpRangeArgs{...} } +type GetPublicIpRangesPublicIpRangeArrayInput interface { pulumi.Input - ToGetObservabilityScrapeconfigSaml2Output() GetObservabilityScrapeconfigSaml2Output - ToGetObservabilityScrapeconfigSaml2OutputWithContext(context.Context) GetObservabilityScrapeconfigSaml2Output + ToGetPublicIpRangesPublicIpRangeArrayOutput() GetPublicIpRangesPublicIpRangeArrayOutput + ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(context.Context) GetPublicIpRangesPublicIpRangeArrayOutput } -type GetObservabilityScrapeconfigSaml2Args struct { - // Specifies if URL parameters are enabled - EnableUrlParameters pulumi.BoolInput `pulumi:"enableUrlParameters"` +type GetPublicIpRangesPublicIpRangeArray []GetPublicIpRangesPublicIpRangeInput + +func (GetPublicIpRangesPublicIpRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPublicIpRangesPublicIpRange)(nil)).Elem() } -func (GetObservabilityScrapeconfigSaml2Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityScrapeconfigSaml2)(nil)).Elem() +func (i GetPublicIpRangesPublicIpRangeArray) ToGetPublicIpRangesPublicIpRangeArrayOutput() GetPublicIpRangesPublicIpRangeArrayOutput { + return i.ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(context.Background()) } -func (i GetObservabilityScrapeconfigSaml2Args) ToGetObservabilityScrapeconfigSaml2Output() GetObservabilityScrapeconfigSaml2Output { - return i.ToGetObservabilityScrapeconfigSaml2OutputWithContext(context.Background()) +func (i GetPublicIpRangesPublicIpRangeArray) ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpRangesPublicIpRangeArrayOutput) } -func (i GetObservabilityScrapeconfigSaml2Args) ToGetObservabilityScrapeconfigSaml2OutputWithContext(ctx context.Context) GetObservabilityScrapeconfigSaml2Output { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigSaml2Output) +type GetPublicIpRangesPublicIpRangeOutput struct{ *pulumi.OutputState } + +func (GetPublicIpRangesPublicIpRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPublicIpRangesPublicIpRange)(nil)).Elem() } -type GetObservabilityScrapeconfigSaml2Output struct{ *pulumi.OutputState } +func (o GetPublicIpRangesPublicIpRangeOutput) ToGetPublicIpRangesPublicIpRangeOutput() GetPublicIpRangesPublicIpRangeOutput { + return o +} -func (GetObservabilityScrapeconfigSaml2Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityScrapeconfigSaml2)(nil)).Elem() +func (o GetPublicIpRangesPublicIpRangeOutput) ToGetPublicIpRangesPublicIpRangeOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeOutput { + return o } -func (o GetObservabilityScrapeconfigSaml2Output) ToGetObservabilityScrapeconfigSaml2Output() GetObservabilityScrapeconfigSaml2Output { +// Classless Inter-Domain Routing (CIDR) +func (o GetPublicIpRangesPublicIpRangeOutput) Cidr() pulumi.StringOutput { + return o.ApplyT(func(v GetPublicIpRangesPublicIpRange) string { return v.Cidr }).(pulumi.StringOutput) +} + +type GetPublicIpRangesPublicIpRangeArrayOutput struct{ *pulumi.OutputState } + +func (GetPublicIpRangesPublicIpRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPublicIpRangesPublicIpRange)(nil)).Elem() +} + +func (o GetPublicIpRangesPublicIpRangeArrayOutput) ToGetPublicIpRangesPublicIpRangeArrayOutput() GetPublicIpRangesPublicIpRangeArrayOutput { return o } -func (o GetObservabilityScrapeconfigSaml2Output) ToGetObservabilityScrapeconfigSaml2OutputWithContext(ctx context.Context) GetObservabilityScrapeconfigSaml2Output { +func (o GetPublicIpRangesPublicIpRangeArrayOutput) ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeArrayOutput { return o } -// Specifies if URL parameters are enabled -func (o GetObservabilityScrapeconfigSaml2Output) EnableUrlParameters() pulumi.BoolOutput { - return o.ApplyT(func(v GetObservabilityScrapeconfigSaml2) bool { return v.EnableUrlParameters }).(pulumi.BoolOutput) +func (o GetPublicIpRangesPublicIpRangeArrayOutput) Index(i pulumi.IntInput) GetPublicIpRangesPublicIpRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPublicIpRangesPublicIpRange { + return vs[0].([]GetPublicIpRangesPublicIpRange)[vs[1].(int)] + }).(GetPublicIpRangesPublicIpRangeOutput) } -type GetObservabilityScrapeconfigTarget struct { - // Specifies labels. - Labels map[string]string `pulumi:"labels"` - // Specifies target URLs. - Urls []string `pulumi:"urls"` +type GetRabbitmqInstanceParameters struct { + // The timeout in milliseconds for the consumer. + ConsumerTimeout int `pulumi:"consumerTimeout"` + // Enable monitoring. + EnableMonitoring bool `pulumi:"enableMonitoring"` + // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + Graphite string `pulumi:"graphite"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold int `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted. + MetricsFrequency int `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + MetricsPrefix string `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId string `pulumi:"monitoringInstanceId"` + // List of plugins to install. Must be a supported plugin name. + Plugins []string `pulumi:"plugins"` + // List of roles to assign to the instance. + Roles []string `pulumi:"roles"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl string `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs []string `pulumi:"syslogs"` + // List of TLS ciphers to use. + TlsCiphers []string `pulumi:"tlsCiphers"` + // TLS protocol to use. + TlsProtocols string `pulumi:"tlsProtocols"` } -// GetObservabilityScrapeconfigTargetInput is an input type that accepts GetObservabilityScrapeconfigTargetArgs and GetObservabilityScrapeconfigTargetOutput values. -// You can construct a concrete instance of `GetObservabilityScrapeconfigTargetInput` via: +// GetRabbitmqInstanceParametersInput is an input type that accepts GetRabbitmqInstanceParametersArgs and GetRabbitmqInstanceParametersOutput values. +// You can construct a concrete instance of `GetRabbitmqInstanceParametersInput` via: // -// GetObservabilityScrapeconfigTargetArgs{...} -type GetObservabilityScrapeconfigTargetInput interface { +// GetRabbitmqInstanceParametersArgs{...} +type GetRabbitmqInstanceParametersInput interface { pulumi.Input - ToGetObservabilityScrapeconfigTargetOutput() GetObservabilityScrapeconfigTargetOutput - ToGetObservabilityScrapeconfigTargetOutputWithContext(context.Context) GetObservabilityScrapeconfigTargetOutput + ToGetRabbitmqInstanceParametersOutput() GetRabbitmqInstanceParametersOutput + ToGetRabbitmqInstanceParametersOutputWithContext(context.Context) GetRabbitmqInstanceParametersOutput } -type GetObservabilityScrapeconfigTargetArgs struct { - // Specifies labels. - Labels pulumi.StringMapInput `pulumi:"labels"` - // Specifies target URLs. - Urls pulumi.StringArrayInput `pulumi:"urls"` +type GetRabbitmqInstanceParametersArgs struct { + // The timeout in milliseconds for the consumer. + ConsumerTimeout pulumi.IntInput `pulumi:"consumerTimeout"` + // Enable monitoring. + EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` + // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + Graphite pulumi.StringInput `pulumi:"graphite"` + // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` + // The frequency in seconds at which metrics are emitted. + MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` + // The ID of the STACKIT monitoring instance. + MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` + // List of plugins to install. Must be a supported plugin name. + Plugins pulumi.StringArrayInput `pulumi:"plugins"` + // List of roles to assign to the instance. + Roles pulumi.StringArrayInput `pulumi:"roles"` + // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` + // List of syslog servers to send logs to. + Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` + // List of TLS ciphers to use. + TlsCiphers pulumi.StringArrayInput `pulumi:"tlsCiphers"` + // TLS protocol to use. + TlsProtocols pulumi.StringInput `pulumi:"tlsProtocols"` } -func (GetObservabilityScrapeconfigTargetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityScrapeconfigTarget)(nil)).Elem() +func (GetRabbitmqInstanceParametersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRabbitmqInstanceParameters)(nil)).Elem() } -func (i GetObservabilityScrapeconfigTargetArgs) ToGetObservabilityScrapeconfigTargetOutput() GetObservabilityScrapeconfigTargetOutput { - return i.ToGetObservabilityScrapeconfigTargetOutputWithContext(context.Background()) +func (i GetRabbitmqInstanceParametersArgs) ToGetRabbitmqInstanceParametersOutput() GetRabbitmqInstanceParametersOutput { + return i.ToGetRabbitmqInstanceParametersOutputWithContext(context.Background()) } -func (i GetObservabilityScrapeconfigTargetArgs) ToGetObservabilityScrapeconfigTargetOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigTargetOutput) +func (i GetRabbitmqInstanceParametersArgs) ToGetRabbitmqInstanceParametersOutputWithContext(ctx context.Context) GetRabbitmqInstanceParametersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRabbitmqInstanceParametersOutput) } -// GetObservabilityScrapeconfigTargetArrayInput is an input type that accepts GetObservabilityScrapeconfigTargetArray and GetObservabilityScrapeconfigTargetArrayOutput values. -// You can construct a concrete instance of `GetObservabilityScrapeconfigTargetArrayInput` via: -// -// GetObservabilityScrapeconfigTargetArray{ GetObservabilityScrapeconfigTargetArgs{...} } -type GetObservabilityScrapeconfigTargetArrayInput interface { - pulumi.Input +type GetRabbitmqInstanceParametersOutput struct{ *pulumi.OutputState } - ToGetObservabilityScrapeconfigTargetArrayOutput() GetObservabilityScrapeconfigTargetArrayOutput - ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(context.Context) GetObservabilityScrapeconfigTargetArrayOutput +func (GetRabbitmqInstanceParametersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRabbitmqInstanceParameters)(nil)).Elem() } -type GetObservabilityScrapeconfigTargetArray []GetObservabilityScrapeconfigTargetInput +func (o GetRabbitmqInstanceParametersOutput) ToGetRabbitmqInstanceParametersOutput() GetRabbitmqInstanceParametersOutput { + return o +} -func (GetObservabilityScrapeconfigTargetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityScrapeconfigTarget)(nil)).Elem() +func (o GetRabbitmqInstanceParametersOutput) ToGetRabbitmqInstanceParametersOutputWithContext(ctx context.Context) GetRabbitmqInstanceParametersOutput { + return o } -func (i GetObservabilityScrapeconfigTargetArray) ToGetObservabilityScrapeconfigTargetArrayOutput() GetObservabilityScrapeconfigTargetArrayOutput { - return i.ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(context.Background()) +// The timeout in milliseconds for the consumer. +func (o GetRabbitmqInstanceParametersOutput) ConsumerTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) int { return v.ConsumerTimeout }).(pulumi.IntOutput) } -func (i GetObservabilityScrapeconfigTargetArray) ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetObservabilityScrapeconfigTargetArrayOutput) +// Enable monitoring. +func (o GetRabbitmqInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) } -type GetObservabilityScrapeconfigTargetOutput struct{ *pulumi.OutputState } +// Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. +func (o GetRabbitmqInstanceParametersOutput) Graphite() pulumi.StringOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) +} -func (GetObservabilityScrapeconfigTargetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetObservabilityScrapeconfigTarget)(nil)).Elem() +// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. +func (o GetRabbitmqInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) } -func (o GetObservabilityScrapeconfigTargetOutput) ToGetObservabilityScrapeconfigTargetOutput() GetObservabilityScrapeconfigTargetOutput { - return o +// The frequency in seconds at which metrics are emitted. +func (o GetRabbitmqInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) } -func (o GetObservabilityScrapeconfigTargetOutput) ToGetObservabilityScrapeconfigTargetOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetOutput { - return o +// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key +func (o GetRabbitmqInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) +} + +// The ID of the STACKIT monitoring instance. +func (o GetRabbitmqInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) } -// Specifies labels. -func (o GetObservabilityScrapeconfigTargetOutput) Labels() pulumi.StringMapOutput { - return o.ApplyT(func(v GetObservabilityScrapeconfigTarget) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +// List of plugins to install. Must be a supported plugin name. +func (o GetRabbitmqInstanceParametersOutput) Plugins() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.Plugins }).(pulumi.StringArrayOutput) } -// Specifies target URLs. -func (o GetObservabilityScrapeconfigTargetOutput) Urls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetObservabilityScrapeconfigTarget) []string { return v.Urls }).(pulumi.StringArrayOutput) +// List of roles to assign to the instance. +func (o GetRabbitmqInstanceParametersOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.Roles }).(pulumi.StringArrayOutput) } -type GetObservabilityScrapeconfigTargetArrayOutput struct{ *pulumi.OutputState } - -func (GetObservabilityScrapeconfigTargetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetObservabilityScrapeconfigTarget)(nil)).Elem() +// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. +func (o GetRabbitmqInstanceParametersOutput) SgwAcl() pulumi.StringOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) } -func (o GetObservabilityScrapeconfigTargetArrayOutput) ToGetObservabilityScrapeconfigTargetArrayOutput() GetObservabilityScrapeconfigTargetArrayOutput { - return o +// List of syslog servers to send logs to. +func (o GetRabbitmqInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) } -func (o GetObservabilityScrapeconfigTargetArrayOutput) ToGetObservabilityScrapeconfigTargetArrayOutputWithContext(ctx context.Context) GetObservabilityScrapeconfigTargetArrayOutput { - return o +// List of TLS ciphers to use. +func (o GetRabbitmqInstanceParametersOutput) TlsCiphers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.TlsCiphers }).(pulumi.StringArrayOutput) } -func (o GetObservabilityScrapeconfigTargetArrayOutput) Index(i pulumi.IntInput) GetObservabilityScrapeconfigTargetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetObservabilityScrapeconfigTarget { - return vs[0].([]GetObservabilityScrapeconfigTarget)[vs[1].(int)] - }).(GetObservabilityScrapeconfigTargetOutput) +// TLS protocol to use. +func (o GetRabbitmqInstanceParametersOutput) TlsProtocols() pulumi.StringOutput { + return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.TlsProtocols }).(pulumi.StringOutput) } -type GetOpensearchInstanceParameters struct { +type GetRedisInstanceParameters struct { + // The number of milliseconds after which the instance is considered down. + DownAfterMilliseconds int `pulumi:"downAfterMilliseconds"` // Enable monitoring. EnableMonitoring bool `pulumi:"enableMonitoring"` - // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + // The failover timeout in milliseconds. + FailoverTimeout int `pulumi:"failoverTimeout"` + // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. Graphite string `pulumi:"graphite"` - // The garbage collector to use for OpenSearch. - JavaGarbageCollector string `pulumi:"javaGarbageCollector"` - // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - JavaHeapspace int `pulumi:"javaHeapspace"` - // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - JavaMaxmetaspace int `pulumi:"javaMaxmetaspace"` + // The lazy eviction enablement (yes or no). + LazyfreeLazyEviction string `pulumi:"lazyfreeLazyEviction"` + // The lazy expire enablement (yes or no). + LazyfreeLazyExpire string `pulumi:"lazyfreeLazyExpire"` + // The Lua time limit. + LuaTimeLimit int `pulumi:"luaTimeLimit"` // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. MaxDiskThreshold int `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted (in seconds). + // The maximum number of clients. + Maxclients int `pulumi:"maxclients"` + // The policy to handle the maximum memory (volatile-lru, noeviction, etc). + MaxmemoryPolicy string `pulumi:"maxmemoryPolicy"` + // The maximum memory samples. + MaxmemorySamples int `pulumi:"maxmemorySamples"` + // The frequency in seconds at which metrics are emitted. MetricsFrequency int `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key MetricsPrefix string `pulumi:"metricsPrefix"` + // The minimum replicas maximum lag. + MinReplicasMaxLag int `pulumi:"minReplicasMaxLag"` // The ID of the STACKIT monitoring instance. MonitoringInstanceId string `pulumi:"monitoringInstanceId"` - // List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. - Plugins []string `pulumi:"plugins"` + // The notify keyspace events. + NotifyKeyspaceEvents string `pulumi:"notifyKeyspaceEvents"` // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. SgwAcl string `pulumi:"sgwAcl"` + // The snapshot configuration. + Snapshot string `pulumi:"snapshot"` // List of syslog servers to send logs to. Syslogs []string `pulumi:"syslogs"` // List of TLS ciphers to use. TlsCiphers []string `pulumi:"tlsCiphers"` - // The TLS protocol to use. + // TLS cipher suites to use. + TlsCiphersuites string `pulumi:"tlsCiphersuites"` + // TLS protocol to use. TlsProtocols string `pulumi:"tlsProtocols"` } -// GetOpensearchInstanceParametersInput is an input type that accepts GetOpensearchInstanceParametersArgs and GetOpensearchInstanceParametersOutput values. -// You can construct a concrete instance of `GetOpensearchInstanceParametersInput` via: +// GetRedisInstanceParametersInput is an input type that accepts GetRedisInstanceParametersArgs and GetRedisInstanceParametersOutput values. +// You can construct a concrete instance of `GetRedisInstanceParametersInput` via: // -// GetOpensearchInstanceParametersArgs{...} -type GetOpensearchInstanceParametersInput interface { +// GetRedisInstanceParametersArgs{...} +type GetRedisInstanceParametersInput interface { pulumi.Input - ToGetOpensearchInstanceParametersOutput() GetOpensearchInstanceParametersOutput - ToGetOpensearchInstanceParametersOutputWithContext(context.Context) GetOpensearchInstanceParametersOutput + ToGetRedisInstanceParametersOutput() GetRedisInstanceParametersOutput + ToGetRedisInstanceParametersOutputWithContext(context.Context) GetRedisInstanceParametersOutput } -type GetOpensearchInstanceParametersArgs struct { +type GetRedisInstanceParametersArgs struct { + // The number of milliseconds after which the instance is considered down. + DownAfterMilliseconds pulumi.IntInput `pulumi:"downAfterMilliseconds"` // Enable monitoring. EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` - // If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + // The failover timeout in milliseconds. + FailoverTimeout pulumi.IntInput `pulumi:"failoverTimeout"` + // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. Graphite pulumi.StringInput `pulumi:"graphite"` - // The garbage collector to use for OpenSearch. - JavaGarbageCollector pulumi.StringInput `pulumi:"javaGarbageCollector"` - // The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - JavaHeapspace pulumi.IntInput `pulumi:"javaHeapspace"` - // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - JavaMaxmetaspace pulumi.IntInput `pulumi:"javaMaxmetaspace"` + // The lazy eviction enablement (yes or no). + LazyfreeLazyEviction pulumi.StringInput `pulumi:"lazyfreeLazyEviction"` + // The lazy expire enablement (yes or no). + LazyfreeLazyExpire pulumi.StringInput `pulumi:"lazyfreeLazyExpire"` + // The Lua time limit. + LuaTimeLimit pulumi.IntInput `pulumi:"luaTimeLimit"` // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted (in seconds). + // The maximum number of clients. + Maxclients pulumi.IntInput `pulumi:"maxclients"` + // The policy to handle the maximum memory (volatile-lru, noeviction, etc). + MaxmemoryPolicy pulumi.StringInput `pulumi:"maxmemoryPolicy"` + // The maximum memory samples. + MaxmemorySamples pulumi.IntInput `pulumi:"maxmemorySamples"` + // The frequency in seconds at which metrics are emitted. MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` + // The minimum replicas maximum lag. + MinReplicasMaxLag pulumi.IntInput `pulumi:"minReplicasMaxLag"` // The ID of the STACKIT monitoring instance. MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` - // List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. - Plugins pulumi.StringArrayInput `pulumi:"plugins"` + // The notify keyspace events. + NotifyKeyspaceEvents pulumi.StringInput `pulumi:"notifyKeyspaceEvents"` // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` + // The snapshot configuration. + Snapshot pulumi.StringInput `pulumi:"snapshot"` // List of syslog servers to send logs to. Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` // List of TLS ciphers to use. TlsCiphers pulumi.StringArrayInput `pulumi:"tlsCiphers"` - // The TLS protocol to use. + // TLS cipher suites to use. + TlsCiphersuites pulumi.StringInput `pulumi:"tlsCiphersuites"` + // TLS protocol to use. TlsProtocols pulumi.StringInput `pulumi:"tlsProtocols"` } -func (GetOpensearchInstanceParametersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetOpensearchInstanceParameters)(nil)).Elem() +func (GetRedisInstanceParametersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRedisInstanceParameters)(nil)).Elem() } -func (i GetOpensearchInstanceParametersArgs) ToGetOpensearchInstanceParametersOutput() GetOpensearchInstanceParametersOutput { - return i.ToGetOpensearchInstanceParametersOutputWithContext(context.Background()) +func (i GetRedisInstanceParametersArgs) ToGetRedisInstanceParametersOutput() GetRedisInstanceParametersOutput { + return i.ToGetRedisInstanceParametersOutputWithContext(context.Background()) } -func (i GetOpensearchInstanceParametersArgs) ToGetOpensearchInstanceParametersOutputWithContext(ctx context.Context) GetOpensearchInstanceParametersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetOpensearchInstanceParametersOutput) +func (i GetRedisInstanceParametersArgs) ToGetRedisInstanceParametersOutputWithContext(ctx context.Context) GetRedisInstanceParametersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRedisInstanceParametersOutput) } -type GetOpensearchInstanceParametersOutput struct{ *pulumi.OutputState } +type GetRedisInstanceParametersOutput struct{ *pulumi.OutputState } -func (GetOpensearchInstanceParametersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetOpensearchInstanceParameters)(nil)).Elem() +func (GetRedisInstanceParametersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRedisInstanceParameters)(nil)).Elem() } -func (o GetOpensearchInstanceParametersOutput) ToGetOpensearchInstanceParametersOutput() GetOpensearchInstanceParametersOutput { +func (o GetRedisInstanceParametersOutput) ToGetRedisInstanceParametersOutput() GetRedisInstanceParametersOutput { return o } -func (o GetOpensearchInstanceParametersOutput) ToGetOpensearchInstanceParametersOutputWithContext(ctx context.Context) GetOpensearchInstanceParametersOutput { +func (o GetRedisInstanceParametersOutput) ToGetRedisInstanceParametersOutputWithContext(ctx context.Context) GetRedisInstanceParametersOutput { return o } +// The number of milliseconds after which the instance is considered down. +func (o GetRedisInstanceParametersOutput) DownAfterMilliseconds() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.DownAfterMilliseconds }).(pulumi.IntOutput) +} + // Enable monitoring. -func (o GetOpensearchInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) +func (o GetRedisInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) } -// If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). -func (o GetOpensearchInstanceParametersOutput) Graphite() pulumi.StringOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) +// The failover timeout in milliseconds. +func (o GetRedisInstanceParametersOutput) FailoverTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.FailoverTimeout }).(pulumi.IntOutput) } -// The garbage collector to use for OpenSearch. -func (o GetOpensearchInstanceParametersOutput) JavaGarbageCollector() pulumi.StringOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.JavaGarbageCollector }).(pulumi.StringOutput) +// Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. +func (o GetRedisInstanceParametersOutput) Graphite() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) } -// The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. -func (o GetOpensearchInstanceParametersOutput) JavaHeapspace() pulumi.IntOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.JavaHeapspace }).(pulumi.IntOutput) +// The lazy eviction enablement (yes or no). +func (o GetRedisInstanceParametersOutput) LazyfreeLazyEviction() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.LazyfreeLazyEviction }).(pulumi.StringOutput) } -// The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. -func (o GetOpensearchInstanceParametersOutput) JavaMaxmetaspace() pulumi.IntOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.JavaMaxmetaspace }).(pulumi.IntOutput) +// The lazy expire enablement (yes or no). +func (o GetRedisInstanceParametersOutput) LazyfreeLazyExpire() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.LazyfreeLazyExpire }).(pulumi.StringOutput) +} + +// The Lua time limit. +func (o GetRedisInstanceParametersOutput) LuaTimeLimit() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.LuaTimeLimit }).(pulumi.IntOutput) } // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. -func (o GetOpensearchInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) +func (o GetRedisInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) } -// The frequency in seconds at which metrics are emitted (in seconds). -func (o GetOpensearchInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) +// The maximum number of clients. +func (o GetRedisInstanceParametersOutput) Maxclients() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.Maxclients }).(pulumi.IntOutput) } -// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. -func (o GetOpensearchInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) +// The policy to handle the maximum memory (volatile-lru, noeviction, etc). +func (o GetRedisInstanceParametersOutput) MaxmemoryPolicy() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.MaxmemoryPolicy }).(pulumi.StringOutput) +} + +// The maximum memory samples. +func (o GetRedisInstanceParametersOutput) MaxmemorySamples() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MaxmemorySamples }).(pulumi.IntOutput) +} + +// The frequency in seconds at which metrics are emitted. +func (o GetRedisInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) +} + +// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key +func (o GetRedisInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) +} + +// The minimum replicas maximum lag. +func (o GetRedisInstanceParametersOutput) MinReplicasMaxLag() pulumi.IntOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MinReplicasMaxLag }).(pulumi.IntOutput) } // The ID of the STACKIT monitoring instance. -func (o GetOpensearchInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) +func (o GetRedisInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) } -// List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. -func (o GetOpensearchInstanceParametersOutput) Plugins() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) []string { return v.Plugins }).(pulumi.StringArrayOutput) +// The notify keyspace events. +func (o GetRedisInstanceParametersOutput) NotifyKeyspaceEvents() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.NotifyKeyspaceEvents }).(pulumi.StringOutput) } // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. -func (o GetOpensearchInstanceParametersOutput) SgwAcl() pulumi.StringOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) +func (o GetRedisInstanceParametersOutput) SgwAcl() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) +} + +// The snapshot configuration. +func (o GetRedisInstanceParametersOutput) Snapshot() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.Snapshot }).(pulumi.StringOutput) } // List of syslog servers to send logs to. -func (o GetOpensearchInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) +func (o GetRedisInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) } // List of TLS ciphers to use. -func (o GetOpensearchInstanceParametersOutput) TlsCiphers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) []string { return v.TlsCiphers }).(pulumi.StringArrayOutput) +func (o GetRedisInstanceParametersOutput) TlsCiphers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) []string { return v.TlsCiphers }).(pulumi.StringArrayOutput) } -// The TLS protocol to use. -func (o GetOpensearchInstanceParametersOutput) TlsProtocols() pulumi.StringOutput { - return o.ApplyT(func(v GetOpensearchInstanceParameters) string { return v.TlsProtocols }).(pulumi.StringOutput) +// TLS cipher suites to use. +func (o GetRedisInstanceParametersOutput) TlsCiphersuites() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.TlsCiphersuites }).(pulumi.StringOutput) } -type GetPostgresflexInstanceFlavor struct { - Cpu int `pulumi:"cpu"` - Description string `pulumi:"description"` - Id string `pulumi:"id"` - Ram int `pulumi:"ram"` +// TLS protocol to use. +func (o GetRedisInstanceParametersOutput) TlsProtocols() pulumi.StringOutput { + return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.TlsProtocols }).(pulumi.StringOutput) } -// GetPostgresflexInstanceFlavorInput is an input type that accepts GetPostgresflexInstanceFlavorArgs and GetPostgresflexInstanceFlavorOutput values. -// You can construct a concrete instance of `GetPostgresflexInstanceFlavorInput` via: +type GetRoutingTableRouteDestination struct { + // CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + Type string `pulumi:"type"` + // An CIDR string. + Value string `pulumi:"value"` +} + +// GetRoutingTableRouteDestinationInput is an input type that accepts GetRoutingTableRouteDestinationArgs and GetRoutingTableRouteDestinationOutput values. +// You can construct a concrete instance of `GetRoutingTableRouteDestinationInput` via: // -// GetPostgresflexInstanceFlavorArgs{...} -type GetPostgresflexInstanceFlavorInput interface { +// GetRoutingTableRouteDestinationArgs{...} +type GetRoutingTableRouteDestinationInput interface { pulumi.Input - ToGetPostgresflexInstanceFlavorOutput() GetPostgresflexInstanceFlavorOutput - ToGetPostgresflexInstanceFlavorOutputWithContext(context.Context) GetPostgresflexInstanceFlavorOutput + ToGetRoutingTableRouteDestinationOutput() GetRoutingTableRouteDestinationOutput + ToGetRoutingTableRouteDestinationOutputWithContext(context.Context) GetRoutingTableRouteDestinationOutput } -type GetPostgresflexInstanceFlavorArgs struct { - Cpu pulumi.IntInput `pulumi:"cpu"` - Description pulumi.StringInput `pulumi:"description"` - Id pulumi.StringInput `pulumi:"id"` - Ram pulumi.IntInput `pulumi:"ram"` +type GetRoutingTableRouteDestinationArgs struct { + // CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + Type pulumi.StringInput `pulumi:"type"` + // An CIDR string. + Value pulumi.StringInput `pulumi:"value"` } -func (GetPostgresflexInstanceFlavorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPostgresflexInstanceFlavor)(nil)).Elem() +func (GetRoutingTableRouteDestinationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRouteDestination)(nil)).Elem() } -func (i GetPostgresflexInstanceFlavorArgs) ToGetPostgresflexInstanceFlavorOutput() GetPostgresflexInstanceFlavorOutput { - return i.ToGetPostgresflexInstanceFlavorOutputWithContext(context.Background()) +func (i GetRoutingTableRouteDestinationArgs) ToGetRoutingTableRouteDestinationOutput() GetRoutingTableRouteDestinationOutput { + return i.ToGetRoutingTableRouteDestinationOutputWithContext(context.Background()) } -func (i GetPostgresflexInstanceFlavorArgs) ToGetPostgresflexInstanceFlavorOutputWithContext(ctx context.Context) GetPostgresflexInstanceFlavorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPostgresflexInstanceFlavorOutput) +func (i GetRoutingTableRouteDestinationArgs) ToGetRoutingTableRouteDestinationOutputWithContext(ctx context.Context) GetRoutingTableRouteDestinationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTableRouteDestinationOutput) } -type GetPostgresflexInstanceFlavorOutput struct{ *pulumi.OutputState } +type GetRoutingTableRouteDestinationOutput struct{ *pulumi.OutputState } -func (GetPostgresflexInstanceFlavorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPostgresflexInstanceFlavor)(nil)).Elem() +func (GetRoutingTableRouteDestinationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRouteDestination)(nil)).Elem() } -func (o GetPostgresflexInstanceFlavorOutput) ToGetPostgresflexInstanceFlavorOutput() GetPostgresflexInstanceFlavorOutput { +func (o GetRoutingTableRouteDestinationOutput) ToGetRoutingTableRouteDestinationOutput() GetRoutingTableRouteDestinationOutput { return o } -func (o GetPostgresflexInstanceFlavorOutput) ToGetPostgresflexInstanceFlavorOutputWithContext(ctx context.Context) GetPostgresflexInstanceFlavorOutput { +func (o GetRoutingTableRouteDestinationOutput) ToGetRoutingTableRouteDestinationOutputWithContext(ctx context.Context) GetRoutingTableRouteDestinationOutput { return o } -func (o GetPostgresflexInstanceFlavorOutput) Cpu() pulumi.IntOutput { - return o.ApplyT(func(v GetPostgresflexInstanceFlavor) int { return v.Cpu }).(pulumi.IntOutput) -} - -func (o GetPostgresflexInstanceFlavorOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetPostgresflexInstanceFlavor) string { return v.Description }).(pulumi.StringOutput) -} - -func (o GetPostgresflexInstanceFlavorOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPostgresflexInstanceFlavor) string { return v.Id }).(pulumi.StringOutput) +// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. +func (o GetRoutingTableRouteDestinationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRouteDestination) string { return v.Type }).(pulumi.StringOutput) } -func (o GetPostgresflexInstanceFlavorOutput) Ram() pulumi.IntOutput { - return o.ApplyT(func(v GetPostgresflexInstanceFlavor) int { return v.Ram }).(pulumi.IntOutput) +// An CIDR string. +func (o GetRoutingTableRouteDestinationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRouteDestination) string { return v.Value }).(pulumi.StringOutput) } -type GetPostgresflexInstanceStorage struct { - Class string `pulumi:"class"` - Size int `pulumi:"size"` +type GetRoutingTableRouteNextHop struct { + // Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + Type string `pulumi:"type"` + // Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + Value string `pulumi:"value"` } -// GetPostgresflexInstanceStorageInput is an input type that accepts GetPostgresflexInstanceStorageArgs and GetPostgresflexInstanceStorageOutput values. -// You can construct a concrete instance of `GetPostgresflexInstanceStorageInput` via: +// GetRoutingTableRouteNextHopInput is an input type that accepts GetRoutingTableRouteNextHopArgs and GetRoutingTableRouteNextHopOutput values. +// You can construct a concrete instance of `GetRoutingTableRouteNextHopInput` via: // -// GetPostgresflexInstanceStorageArgs{...} -type GetPostgresflexInstanceStorageInput interface { +// GetRoutingTableRouteNextHopArgs{...} +type GetRoutingTableRouteNextHopInput interface { pulumi.Input - ToGetPostgresflexInstanceStorageOutput() GetPostgresflexInstanceStorageOutput - ToGetPostgresflexInstanceStorageOutputWithContext(context.Context) GetPostgresflexInstanceStorageOutput + ToGetRoutingTableRouteNextHopOutput() GetRoutingTableRouteNextHopOutput + ToGetRoutingTableRouteNextHopOutputWithContext(context.Context) GetRoutingTableRouteNextHopOutput } -type GetPostgresflexInstanceStorageArgs struct { - Class pulumi.StringInput `pulumi:"class"` - Size pulumi.IntInput `pulumi:"size"` +type GetRoutingTableRouteNextHopArgs struct { + // Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + Type pulumi.StringInput `pulumi:"type"` + // Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + Value pulumi.StringInput `pulumi:"value"` } -func (GetPostgresflexInstanceStorageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPostgresflexInstanceStorage)(nil)).Elem() +func (GetRoutingTableRouteNextHopArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRouteNextHop)(nil)).Elem() } -func (i GetPostgresflexInstanceStorageArgs) ToGetPostgresflexInstanceStorageOutput() GetPostgresflexInstanceStorageOutput { - return i.ToGetPostgresflexInstanceStorageOutputWithContext(context.Background()) +func (i GetRoutingTableRouteNextHopArgs) ToGetRoutingTableRouteNextHopOutput() GetRoutingTableRouteNextHopOutput { + return i.ToGetRoutingTableRouteNextHopOutputWithContext(context.Background()) } -func (i GetPostgresflexInstanceStorageArgs) ToGetPostgresflexInstanceStorageOutputWithContext(ctx context.Context) GetPostgresflexInstanceStorageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPostgresflexInstanceStorageOutput) +func (i GetRoutingTableRouteNextHopArgs) ToGetRoutingTableRouteNextHopOutputWithContext(ctx context.Context) GetRoutingTableRouteNextHopOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTableRouteNextHopOutput) } -type GetPostgresflexInstanceStorageOutput struct{ *pulumi.OutputState } +type GetRoutingTableRouteNextHopOutput struct{ *pulumi.OutputState } -func (GetPostgresflexInstanceStorageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPostgresflexInstanceStorage)(nil)).Elem() +func (GetRoutingTableRouteNextHopOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRouteNextHop)(nil)).Elem() } -func (o GetPostgresflexInstanceStorageOutput) ToGetPostgresflexInstanceStorageOutput() GetPostgresflexInstanceStorageOutput { +func (o GetRoutingTableRouteNextHopOutput) ToGetRoutingTableRouteNextHopOutput() GetRoutingTableRouteNextHopOutput { return o } -func (o GetPostgresflexInstanceStorageOutput) ToGetPostgresflexInstanceStorageOutputWithContext(ctx context.Context) GetPostgresflexInstanceStorageOutput { +func (o GetRoutingTableRouteNextHopOutput) ToGetRoutingTableRouteNextHopOutputWithContext(ctx context.Context) GetRoutingTableRouteNextHopOutput { return o } -func (o GetPostgresflexInstanceStorageOutput) Class() pulumi.StringOutput { - return o.ApplyT(func(v GetPostgresflexInstanceStorage) string { return v.Class }).(pulumi.StringOutput) +// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. +func (o GetRoutingTableRouteNextHopOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRouteNextHop) string { return v.Type }).(pulumi.StringOutput) } -func (o GetPostgresflexInstanceStorageOutput) Size() pulumi.IntOutput { - return o.ApplyT(func(v GetPostgresflexInstanceStorage) int { return v.Size }).(pulumi.IntOutput) +// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. +func (o GetRoutingTableRouteNextHopOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRouteNextHop) string { return v.Value }).(pulumi.StringOutput) } -type GetPublicIpRangesPublicIpRange struct { - // Classless Inter-Domain Routing (CIDR) - Cidr string `pulumi:"cidr"` +type GetRoutingTableRoutesRoute struct { + // Date-time when the route was created + CreatedAt string `pulumi:"createdAt"` + // Destination of the route. + Destination GetRoutingTableRoutesRouteDestination `pulumi:"destination"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // Next hop destination. + NextHop GetRoutingTableRoutesRouteNextHop `pulumi:"nextHop"` + // Route ID. + RouteId string `pulumi:"routeId"` + // Date-time when the route was updated + UpdatedAt string `pulumi:"updatedAt"` } -// GetPublicIpRangesPublicIpRangeInput is an input type that accepts GetPublicIpRangesPublicIpRangeArgs and GetPublicIpRangesPublicIpRangeOutput values. -// You can construct a concrete instance of `GetPublicIpRangesPublicIpRangeInput` via: +// GetRoutingTableRoutesRouteInput is an input type that accepts GetRoutingTableRoutesRouteArgs and GetRoutingTableRoutesRouteOutput values. +// You can construct a concrete instance of `GetRoutingTableRoutesRouteInput` via: // -// GetPublicIpRangesPublicIpRangeArgs{...} -type GetPublicIpRangesPublicIpRangeInput interface { +// GetRoutingTableRoutesRouteArgs{...} +type GetRoutingTableRoutesRouteInput interface { pulumi.Input - ToGetPublicIpRangesPublicIpRangeOutput() GetPublicIpRangesPublicIpRangeOutput - ToGetPublicIpRangesPublicIpRangeOutputWithContext(context.Context) GetPublicIpRangesPublicIpRangeOutput + ToGetRoutingTableRoutesRouteOutput() GetRoutingTableRoutesRouteOutput + ToGetRoutingTableRoutesRouteOutputWithContext(context.Context) GetRoutingTableRoutesRouteOutput } -type GetPublicIpRangesPublicIpRangeArgs struct { - // Classless Inter-Domain Routing (CIDR) - Cidr pulumi.StringInput `pulumi:"cidr"` +type GetRoutingTableRoutesRouteArgs struct { + // Date-time when the route was created + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // Destination of the route. + Destination GetRoutingTableRoutesRouteDestinationInput `pulumi:"destination"` + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapInput `pulumi:"labels"` + // Next hop destination. + NextHop GetRoutingTableRoutesRouteNextHopInput `pulumi:"nextHop"` + // Route ID. + RouteId pulumi.StringInput `pulumi:"routeId"` + // Date-time when the route was updated + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` } -func (GetPublicIpRangesPublicIpRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpRangesPublicIpRange)(nil)).Elem() +func (GetRoutingTableRoutesRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesRoute)(nil)).Elem() } -func (i GetPublicIpRangesPublicIpRangeArgs) ToGetPublicIpRangesPublicIpRangeOutput() GetPublicIpRangesPublicIpRangeOutput { - return i.ToGetPublicIpRangesPublicIpRangeOutputWithContext(context.Background()) +func (i GetRoutingTableRoutesRouteArgs) ToGetRoutingTableRoutesRouteOutput() GetRoutingTableRoutesRouteOutput { + return i.ToGetRoutingTableRoutesRouteOutputWithContext(context.Background()) } -func (i GetPublicIpRangesPublicIpRangeArgs) ToGetPublicIpRangesPublicIpRangeOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpRangesPublicIpRangeOutput) +func (i GetRoutingTableRoutesRouteArgs) ToGetRoutingTableRoutesRouteOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTableRoutesRouteOutput) } -// GetPublicIpRangesPublicIpRangeArrayInput is an input type that accepts GetPublicIpRangesPublicIpRangeArray and GetPublicIpRangesPublicIpRangeArrayOutput values. -// You can construct a concrete instance of `GetPublicIpRangesPublicIpRangeArrayInput` via: +// GetRoutingTableRoutesRouteArrayInput is an input type that accepts GetRoutingTableRoutesRouteArray and GetRoutingTableRoutesRouteArrayOutput values. +// You can construct a concrete instance of `GetRoutingTableRoutesRouteArrayInput` via: // -// GetPublicIpRangesPublicIpRangeArray{ GetPublicIpRangesPublicIpRangeArgs{...} } -type GetPublicIpRangesPublicIpRangeArrayInput interface { +// GetRoutingTableRoutesRouteArray{ GetRoutingTableRoutesRouteArgs{...} } +type GetRoutingTableRoutesRouteArrayInput interface { pulumi.Input - ToGetPublicIpRangesPublicIpRangeArrayOutput() GetPublicIpRangesPublicIpRangeArrayOutput - ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(context.Context) GetPublicIpRangesPublicIpRangeArrayOutput -} - -type GetPublicIpRangesPublicIpRangeArray []GetPublicIpRangesPublicIpRangeInput - -func (GetPublicIpRangesPublicIpRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpRangesPublicIpRange)(nil)).Elem() -} - -func (i GetPublicIpRangesPublicIpRangeArray) ToGetPublicIpRangesPublicIpRangeArrayOutput() GetPublicIpRangesPublicIpRangeArrayOutput { - return i.ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(context.Background()) -} - -func (i GetPublicIpRangesPublicIpRangeArray) ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpRangesPublicIpRangeArrayOutput) + ToGetRoutingTableRoutesRouteArrayOutput() GetRoutingTableRoutesRouteArrayOutput + ToGetRoutingTableRoutesRouteArrayOutputWithContext(context.Context) GetRoutingTableRoutesRouteArrayOutput } -type GetPublicIpRangesPublicIpRangeOutput struct{ *pulumi.OutputState } - -func (GetPublicIpRangesPublicIpRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpRangesPublicIpRange)(nil)).Elem() -} +type GetRoutingTableRoutesRouteArray []GetRoutingTableRoutesRouteInput -func (o GetPublicIpRangesPublicIpRangeOutput) ToGetPublicIpRangesPublicIpRangeOutput() GetPublicIpRangesPublicIpRangeOutput { - return o +func (GetRoutingTableRoutesRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingTableRoutesRoute)(nil)).Elem() } -func (o GetPublicIpRangesPublicIpRangeOutput) ToGetPublicIpRangesPublicIpRangeOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeOutput { - return o +func (i GetRoutingTableRoutesRouteArray) ToGetRoutingTableRoutesRouteArrayOutput() GetRoutingTableRoutesRouteArrayOutput { + return i.ToGetRoutingTableRoutesRouteArrayOutputWithContext(context.Background()) } -// Classless Inter-Domain Routing (CIDR) -func (o GetPublicIpRangesPublicIpRangeOutput) Cidr() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpRangesPublicIpRange) string { return v.Cidr }).(pulumi.StringOutput) +func (i GetRoutingTableRoutesRouteArray) ToGetRoutingTableRoutesRouteArrayOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTableRoutesRouteArrayOutput) } -type GetPublicIpRangesPublicIpRangeArrayOutput struct{ *pulumi.OutputState } +type GetRoutingTableRoutesRouteOutput struct{ *pulumi.OutputState } -func (GetPublicIpRangesPublicIpRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpRangesPublicIpRange)(nil)).Elem() +func (GetRoutingTableRoutesRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesRoute)(nil)).Elem() } -func (o GetPublicIpRangesPublicIpRangeArrayOutput) ToGetPublicIpRangesPublicIpRangeArrayOutput() GetPublicIpRangesPublicIpRangeArrayOutput { +func (o GetRoutingTableRoutesRouteOutput) ToGetRoutingTableRoutesRouteOutput() GetRoutingTableRoutesRouteOutput { return o } -func (o GetPublicIpRangesPublicIpRangeArrayOutput) ToGetPublicIpRangesPublicIpRangeArrayOutputWithContext(ctx context.Context) GetPublicIpRangesPublicIpRangeArrayOutput { +func (o GetRoutingTableRoutesRouteOutput) ToGetRoutingTableRoutesRouteOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteOutput { return o } -func (o GetPublicIpRangesPublicIpRangeArrayOutput) Index(i pulumi.IntInput) GetPublicIpRangesPublicIpRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPublicIpRangesPublicIpRange { - return vs[0].([]GetPublicIpRangesPublicIpRange)[vs[1].(int)] - }).(GetPublicIpRangesPublicIpRangeOutput) -} - -type GetRabbitmqInstanceParameters struct { - // The timeout in milliseconds for the consumer. - ConsumerTimeout int `pulumi:"consumerTimeout"` - // Enable monitoring. - EnableMonitoring bool `pulumi:"enableMonitoring"` - // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - Graphite string `pulumi:"graphite"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold int `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted. - MetricsFrequency int `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - MetricsPrefix string `pulumi:"metricsPrefix"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId string `pulumi:"monitoringInstanceId"` - // List of plugins to install. Must be a supported plugin name. - Plugins []string `pulumi:"plugins"` - // List of roles to assign to the instance. - Roles []string `pulumi:"roles"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl string `pulumi:"sgwAcl"` - // List of syslog servers to send logs to. - Syslogs []string `pulumi:"syslogs"` - // List of TLS ciphers to use. - TlsCiphers []string `pulumi:"tlsCiphers"` - // TLS protocol to use. - TlsProtocols string `pulumi:"tlsProtocols"` +// Date-time when the route was created +func (o GetRoutingTableRoutesRouteOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRoute) string { return v.CreatedAt }).(pulumi.StringOutput) } -// GetRabbitmqInstanceParametersInput is an input type that accepts GetRabbitmqInstanceParametersArgs and GetRabbitmqInstanceParametersOutput values. -// You can construct a concrete instance of `GetRabbitmqInstanceParametersInput` via: -// -// GetRabbitmqInstanceParametersArgs{...} -type GetRabbitmqInstanceParametersInput interface { - pulumi.Input - - ToGetRabbitmqInstanceParametersOutput() GetRabbitmqInstanceParametersOutput - ToGetRabbitmqInstanceParametersOutputWithContext(context.Context) GetRabbitmqInstanceParametersOutput +// Destination of the route. +func (o GetRoutingTableRoutesRouteOutput) Destination() GetRoutingTableRoutesRouteDestinationOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRoute) GetRoutingTableRoutesRouteDestination { return v.Destination }).(GetRoutingTableRoutesRouteDestinationOutput) } -type GetRabbitmqInstanceParametersArgs struct { - // The timeout in milliseconds for the consumer. - ConsumerTimeout pulumi.IntInput `pulumi:"consumerTimeout"` - // Enable monitoring. - EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` - // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - Graphite pulumi.StringInput `pulumi:"graphite"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` - // The frequency in seconds at which metrics are emitted. - MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` - // List of plugins to install. Must be a supported plugin name. - Plugins pulumi.StringArrayInput `pulumi:"plugins"` - // List of roles to assign to the instance. - Roles pulumi.StringArrayInput `pulumi:"roles"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` - // List of syslog servers to send logs to. - Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` - // List of TLS ciphers to use. - TlsCiphers pulumi.StringArrayInput `pulumi:"tlsCiphers"` - // TLS protocol to use. - TlsProtocols pulumi.StringInput `pulumi:"tlsProtocols"` +// Labels are key-value string pairs which can be attached to a resource container +func (o GetRoutingTableRoutesRouteOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRoute) map[string]string { return v.Labels }).(pulumi.StringMapOutput) } -func (GetRabbitmqInstanceParametersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRabbitmqInstanceParameters)(nil)).Elem() +// Next hop destination. +func (o GetRoutingTableRoutesRouteOutput) NextHop() GetRoutingTableRoutesRouteNextHopOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRoute) GetRoutingTableRoutesRouteNextHop { return v.NextHop }).(GetRoutingTableRoutesRouteNextHopOutput) } -func (i GetRabbitmqInstanceParametersArgs) ToGetRabbitmqInstanceParametersOutput() GetRabbitmqInstanceParametersOutput { - return i.ToGetRabbitmqInstanceParametersOutputWithContext(context.Background()) +// Route ID. +func (o GetRoutingTableRoutesRouteOutput) RouteId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRoute) string { return v.RouteId }).(pulumi.StringOutput) } -func (i GetRabbitmqInstanceParametersArgs) ToGetRabbitmqInstanceParametersOutputWithContext(ctx context.Context) GetRabbitmqInstanceParametersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRabbitmqInstanceParametersOutput) +// Date-time when the route was updated +func (o GetRoutingTableRoutesRouteOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRoute) string { return v.UpdatedAt }).(pulumi.StringOutput) } -type GetRabbitmqInstanceParametersOutput struct{ *pulumi.OutputState } +type GetRoutingTableRoutesRouteArrayOutput struct{ *pulumi.OutputState } -func (GetRabbitmqInstanceParametersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRabbitmqInstanceParameters)(nil)).Elem() +func (GetRoutingTableRoutesRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingTableRoutesRoute)(nil)).Elem() } -func (o GetRabbitmqInstanceParametersOutput) ToGetRabbitmqInstanceParametersOutput() GetRabbitmqInstanceParametersOutput { +func (o GetRoutingTableRoutesRouteArrayOutput) ToGetRoutingTableRoutesRouteArrayOutput() GetRoutingTableRoutesRouteArrayOutput { return o } -func (o GetRabbitmqInstanceParametersOutput) ToGetRabbitmqInstanceParametersOutputWithContext(ctx context.Context) GetRabbitmqInstanceParametersOutput { +func (o GetRoutingTableRoutesRouteArrayOutput) ToGetRoutingTableRoutesRouteArrayOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteArrayOutput { return o } -// The timeout in milliseconds for the consumer. -func (o GetRabbitmqInstanceParametersOutput) ConsumerTimeout() pulumi.IntOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) int { return v.ConsumerTimeout }).(pulumi.IntOutput) +func (o GetRoutingTableRoutesRouteArrayOutput) Index(i pulumi.IntInput) GetRoutingTableRoutesRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoutingTableRoutesRoute { + return vs[0].([]GetRoutingTableRoutesRoute)[vs[1].(int)] + }).(GetRoutingTableRoutesRouteOutput) } -// Enable monitoring. -func (o GetRabbitmqInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) +type GetRoutingTableRoutesRouteDestination struct { + // CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + Type string `pulumi:"type"` + // An CIDR string. + Value string `pulumi:"value"` } -// Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. -func (o GetRabbitmqInstanceParametersOutput) Graphite() pulumi.StringOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) -} +// GetRoutingTableRoutesRouteDestinationInput is an input type that accepts GetRoutingTableRoutesRouteDestinationArgs and GetRoutingTableRoutesRouteDestinationOutput values. +// You can construct a concrete instance of `GetRoutingTableRoutesRouteDestinationInput` via: +// +// GetRoutingTableRoutesRouteDestinationArgs{...} +type GetRoutingTableRoutesRouteDestinationInput interface { + pulumi.Input -// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. -func (o GetRabbitmqInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) + ToGetRoutingTableRoutesRouteDestinationOutput() GetRoutingTableRoutesRouteDestinationOutput + ToGetRoutingTableRoutesRouteDestinationOutputWithContext(context.Context) GetRoutingTableRoutesRouteDestinationOutput } -// The frequency in seconds at which metrics are emitted. -func (o GetRabbitmqInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) +type GetRoutingTableRoutesRouteDestinationArgs struct { + // CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + Type pulumi.StringInput `pulumi:"type"` + // An CIDR string. + Value pulumi.StringInput `pulumi:"value"` } -// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key -func (o GetRabbitmqInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) +func (GetRoutingTableRoutesRouteDestinationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesRouteDestination)(nil)).Elem() } -// The ID of the STACKIT monitoring instance. -func (o GetRabbitmqInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) +func (i GetRoutingTableRoutesRouteDestinationArgs) ToGetRoutingTableRoutesRouteDestinationOutput() GetRoutingTableRoutesRouteDestinationOutput { + return i.ToGetRoutingTableRoutesRouteDestinationOutputWithContext(context.Background()) } -// List of plugins to install. Must be a supported plugin name. -func (o GetRabbitmqInstanceParametersOutput) Plugins() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.Plugins }).(pulumi.StringArrayOutput) +func (i GetRoutingTableRoutesRouteDestinationArgs) ToGetRoutingTableRoutesRouteDestinationOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteDestinationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTableRoutesRouteDestinationOutput) } -// List of roles to assign to the instance. -func (o GetRabbitmqInstanceParametersOutput) Roles() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.Roles }).(pulumi.StringArrayOutput) +type GetRoutingTableRoutesRouteDestinationOutput struct{ *pulumi.OutputState } + +func (GetRoutingTableRoutesRouteDestinationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesRouteDestination)(nil)).Elem() } -// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. -func (o GetRabbitmqInstanceParametersOutput) SgwAcl() pulumi.StringOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) +func (o GetRoutingTableRoutesRouteDestinationOutput) ToGetRoutingTableRoutesRouteDestinationOutput() GetRoutingTableRoutesRouteDestinationOutput { + return o } -// List of syslog servers to send logs to. -func (o GetRabbitmqInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) +func (o GetRoutingTableRoutesRouteDestinationOutput) ToGetRoutingTableRoutesRouteDestinationOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteDestinationOutput { + return o } -// List of TLS ciphers to use. -func (o GetRabbitmqInstanceParametersOutput) TlsCiphers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) []string { return v.TlsCiphers }).(pulumi.StringArrayOutput) +// CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. +func (o GetRoutingTableRoutesRouteDestinationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRouteDestination) string { return v.Type }).(pulumi.StringOutput) } -// TLS protocol to use. -func (o GetRabbitmqInstanceParametersOutput) TlsProtocols() pulumi.StringOutput { - return o.ApplyT(func(v GetRabbitmqInstanceParameters) string { return v.TlsProtocols }).(pulumi.StringOutput) +// An CIDR string. +func (o GetRoutingTableRoutesRouteDestinationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRouteDestination) string { return v.Value }).(pulumi.StringOutput) } -type GetRedisInstanceParameters struct { - // The number of milliseconds after which the instance is considered down. - DownAfterMilliseconds int `pulumi:"downAfterMilliseconds"` - // Enable monitoring. - EnableMonitoring bool `pulumi:"enableMonitoring"` - // The failover timeout in milliseconds. - FailoverTimeout int `pulumi:"failoverTimeout"` - // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - Graphite string `pulumi:"graphite"` - // The lazy eviction enablement (yes or no). - LazyfreeLazyEviction string `pulumi:"lazyfreeLazyEviction"` - // The lazy expire enablement (yes or no). - LazyfreeLazyExpire string `pulumi:"lazyfreeLazyExpire"` - // The Lua time limit. - LuaTimeLimit int `pulumi:"luaTimeLimit"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold int `pulumi:"maxDiskThreshold"` - // The maximum number of clients. - Maxclients int `pulumi:"maxclients"` - // The policy to handle the maximum memory (volatile-lru, noeviction, etc). - MaxmemoryPolicy string `pulumi:"maxmemoryPolicy"` - // The maximum memory samples. - MaxmemorySamples int `pulumi:"maxmemorySamples"` - // The frequency in seconds at which metrics are emitted. - MetricsFrequency int `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - MetricsPrefix string `pulumi:"metricsPrefix"` - // The minimum replicas maximum lag. - MinReplicasMaxLag int `pulumi:"minReplicasMaxLag"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId string `pulumi:"monitoringInstanceId"` - // The notify keyspace events. - NotifyKeyspaceEvents string `pulumi:"notifyKeyspaceEvents"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl string `pulumi:"sgwAcl"` - // The snapshot configuration. - Snapshot string `pulumi:"snapshot"` - // List of syslog servers to send logs to. - Syslogs []string `pulumi:"syslogs"` - // List of TLS ciphers to use. - TlsCiphers []string `pulumi:"tlsCiphers"` - // TLS cipher suites to use. - TlsCiphersuites string `pulumi:"tlsCiphersuites"` - // TLS protocol to use. - TlsProtocols string `pulumi:"tlsProtocols"` +type GetRoutingTableRoutesRouteNextHop struct { + // Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + Type string `pulumi:"type"` + // Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + Value string `pulumi:"value"` } -// GetRedisInstanceParametersInput is an input type that accepts GetRedisInstanceParametersArgs and GetRedisInstanceParametersOutput values. -// You can construct a concrete instance of `GetRedisInstanceParametersInput` via: +// GetRoutingTableRoutesRouteNextHopInput is an input type that accepts GetRoutingTableRoutesRouteNextHopArgs and GetRoutingTableRoutesRouteNextHopOutput values. +// You can construct a concrete instance of `GetRoutingTableRoutesRouteNextHopInput` via: // -// GetRedisInstanceParametersArgs{...} -type GetRedisInstanceParametersInput interface { +// GetRoutingTableRoutesRouteNextHopArgs{...} +type GetRoutingTableRoutesRouteNextHopInput interface { pulumi.Input - ToGetRedisInstanceParametersOutput() GetRedisInstanceParametersOutput - ToGetRedisInstanceParametersOutputWithContext(context.Context) GetRedisInstanceParametersOutput + ToGetRoutingTableRoutesRouteNextHopOutput() GetRoutingTableRoutesRouteNextHopOutput + ToGetRoutingTableRoutesRouteNextHopOutputWithContext(context.Context) GetRoutingTableRoutesRouteNextHopOutput } -type GetRedisInstanceParametersArgs struct { - // The number of milliseconds after which the instance is considered down. - DownAfterMilliseconds pulumi.IntInput `pulumi:"downAfterMilliseconds"` - // Enable monitoring. - EnableMonitoring pulumi.BoolInput `pulumi:"enableMonitoring"` - // The failover timeout in milliseconds. - FailoverTimeout pulumi.IntInput `pulumi:"failoverTimeout"` - // Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - Graphite pulumi.StringInput `pulumi:"graphite"` - // The lazy eviction enablement (yes or no). - LazyfreeLazyEviction pulumi.StringInput `pulumi:"lazyfreeLazyEviction"` - // The lazy expire enablement (yes or no). - LazyfreeLazyExpire pulumi.StringInput `pulumi:"lazyfreeLazyExpire"` - // The Lua time limit. - LuaTimeLimit pulumi.IntInput `pulumi:"luaTimeLimit"` - // The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - MaxDiskThreshold pulumi.IntInput `pulumi:"maxDiskThreshold"` - // The maximum number of clients. - Maxclients pulumi.IntInput `pulumi:"maxclients"` - // The policy to handle the maximum memory (volatile-lru, noeviction, etc). - MaxmemoryPolicy pulumi.StringInput `pulumi:"maxmemoryPolicy"` - // The maximum memory samples. - MaxmemorySamples pulumi.IntInput `pulumi:"maxmemorySamples"` - // The frequency in seconds at which metrics are emitted. - MetricsFrequency pulumi.IntInput `pulumi:"metricsFrequency"` - // The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - MetricsPrefix pulumi.StringInput `pulumi:"metricsPrefix"` - // The minimum replicas maximum lag. - MinReplicasMaxLag pulumi.IntInput `pulumi:"minReplicasMaxLag"` - // The ID of the STACKIT monitoring instance. - MonitoringInstanceId pulumi.StringInput `pulumi:"monitoringInstanceId"` - // The notify keyspace events. - NotifyKeyspaceEvents pulumi.StringInput `pulumi:"notifyKeyspaceEvents"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl pulumi.StringInput `pulumi:"sgwAcl"` - // The snapshot configuration. - Snapshot pulumi.StringInput `pulumi:"snapshot"` - // List of syslog servers to send logs to. - Syslogs pulumi.StringArrayInput `pulumi:"syslogs"` - // List of TLS ciphers to use. - TlsCiphers pulumi.StringArrayInput `pulumi:"tlsCiphers"` - // TLS cipher suites to use. - TlsCiphersuites pulumi.StringInput `pulumi:"tlsCiphersuites"` - // TLS protocol to use. - TlsProtocols pulumi.StringInput `pulumi:"tlsProtocols"` +type GetRoutingTableRoutesRouteNextHopArgs struct { + // Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + Type pulumi.StringInput `pulumi:"type"` + // Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + Value pulumi.StringInput `pulumi:"value"` } -func (GetRedisInstanceParametersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRedisInstanceParameters)(nil)).Elem() +func (GetRoutingTableRoutesRouteNextHopArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesRouteNextHop)(nil)).Elem() } -func (i GetRedisInstanceParametersArgs) ToGetRedisInstanceParametersOutput() GetRedisInstanceParametersOutput { - return i.ToGetRedisInstanceParametersOutputWithContext(context.Background()) +func (i GetRoutingTableRoutesRouteNextHopArgs) ToGetRoutingTableRoutesRouteNextHopOutput() GetRoutingTableRoutesRouteNextHopOutput { + return i.ToGetRoutingTableRoutesRouteNextHopOutputWithContext(context.Background()) } -func (i GetRedisInstanceParametersArgs) ToGetRedisInstanceParametersOutputWithContext(ctx context.Context) GetRedisInstanceParametersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRedisInstanceParametersOutput) +func (i GetRoutingTableRoutesRouteNextHopArgs) ToGetRoutingTableRoutesRouteNextHopOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteNextHopOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTableRoutesRouteNextHopOutput) } -type GetRedisInstanceParametersOutput struct{ *pulumi.OutputState } +type GetRoutingTableRoutesRouteNextHopOutput struct{ *pulumi.OutputState } -func (GetRedisInstanceParametersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRedisInstanceParameters)(nil)).Elem() +func (GetRoutingTableRoutesRouteNextHopOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTableRoutesRouteNextHop)(nil)).Elem() } -func (o GetRedisInstanceParametersOutput) ToGetRedisInstanceParametersOutput() GetRedisInstanceParametersOutput { +func (o GetRoutingTableRoutesRouteNextHopOutput) ToGetRoutingTableRoutesRouteNextHopOutput() GetRoutingTableRoutesRouteNextHopOutput { return o } -func (o GetRedisInstanceParametersOutput) ToGetRedisInstanceParametersOutputWithContext(ctx context.Context) GetRedisInstanceParametersOutput { +func (o GetRoutingTableRoutesRouteNextHopOutput) ToGetRoutingTableRoutesRouteNextHopOutputWithContext(ctx context.Context) GetRoutingTableRoutesRouteNextHopOutput { return o } -// The number of milliseconds after which the instance is considered down. -func (o GetRedisInstanceParametersOutput) DownAfterMilliseconds() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.DownAfterMilliseconds }).(pulumi.IntOutput) +// Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. +func (o GetRoutingTableRoutesRouteNextHopOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRouteNextHop) string { return v.Type }).(pulumi.StringOutput) } -// Enable monitoring. -func (o GetRedisInstanceParametersOutput) EnableMonitoring() pulumi.BoolOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) bool { return v.EnableMonitoring }).(pulumi.BoolOutput) +// Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. +func (o GetRoutingTableRoutesRouteNextHopOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTableRoutesRouteNextHop) string { return v.Value }).(pulumi.StringOutput) } -// The failover timeout in milliseconds. -func (o GetRedisInstanceParametersOutput) FailoverTimeout() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.FailoverTimeout }).(pulumi.IntOutput) +type GetRoutingTablesItem struct { + // Date-time when the routing table was created + CreatedAt string `pulumi:"createdAt"` + // When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + Default bool `pulumi:"default"` + // Description of the routing table. + Description string `pulumi:"description"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The name of the routing table. + Name string `pulumi:"name"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes bool `pulumi:"systemRoutes"` + // Date-time when the routing table was updated + UpdatedAt string `pulumi:"updatedAt"` } -// Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. -func (o GetRedisInstanceParametersOutput) Graphite() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.Graphite }).(pulumi.StringOutput) +// GetRoutingTablesItemInput is an input type that accepts GetRoutingTablesItemArgs and GetRoutingTablesItemOutput values. +// You can construct a concrete instance of `GetRoutingTablesItemInput` via: +// +// GetRoutingTablesItemArgs{...} +type GetRoutingTablesItemInput interface { + pulumi.Input + + ToGetRoutingTablesItemOutput() GetRoutingTablesItemOutput + ToGetRoutingTablesItemOutputWithContext(context.Context) GetRoutingTablesItemOutput } -// The lazy eviction enablement (yes or no). -func (o GetRedisInstanceParametersOutput) LazyfreeLazyEviction() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.LazyfreeLazyEviction }).(pulumi.StringOutput) +type GetRoutingTablesItemArgs struct { + // Date-time when the routing table was created + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + Default pulumi.BoolInput `pulumi:"default"` + // Description of the routing table. + Description pulumi.StringInput `pulumi:"description"` + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapInput `pulumi:"labels"` + // The name of the routing table. + Name pulumi.StringInput `pulumi:"name"` + // The routing tables ID. + RoutingTableId pulumi.StringInput `pulumi:"routingTableId"` + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes pulumi.BoolInput `pulumi:"systemRoutes"` + // Date-time when the routing table was updated + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` } -// The lazy expire enablement (yes or no). -func (o GetRedisInstanceParametersOutput) LazyfreeLazyExpire() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.LazyfreeLazyExpire }).(pulumi.StringOutput) +func (GetRoutingTablesItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTablesItem)(nil)).Elem() } -// The Lua time limit. -func (o GetRedisInstanceParametersOutput) LuaTimeLimit() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.LuaTimeLimit }).(pulumi.IntOutput) +func (i GetRoutingTablesItemArgs) ToGetRoutingTablesItemOutput() GetRoutingTablesItemOutput { + return i.ToGetRoutingTablesItemOutputWithContext(context.Background()) } -// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. -func (o GetRedisInstanceParametersOutput) MaxDiskThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MaxDiskThreshold }).(pulumi.IntOutput) +func (i GetRoutingTablesItemArgs) ToGetRoutingTablesItemOutputWithContext(ctx context.Context) GetRoutingTablesItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTablesItemOutput) } -// The maximum number of clients. -func (o GetRedisInstanceParametersOutput) Maxclients() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.Maxclients }).(pulumi.IntOutput) +// GetRoutingTablesItemArrayInput is an input type that accepts GetRoutingTablesItemArray and GetRoutingTablesItemArrayOutput values. +// You can construct a concrete instance of `GetRoutingTablesItemArrayInput` via: +// +// GetRoutingTablesItemArray{ GetRoutingTablesItemArgs{...} } +type GetRoutingTablesItemArrayInput interface { + pulumi.Input + + ToGetRoutingTablesItemArrayOutput() GetRoutingTablesItemArrayOutput + ToGetRoutingTablesItemArrayOutputWithContext(context.Context) GetRoutingTablesItemArrayOutput } -// The policy to handle the maximum memory (volatile-lru, noeviction, etc). -func (o GetRedisInstanceParametersOutput) MaxmemoryPolicy() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.MaxmemoryPolicy }).(pulumi.StringOutput) +type GetRoutingTablesItemArray []GetRoutingTablesItemInput + +func (GetRoutingTablesItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingTablesItem)(nil)).Elem() } -// The maximum memory samples. -func (o GetRedisInstanceParametersOutput) MaxmemorySamples() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MaxmemorySamples }).(pulumi.IntOutput) +func (i GetRoutingTablesItemArray) ToGetRoutingTablesItemArrayOutput() GetRoutingTablesItemArrayOutput { + return i.ToGetRoutingTablesItemArrayOutputWithContext(context.Background()) } -// The frequency in seconds at which metrics are emitted. -func (o GetRedisInstanceParametersOutput) MetricsFrequency() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MetricsFrequency }).(pulumi.IntOutput) +func (i GetRoutingTablesItemArray) ToGetRoutingTablesItemArrayOutputWithContext(ctx context.Context) GetRoutingTablesItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingTablesItemArrayOutput) } -// The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key -func (o GetRedisInstanceParametersOutput) MetricsPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.MetricsPrefix }).(pulumi.StringOutput) +type GetRoutingTablesItemOutput struct{ *pulumi.OutputState } + +func (GetRoutingTablesItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingTablesItem)(nil)).Elem() } -// The minimum replicas maximum lag. -func (o GetRedisInstanceParametersOutput) MinReplicasMaxLag() pulumi.IntOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) int { return v.MinReplicasMaxLag }).(pulumi.IntOutput) +func (o GetRoutingTablesItemOutput) ToGetRoutingTablesItemOutput() GetRoutingTablesItemOutput { + return o } -// The ID of the STACKIT monitoring instance. -func (o GetRedisInstanceParametersOutput) MonitoringInstanceId() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.MonitoringInstanceId }).(pulumi.StringOutput) +func (o GetRoutingTablesItemOutput) ToGetRoutingTablesItemOutputWithContext(ctx context.Context) GetRoutingTablesItemOutput { + return o } -// The notify keyspace events. -func (o GetRedisInstanceParametersOutput) NotifyKeyspaceEvents() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.NotifyKeyspaceEvents }).(pulumi.StringOutput) +// Date-time when the routing table was created +func (o GetRoutingTablesItemOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesItem) string { return v.CreatedAt }).(pulumi.StringOutput) } -// Comma separated list of IP networks in CIDR notation which are allowed to access this instance. -func (o GetRedisInstanceParametersOutput) SgwAcl() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.SgwAcl }).(pulumi.StringOutput) +// When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. +func (o GetRoutingTablesItemOutput) Default() pulumi.BoolOutput { + return o.ApplyT(func(v GetRoutingTablesItem) bool { return v.Default }).(pulumi.BoolOutput) } -// The snapshot configuration. -func (o GetRedisInstanceParametersOutput) Snapshot() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.Snapshot }).(pulumi.StringOutput) +// Description of the routing table. +func (o GetRoutingTablesItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesItem) string { return v.Description }).(pulumi.StringOutput) } -// List of syslog servers to send logs to. -func (o GetRedisInstanceParametersOutput) Syslogs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) []string { return v.Syslogs }).(pulumi.StringArrayOutput) +// Labels are key-value string pairs which can be attached to a resource container +func (o GetRoutingTablesItemOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v GetRoutingTablesItem) map[string]string { return v.Labels }).(pulumi.StringMapOutput) } -// List of TLS ciphers to use. -func (o GetRedisInstanceParametersOutput) TlsCiphers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) []string { return v.TlsCiphers }).(pulumi.StringArrayOutput) +// The name of the routing table. +func (o GetRoutingTablesItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesItem) string { return v.Name }).(pulumi.StringOutput) } -// TLS cipher suites to use. -func (o GetRedisInstanceParametersOutput) TlsCiphersuites() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.TlsCiphersuites }).(pulumi.StringOutput) +// The routing tables ID. +func (o GetRoutingTablesItemOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesItem) string { return v.RoutingTableId }).(pulumi.StringOutput) } -// TLS protocol to use. -func (o GetRedisInstanceParametersOutput) TlsProtocols() pulumi.StringOutput { - return o.ApplyT(func(v GetRedisInstanceParameters) string { return v.TlsProtocols }).(pulumi.StringOutput) +// This controls whether the routes for project-to-project communication are created automatically or not. +func (o GetRoutingTablesItemOutput) SystemRoutes() pulumi.BoolOutput { + return o.ApplyT(func(v GetRoutingTablesItem) bool { return v.SystemRoutes }).(pulumi.BoolOutput) +} + +// Date-time when the routing table was updated +func (o GetRoutingTablesItemOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingTablesItem) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +type GetRoutingTablesItemArrayOutput struct{ *pulumi.OutputState } + +func (GetRoutingTablesItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingTablesItem)(nil)).Elem() +} + +func (o GetRoutingTablesItemArrayOutput) ToGetRoutingTablesItemArrayOutput() GetRoutingTablesItemArrayOutput { + return o +} + +func (o GetRoutingTablesItemArrayOutput) ToGetRoutingTablesItemArrayOutputWithContext(ctx context.Context) GetRoutingTablesItemArrayOutput { + return o +} + +func (o GetRoutingTablesItemArrayOutput) Index(i pulumi.IntInput) GetRoutingTablesItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoutingTablesItem { + return vs[0].([]GetRoutingTablesItem)[vs[1].(int)] + }).(GetRoutingTablesItemOutput) } type GetSecurityGroupRuleIcmpParameters struct { @@ -15587,10 +17706,14 @@ func (o GetServerUpdateSchedulesItemArrayOutput) Index(i pulumi.IntInput) GetSer type GetSkeClusterExtensions struct { // Cluster access control configuration Acl GetSkeClusterExtensionsAcl `pulumi:"acl"` - // A single argus block as defined below + // A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. + // + // Deprecated: Use observability instead. Argus GetSkeClusterExtensionsArgus `pulumi:"argus"` // DNS extension configuration Dns GetSkeClusterExtensionsDns `pulumi:"dns"` + // A single observability block as defined below. + Observability GetSkeClusterExtensionsObservability `pulumi:"observability"` } // GetSkeClusterExtensionsInput is an input type that accepts GetSkeClusterExtensionsArgs and GetSkeClusterExtensionsOutput values. @@ -15607,10 +17730,14 @@ type GetSkeClusterExtensionsInput interface { type GetSkeClusterExtensionsArgs struct { // Cluster access control configuration Acl GetSkeClusterExtensionsAclInput `pulumi:"acl"` - // A single argus block as defined below + // A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. + // + // Deprecated: Use observability instead. Argus GetSkeClusterExtensionsArgusInput `pulumi:"argus"` // DNS extension configuration Dns GetSkeClusterExtensionsDnsInput `pulumi:"dns"` + // A single observability block as defined below. + Observability GetSkeClusterExtensionsObservabilityInput `pulumi:"observability"` } func (GetSkeClusterExtensionsArgs) ElementType() reflect.Type { @@ -15644,7 +17771,9 @@ func (o GetSkeClusterExtensionsOutput) Acl() GetSkeClusterExtensionsAclOutput { return o.ApplyT(func(v GetSkeClusterExtensions) GetSkeClusterExtensionsAcl { return v.Acl }).(GetSkeClusterExtensionsAclOutput) } -// A single argus block as defined below +// A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. +// +// Deprecated: Use observability instead. func (o GetSkeClusterExtensionsOutput) Argus() GetSkeClusterExtensionsArgusOutput { return o.ApplyT(func(v GetSkeClusterExtensions) GetSkeClusterExtensionsArgus { return v.Argus }).(GetSkeClusterExtensionsArgusOutput) } @@ -15654,6 +17783,11 @@ func (o GetSkeClusterExtensionsOutput) Dns() GetSkeClusterExtensionsDnsOutput { return o.ApplyT(func(v GetSkeClusterExtensions) GetSkeClusterExtensionsDns { return v.Dns }).(GetSkeClusterExtensionsDnsOutput) } +// A single observability block as defined below. +func (o GetSkeClusterExtensionsOutput) Observability() GetSkeClusterExtensionsObservabilityOutput { + return o.ApplyT(func(v GetSkeClusterExtensions) GetSkeClusterExtensionsObservability { return v.Observability }).(GetSkeClusterExtensionsObservabilityOutput) +} + type GetSkeClusterExtensionsAcl struct { // Specify a list of CIDRs to whitelist AllowedCidrs []string `pulumi:"allowedCidrs"` @@ -15837,6 +17971,67 @@ func (o GetSkeClusterExtensionsDnsOutput) Zones() pulumi.StringArrayOutput { return o.ApplyT(func(v GetSkeClusterExtensionsDns) []string { return v.Zones }).(pulumi.StringArrayOutput) } +type GetSkeClusterExtensionsObservability struct { + // Flag to enable/disable Observability extensions. + Enabled bool `pulumi:"enabled"` + // Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + InstanceId string `pulumi:"instanceId"` +} + +// GetSkeClusterExtensionsObservabilityInput is an input type that accepts GetSkeClusterExtensionsObservabilityArgs and GetSkeClusterExtensionsObservabilityOutput values. +// You can construct a concrete instance of `GetSkeClusterExtensionsObservabilityInput` via: +// +// GetSkeClusterExtensionsObservabilityArgs{...} +type GetSkeClusterExtensionsObservabilityInput interface { + pulumi.Input + + ToGetSkeClusterExtensionsObservabilityOutput() GetSkeClusterExtensionsObservabilityOutput + ToGetSkeClusterExtensionsObservabilityOutputWithContext(context.Context) GetSkeClusterExtensionsObservabilityOutput +} + +type GetSkeClusterExtensionsObservabilityArgs struct { + // Flag to enable/disable Observability extensions. + Enabled pulumi.BoolInput `pulumi:"enabled"` + // Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + InstanceId pulumi.StringInput `pulumi:"instanceId"` +} + +func (GetSkeClusterExtensionsObservabilityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSkeClusterExtensionsObservability)(nil)).Elem() +} + +func (i GetSkeClusterExtensionsObservabilityArgs) ToGetSkeClusterExtensionsObservabilityOutput() GetSkeClusterExtensionsObservabilityOutput { + return i.ToGetSkeClusterExtensionsObservabilityOutputWithContext(context.Background()) +} + +func (i GetSkeClusterExtensionsObservabilityArgs) ToGetSkeClusterExtensionsObservabilityOutputWithContext(ctx context.Context) GetSkeClusterExtensionsObservabilityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSkeClusterExtensionsObservabilityOutput) +} + +type GetSkeClusterExtensionsObservabilityOutput struct{ *pulumi.OutputState } + +func (GetSkeClusterExtensionsObservabilityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSkeClusterExtensionsObservability)(nil)).Elem() +} + +func (o GetSkeClusterExtensionsObservabilityOutput) ToGetSkeClusterExtensionsObservabilityOutput() GetSkeClusterExtensionsObservabilityOutput { + return o +} + +func (o GetSkeClusterExtensionsObservabilityOutput) ToGetSkeClusterExtensionsObservabilityOutputWithContext(ctx context.Context) GetSkeClusterExtensionsObservabilityOutput { + return o +} + +// Flag to enable/disable Observability extensions. +func (o GetSkeClusterExtensionsObservabilityOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetSkeClusterExtensionsObservability) bool { return v.Enabled }).(pulumi.BoolOutput) +} + +// Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. +func (o GetSkeClusterExtensionsObservabilityOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetSkeClusterExtensionsObservability) string { return v.InstanceId }).(pulumi.StringOutput) +} + type GetSkeClusterHibernation struct { // End time of hibernation, in crontab syntax. End string `pulumi:"end"` @@ -16678,10 +18873,14 @@ func (o GetVolumeSourceOutput) Type() pulumi.StringOutput { } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CdnCustomDomainCertificateInput)(nil)).Elem(), CdnCustomDomainCertificateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CdnCustomDomainCertificatePtrInput)(nil)).Elem(), CdnCustomDomainCertificateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigInput)(nil)).Elem(), CdnDistributionConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigPtrInput)(nil)).Elem(), CdnDistributionConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigBackendInput)(nil)).Elem(), CdnDistributionConfigBackendArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigBackendPtrInput)(nil)).Elem(), CdnDistributionConfigBackendArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigOptimizerInput)(nil)).Elem(), CdnDistributionConfigOptimizerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigOptimizerPtrInput)(nil)).Elem(), CdnDistributionConfigOptimizerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionDomainInput)(nil)).Elem(), CdnDistributionDomainArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionDomainArrayInput)(nil)).Elem(), CdnDistributionDomainArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ImageChecksumInput)(nil)).Elem(), ImageChecksumArgs{}) @@ -16758,6 +18957,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*RabbitmqInstanceParametersPtrInput)(nil)).Elem(), RabbitmqInstanceParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RedisInstanceParametersInput)(nil)).Elem(), RedisInstanceParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RedisInstanceParametersPtrInput)(nil)).Elem(), RedisInstanceParametersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableRouteDestinationInput)(nil)).Elem(), RoutingTableRouteDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableRouteDestinationPtrInput)(nil)).Elem(), RoutingTableRouteDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableRouteNextHopInput)(nil)).Elem(), RoutingTableRouteNextHopArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableRouteNextHopPtrInput)(nil)).Elem(), RoutingTableRouteNextHopArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleIcmpParametersInput)(nil)).Elem(), SecurityGroupRuleIcmpParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleIcmpParametersPtrInput)(nil)).Elem(), SecurityGroupRuleIcmpParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRulePortRangeInput)(nil)).Elem(), SecurityGroupRulePortRangeArgs{}) @@ -16776,6 +18979,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterExtensionsArgusPtrInput)(nil)).Elem(), SkeClusterExtensionsArgusArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterExtensionsDnsInput)(nil)).Elem(), SkeClusterExtensionsDnsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterExtensionsDnsPtrInput)(nil)).Elem(), SkeClusterExtensionsDnsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterExtensionsObservabilityInput)(nil)).Elem(), SkeClusterExtensionsObservabilityArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterExtensionsObservabilityPtrInput)(nil)).Elem(), SkeClusterExtensionsObservabilityArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterHibernationInput)(nil)).Elem(), SkeClusterHibernationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterHibernationArrayInput)(nil)).Elem(), SkeClusterHibernationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SkeClusterMaintenanceInput)(nil)).Elem(), SkeClusterMaintenanceArgs{}) @@ -16794,12 +18999,19 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SqlserverflexInstanceStoragePtrInput)(nil)).Elem(), SqlserverflexInstanceStorageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VolumeSourceInput)(nil)).Elem(), VolumeSourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VolumeSourcePtrInput)(nil)).Elem(), VolumeSourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCdnCustomDomainCertificateInput)(nil)).Elem(), GetCdnCustomDomainCertificateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCdnCustomDomainCertificatePtrInput)(nil)).Elem(), GetCdnCustomDomainCertificateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigInput)(nil)).Elem(), GetCdnDistributionConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigBackendInput)(nil)).Elem(), GetCdnDistributionConfigBackendArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigOptimizerInput)(nil)).Elem(), GetCdnDistributionConfigOptimizerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionDomainInput)(nil)).Elem(), GetCdnDistributionDomainArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionDomainArrayInput)(nil)).Elem(), GetCdnDistributionDomainArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetImageChecksumInput)(nil)).Elem(), GetImageChecksumArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetImageConfigInput)(nil)).Elem(), GetImageConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetImageV2ChecksumInput)(nil)).Elem(), GetImageV2ChecksumArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetImageV2ConfigInput)(nil)).Elem(), GetImageV2ConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetImageV2FilterInput)(nil)).Elem(), GetImageV2FilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetImageV2FilterPtrInput)(nil)).Elem(), GetImageV2FilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLoadbalancerListenerInput)(nil)).Elem(), GetLoadbalancerListenerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLoadbalancerListenerArrayInput)(nil)).Elem(), GetLoadbalancerListenerArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLoadbalancerListenerServerNameIndicatorInput)(nil)).Elem(), GetLoadbalancerListenerServerNameIndicatorArgs{}) @@ -16852,6 +19064,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpRangesPublicIpRangeArrayInput)(nil)).Elem(), GetPublicIpRangesPublicIpRangeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetRabbitmqInstanceParametersInput)(nil)).Elem(), GetRabbitmqInstanceParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetRedisInstanceParametersInput)(nil)).Elem(), GetRedisInstanceParametersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTableRouteDestinationInput)(nil)).Elem(), GetRoutingTableRouteDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTableRouteNextHopInput)(nil)).Elem(), GetRoutingTableRouteNextHopArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTableRoutesRouteInput)(nil)).Elem(), GetRoutingTableRoutesRouteArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTableRoutesRouteArrayInput)(nil)).Elem(), GetRoutingTableRoutesRouteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTableRoutesRouteDestinationInput)(nil)).Elem(), GetRoutingTableRoutesRouteDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTableRoutesRouteNextHopInput)(nil)).Elem(), GetRoutingTableRoutesRouteNextHopArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTablesItemInput)(nil)).Elem(), GetRoutingTablesItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingTablesItemArrayInput)(nil)).Elem(), GetRoutingTablesItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupRuleIcmpParametersInput)(nil)).Elem(), GetSecurityGroupRuleIcmpParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupRulePortRangeInput)(nil)).Elem(), GetSecurityGroupRulePortRangeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupRuleProtocolInput)(nil)).Elem(), GetSecurityGroupRuleProtocolArgs{}) @@ -16866,6 +19086,7 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetSkeClusterExtensionsAclInput)(nil)).Elem(), GetSkeClusterExtensionsAclArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSkeClusterExtensionsArgusInput)(nil)).Elem(), GetSkeClusterExtensionsArgusArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSkeClusterExtensionsDnsInput)(nil)).Elem(), GetSkeClusterExtensionsDnsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSkeClusterExtensionsObservabilityInput)(nil)).Elem(), GetSkeClusterExtensionsObservabilityArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSkeClusterHibernationInput)(nil)).Elem(), GetSkeClusterHibernationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSkeClusterHibernationArrayInput)(nil)).Elem(), GetSkeClusterHibernationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSkeClusterMaintenanceInput)(nil)).Elem(), GetSkeClusterMaintenanceArgs{}) @@ -16878,10 +19099,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetSqlserverflexInstanceOptionsInput)(nil)).Elem(), GetSqlserverflexInstanceOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSqlserverflexInstanceStorageInput)(nil)).Elem(), GetSqlserverflexInstanceStorageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeSourceInput)(nil)).Elem(), GetVolumeSourceArgs{}) + pulumi.RegisterOutputType(CdnCustomDomainCertificateOutput{}) + pulumi.RegisterOutputType(CdnCustomDomainCertificatePtrOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigPtrOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigBackendOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigBackendPtrOutput{}) + pulumi.RegisterOutputType(CdnDistributionConfigOptimizerOutput{}) + pulumi.RegisterOutputType(CdnDistributionConfigOptimizerPtrOutput{}) pulumi.RegisterOutputType(CdnDistributionDomainOutput{}) pulumi.RegisterOutputType(CdnDistributionDomainArrayOutput{}) pulumi.RegisterOutputType(ImageChecksumOutput{}) @@ -16958,6 +19183,10 @@ func init() { pulumi.RegisterOutputType(RabbitmqInstanceParametersPtrOutput{}) pulumi.RegisterOutputType(RedisInstanceParametersOutput{}) pulumi.RegisterOutputType(RedisInstanceParametersPtrOutput{}) + pulumi.RegisterOutputType(RoutingTableRouteDestinationOutput{}) + pulumi.RegisterOutputType(RoutingTableRouteDestinationPtrOutput{}) + pulumi.RegisterOutputType(RoutingTableRouteNextHopOutput{}) + pulumi.RegisterOutputType(RoutingTableRouteNextHopPtrOutput{}) pulumi.RegisterOutputType(SecurityGroupRuleIcmpParametersOutput{}) pulumi.RegisterOutputType(SecurityGroupRuleIcmpParametersPtrOutput{}) pulumi.RegisterOutputType(SecurityGroupRulePortRangeOutput{}) @@ -16976,6 +19205,8 @@ func init() { pulumi.RegisterOutputType(SkeClusterExtensionsArgusPtrOutput{}) pulumi.RegisterOutputType(SkeClusterExtensionsDnsOutput{}) pulumi.RegisterOutputType(SkeClusterExtensionsDnsPtrOutput{}) + pulumi.RegisterOutputType(SkeClusterExtensionsObservabilityOutput{}) + pulumi.RegisterOutputType(SkeClusterExtensionsObservabilityPtrOutput{}) pulumi.RegisterOutputType(SkeClusterHibernationOutput{}) pulumi.RegisterOutputType(SkeClusterHibernationArrayOutput{}) pulumi.RegisterOutputType(SkeClusterMaintenanceOutput{}) @@ -16994,12 +19225,19 @@ func init() { pulumi.RegisterOutputType(SqlserverflexInstanceStoragePtrOutput{}) pulumi.RegisterOutputType(VolumeSourceOutput{}) pulumi.RegisterOutputType(VolumeSourcePtrOutput{}) + pulumi.RegisterOutputType(GetCdnCustomDomainCertificateOutput{}) + pulumi.RegisterOutputType(GetCdnCustomDomainCertificatePtrOutput{}) pulumi.RegisterOutputType(GetCdnDistributionConfigOutput{}) pulumi.RegisterOutputType(GetCdnDistributionConfigBackendOutput{}) + pulumi.RegisterOutputType(GetCdnDistributionConfigOptimizerOutput{}) pulumi.RegisterOutputType(GetCdnDistributionDomainOutput{}) pulumi.RegisterOutputType(GetCdnDistributionDomainArrayOutput{}) pulumi.RegisterOutputType(GetImageChecksumOutput{}) pulumi.RegisterOutputType(GetImageConfigOutput{}) + pulumi.RegisterOutputType(GetImageV2ChecksumOutput{}) + pulumi.RegisterOutputType(GetImageV2ConfigOutput{}) + pulumi.RegisterOutputType(GetImageV2FilterOutput{}) + pulumi.RegisterOutputType(GetImageV2FilterPtrOutput{}) pulumi.RegisterOutputType(GetLoadbalancerListenerOutput{}) pulumi.RegisterOutputType(GetLoadbalancerListenerArrayOutput{}) pulumi.RegisterOutputType(GetLoadbalancerListenerServerNameIndicatorOutput{}) @@ -17052,6 +19290,14 @@ func init() { pulumi.RegisterOutputType(GetPublicIpRangesPublicIpRangeArrayOutput{}) pulumi.RegisterOutputType(GetRabbitmqInstanceParametersOutput{}) pulumi.RegisterOutputType(GetRedisInstanceParametersOutput{}) + pulumi.RegisterOutputType(GetRoutingTableRouteDestinationOutput{}) + pulumi.RegisterOutputType(GetRoutingTableRouteNextHopOutput{}) + pulumi.RegisterOutputType(GetRoutingTableRoutesRouteOutput{}) + pulumi.RegisterOutputType(GetRoutingTableRoutesRouteArrayOutput{}) + pulumi.RegisterOutputType(GetRoutingTableRoutesRouteDestinationOutput{}) + pulumi.RegisterOutputType(GetRoutingTableRoutesRouteNextHopOutput{}) + pulumi.RegisterOutputType(GetRoutingTablesItemOutput{}) + pulumi.RegisterOutputType(GetRoutingTablesItemArrayOutput{}) pulumi.RegisterOutputType(GetSecurityGroupRuleIcmpParametersOutput{}) pulumi.RegisterOutputType(GetSecurityGroupRulePortRangeOutput{}) pulumi.RegisterOutputType(GetSecurityGroupRuleProtocolOutput{}) @@ -17066,6 +19312,7 @@ func init() { pulumi.RegisterOutputType(GetSkeClusterExtensionsAclOutput{}) pulumi.RegisterOutputType(GetSkeClusterExtensionsArgusOutput{}) pulumi.RegisterOutputType(GetSkeClusterExtensionsDnsOutput{}) + pulumi.RegisterOutputType(GetSkeClusterExtensionsObservabilityOutput{}) pulumi.RegisterOutputType(GetSkeClusterHibernationOutput{}) pulumi.RegisterOutputType(GetSkeClusterHibernationArrayOutput{}) pulumi.RegisterOutputType(GetSkeClusterMaintenanceOutput{}) diff --git a/sdk/go/stackit/resourcemanagerFolder.go b/sdk/go/stackit/resourcemanagerFolder.go new file mode 100644 index 00000000..037ccf05 --- /dev/null +++ b/sdk/go/stackit/resourcemanagerFolder.go @@ -0,0 +1,315 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Resource Manager folder resource schema. +// +// > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// +// ## Example Usage +type ResourcemanagerFolder struct { + pulumi.CustomResourceState + + // Folder container ID. Globally unique, user-friendly identifier. + ContainerId pulumi.StringOutput `pulumi:"containerId"` + // Date-time at which the folder was created. + CreationTime pulumi.StringOutput `pulumi:"creationTime"` + // Folder UUID identifier. Globally unique folder identifier + FolderId pulumi.StringOutput `pulumi:"folderId"` + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + Labels pulumi.StringMapOutput `pulumi:"labels"` + // The name of the folder. + Name pulumi.StringOutput `pulumi:"name"` + // Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + OwnerEmail pulumi.StringOutput `pulumi:"ownerEmail"` + // Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + ParentContainerId pulumi.StringOutput `pulumi:"parentContainerId"` + // Date-time at which the folder was last modified. + UpdateTime pulumi.StringOutput `pulumi:"updateTime"` +} + +// NewResourcemanagerFolder registers a new resource with the given unique name, arguments, and options. +func NewResourcemanagerFolder(ctx *pulumi.Context, + name string, args *ResourcemanagerFolderArgs, opts ...pulumi.ResourceOption) (*ResourcemanagerFolder, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OwnerEmail == nil { + return nil, errors.New("invalid value for required argument 'OwnerEmail'") + } + if args.ParentContainerId == nil { + return nil, errors.New("invalid value for required argument 'ParentContainerId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource ResourcemanagerFolder + err := ctx.RegisterResource("stackit:index/resourcemanagerFolder:ResourcemanagerFolder", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetResourcemanagerFolder gets an existing ResourcemanagerFolder 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 GetResourcemanagerFolder(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ResourcemanagerFolderState, opts ...pulumi.ResourceOption) (*ResourcemanagerFolder, error) { + var resource ResourcemanagerFolder + err := ctx.ReadResource("stackit:index/resourcemanagerFolder:ResourcemanagerFolder", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ResourcemanagerFolder resources. +type resourcemanagerFolderState struct { + // Folder container ID. Globally unique, user-friendly identifier. + ContainerId *string `pulumi:"containerId"` + // Date-time at which the folder was created. + CreationTime *string `pulumi:"creationTime"` + // Folder UUID identifier. Globally unique folder identifier + FolderId *string `pulumi:"folderId"` + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + Labels map[string]string `pulumi:"labels"` + // The name of the folder. + Name *string `pulumi:"name"` + // Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + OwnerEmail *string `pulumi:"ownerEmail"` + // Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + ParentContainerId *string `pulumi:"parentContainerId"` + // Date-time at which the folder was last modified. + UpdateTime *string `pulumi:"updateTime"` +} + +type ResourcemanagerFolderState struct { + // Folder container ID. Globally unique, user-friendly identifier. + ContainerId pulumi.StringPtrInput + // Date-time at which the folder was created. + CreationTime pulumi.StringPtrInput + // Folder UUID identifier. Globally unique folder identifier + FolderId pulumi.StringPtrInput + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + Labels pulumi.StringMapInput + // The name of the folder. + Name pulumi.StringPtrInput + // Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + OwnerEmail pulumi.StringPtrInput + // Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + ParentContainerId pulumi.StringPtrInput + // Date-time at which the folder was last modified. + UpdateTime pulumi.StringPtrInput +} + +func (ResourcemanagerFolderState) ElementType() reflect.Type { + return reflect.TypeOf((*resourcemanagerFolderState)(nil)).Elem() +} + +type resourcemanagerFolderArgs struct { + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + Labels map[string]string `pulumi:"labels"` + // The name of the folder. + Name *string `pulumi:"name"` + // Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + OwnerEmail string `pulumi:"ownerEmail"` + // Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + ParentContainerId string `pulumi:"parentContainerId"` +} + +// The set of arguments for constructing a ResourcemanagerFolder resource. +type ResourcemanagerFolderArgs struct { + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + Labels pulumi.StringMapInput + // The name of the folder. + Name pulumi.StringPtrInput + // Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + OwnerEmail pulumi.StringInput + // Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + ParentContainerId pulumi.StringInput +} + +func (ResourcemanagerFolderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*resourcemanagerFolderArgs)(nil)).Elem() +} + +type ResourcemanagerFolderInput interface { + pulumi.Input + + ToResourcemanagerFolderOutput() ResourcemanagerFolderOutput + ToResourcemanagerFolderOutputWithContext(ctx context.Context) ResourcemanagerFolderOutput +} + +func (*ResourcemanagerFolder) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcemanagerFolder)(nil)).Elem() +} + +func (i *ResourcemanagerFolder) ToResourcemanagerFolderOutput() ResourcemanagerFolderOutput { + return i.ToResourcemanagerFolderOutputWithContext(context.Background()) +} + +func (i *ResourcemanagerFolder) ToResourcemanagerFolderOutputWithContext(ctx context.Context) ResourcemanagerFolderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcemanagerFolderOutput) +} + +// ResourcemanagerFolderArrayInput is an input type that accepts ResourcemanagerFolderArray and ResourcemanagerFolderArrayOutput values. +// You can construct a concrete instance of `ResourcemanagerFolderArrayInput` via: +// +// ResourcemanagerFolderArray{ ResourcemanagerFolderArgs{...} } +type ResourcemanagerFolderArrayInput interface { + pulumi.Input + + ToResourcemanagerFolderArrayOutput() ResourcemanagerFolderArrayOutput + ToResourcemanagerFolderArrayOutputWithContext(context.Context) ResourcemanagerFolderArrayOutput +} + +type ResourcemanagerFolderArray []ResourcemanagerFolderInput + +func (ResourcemanagerFolderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ResourcemanagerFolder)(nil)).Elem() +} + +func (i ResourcemanagerFolderArray) ToResourcemanagerFolderArrayOutput() ResourcemanagerFolderArrayOutput { + return i.ToResourcemanagerFolderArrayOutputWithContext(context.Background()) +} + +func (i ResourcemanagerFolderArray) ToResourcemanagerFolderArrayOutputWithContext(ctx context.Context) ResourcemanagerFolderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcemanagerFolderArrayOutput) +} + +// ResourcemanagerFolderMapInput is an input type that accepts ResourcemanagerFolderMap and ResourcemanagerFolderMapOutput values. +// You can construct a concrete instance of `ResourcemanagerFolderMapInput` via: +// +// ResourcemanagerFolderMap{ "key": ResourcemanagerFolderArgs{...} } +type ResourcemanagerFolderMapInput interface { + pulumi.Input + + ToResourcemanagerFolderMapOutput() ResourcemanagerFolderMapOutput + ToResourcemanagerFolderMapOutputWithContext(context.Context) ResourcemanagerFolderMapOutput +} + +type ResourcemanagerFolderMap map[string]ResourcemanagerFolderInput + +func (ResourcemanagerFolderMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ResourcemanagerFolder)(nil)).Elem() +} + +func (i ResourcemanagerFolderMap) ToResourcemanagerFolderMapOutput() ResourcemanagerFolderMapOutput { + return i.ToResourcemanagerFolderMapOutputWithContext(context.Background()) +} + +func (i ResourcemanagerFolderMap) ToResourcemanagerFolderMapOutputWithContext(ctx context.Context) ResourcemanagerFolderMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ResourcemanagerFolderMapOutput) +} + +type ResourcemanagerFolderOutput struct{ *pulumi.OutputState } + +func (ResourcemanagerFolderOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ResourcemanagerFolder)(nil)).Elem() +} + +func (o ResourcemanagerFolderOutput) ToResourcemanagerFolderOutput() ResourcemanagerFolderOutput { + return o +} + +func (o ResourcemanagerFolderOutput) ToResourcemanagerFolderOutputWithContext(ctx context.Context) ResourcemanagerFolderOutput { + return o +} + +// Folder container ID. Globally unique, user-friendly identifier. +func (o ResourcemanagerFolderOutput) ContainerId() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringOutput { return v.ContainerId }).(pulumi.StringOutput) +} + +// Date-time at which the folder was created. +func (o ResourcemanagerFolderOutput) CreationTime() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringOutput { return v.CreationTime }).(pulumi.StringOutput) +} + +// Folder UUID identifier. Globally unique folder identifier +func (o ResourcemanagerFolderOutput) FolderId() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringOutput { return v.FolderId }).(pulumi.StringOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. +func (o ResourcemanagerFolderOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) +} + +// The name of the folder. +func (o ResourcemanagerFolderOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. +func (o ResourcemanagerFolderOutput) OwnerEmail() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringOutput { return v.OwnerEmail }).(pulumi.StringOutput) +} + +// Parent resource identifier. Both container ID (user-friendly) and UUID are supported. +func (o ResourcemanagerFolderOutput) ParentContainerId() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringOutput { return v.ParentContainerId }).(pulumi.StringOutput) +} + +// Date-time at which the folder was last modified. +func (o ResourcemanagerFolderOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerFolder) pulumi.StringOutput { return v.UpdateTime }).(pulumi.StringOutput) +} + +type ResourcemanagerFolderArrayOutput struct{ *pulumi.OutputState } + +func (ResourcemanagerFolderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ResourcemanagerFolder)(nil)).Elem() +} + +func (o ResourcemanagerFolderArrayOutput) ToResourcemanagerFolderArrayOutput() ResourcemanagerFolderArrayOutput { + return o +} + +func (o ResourcemanagerFolderArrayOutput) ToResourcemanagerFolderArrayOutputWithContext(ctx context.Context) ResourcemanagerFolderArrayOutput { + return o +} + +func (o ResourcemanagerFolderArrayOutput) Index(i pulumi.IntInput) ResourcemanagerFolderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ResourcemanagerFolder { + return vs[0].([]*ResourcemanagerFolder)[vs[1].(int)] + }).(ResourcemanagerFolderOutput) +} + +type ResourcemanagerFolderMapOutput struct{ *pulumi.OutputState } + +func (ResourcemanagerFolderMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ResourcemanagerFolder)(nil)).Elem() +} + +func (o ResourcemanagerFolderMapOutput) ToResourcemanagerFolderMapOutput() ResourcemanagerFolderMapOutput { + return o +} + +func (o ResourcemanagerFolderMapOutput) ToResourcemanagerFolderMapOutputWithContext(ctx context.Context) ResourcemanagerFolderMapOutput { + return o +} + +func (o ResourcemanagerFolderMapOutput) MapIndex(k pulumi.StringInput) ResourcemanagerFolderOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ResourcemanagerFolder { + return vs[0].(map[string]*ResourcemanagerFolder)[vs[1].(string)] + }).(ResourcemanagerFolderOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ResourcemanagerFolderInput)(nil)).Elem(), &ResourcemanagerFolder{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcemanagerFolderArrayInput)(nil)).Elem(), ResourcemanagerFolderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ResourcemanagerFolderMapInput)(nil)).Elem(), ResourcemanagerFolderMap{}) + pulumi.RegisterOutputType(ResourcemanagerFolderOutput{}) + pulumi.RegisterOutputType(ResourcemanagerFolderArrayOutput{}) + pulumi.RegisterOutputType(ResourcemanagerFolderMapOutput{}) +} diff --git a/sdk/go/stackit/resourcemanagerProject.go b/sdk/go/stackit/resourcemanagerProject.go index cb8dca80..a5d09c37 100644 --- a/sdk/go/stackit/resourcemanagerProject.go +++ b/sdk/go/stackit/resourcemanagerProject.go @@ -18,7 +18,10 @@ type ResourcemanagerProject struct { // Project container ID. Globally unique, user-friendly identifier. ContainerId pulumi.StringOutput `pulumi:"containerId"` - // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + // Date-time at which the project was created. + CreationTime pulumi.StringOutput `pulumi:"creationTime"` + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.\ + // To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. Labels pulumi.StringMapOutput `pulumi:"labels"` // Project name. Name pulumi.StringOutput `pulumi:"name"` @@ -28,6 +31,8 @@ type ResourcemanagerProject struct { ParentContainerId pulumi.StringOutput `pulumi:"parentContainerId"` // Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. ProjectId pulumi.StringOutput `pulumi:"projectId"` + // Date-time at which the project was last modified. + UpdateTime pulumi.StringOutput `pulumi:"updateTime"` } // NewResourcemanagerProject registers a new resource with the given unique name, arguments, and options. @@ -68,7 +73,10 @@ func GetResourcemanagerProject(ctx *pulumi.Context, type resourcemanagerProjectState struct { // Project container ID. Globally unique, user-friendly identifier. ContainerId *string `pulumi:"containerId"` - // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + // Date-time at which the project was created. + CreationTime *string `pulumi:"creationTime"` + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.\ + // To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. Labels map[string]string `pulumi:"labels"` // Project name. Name *string `pulumi:"name"` @@ -78,12 +86,17 @@ type resourcemanagerProjectState struct { ParentContainerId *string `pulumi:"parentContainerId"` // Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. ProjectId *string `pulumi:"projectId"` + // Date-time at which the project was last modified. + UpdateTime *string `pulumi:"updateTime"` } type ResourcemanagerProjectState struct { // Project container ID. Globally unique, user-friendly identifier. ContainerId pulumi.StringPtrInput - // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + // Date-time at which the project was created. + CreationTime pulumi.StringPtrInput + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.\ + // To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. Labels pulumi.StringMapInput // Project name. Name pulumi.StringPtrInput @@ -93,6 +106,8 @@ type ResourcemanagerProjectState struct { ParentContainerId pulumi.StringPtrInput // Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. ProjectId pulumi.StringPtrInput + // Date-time at which the project was last modified. + UpdateTime pulumi.StringPtrInput } func (ResourcemanagerProjectState) ElementType() reflect.Type { @@ -100,7 +115,8 @@ func (ResourcemanagerProjectState) ElementType() reflect.Type { } type resourcemanagerProjectArgs struct { - // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.\ + // To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. Labels map[string]string `pulumi:"labels"` // Project name. Name *string `pulumi:"name"` @@ -112,7 +128,8 @@ type resourcemanagerProjectArgs struct { // The set of arguments for constructing a ResourcemanagerProject resource. type ResourcemanagerProjectArgs struct { - // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + // Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.\ + // To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. Labels pulumi.StringMapInput // Project name. Name pulumi.StringPtrInput @@ -214,7 +231,13 @@ func (o ResourcemanagerProjectOutput) ContainerId() pulumi.StringOutput { return o.ApplyT(func(v *ResourcemanagerProject) pulumi.StringOutput { return v.ContainerId }).(pulumi.StringOutput) } -// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. +// Date-time at which the project was created. +func (o ResourcemanagerProjectOutput) CreationTime() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerProject) pulumi.StringOutput { return v.CreationTime }).(pulumi.StringOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.\ +// To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. func (o ResourcemanagerProjectOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v *ResourcemanagerProject) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) } @@ -239,6 +262,11 @@ func (o ResourcemanagerProjectOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *ResourcemanagerProject) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } +// Date-time at which the project was last modified. +func (o ResourcemanagerProjectOutput) UpdateTime() pulumi.StringOutput { + return o.ApplyT(func(v *ResourcemanagerProject) pulumi.StringOutput { return v.UpdateTime }).(pulumi.StringOutput) +} + type ResourcemanagerProjectArrayOutput struct{ *pulumi.OutputState } func (ResourcemanagerProjectArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/stackit/routingTable.go b/sdk/go/stackit/routingTable.go new file mode 100644 index 00000000..217c6a67 --- /dev/null +++ b/sdk/go/stackit/routingTable.go @@ -0,0 +1,349 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Routing table resource schema. Must have a `region` specified in the provider configuration. +// +// > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. +// +// ## Example Usage +type RoutingTable struct { + pulumi.CustomResourceState + + // Date-time when the routing table was created + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Description of the routing table. + Description pulumi.StringOutput `pulumi:"description"` + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapOutput `pulumi:"labels"` + // The name of the routing table. + Name pulumi.StringOutput `pulumi:"name"` + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringOutput `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringOutput `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringOutput `pulumi:"region"` + // The routing tables ID. + RoutingTableId pulumi.StringOutput `pulumi:"routingTableId"` + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes pulumi.BoolOutput `pulumi:"systemRoutes"` + // Date-time when the routing table was updated + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewRoutingTable registers a new resource with the given unique name, arguments, and options. +func NewRoutingTable(ctx *pulumi.Context, + name string, args *RoutingTableArgs, opts ...pulumi.ResourceOption) (*RoutingTable, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.NetworkAreaId == nil { + return nil, errors.New("invalid value for required argument 'NetworkAreaId'") + } + if args.OrganizationId == nil { + return nil, errors.New("invalid value for required argument 'OrganizationId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource RoutingTable + err := ctx.RegisterResource("stackit:index/routingTable:RoutingTable", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRoutingTable gets an existing RoutingTable 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 GetRoutingTable(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RoutingTableState, opts ...pulumi.ResourceOption) (*RoutingTable, error) { + var resource RoutingTable + err := ctx.ReadResource("stackit:index/routingTable:RoutingTable", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RoutingTable resources. +type routingTableState struct { + // Date-time when the routing table was created + CreatedAt *string `pulumi:"createdAt"` + // Description of the routing table. + Description *string `pulumi:"description"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The name of the routing table. + Name *string `pulumi:"name"` + // The network area ID to which the routing table is associated. + NetworkAreaId *string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId *string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // The routing tables ID. + RoutingTableId *string `pulumi:"routingTableId"` + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes *bool `pulumi:"systemRoutes"` + // Date-time when the routing table was updated + UpdatedAt *string `pulumi:"updatedAt"` +} + +type RoutingTableState struct { + // Date-time when the routing table was created + CreatedAt pulumi.StringPtrInput + // Description of the routing table. + Description pulumi.StringPtrInput + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapInput + // The name of the routing table. + Name pulumi.StringPtrInput + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringPtrInput + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringPtrInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput + // The routing tables ID. + RoutingTableId pulumi.StringPtrInput + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes pulumi.BoolPtrInput + // Date-time when the routing table was updated + UpdatedAt pulumi.StringPtrInput +} + +func (RoutingTableState) ElementType() reflect.Type { + return reflect.TypeOf((*routingTableState)(nil)).Elem() +} + +type routingTableArgs struct { + // Description of the routing table. + Description *string `pulumi:"description"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The name of the routing table. + Name *string `pulumi:"name"` + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes *bool `pulumi:"systemRoutes"` +} + +// The set of arguments for constructing a RoutingTable resource. +type RoutingTableArgs struct { + // Description of the routing table. + Description pulumi.StringPtrInput + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapInput + // The name of the routing table. + Name pulumi.StringPtrInput + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringInput + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput + // This controls whether the routes for project-to-project communication are created automatically or not. + SystemRoutes pulumi.BoolPtrInput +} + +func (RoutingTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*routingTableArgs)(nil)).Elem() +} + +type RoutingTableInput interface { + pulumi.Input + + ToRoutingTableOutput() RoutingTableOutput + ToRoutingTableOutputWithContext(ctx context.Context) RoutingTableOutput +} + +func (*RoutingTable) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTable)(nil)).Elem() +} + +func (i *RoutingTable) ToRoutingTableOutput() RoutingTableOutput { + return i.ToRoutingTableOutputWithContext(context.Background()) +} + +func (i *RoutingTable) ToRoutingTableOutputWithContext(ctx context.Context) RoutingTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableOutput) +} + +// RoutingTableArrayInput is an input type that accepts RoutingTableArray and RoutingTableArrayOutput values. +// You can construct a concrete instance of `RoutingTableArrayInput` via: +// +// RoutingTableArray{ RoutingTableArgs{...} } +type RoutingTableArrayInput interface { + pulumi.Input + + ToRoutingTableArrayOutput() RoutingTableArrayOutput + ToRoutingTableArrayOutputWithContext(context.Context) RoutingTableArrayOutput +} + +type RoutingTableArray []RoutingTableInput + +func (RoutingTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RoutingTable)(nil)).Elem() +} + +func (i RoutingTableArray) ToRoutingTableArrayOutput() RoutingTableArrayOutput { + return i.ToRoutingTableArrayOutputWithContext(context.Background()) +} + +func (i RoutingTableArray) ToRoutingTableArrayOutputWithContext(ctx context.Context) RoutingTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableArrayOutput) +} + +// RoutingTableMapInput is an input type that accepts RoutingTableMap and RoutingTableMapOutput values. +// You can construct a concrete instance of `RoutingTableMapInput` via: +// +// RoutingTableMap{ "key": RoutingTableArgs{...} } +type RoutingTableMapInput interface { + pulumi.Input + + ToRoutingTableMapOutput() RoutingTableMapOutput + ToRoutingTableMapOutputWithContext(context.Context) RoutingTableMapOutput +} + +type RoutingTableMap map[string]RoutingTableInput + +func (RoutingTableMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RoutingTable)(nil)).Elem() +} + +func (i RoutingTableMap) ToRoutingTableMapOutput() RoutingTableMapOutput { + return i.ToRoutingTableMapOutputWithContext(context.Background()) +} + +func (i RoutingTableMap) ToRoutingTableMapOutputWithContext(ctx context.Context) RoutingTableMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableMapOutput) +} + +type RoutingTableOutput struct{ *pulumi.OutputState } + +func (RoutingTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTable)(nil)).Elem() +} + +func (o RoutingTableOutput) ToRoutingTableOutput() RoutingTableOutput { + return o +} + +func (o RoutingTableOutput) ToRoutingTableOutputWithContext(ctx context.Context) RoutingTableOutput { + return o +} + +// Date-time when the routing table was created +func (o RoutingTableOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Description of the routing table. +func (o RoutingTableOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container +func (o RoutingTableOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) +} + +// The name of the routing table. +func (o RoutingTableOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The network area ID to which the routing table is associated. +func (o RoutingTableOutput) NetworkAreaId() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.NetworkAreaId }).(pulumi.StringOutput) +} + +// STACKIT organization ID to which the routing table is associated. +func (o RoutingTableOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used. +func (o RoutingTableOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +// The routing tables ID. +func (o RoutingTableOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.RoutingTableId }).(pulumi.StringOutput) +} + +// This controls whether the routes for project-to-project communication are created automatically or not. +func (o RoutingTableOutput) SystemRoutes() pulumi.BoolOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.BoolOutput { return v.SystemRoutes }).(pulumi.BoolOutput) +} + +// Date-time when the routing table was updated +func (o RoutingTableOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTable) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +type RoutingTableArrayOutput struct{ *pulumi.OutputState } + +func (RoutingTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RoutingTable)(nil)).Elem() +} + +func (o RoutingTableArrayOutput) ToRoutingTableArrayOutput() RoutingTableArrayOutput { + return o +} + +func (o RoutingTableArrayOutput) ToRoutingTableArrayOutputWithContext(ctx context.Context) RoutingTableArrayOutput { + return o +} + +func (o RoutingTableArrayOutput) Index(i pulumi.IntInput) RoutingTableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RoutingTable { + return vs[0].([]*RoutingTable)[vs[1].(int)] + }).(RoutingTableOutput) +} + +type RoutingTableMapOutput struct{ *pulumi.OutputState } + +func (RoutingTableMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RoutingTable)(nil)).Elem() +} + +func (o RoutingTableMapOutput) ToRoutingTableMapOutput() RoutingTableMapOutput { + return o +} + +func (o RoutingTableMapOutput) ToRoutingTableMapOutputWithContext(ctx context.Context) RoutingTableMapOutput { + return o +} + +func (o RoutingTableMapOutput) MapIndex(k pulumi.StringInput) RoutingTableOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RoutingTable { + return vs[0].(map[string]*RoutingTable)[vs[1].(string)] + }).(RoutingTableOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableInput)(nil)).Elem(), &RoutingTable{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableArrayInput)(nil)).Elem(), RoutingTableArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableMapInput)(nil)).Elem(), RoutingTableMap{}) + pulumi.RegisterOutputType(RoutingTableOutput{}) + pulumi.RegisterOutputType(RoutingTableArrayOutput{}) + pulumi.RegisterOutputType(RoutingTableMapOutput{}) +} diff --git a/sdk/go/stackit/routingTableRoute.go b/sdk/go/stackit/routingTableRoute.go new file mode 100644 index 00000000..4d1bc6e7 --- /dev/null +++ b/sdk/go/stackit/routingTableRoute.go @@ -0,0 +1,358 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Routing table route resource schema. Must have a `region` specified in the provider configuration. +// +// > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. +// +// ## Example Usage +type RoutingTableRoute struct { + pulumi.CustomResourceState + + // Date-time when the route was created. + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Destination of the route. + Destination RoutingTableRouteDestinationOutput `pulumi:"destination"` + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapOutput `pulumi:"labels"` + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringOutput `pulumi:"networkAreaId"` + // Next hop destination. + NextHop RoutingTableRouteNextHopOutput `pulumi:"nextHop"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringOutput `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringOutput `pulumi:"region"` + // The ID of the route. + RouteId pulumi.StringOutput `pulumi:"routeId"` + // The routing tables ID. + RoutingTableId pulumi.StringOutput `pulumi:"routingTableId"` + // Date-time when the route was updated. + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewRoutingTableRoute registers a new resource with the given unique name, arguments, and options. +func NewRoutingTableRoute(ctx *pulumi.Context, + name string, args *RoutingTableRouteArgs, opts ...pulumi.ResourceOption) (*RoutingTableRoute, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Destination == nil { + return nil, errors.New("invalid value for required argument 'Destination'") + } + if args.NetworkAreaId == nil { + return nil, errors.New("invalid value for required argument 'NetworkAreaId'") + } + if args.NextHop == nil { + return nil, errors.New("invalid value for required argument 'NextHop'") + } + if args.OrganizationId == nil { + return nil, errors.New("invalid value for required argument 'OrganizationId'") + } + if args.RoutingTableId == nil { + return nil, errors.New("invalid value for required argument 'RoutingTableId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource RoutingTableRoute + err := ctx.RegisterResource("stackit:index/routingTableRoute:RoutingTableRoute", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRoutingTableRoute gets an existing RoutingTableRoute 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 GetRoutingTableRoute(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RoutingTableRouteState, opts ...pulumi.ResourceOption) (*RoutingTableRoute, error) { + var resource RoutingTableRoute + err := ctx.ReadResource("stackit:index/routingTableRoute:RoutingTableRoute", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RoutingTableRoute resources. +type routingTableRouteState struct { + // Date-time when the route was created. + CreatedAt *string `pulumi:"createdAt"` + // Destination of the route. + Destination *RoutingTableRouteDestination `pulumi:"destination"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The network area ID to which the routing table is associated. + NetworkAreaId *string `pulumi:"networkAreaId"` + // Next hop destination. + NextHop *RoutingTableRouteNextHop `pulumi:"nextHop"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId *string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // The ID of the route. + RouteId *string `pulumi:"routeId"` + // The routing tables ID. + RoutingTableId *string `pulumi:"routingTableId"` + // Date-time when the route was updated. + UpdatedAt *string `pulumi:"updatedAt"` +} + +type RoutingTableRouteState struct { + // Date-time when the route was created. + CreatedAt pulumi.StringPtrInput + // Destination of the route. + Destination RoutingTableRouteDestinationPtrInput + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapInput + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringPtrInput + // Next hop destination. + NextHop RoutingTableRouteNextHopPtrInput + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringPtrInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput + // The ID of the route. + RouteId pulumi.StringPtrInput + // The routing tables ID. + RoutingTableId pulumi.StringPtrInput + // Date-time when the route was updated. + UpdatedAt pulumi.StringPtrInput +} + +func (RoutingTableRouteState) ElementType() reflect.Type { + return reflect.TypeOf((*routingTableRouteState)(nil)).Elem() +} + +type routingTableRouteArgs struct { + // Destination of the route. + Destination RoutingTableRouteDestination `pulumi:"destination"` + // Labels are key-value string pairs which can be attached to a resource container + Labels map[string]string `pulumi:"labels"` + // The network area ID to which the routing table is associated. + NetworkAreaId string `pulumi:"networkAreaId"` + // Next hop destination. + NextHop RoutingTableRouteNextHop `pulumi:"nextHop"` + // STACKIT organization ID to which the routing table is associated. + OrganizationId string `pulumi:"organizationId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // The routing tables ID. + RoutingTableId string `pulumi:"routingTableId"` +} + +// The set of arguments for constructing a RoutingTableRoute resource. +type RoutingTableRouteArgs struct { + // Destination of the route. + Destination RoutingTableRouteDestinationInput + // Labels are key-value string pairs which can be attached to a resource container + Labels pulumi.StringMapInput + // The network area ID to which the routing table is associated. + NetworkAreaId pulumi.StringInput + // Next hop destination. + NextHop RoutingTableRouteNextHopInput + // STACKIT organization ID to which the routing table is associated. + OrganizationId pulumi.StringInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput + // The routing tables ID. + RoutingTableId pulumi.StringInput +} + +func (RoutingTableRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*routingTableRouteArgs)(nil)).Elem() +} + +type RoutingTableRouteInput interface { + pulumi.Input + + ToRoutingTableRouteOutput() RoutingTableRouteOutput + ToRoutingTableRouteOutputWithContext(ctx context.Context) RoutingTableRouteOutput +} + +func (*RoutingTableRoute) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTableRoute)(nil)).Elem() +} + +func (i *RoutingTableRoute) ToRoutingTableRouteOutput() RoutingTableRouteOutput { + return i.ToRoutingTableRouteOutputWithContext(context.Background()) +} + +func (i *RoutingTableRoute) ToRoutingTableRouteOutputWithContext(ctx context.Context) RoutingTableRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteOutput) +} + +// RoutingTableRouteArrayInput is an input type that accepts RoutingTableRouteArray and RoutingTableRouteArrayOutput values. +// You can construct a concrete instance of `RoutingTableRouteArrayInput` via: +// +// RoutingTableRouteArray{ RoutingTableRouteArgs{...} } +type RoutingTableRouteArrayInput interface { + pulumi.Input + + ToRoutingTableRouteArrayOutput() RoutingTableRouteArrayOutput + ToRoutingTableRouteArrayOutputWithContext(context.Context) RoutingTableRouteArrayOutput +} + +type RoutingTableRouteArray []RoutingTableRouteInput + +func (RoutingTableRouteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RoutingTableRoute)(nil)).Elem() +} + +func (i RoutingTableRouteArray) ToRoutingTableRouteArrayOutput() RoutingTableRouteArrayOutput { + return i.ToRoutingTableRouteArrayOutputWithContext(context.Background()) +} + +func (i RoutingTableRouteArray) ToRoutingTableRouteArrayOutputWithContext(ctx context.Context) RoutingTableRouteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteArrayOutput) +} + +// RoutingTableRouteMapInput is an input type that accepts RoutingTableRouteMap and RoutingTableRouteMapOutput values. +// You can construct a concrete instance of `RoutingTableRouteMapInput` via: +// +// RoutingTableRouteMap{ "key": RoutingTableRouteArgs{...} } +type RoutingTableRouteMapInput interface { + pulumi.Input + + ToRoutingTableRouteMapOutput() RoutingTableRouteMapOutput + ToRoutingTableRouteMapOutputWithContext(context.Context) RoutingTableRouteMapOutput +} + +type RoutingTableRouteMap map[string]RoutingTableRouteInput + +func (RoutingTableRouteMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RoutingTableRoute)(nil)).Elem() +} + +func (i RoutingTableRouteMap) ToRoutingTableRouteMapOutput() RoutingTableRouteMapOutput { + return i.ToRoutingTableRouteMapOutputWithContext(context.Background()) +} + +func (i RoutingTableRouteMap) ToRoutingTableRouteMapOutputWithContext(ctx context.Context) RoutingTableRouteMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingTableRouteMapOutput) +} + +type RoutingTableRouteOutput struct{ *pulumi.OutputState } + +func (RoutingTableRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingTableRoute)(nil)).Elem() +} + +func (o RoutingTableRouteOutput) ToRoutingTableRouteOutput() RoutingTableRouteOutput { + return o +} + +func (o RoutingTableRouteOutput) ToRoutingTableRouteOutputWithContext(ctx context.Context) RoutingTableRouteOutput { + return o +} + +// Date-time when the route was created. +func (o RoutingTableRouteOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Destination of the route. +func (o RoutingTableRouteOutput) Destination() RoutingTableRouteDestinationOutput { + return o.ApplyT(func(v *RoutingTableRoute) RoutingTableRouteDestinationOutput { return v.Destination }).(RoutingTableRouteDestinationOutput) +} + +// Labels are key-value string pairs which can be attached to a resource container +func (o RoutingTableRouteOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) +} + +// The network area ID to which the routing table is associated. +func (o RoutingTableRouteOutput) NetworkAreaId() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringOutput { return v.NetworkAreaId }).(pulumi.StringOutput) +} + +// Next hop destination. +func (o RoutingTableRouteOutput) NextHop() RoutingTableRouteNextHopOutput { + return o.ApplyT(func(v *RoutingTableRoute) RoutingTableRouteNextHopOutput { return v.NextHop }).(RoutingTableRouteNextHopOutput) +} + +// STACKIT organization ID to which the routing table is associated. +func (o RoutingTableRouteOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used. +func (o RoutingTableRouteOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +// The ID of the route. +func (o RoutingTableRouteOutput) RouteId() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringOutput { return v.RouteId }).(pulumi.StringOutput) +} + +// The routing tables ID. +func (o RoutingTableRouteOutput) RoutingTableId() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringOutput { return v.RoutingTableId }).(pulumi.StringOutput) +} + +// Date-time when the route was updated. +func (o RoutingTableRouteOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingTableRoute) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +type RoutingTableRouteArrayOutput struct{ *pulumi.OutputState } + +func (RoutingTableRouteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RoutingTableRoute)(nil)).Elem() +} + +func (o RoutingTableRouteArrayOutput) ToRoutingTableRouteArrayOutput() RoutingTableRouteArrayOutput { + return o +} + +func (o RoutingTableRouteArrayOutput) ToRoutingTableRouteArrayOutputWithContext(ctx context.Context) RoutingTableRouteArrayOutput { + return o +} + +func (o RoutingTableRouteArrayOutput) Index(i pulumi.IntInput) RoutingTableRouteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RoutingTableRoute { + return vs[0].([]*RoutingTableRoute)[vs[1].(int)] + }).(RoutingTableRouteOutput) +} + +type RoutingTableRouteMapOutput struct{ *pulumi.OutputState } + +func (RoutingTableRouteMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RoutingTableRoute)(nil)).Elem() +} + +func (o RoutingTableRouteMapOutput) ToRoutingTableRouteMapOutput() RoutingTableRouteMapOutput { + return o +} + +func (o RoutingTableRouteMapOutput) ToRoutingTableRouteMapOutputWithContext(ctx context.Context) RoutingTableRouteMapOutput { + return o +} + +func (o RoutingTableRouteMapOutput) MapIndex(k pulumi.StringInput) RoutingTableRouteOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RoutingTableRoute { + return vs[0].(map[string]*RoutingTableRoute)[vs[1].(string)] + }).(RoutingTableRouteOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableRouteInput)(nil)).Elem(), &RoutingTableRoute{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableRouteArrayInput)(nil)).Elem(), RoutingTableRouteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingTableRouteMapInput)(nil)).Elem(), RoutingTableRouteMap{}) + pulumi.RegisterOutputType(RoutingTableRouteOutput{}) + pulumi.RegisterOutputType(RoutingTableRouteArrayOutput{}) + pulumi.RegisterOutputType(RoutingTableRouteMapOutput{}) +} diff --git a/sdk/go/stackit/scfOrganization.go b/sdk/go/stackit/scfOrganization.go new file mode 100644 index 00000000..de550090 --- /dev/null +++ b/sdk/go/stackit/scfOrganization.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 stackit + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// STACKIT Cloud Foundry organization resource schema. Must have a `region` specified in the provider configuration. +// +// ## Example Usage +type ScfOrganization struct { + pulumi.CustomResourceState + + // The time when the organization was created + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // The name of the organization + Name pulumi.StringOutput `pulumi:"name"` + // The ID of the Cloud Foundry Organization + OrgId pulumi.StringOutput `pulumi:"orgId"` + // The ID of the platform associated with the organization + PlatformId pulumi.StringOutput `pulumi:"platformId"` + // The ID of the project associated with the organization + ProjectId pulumi.StringOutput `pulumi:"projectId"` + // The ID of the quota associated with the organization + QuotaId pulumi.StringOutput `pulumi:"quotaId"` + // The resource region. If not defined, the provider region is used + Region pulumi.StringOutput `pulumi:"region"` + // The status of the organization (e.g., deleting, delete_failed) + Status pulumi.StringOutput `pulumi:"status"` + // A boolean indicating whether the organization is suspended + Suspended pulumi.BoolOutput `pulumi:"suspended"` + // The time when the organization was last updated + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewScfOrganization registers a new resource with the given unique name, arguments, and options. +func NewScfOrganization(ctx *pulumi.Context, + name string, args *ScfOrganizationArgs, opts ...pulumi.ResourceOption) (*ScfOrganization, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ProjectId == nil { + return nil, errors.New("invalid value for required argument 'ProjectId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource ScfOrganization + err := ctx.RegisterResource("stackit:index/scfOrganization:ScfOrganization", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetScfOrganization gets an existing ScfOrganization 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 GetScfOrganization(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ScfOrganizationState, opts ...pulumi.ResourceOption) (*ScfOrganization, error) { + var resource ScfOrganization + err := ctx.ReadResource("stackit:index/scfOrganization:ScfOrganization", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ScfOrganization resources. +type scfOrganizationState struct { + // The time when the organization was created + CreatedAt *string `pulumi:"createdAt"` + // The name of the organization + Name *string `pulumi:"name"` + // The ID of the Cloud Foundry Organization + OrgId *string `pulumi:"orgId"` + // The ID of the platform associated with the organization + PlatformId *string `pulumi:"platformId"` + // The ID of the project associated with the organization + ProjectId *string `pulumi:"projectId"` + // The ID of the quota associated with the organization + QuotaId *string `pulumi:"quotaId"` + // The resource region. If not defined, the provider region is used + Region *string `pulumi:"region"` + // The status of the organization (e.g., deleting, delete_failed) + Status *string `pulumi:"status"` + // A boolean indicating whether the organization is suspended + Suspended *bool `pulumi:"suspended"` + // The time when the organization was last updated + UpdatedAt *string `pulumi:"updatedAt"` +} + +type ScfOrganizationState struct { + // The time when the organization was created + CreatedAt pulumi.StringPtrInput + // The name of the organization + Name pulumi.StringPtrInput + // The ID of the Cloud Foundry Organization + OrgId pulumi.StringPtrInput + // The ID of the platform associated with the organization + PlatformId pulumi.StringPtrInput + // The ID of the project associated with the organization + ProjectId pulumi.StringPtrInput + // The ID of the quota associated with the organization + QuotaId pulumi.StringPtrInput + // The resource region. If not defined, the provider region is used + Region pulumi.StringPtrInput + // The status of the organization (e.g., deleting, delete_failed) + Status pulumi.StringPtrInput + // A boolean indicating whether the organization is suspended + Suspended pulumi.BoolPtrInput + // The time when the organization was last updated + UpdatedAt pulumi.StringPtrInput +} + +func (ScfOrganizationState) ElementType() reflect.Type { + return reflect.TypeOf((*scfOrganizationState)(nil)).Elem() +} + +type scfOrganizationArgs struct { + // The name of the organization + Name *string `pulumi:"name"` + // The ID of the platform associated with the organization + PlatformId *string `pulumi:"platformId"` + // The ID of the project associated with the organization + ProjectId string `pulumi:"projectId"` + // The ID of the quota associated with the organization + QuotaId *string `pulumi:"quotaId"` + // The resource region. If not defined, the provider region is used + Region *string `pulumi:"region"` + // A boolean indicating whether the organization is suspended + Suspended *bool `pulumi:"suspended"` +} + +// The set of arguments for constructing a ScfOrganization resource. +type ScfOrganizationArgs struct { + // The name of the organization + Name pulumi.StringPtrInput + // The ID of the platform associated with the organization + PlatformId pulumi.StringPtrInput + // The ID of the project associated with the organization + ProjectId pulumi.StringInput + // The ID of the quota associated with the organization + QuotaId pulumi.StringPtrInput + // The resource region. If not defined, the provider region is used + Region pulumi.StringPtrInput + // A boolean indicating whether the organization is suspended + Suspended pulumi.BoolPtrInput +} + +func (ScfOrganizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*scfOrganizationArgs)(nil)).Elem() +} + +type ScfOrganizationInput interface { + pulumi.Input + + ToScfOrganizationOutput() ScfOrganizationOutput + ToScfOrganizationOutputWithContext(ctx context.Context) ScfOrganizationOutput +} + +func (*ScfOrganization) ElementType() reflect.Type { + return reflect.TypeOf((**ScfOrganization)(nil)).Elem() +} + +func (i *ScfOrganization) ToScfOrganizationOutput() ScfOrganizationOutput { + return i.ToScfOrganizationOutputWithContext(context.Background()) +} + +func (i *ScfOrganization) ToScfOrganizationOutputWithContext(ctx context.Context) ScfOrganizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScfOrganizationOutput) +} + +// ScfOrganizationArrayInput is an input type that accepts ScfOrganizationArray and ScfOrganizationArrayOutput values. +// You can construct a concrete instance of `ScfOrganizationArrayInput` via: +// +// ScfOrganizationArray{ ScfOrganizationArgs{...} } +type ScfOrganizationArrayInput interface { + pulumi.Input + + ToScfOrganizationArrayOutput() ScfOrganizationArrayOutput + ToScfOrganizationArrayOutputWithContext(context.Context) ScfOrganizationArrayOutput +} + +type ScfOrganizationArray []ScfOrganizationInput + +func (ScfOrganizationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ScfOrganization)(nil)).Elem() +} + +func (i ScfOrganizationArray) ToScfOrganizationArrayOutput() ScfOrganizationArrayOutput { + return i.ToScfOrganizationArrayOutputWithContext(context.Background()) +} + +func (i ScfOrganizationArray) ToScfOrganizationArrayOutputWithContext(ctx context.Context) ScfOrganizationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScfOrganizationArrayOutput) +} + +// ScfOrganizationMapInput is an input type that accepts ScfOrganizationMap and ScfOrganizationMapOutput values. +// You can construct a concrete instance of `ScfOrganizationMapInput` via: +// +// ScfOrganizationMap{ "key": ScfOrganizationArgs{...} } +type ScfOrganizationMapInput interface { + pulumi.Input + + ToScfOrganizationMapOutput() ScfOrganizationMapOutput + ToScfOrganizationMapOutputWithContext(context.Context) ScfOrganizationMapOutput +} + +type ScfOrganizationMap map[string]ScfOrganizationInput + +func (ScfOrganizationMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ScfOrganization)(nil)).Elem() +} + +func (i ScfOrganizationMap) ToScfOrganizationMapOutput() ScfOrganizationMapOutput { + return i.ToScfOrganizationMapOutputWithContext(context.Background()) +} + +func (i ScfOrganizationMap) ToScfOrganizationMapOutputWithContext(ctx context.Context) ScfOrganizationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScfOrganizationMapOutput) +} + +type ScfOrganizationOutput struct{ *pulumi.OutputState } + +func (ScfOrganizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ScfOrganization)(nil)).Elem() +} + +func (o ScfOrganizationOutput) ToScfOrganizationOutput() ScfOrganizationOutput { + return o +} + +func (o ScfOrganizationOutput) ToScfOrganizationOutputWithContext(ctx context.Context) ScfOrganizationOutput { + return o +} + +// The time when the organization was created +func (o ScfOrganizationOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// The name of the organization +func (o ScfOrganizationOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The ID of the Cloud Foundry Organization +func (o ScfOrganizationOutput) OrgId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.OrgId }).(pulumi.StringOutput) +} + +// The ID of the platform associated with the organization +func (o ScfOrganizationOutput) PlatformId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.PlatformId }).(pulumi.StringOutput) +} + +// The ID of the project associated with the organization +func (o ScfOrganizationOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// The ID of the quota associated with the organization +func (o ScfOrganizationOutput) QuotaId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.QuotaId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used +func (o ScfOrganizationOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +// The status of the organization (e.g., deleting, delete_failed) +func (o ScfOrganizationOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// A boolean indicating whether the organization is suspended +func (o ScfOrganizationOutput) Suspended() pulumi.BoolOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.BoolOutput { return v.Suspended }).(pulumi.BoolOutput) +} + +// The time when the organization was last updated +func (o ScfOrganizationOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganization) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +type ScfOrganizationArrayOutput struct{ *pulumi.OutputState } + +func (ScfOrganizationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ScfOrganization)(nil)).Elem() +} + +func (o ScfOrganizationArrayOutput) ToScfOrganizationArrayOutput() ScfOrganizationArrayOutput { + return o +} + +func (o ScfOrganizationArrayOutput) ToScfOrganizationArrayOutputWithContext(ctx context.Context) ScfOrganizationArrayOutput { + return o +} + +func (o ScfOrganizationArrayOutput) Index(i pulumi.IntInput) ScfOrganizationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ScfOrganization { + return vs[0].([]*ScfOrganization)[vs[1].(int)] + }).(ScfOrganizationOutput) +} + +type ScfOrganizationMapOutput struct{ *pulumi.OutputState } + +func (ScfOrganizationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ScfOrganization)(nil)).Elem() +} + +func (o ScfOrganizationMapOutput) ToScfOrganizationMapOutput() ScfOrganizationMapOutput { + return o +} + +func (o ScfOrganizationMapOutput) ToScfOrganizationMapOutputWithContext(ctx context.Context) ScfOrganizationMapOutput { + return o +} + +func (o ScfOrganizationMapOutput) MapIndex(k pulumi.StringInput) ScfOrganizationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ScfOrganization { + return vs[0].(map[string]*ScfOrganization)[vs[1].(string)] + }).(ScfOrganizationOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ScfOrganizationInput)(nil)).Elem(), &ScfOrganization{}) + pulumi.RegisterInputType(reflect.TypeOf((*ScfOrganizationArrayInput)(nil)).Elem(), ScfOrganizationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ScfOrganizationMapInput)(nil)).Elem(), ScfOrganizationMap{}) + pulumi.RegisterOutputType(ScfOrganizationOutput{}) + pulumi.RegisterOutputType(ScfOrganizationArrayOutput{}) + pulumi.RegisterOutputType(ScfOrganizationMapOutput{}) +} diff --git a/sdk/go/stackit/scfOrganizationManager.go b/sdk/go/stackit/scfOrganizationManager.go new file mode 100644 index 00000000..2cf2de62 --- /dev/null +++ b/sdk/go/stackit/scfOrganizationManager.go @@ -0,0 +1,324 @@ +// 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 stackit + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// STACKIT Cloud Foundry organization manager resource schema. +// +// ## Example Usage +type ScfOrganizationManager struct { + pulumi.CustomResourceState + + // The time when the organization manager was created + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // The ID of the Cloud Foundry Organization + OrgId pulumi.StringOutput `pulumi:"orgId"` + // An auto-generated password + Password pulumi.StringOutput `pulumi:"password"` + // The ID of the platform associated with the organization of the organization manager + PlatformId pulumi.StringOutput `pulumi:"platformId"` + // The ID of the project associated with the organization of the organization manager + ProjectId pulumi.StringOutput `pulumi:"projectId"` + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region pulumi.StringOutput `pulumi:"region"` + // The time when the organization manager was last updated + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + // The ID of the organization manager user + UserId pulumi.StringOutput `pulumi:"userId"` + // An auto-generated organization manager user name + Username pulumi.StringOutput `pulumi:"username"` +} + +// NewScfOrganizationManager registers a new resource with the given unique name, arguments, and options. +func NewScfOrganizationManager(ctx *pulumi.Context, + name string, args *ScfOrganizationManagerArgs, opts ...pulumi.ResourceOption) (*ScfOrganizationManager, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OrgId == nil { + return nil, errors.New("invalid value for required argument 'OrgId'") + } + if args.ProjectId == nil { + return nil, errors.New("invalid value for required argument 'ProjectId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource ScfOrganizationManager + err := ctx.RegisterResource("stackit:index/scfOrganizationManager:ScfOrganizationManager", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetScfOrganizationManager gets an existing ScfOrganizationManager 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 GetScfOrganizationManager(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ScfOrganizationManagerState, opts ...pulumi.ResourceOption) (*ScfOrganizationManager, error) { + var resource ScfOrganizationManager + err := ctx.ReadResource("stackit:index/scfOrganizationManager:ScfOrganizationManager", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ScfOrganizationManager resources. +type scfOrganizationManagerState struct { + // The time when the organization manager was created + CreatedAt *string `pulumi:"createdAt"` + // The ID of the Cloud Foundry Organization + OrgId *string `pulumi:"orgId"` + // An auto-generated password + Password *string `pulumi:"password"` + // The ID of the platform associated with the organization of the organization manager + PlatformId *string `pulumi:"platformId"` + // The ID of the project associated with the organization of the organization manager + ProjectId *string `pulumi:"projectId"` + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region *string `pulumi:"region"` + // The time when the organization manager was last updated + UpdatedAt *string `pulumi:"updatedAt"` + // The ID of the organization manager user + UserId *string `pulumi:"userId"` + // An auto-generated organization manager user name + Username *string `pulumi:"username"` +} + +type ScfOrganizationManagerState struct { + // The time when the organization manager was created + CreatedAt pulumi.StringPtrInput + // The ID of the Cloud Foundry Organization + OrgId pulumi.StringPtrInput + // An auto-generated password + Password pulumi.StringPtrInput + // The ID of the platform associated with the organization of the organization manager + PlatformId pulumi.StringPtrInput + // The ID of the project associated with the organization of the organization manager + ProjectId pulumi.StringPtrInput + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region pulumi.StringPtrInput + // The time when the organization manager was last updated + UpdatedAt pulumi.StringPtrInput + // The ID of the organization manager user + UserId pulumi.StringPtrInput + // An auto-generated organization manager user name + Username pulumi.StringPtrInput +} + +func (ScfOrganizationManagerState) ElementType() reflect.Type { + return reflect.TypeOf((*scfOrganizationManagerState)(nil)).Elem() +} + +type scfOrganizationManagerArgs struct { + // The ID of the Cloud Foundry Organization + OrgId string `pulumi:"orgId"` + // The ID of the project associated with the organization of the organization manager + ProjectId string `pulumi:"projectId"` + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region *string `pulumi:"region"` +} + +// The set of arguments for constructing a ScfOrganizationManager resource. +type ScfOrganizationManagerArgs struct { + // The ID of the Cloud Foundry Organization + OrgId pulumi.StringInput + // The ID of the project associated with the organization of the organization manager + ProjectId pulumi.StringInput + // The region where the organization of the organization manager is located. If not defined, the provider region is used + Region pulumi.StringPtrInput +} + +func (ScfOrganizationManagerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*scfOrganizationManagerArgs)(nil)).Elem() +} + +type ScfOrganizationManagerInput interface { + pulumi.Input + + ToScfOrganizationManagerOutput() ScfOrganizationManagerOutput + ToScfOrganizationManagerOutputWithContext(ctx context.Context) ScfOrganizationManagerOutput +} + +func (*ScfOrganizationManager) ElementType() reflect.Type { + return reflect.TypeOf((**ScfOrganizationManager)(nil)).Elem() +} + +func (i *ScfOrganizationManager) ToScfOrganizationManagerOutput() ScfOrganizationManagerOutput { + return i.ToScfOrganizationManagerOutputWithContext(context.Background()) +} + +func (i *ScfOrganizationManager) ToScfOrganizationManagerOutputWithContext(ctx context.Context) ScfOrganizationManagerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScfOrganizationManagerOutput) +} + +// ScfOrganizationManagerArrayInput is an input type that accepts ScfOrganizationManagerArray and ScfOrganizationManagerArrayOutput values. +// You can construct a concrete instance of `ScfOrganizationManagerArrayInput` via: +// +// ScfOrganizationManagerArray{ ScfOrganizationManagerArgs{...} } +type ScfOrganizationManagerArrayInput interface { + pulumi.Input + + ToScfOrganizationManagerArrayOutput() ScfOrganizationManagerArrayOutput + ToScfOrganizationManagerArrayOutputWithContext(context.Context) ScfOrganizationManagerArrayOutput +} + +type ScfOrganizationManagerArray []ScfOrganizationManagerInput + +func (ScfOrganizationManagerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ScfOrganizationManager)(nil)).Elem() +} + +func (i ScfOrganizationManagerArray) ToScfOrganizationManagerArrayOutput() ScfOrganizationManagerArrayOutput { + return i.ToScfOrganizationManagerArrayOutputWithContext(context.Background()) +} + +func (i ScfOrganizationManagerArray) ToScfOrganizationManagerArrayOutputWithContext(ctx context.Context) ScfOrganizationManagerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScfOrganizationManagerArrayOutput) +} + +// ScfOrganizationManagerMapInput is an input type that accepts ScfOrganizationManagerMap and ScfOrganizationManagerMapOutput values. +// You can construct a concrete instance of `ScfOrganizationManagerMapInput` via: +// +// ScfOrganizationManagerMap{ "key": ScfOrganizationManagerArgs{...} } +type ScfOrganizationManagerMapInput interface { + pulumi.Input + + ToScfOrganizationManagerMapOutput() ScfOrganizationManagerMapOutput + ToScfOrganizationManagerMapOutputWithContext(context.Context) ScfOrganizationManagerMapOutput +} + +type ScfOrganizationManagerMap map[string]ScfOrganizationManagerInput + +func (ScfOrganizationManagerMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ScfOrganizationManager)(nil)).Elem() +} + +func (i ScfOrganizationManagerMap) ToScfOrganizationManagerMapOutput() ScfOrganizationManagerMapOutput { + return i.ToScfOrganizationManagerMapOutputWithContext(context.Background()) +} + +func (i ScfOrganizationManagerMap) ToScfOrganizationManagerMapOutputWithContext(ctx context.Context) ScfOrganizationManagerMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ScfOrganizationManagerMapOutput) +} + +type ScfOrganizationManagerOutput struct{ *pulumi.OutputState } + +func (ScfOrganizationManagerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ScfOrganizationManager)(nil)).Elem() +} + +func (o ScfOrganizationManagerOutput) ToScfOrganizationManagerOutput() ScfOrganizationManagerOutput { + return o +} + +func (o ScfOrganizationManagerOutput) ToScfOrganizationManagerOutputWithContext(ctx context.Context) ScfOrganizationManagerOutput { + return o +} + +// The time when the organization manager was created +func (o ScfOrganizationManagerOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// The ID of the Cloud Foundry Organization +func (o ScfOrganizationManagerOutput) OrgId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.OrgId }).(pulumi.StringOutput) +} + +// An auto-generated password +func (o ScfOrganizationManagerOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// The ID of the platform associated with the organization of the organization manager +func (o ScfOrganizationManagerOutput) PlatformId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.PlatformId }).(pulumi.StringOutput) +} + +// The ID of the project associated with the organization of the organization manager +func (o ScfOrganizationManagerOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// The region where the organization of the organization manager is located. If not defined, the provider region is used +func (o ScfOrganizationManagerOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +// The time when the organization manager was last updated +func (o ScfOrganizationManagerOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// The ID of the organization manager user +func (o ScfOrganizationManagerOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +// An auto-generated organization manager user name +func (o ScfOrganizationManagerOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v *ScfOrganizationManager) pulumi.StringOutput { return v.Username }).(pulumi.StringOutput) +} + +type ScfOrganizationManagerArrayOutput struct{ *pulumi.OutputState } + +func (ScfOrganizationManagerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ScfOrganizationManager)(nil)).Elem() +} + +func (o ScfOrganizationManagerArrayOutput) ToScfOrganizationManagerArrayOutput() ScfOrganizationManagerArrayOutput { + return o +} + +func (o ScfOrganizationManagerArrayOutput) ToScfOrganizationManagerArrayOutputWithContext(ctx context.Context) ScfOrganizationManagerArrayOutput { + return o +} + +func (o ScfOrganizationManagerArrayOutput) Index(i pulumi.IntInput) ScfOrganizationManagerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ScfOrganizationManager { + return vs[0].([]*ScfOrganizationManager)[vs[1].(int)] + }).(ScfOrganizationManagerOutput) +} + +type ScfOrganizationManagerMapOutput struct{ *pulumi.OutputState } + +func (ScfOrganizationManagerMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ScfOrganizationManager)(nil)).Elem() +} + +func (o ScfOrganizationManagerMapOutput) ToScfOrganizationManagerMapOutput() ScfOrganizationManagerMapOutput { + return o +} + +func (o ScfOrganizationManagerMapOutput) ToScfOrganizationManagerMapOutputWithContext(ctx context.Context) ScfOrganizationManagerMapOutput { + return o +} + +func (o ScfOrganizationManagerMapOutput) MapIndex(k pulumi.StringInput) ScfOrganizationManagerOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ScfOrganizationManager { + return vs[0].(map[string]*ScfOrganizationManager)[vs[1].(string)] + }).(ScfOrganizationManagerOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ScfOrganizationManagerInput)(nil)).Elem(), &ScfOrganizationManager{}) + pulumi.RegisterInputType(reflect.TypeOf((*ScfOrganizationManagerArrayInput)(nil)).Elem(), ScfOrganizationManagerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ScfOrganizationManagerMapInput)(nil)).Elem(), ScfOrganizationManagerMap{}) + pulumi.RegisterOutputType(ScfOrganizationManagerOutput{}) + pulumi.RegisterOutputType(ScfOrganizationManagerArrayOutput{}) + pulumi.RegisterOutputType(ScfOrganizationManagerMapOutput{}) +} diff --git a/sdk/go/stackit/server.go b/sdk/go/stackit/server.go index 494fb928..abb29c37 100644 --- a/sdk/go/stackit/server.go +++ b/sdk/go/stackit/server.go @@ -27,6 +27,8 @@ import ( // ### Server with attached volume // // ### Server with user data (cloud-init) +// +// ### Additional Examples type Server struct { pulumi.CustomResourceState diff --git a/sdk/go/stackit/serviceAccountAccessToken.go b/sdk/go/stackit/serviceAccountAccessToken.go index ec96b175..62942116 100644 --- a/sdk/go/stackit/serviceAccountAccessToken.go +++ b/sdk/go/stackit/serviceAccountAccessToken.go @@ -13,6 +13,9 @@ import ( ) // Service account access token schema. +// +// !> This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations. +// // ## Example Usage // // ### Automatically rotate access tokens diff --git a/sdk/go/stackit/skeCluster.go b/sdk/go/stackit/skeCluster.go index fb5fe659..2fa81698 100644 --- a/sdk/go/stackit/skeCluster.go +++ b/sdk/go/stackit/skeCluster.go @@ -20,20 +20,12 @@ import ( type SkeCluster struct { pulumi.CustomResourceState - // Flag to specify if privileged mode for containers is enabled or not. - // This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - // Deprecated as of Kubernetes 1.25 and later - AllowPrivilegedContainers pulumi.BoolPtrOutput `pulumi:"allowPrivilegedContainers"` // The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. EgressAddressRanges pulumi.StringArrayOutput `pulumi:"egressAddressRanges"` // A single extensions block as defined below. Extensions SkeClusterExtensionsPtrOutput `pulumi:"extensions"` // One or more hibernation block as defined below. Hibernations SkeClusterHibernationArrayOutput `pulumi:"hibernations"` - // Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - // - // Deprecated: Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - KubernetesVersion pulumi.StringPtrOutput `pulumi:"kubernetesVersion"` // The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. KubernetesVersionMin pulumi.StringPtrOutput `pulumi:"kubernetesVersionMin"` // Full Kubernetes version used. For example, if 1.22 was set in `kubernetesVersionMin`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). @@ -46,6 +38,8 @@ type SkeCluster struct { Network SkeClusterNetworkPtrOutput `pulumi:"network"` // One or more `nodePool` block as defined below. NodePools SkeClusterNodePoolArrayOutput `pulumi:"nodePools"` + // The network ranges (in CIDR notation) used by pods of the cluster. + PodAddressRanges pulumi.StringArrayOutput `pulumi:"podAddressRanges"` // STACKIT project ID to which the cluster is associated. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The resource region. If not defined, the provider region is used. @@ -88,20 +82,12 @@ func GetSkeCluster(ctx *pulumi.Context, // Input properties used for looking up and filtering SkeCluster resources. type skeClusterState struct { - // Flag to specify if privileged mode for containers is enabled or not. - // This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - // Deprecated as of Kubernetes 1.25 and later - AllowPrivilegedContainers *bool `pulumi:"allowPrivilegedContainers"` // The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. EgressAddressRanges []string `pulumi:"egressAddressRanges"` // A single extensions block as defined below. Extensions *SkeClusterExtensions `pulumi:"extensions"` // One or more hibernation block as defined below. Hibernations []SkeClusterHibernation `pulumi:"hibernations"` - // Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - // - // Deprecated: Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - KubernetesVersion *string `pulumi:"kubernetesVersion"` // The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. KubernetesVersionMin *string `pulumi:"kubernetesVersionMin"` // Full Kubernetes version used. For example, if 1.22 was set in `kubernetesVersionMin`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). @@ -114,6 +100,8 @@ type skeClusterState struct { Network *SkeClusterNetwork `pulumi:"network"` // One or more `nodePool` block as defined below. NodePools []SkeClusterNodePool `pulumi:"nodePools"` + // The network ranges (in CIDR notation) used by pods of the cluster. + PodAddressRanges []string `pulumi:"podAddressRanges"` // STACKIT project ID to which the cluster is associated. ProjectId *string `pulumi:"projectId"` // The resource region. If not defined, the provider region is used. @@ -121,20 +109,12 @@ type skeClusterState struct { } type SkeClusterState struct { - // Flag to specify if privileged mode for containers is enabled or not. - // This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - // Deprecated as of Kubernetes 1.25 and later - AllowPrivilegedContainers pulumi.BoolPtrInput // The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. EgressAddressRanges pulumi.StringArrayInput // A single extensions block as defined below. Extensions SkeClusterExtensionsPtrInput // One or more hibernation block as defined below. Hibernations SkeClusterHibernationArrayInput - // Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - // - // Deprecated: Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - KubernetesVersion pulumi.StringPtrInput // The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. KubernetesVersionMin pulumi.StringPtrInput // Full Kubernetes version used. For example, if 1.22 was set in `kubernetesVersionMin`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). @@ -147,6 +127,8 @@ type SkeClusterState struct { Network SkeClusterNetworkPtrInput // One or more `nodePool` block as defined below. NodePools SkeClusterNodePoolArrayInput + // The network ranges (in CIDR notation) used by pods of the cluster. + PodAddressRanges pulumi.StringArrayInput // STACKIT project ID to which the cluster is associated. ProjectId pulumi.StringPtrInput // The resource region. If not defined, the provider region is used. @@ -158,18 +140,10 @@ func (SkeClusterState) ElementType() reflect.Type { } type skeClusterArgs struct { - // Flag to specify if privileged mode for containers is enabled or not. - // This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - // Deprecated as of Kubernetes 1.25 and later - AllowPrivilegedContainers *bool `pulumi:"allowPrivilegedContainers"` // A single extensions block as defined below. Extensions *SkeClusterExtensions `pulumi:"extensions"` // One or more hibernation block as defined below. Hibernations []SkeClusterHibernation `pulumi:"hibernations"` - // Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - // - // Deprecated: Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - KubernetesVersion *string `pulumi:"kubernetesVersion"` // The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. KubernetesVersionMin *string `pulumi:"kubernetesVersionMin"` // A single maintenance block as defined below. @@ -188,18 +162,10 @@ type skeClusterArgs struct { // The set of arguments for constructing a SkeCluster resource. type SkeClusterArgs struct { - // Flag to specify if privileged mode for containers is enabled or not. - // This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - // Deprecated as of Kubernetes 1.25 and later - AllowPrivilegedContainers pulumi.BoolPtrInput // A single extensions block as defined below. Extensions SkeClusterExtensionsPtrInput // One or more hibernation block as defined below. Hibernations SkeClusterHibernationArrayInput - // Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - // - // Deprecated: Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - KubernetesVersion pulumi.StringPtrInput // The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. KubernetesVersionMin pulumi.StringPtrInput // A single maintenance block as defined below. @@ -303,13 +269,6 @@ func (o SkeClusterOutput) ToSkeClusterOutputWithContext(ctx context.Context) Ske return o } -// Flag to specify if privileged mode for containers is enabled or not. -// This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). -// Deprecated as of Kubernetes 1.25 and later -func (o SkeClusterOutput) AllowPrivilegedContainers() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SkeCluster) pulumi.BoolPtrOutput { return v.AllowPrivilegedContainers }).(pulumi.BoolPtrOutput) -} - // The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. func (o SkeClusterOutput) EgressAddressRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v *SkeCluster) pulumi.StringArrayOutput { return v.EgressAddressRanges }).(pulumi.StringArrayOutput) @@ -325,13 +284,6 @@ func (o SkeClusterOutput) Hibernations() SkeClusterHibernationArrayOutput { return o.ApplyT(func(v *SkeCluster) SkeClusterHibernationArrayOutput { return v.Hibernations }).(SkeClusterHibernationArrayOutput) } -// Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` -// -// Deprecated: Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. -func (o SkeClusterOutput) KubernetesVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SkeCluster) pulumi.StringPtrOutput { return v.KubernetesVersion }).(pulumi.StringPtrOutput) -} - // The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. func (o SkeClusterOutput) KubernetesVersionMin() pulumi.StringPtrOutput { return o.ApplyT(func(v *SkeCluster) pulumi.StringPtrOutput { return v.KubernetesVersionMin }).(pulumi.StringPtrOutput) @@ -362,6 +314,11 @@ func (o SkeClusterOutput) NodePools() SkeClusterNodePoolArrayOutput { return o.ApplyT(func(v *SkeCluster) SkeClusterNodePoolArrayOutput { return v.NodePools }).(SkeClusterNodePoolArrayOutput) } +// The network ranges (in CIDR notation) used by pods of the cluster. +func (o SkeClusterOutput) PodAddressRanges() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SkeCluster) pulumi.StringArrayOutput { return v.PodAddressRanges }).(pulumi.StringArrayOutput) +} + // STACKIT project ID to which the cluster is associated. func (o SkeClusterOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *SkeCluster) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) diff --git a/sdk/go/stackit/skeKubeconfig.go b/sdk/go/stackit/skeKubeconfig.go index 510f7941..c9a75adc 100644 --- a/sdk/go/stackit/skeKubeconfig.go +++ b/sdk/go/stackit/skeKubeconfig.go @@ -33,6 +33,10 @@ type SkeKubeconfig struct { ProjectId pulumi.StringOutput `pulumi:"projectId"` // If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place Refresh pulumi.BoolPtrOutput `pulumi:"refresh"` + // Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + RefreshBefore pulumi.IntPtrOutput `pulumi:"refreshBefore"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringOutput `pulumi:"region"` } // NewSkeKubeconfig registers a new resource with the given unique name, arguments, and options. @@ -90,6 +94,10 @@ type skeKubeconfigState struct { ProjectId *string `pulumi:"projectId"` // If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place Refresh *bool `pulumi:"refresh"` + // Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + RefreshBefore *int `pulumi:"refreshBefore"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` } type SkeKubeconfigState struct { @@ -108,6 +116,10 @@ type SkeKubeconfigState struct { ProjectId pulumi.StringPtrInput // If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place Refresh pulumi.BoolPtrInput + // Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + RefreshBefore pulumi.IntPtrInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput } func (SkeKubeconfigState) ElementType() reflect.Type { @@ -123,6 +135,10 @@ type skeKubeconfigArgs struct { ProjectId string `pulumi:"projectId"` // If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place Refresh *bool `pulumi:"refresh"` + // Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + RefreshBefore *int `pulumi:"refreshBefore"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` } // The set of arguments for constructing a SkeKubeconfig resource. @@ -135,6 +151,10 @@ type SkeKubeconfigArgs struct { ProjectId pulumi.StringInput // If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place Refresh pulumi.BoolPtrInput + // Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + RefreshBefore pulumi.IntPtrInput + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput } func (SkeKubeconfigArgs) ElementType() reflect.Type { @@ -263,6 +283,16 @@ func (o SkeKubeconfigOutput) Refresh() pulumi.BoolPtrOutput { return o.ApplyT(func(v *SkeKubeconfig) pulumi.BoolPtrOutput { return v.Refresh }).(pulumi.BoolPtrOutput) } +// Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. +func (o SkeKubeconfigOutput) RefreshBefore() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SkeKubeconfig) pulumi.IntPtrOutput { return v.RefreshBefore }).(pulumi.IntPtrOutput) +} + +// The resource region. If not defined, the provider region is used. +func (o SkeKubeconfigOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *SkeKubeconfig) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + type SkeKubeconfigArrayOutput struct{ *pulumi.OutputState } func (SkeKubeconfigArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/stackit/sqlserverflexUser.go b/sdk/go/stackit/sqlserverflexUser.go index a53bb2c5..35acebb3 100644 --- a/sdk/go/stackit/sqlserverflexUser.go +++ b/sdk/go/stackit/sqlserverflexUser.go @@ -48,6 +48,9 @@ func NewSqlserverflexUser(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } + if args.Roles == nil { + return nil, errors.New("invalid value for required argument 'Roles'") + } if args.Username == nil { return nil, errors.New("invalid value for required argument 'Username'") } diff --git a/sdk/nodejs/affinityGroup.ts b/sdk/nodejs/affinityGroup.ts index ad9f02c3..56054dcc 100644 --- a/sdk/nodejs/affinityGroup.ts +++ b/sdk/nodejs/affinityGroup.ts @@ -40,23 +40,23 @@ export class AffinityGroup extends pulumi.CustomResource { /** * The affinity group ID. */ - public /*out*/ readonly affinityGroupId!: pulumi.Output; + declare public /*out*/ readonly affinityGroupId: pulumi.Output; /** * The servers that are part of the affinity group. */ - public /*out*/ readonly members!: pulumi.Output; + declare public /*out*/ readonly members: pulumi.Output; /** * The name of the affinity group. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * The policy of the affinity group. */ - public readonly policy!: pulumi.Output; + declare public readonly policy: pulumi.Output; /** * STACKIT Project ID to which the affinity group is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Create a AffinityGroup resource with the given unique name, arguments, and options. @@ -71,22 +71,22 @@ export class AffinityGroup extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as AffinityGroupState | undefined; - resourceInputs["affinityGroupId"] = state ? state.affinityGroupId : undefined; - resourceInputs["members"] = state ? state.members : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["policy"] = state ? state.policy : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; + resourceInputs["affinityGroupId"] = state?.affinityGroupId; + resourceInputs["members"] = state?.members; + resourceInputs["name"] = state?.name; + resourceInputs["policy"] = state?.policy; + resourceInputs["projectId"] = state?.projectId; } else { const args = argsOrState as AffinityGroupArgs | undefined; - if ((!args || args.policy === undefined) && !opts.urn) { + if (args?.policy === undefined && !opts.urn) { throw new Error("Missing required property 'policy'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["policy"] = args ? args.policy : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["policy"] = args?.policy; + resourceInputs["projectId"] = args?.projectId; resourceInputs["affinityGroupId"] = undefined /*out*/; resourceInputs["members"] = undefined /*out*/; } diff --git a/sdk/nodejs/authorizationOrganizationRoleAssignment.ts b/sdk/nodejs/authorizationOrganizationRoleAssignment.ts index 8ab7579c..e6e3bd6a 100644 --- a/sdk/nodejs/authorizationOrganizationRoleAssignment.ts +++ b/sdk/nodejs/authorizationOrganizationRoleAssignment.ts @@ -42,15 +42,15 @@ export class AuthorizationOrganizationRoleAssignment extends pulumi.CustomResour /** * organization Resource to assign the role to. */ - public readonly resourceId!: pulumi.Output; + declare public readonly resourceId: pulumi.Output; /** * Role to be assigned */ - public readonly role!: pulumi.Output; + declare public readonly role: pulumi.Output; /** * Identifier of user, service account or client. Usually email address or name in case of clients */ - public readonly subject!: pulumi.Output; + declare public readonly subject: pulumi.Output; /** * Create a AuthorizationOrganizationRoleAssignment resource with the given unique name, arguments, and options. @@ -65,23 +65,23 @@ export class AuthorizationOrganizationRoleAssignment extends pulumi.CustomResour opts = opts || {}; if (opts.id) { const state = argsOrState as AuthorizationOrganizationRoleAssignmentState | undefined; - resourceInputs["resourceId"] = state ? state.resourceId : undefined; - resourceInputs["role"] = state ? state.role : undefined; - resourceInputs["subject"] = state ? state.subject : undefined; + resourceInputs["resourceId"] = state?.resourceId; + resourceInputs["role"] = state?.role; + resourceInputs["subject"] = state?.subject; } else { const args = argsOrState as AuthorizationOrganizationRoleAssignmentArgs | undefined; - if ((!args || args.resourceId === undefined) && !opts.urn) { + if (args?.resourceId === undefined && !opts.urn) { throw new Error("Missing required property 'resourceId'"); } - if ((!args || args.role === undefined) && !opts.urn) { + if (args?.role === undefined && !opts.urn) { throw new Error("Missing required property 'role'"); } - if ((!args || args.subject === undefined) && !opts.urn) { + if (args?.subject === undefined && !opts.urn) { throw new Error("Missing required property 'subject'"); } - resourceInputs["resourceId"] = args ? args.resourceId : undefined; - resourceInputs["role"] = args ? args.role : undefined; - resourceInputs["subject"] = args ? args.subject : undefined; + resourceInputs["resourceId"] = args?.resourceId; + resourceInputs["role"] = args?.role; + resourceInputs["subject"] = args?.subject; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(AuthorizationOrganizationRoleAssignment.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/authorizationProjectRoleAssignment.ts b/sdk/nodejs/authorizationProjectRoleAssignment.ts index 67ac550e..531a57ac 100644 --- a/sdk/nodejs/authorizationProjectRoleAssignment.ts +++ b/sdk/nodejs/authorizationProjectRoleAssignment.ts @@ -42,15 +42,15 @@ export class AuthorizationProjectRoleAssignment extends pulumi.CustomResource { /** * project Resource to assign the role to. */ - public readonly resourceId!: pulumi.Output; + declare public readonly resourceId: pulumi.Output; /** * Role to be assigned */ - public readonly role!: pulumi.Output; + declare public readonly role: pulumi.Output; /** * Identifier of user, service account or client. Usually email address or name in case of clients */ - public readonly subject!: pulumi.Output; + declare public readonly subject: pulumi.Output; /** * Create a AuthorizationProjectRoleAssignment resource with the given unique name, arguments, and options. @@ -65,23 +65,23 @@ export class AuthorizationProjectRoleAssignment extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as AuthorizationProjectRoleAssignmentState | undefined; - resourceInputs["resourceId"] = state ? state.resourceId : undefined; - resourceInputs["role"] = state ? state.role : undefined; - resourceInputs["subject"] = state ? state.subject : undefined; + resourceInputs["resourceId"] = state?.resourceId; + resourceInputs["role"] = state?.role; + resourceInputs["subject"] = state?.subject; } else { const args = argsOrState as AuthorizationProjectRoleAssignmentArgs | undefined; - if ((!args || args.resourceId === undefined) && !opts.urn) { + if (args?.resourceId === undefined && !opts.urn) { throw new Error("Missing required property 'resourceId'"); } - if ((!args || args.role === undefined) && !opts.urn) { + if (args?.role === undefined && !opts.urn) { throw new Error("Missing required property 'role'"); } - if ((!args || args.subject === undefined) && !opts.urn) { + if (args?.subject === undefined && !opts.urn) { throw new Error("Missing required property 'subject'"); } - resourceInputs["resourceId"] = args ? args.resourceId : undefined; - resourceInputs["role"] = args ? args.role : undefined; - resourceInputs["subject"] = args ? args.subject : undefined; + resourceInputs["resourceId"] = args?.resourceId; + resourceInputs["role"] = args?.role; + resourceInputs["subject"] = args?.subject; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(AuthorizationProjectRoleAssignment.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/cdnCustomDomain.ts b/sdk/nodejs/cdnCustomDomain.ts index 21e6c8e1..1acc81a2 100644 --- a/sdk/nodejs/cdnCustomDomain.ts +++ b/sdk/nodejs/cdnCustomDomain.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** @@ -39,23 +41,27 @@ export class CdnCustomDomain extends pulumi.CustomResource { return obj['__pulumiType'] === CdnCustomDomain.__pulumiType; } + /** + * The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + */ + declare public readonly certificate: pulumi.Output; /** * CDN distribution ID */ - public readonly distributionId!: pulumi.Output; + declare public readonly distributionId: pulumi.Output; /** * List of distribution errors */ - public /*out*/ readonly errors!: pulumi.Output; - public readonly name!: pulumi.Output; + declare public /*out*/ readonly errors: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID associated with the distribution */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Status of the distribution */ - public /*out*/ readonly status!: pulumi.Output; + declare public /*out*/ readonly status: pulumi.Output; /** * Create a CdnCustomDomain resource with the given unique name, arguments, and options. @@ -70,22 +76,24 @@ export class CdnCustomDomain extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as CdnCustomDomainState | undefined; - resourceInputs["distributionId"] = state ? state.distributionId : undefined; - resourceInputs["errors"] = state ? state.errors : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["status"] = state ? state.status : undefined; + resourceInputs["certificate"] = state?.certificate; + resourceInputs["distributionId"] = state?.distributionId; + resourceInputs["errors"] = state?.errors; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["status"] = state?.status; } else { const args = argsOrState as CdnCustomDomainArgs | undefined; - if ((!args || args.distributionId === undefined) && !opts.urn) { + if (args?.distributionId === undefined && !opts.urn) { throw new Error("Missing required property 'distributionId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["distributionId"] = args ? args.distributionId : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["certificate"] = args?.certificate; + resourceInputs["distributionId"] = args?.distributionId; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; resourceInputs["errors"] = undefined /*out*/; resourceInputs["status"] = undefined /*out*/; } @@ -98,6 +106,10 @@ export class CdnCustomDomain extends pulumi.CustomResource { * Input properties used for looking up and filtering CdnCustomDomain resources. */ export interface CdnCustomDomainState { + /** + * The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + */ + certificate?: pulumi.Input; /** * CDN distribution ID */ @@ -121,6 +133,10 @@ export interface CdnCustomDomainState { * The set of arguments for constructing a CdnCustomDomain resource. */ export interface CdnCustomDomainArgs { + /** + * The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + */ + certificate?: pulumi.Input; /** * CDN distribution ID */ diff --git a/sdk/nodejs/cdnDistribution.ts b/sdk/nodejs/cdnDistribution.ts index 6ec78853..1eaf0d9d 100644 --- a/sdk/nodejs/cdnDistribution.ts +++ b/sdk/nodejs/cdnDistribution.ts @@ -44,35 +44,35 @@ export class CdnDistribution extends pulumi.CustomResource { /** * The distribution configuration */ - public readonly config!: pulumi.Output; + declare public readonly config: pulumi.Output; /** * Time when the distribution was created */ - public /*out*/ readonly createdAt!: pulumi.Output; + declare public /*out*/ readonly createdAt: pulumi.Output; /** * CDN distribution ID */ - public /*out*/ readonly distributionId!: pulumi.Output; + declare public /*out*/ readonly distributionId: pulumi.Output; /** * List of configured domains for the distribution */ - public /*out*/ readonly domains!: pulumi.Output; + declare public /*out*/ readonly domains: pulumi.Output; /** * List of distribution errors */ - public /*out*/ readonly errors!: pulumi.Output; + declare public /*out*/ readonly errors: pulumi.Output; /** * STACKIT project ID associated with the distribution */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Status of the distribution */ - public /*out*/ readonly status!: pulumi.Output; + declare public /*out*/ readonly status: pulumi.Output; /** * Time when the distribution was last updated */ - public /*out*/ readonly updatedAt!: pulumi.Output; + declare public /*out*/ readonly updatedAt: pulumi.Output; /** * Create a CdnDistribution resource with the given unique name, arguments, and options. @@ -87,24 +87,24 @@ export class CdnDistribution extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as CdnDistributionState | undefined; - resourceInputs["config"] = state ? state.config : undefined; - resourceInputs["createdAt"] = state ? state.createdAt : undefined; - resourceInputs["distributionId"] = state ? state.distributionId : undefined; - resourceInputs["domains"] = state ? state.domains : undefined; - resourceInputs["errors"] = state ? state.errors : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["status"] = state ? state.status : undefined; - resourceInputs["updatedAt"] = state ? state.updatedAt : undefined; + resourceInputs["config"] = state?.config; + resourceInputs["createdAt"] = state?.createdAt; + resourceInputs["distributionId"] = state?.distributionId; + resourceInputs["domains"] = state?.domains; + resourceInputs["errors"] = state?.errors; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["status"] = state?.status; + resourceInputs["updatedAt"] = state?.updatedAt; } else { const args = argsOrState as CdnDistributionArgs | undefined; - if ((!args || args.config === undefined) && !opts.urn) { + if (args?.config === undefined && !opts.urn) { throw new Error("Missing required property 'config'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["config"] = args ? args.config : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["config"] = args?.config; + resourceInputs["projectId"] = args?.projectId; resourceInputs["createdAt"] = undefined /*out*/; resourceInputs["distributionId"] = undefined /*out*/; resourceInputs["domains"] = undefined /*out*/; diff --git a/sdk/nodejs/config/vars.ts b/sdk/nodejs/config/vars.ts index 5409fd83..53cda7c5 100644 --- a/sdk/nodejs/config/vars.ts +++ b/sdk/nodejs/config/vars.ts @@ -7,17 +7,6 @@ import * as utilities from "../utilities"; declare var exports: any; const __config = new pulumi.Config("stackit"); -/** - * Custom endpoint for the Argus service - */ -export declare const argusCustomEndpoint: string | undefined; -Object.defineProperty(exports, "argusCustomEndpoint", { - get() { - return __config.get("argusCustomEndpoint"); - }, - enumerable: true, -}); - /** * Custom endpoint for the Membership service */ @@ -41,8 +30,7 @@ Object.defineProperty(exports, "cdnCustomEndpoint", { }); /** - * Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - * value is `~/.stackit/credentials.json`. + * Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. */ export declare const credentialsPath: string | undefined; Object.defineProperty(exports, "credentialsPath", { @@ -86,8 +74,7 @@ Object.defineProperty(exports, "enableBetaResources", { }); /** - * Enables experiments. These are unstable features without official support. More information can be found in the README. - * Available Experiments: [iam] + * Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network */ export declare const experiments: string[] | undefined; Object.defineProperty(exports, "experiments", { @@ -219,8 +206,7 @@ Object.defineProperty(exports, "postgresflexCustomEndpoint", { }); /** - * Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - * included in the service account key. + * Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. */ export declare const privateKey: string | undefined; Object.defineProperty(exports, "privateKey", { @@ -231,8 +217,7 @@ Object.defineProperty(exports, "privateKey", { }); /** - * Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - * key that is included in the service account key. + * Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. */ export declare const privateKeyPath: string | undefined; Object.defineProperty(exports, "privateKeyPath", { @@ -286,6 +271,17 @@ Object.defineProperty(exports, "resourcemanagerCustomEndpoint", { enumerable: true, }); +/** + * Custom endpoint for the Cloud Foundry (SCF) service + */ +export declare const scfCustomEndpoint: string | undefined; +Object.defineProperty(exports, "scfCustomEndpoint", { + get() { + return __config.get("scfCustomEndpoint"); + }, + enumerable: true, +}); + /** * Custom endpoint for the Secrets Manager service */ @@ -331,8 +327,7 @@ Object.defineProperty(exports, "serviceAccountCustomEndpoint", { }); /** - * Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - * if you want to use the resource manager project resource. + * Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. */ export declare const serviceAccountEmail: string | undefined; Object.defineProperty(exports, "serviceAccountEmail", { @@ -354,8 +349,7 @@ Object.defineProperty(exports, "serviceAccountKey", { }); /** - * Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - * operations. + * Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. */ export declare const serviceAccountKeyPath: string | undefined; Object.defineProperty(exports, "serviceAccountKeyPath", { diff --git a/sdk/nodejs/dnsRecordSet.ts b/sdk/nodejs/dnsRecordSet.ts index 5d17074e..c3cec6f8 100644 --- a/sdk/nodejs/dnsRecordSet.ts +++ b/sdk/nodejs/dnsRecordSet.ts @@ -40,51 +40,51 @@ export class DnsRecordSet extends pulumi.CustomResource { /** * Specifies if the record set is active or not. Defaults to `true` */ - public readonly active!: pulumi.Output; + declare public readonly active: pulumi.Output; /** * Comment. */ - public readonly comment!: pulumi.Output; + declare public readonly comment: pulumi.Output; /** * Error shows error in case create/update/delete failed. */ - public /*out*/ readonly error!: pulumi.Output; + declare public /*out*/ readonly error: pulumi.Output; /** * Fully qualified domain name (FQDN) of the record set. */ - public /*out*/ readonly fqdn!: pulumi.Output; + declare public /*out*/ readonly fqdn: pulumi.Output; /** * Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the dns record set is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The rr set id. */ - public /*out*/ readonly recordSetId!: pulumi.Output; + declare public /*out*/ readonly recordSetId: pulumi.Output; /** * Records. */ - public readonly records!: pulumi.Output; + declare public readonly records: pulumi.Output; /** * Record set state. */ - public /*out*/ readonly state!: pulumi.Output; + declare public /*out*/ readonly state: pulumi.Output; /** * Time to live. E.g. 3600 */ - public readonly ttl!: pulumi.Output; + declare public readonly ttl: pulumi.Output; /** * The record set type. E.g. `A` or `CNAME` */ - public readonly type!: pulumi.Output; + declare public readonly type: pulumi.Output; /** * The zone ID to which is dns record set is associated. */ - public readonly zoneId!: pulumi.Output; + declare public readonly zoneId: pulumi.Output; /** * Create a DnsRecordSet resource with the given unique name, arguments, and options. @@ -99,40 +99,40 @@ export class DnsRecordSet extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as DnsRecordSetState | undefined; - resourceInputs["active"] = state ? state.active : undefined; - resourceInputs["comment"] = state ? state.comment : undefined; - resourceInputs["error"] = state ? state.error : undefined; - resourceInputs["fqdn"] = state ? state.fqdn : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["recordSetId"] = state ? state.recordSetId : undefined; - resourceInputs["records"] = state ? state.records : undefined; - resourceInputs["state"] = state ? state.state : undefined; - resourceInputs["ttl"] = state ? state.ttl : undefined; - resourceInputs["type"] = state ? state.type : undefined; - resourceInputs["zoneId"] = state ? state.zoneId : undefined; + resourceInputs["active"] = state?.active; + resourceInputs["comment"] = state?.comment; + resourceInputs["error"] = state?.error; + resourceInputs["fqdn"] = state?.fqdn; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["recordSetId"] = state?.recordSetId; + resourceInputs["records"] = state?.records; + resourceInputs["state"] = state?.state; + resourceInputs["ttl"] = state?.ttl; + resourceInputs["type"] = state?.type; + resourceInputs["zoneId"] = state?.zoneId; } else { const args = argsOrState as DnsRecordSetArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.records === undefined) && !opts.urn) { + if (args?.records === undefined && !opts.urn) { throw new Error("Missing required property 'records'"); } - if ((!args || args.type === undefined) && !opts.urn) { + if (args?.type === undefined && !opts.urn) { throw new Error("Missing required property 'type'"); } - if ((!args || args.zoneId === undefined) && !opts.urn) { + if (args?.zoneId === undefined && !opts.urn) { throw new Error("Missing required property 'zoneId'"); } - resourceInputs["active"] = args ? args.active : undefined; - resourceInputs["comment"] = args ? args.comment : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["records"] = args ? args.records : undefined; - resourceInputs["ttl"] = args ? args.ttl : undefined; - resourceInputs["type"] = args ? args.type : undefined; - resourceInputs["zoneId"] = args ? args.zoneId : undefined; + resourceInputs["active"] = args?.active; + resourceInputs["comment"] = args?.comment; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["records"] = args?.records; + resourceInputs["ttl"] = args?.ttl; + resourceInputs["type"] = args?.type; + resourceInputs["zoneId"] = args?.zoneId; resourceInputs["error"] = undefined /*out*/; resourceInputs["fqdn"] = undefined /*out*/; resourceInputs["recordSetId"] = undefined /*out*/; diff --git a/sdk/nodejs/dnsZone.ts b/sdk/nodejs/dnsZone.ts index c63ed924..33c92a6e 100644 --- a/sdk/nodejs/dnsZone.ts +++ b/sdk/nodejs/dnsZone.ts @@ -40,84 +40,84 @@ export class DnsZone extends pulumi.CustomResource { /** * The access control list. E.g. `0.0.0.0/0,::/0` */ - public readonly acl!: pulumi.Output; - public readonly active!: pulumi.Output; + declare public readonly acl: pulumi.Output; + declare public readonly active: pulumi.Output; /** * A contact e-mail for the zone. */ - public readonly contactEmail!: pulumi.Output; + declare public readonly contactEmail: pulumi.Output; /** * Default time to live. E.g. 3600. */ - public readonly defaultTtl!: pulumi.Output; + declare public readonly defaultTtl: pulumi.Output; /** * Description of the zone. */ - public readonly description!: pulumi.Output; + declare public readonly description: pulumi.Output; /** * The zone name. E.g. `example.com` */ - public readonly dnsName!: pulumi.Output; + declare public readonly dnsName: pulumi.Output; /** * Expire time. E.g. 1209600. */ - public readonly expireTime!: pulumi.Output; + declare public readonly expireTime: pulumi.Output; /** * Specifies, if the zone is a reverse zone or not. Defaults to `false` */ - public readonly isReverseZone!: pulumi.Output; + declare public readonly isReverseZone: pulumi.Output; /** * The user given name of the zone. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * Negative caching. E.g. 60 */ - public readonly negativeCache!: pulumi.Output; + declare public readonly negativeCache: pulumi.Output; /** * Primary name server for secondary zone. E.g. ["1.2.3.4"] */ - public readonly primaries!: pulumi.Output; + declare public readonly primaries: pulumi.Output; /** * Primary name server. FQDN. */ - public /*out*/ readonly primaryNameServer!: pulumi.Output; + declare public /*out*/ readonly primaryNameServer: pulumi.Output; /** * STACKIT project ID to which the dns zone is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Record count how many records are in the zone. */ - public /*out*/ readonly recordCount!: pulumi.Output; + declare public /*out*/ readonly recordCount: pulumi.Output; /** * Refresh time. E.g. 3600 */ - public readonly refreshTime!: pulumi.Output; + declare public readonly refreshTime: pulumi.Output; /** * Retry time. E.g. 600 */ - public readonly retryTime!: pulumi.Output; + declare public readonly retryTime: pulumi.Output; /** * Serial number. E.g. `2022111400`. */ - public /*out*/ readonly serialNumber!: pulumi.Output; + declare public /*out*/ readonly serialNumber: pulumi.Output; /** * Zone state. E.g. `CREATE_SUCCEEDED`. */ - public /*out*/ readonly state!: pulumi.Output; + declare public /*out*/ readonly state: pulumi.Output; /** * Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. */ - public readonly type!: pulumi.Output; + declare public readonly type: pulumi.Output; /** * Visibility of the zone. E.g. `public`. */ - public /*out*/ readonly visibility!: pulumi.Output; + declare public /*out*/ readonly visibility: pulumi.Output; /** * The zone ID. */ - public /*out*/ readonly zoneId!: pulumi.Output; + declare public /*out*/ readonly zoneId: pulumi.Output; /** * Create a DnsZone resource with the given unique name, arguments, and options. @@ -132,50 +132,50 @@ export class DnsZone extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as DnsZoneState | undefined; - resourceInputs["acl"] = state ? state.acl : undefined; - resourceInputs["active"] = state ? state.active : undefined; - resourceInputs["contactEmail"] = state ? state.contactEmail : undefined; - resourceInputs["defaultTtl"] = state ? state.defaultTtl : undefined; - resourceInputs["description"] = state ? state.description : undefined; - resourceInputs["dnsName"] = state ? state.dnsName : undefined; - resourceInputs["expireTime"] = state ? state.expireTime : undefined; - resourceInputs["isReverseZone"] = state ? state.isReverseZone : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["negativeCache"] = state ? state.negativeCache : undefined; - resourceInputs["primaries"] = state ? state.primaries : undefined; - resourceInputs["primaryNameServer"] = state ? state.primaryNameServer : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["recordCount"] = state ? state.recordCount : undefined; - resourceInputs["refreshTime"] = state ? state.refreshTime : undefined; - resourceInputs["retryTime"] = state ? state.retryTime : undefined; - resourceInputs["serialNumber"] = state ? state.serialNumber : undefined; - resourceInputs["state"] = state ? state.state : undefined; - resourceInputs["type"] = state ? state.type : undefined; - resourceInputs["visibility"] = state ? state.visibility : undefined; - resourceInputs["zoneId"] = state ? state.zoneId : undefined; + resourceInputs["acl"] = state?.acl; + resourceInputs["active"] = state?.active; + resourceInputs["contactEmail"] = state?.contactEmail; + resourceInputs["defaultTtl"] = state?.defaultTtl; + resourceInputs["description"] = state?.description; + resourceInputs["dnsName"] = state?.dnsName; + resourceInputs["expireTime"] = state?.expireTime; + resourceInputs["isReverseZone"] = state?.isReverseZone; + resourceInputs["name"] = state?.name; + resourceInputs["negativeCache"] = state?.negativeCache; + resourceInputs["primaries"] = state?.primaries; + resourceInputs["primaryNameServer"] = state?.primaryNameServer; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["recordCount"] = state?.recordCount; + resourceInputs["refreshTime"] = state?.refreshTime; + resourceInputs["retryTime"] = state?.retryTime; + resourceInputs["serialNumber"] = state?.serialNumber; + resourceInputs["state"] = state?.state; + resourceInputs["type"] = state?.type; + resourceInputs["visibility"] = state?.visibility; + resourceInputs["zoneId"] = state?.zoneId; } else { const args = argsOrState as DnsZoneArgs | undefined; - if ((!args || args.dnsName === undefined) && !opts.urn) { + if (args?.dnsName === undefined && !opts.urn) { throw new Error("Missing required property 'dnsName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["acl"] = args ? args.acl : undefined; - resourceInputs["active"] = args ? args.active : undefined; - resourceInputs["contactEmail"] = args ? args.contactEmail : undefined; - resourceInputs["defaultTtl"] = args ? args.defaultTtl : undefined; - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["dnsName"] = args ? args.dnsName : undefined; - resourceInputs["expireTime"] = args ? args.expireTime : undefined; - resourceInputs["isReverseZone"] = args ? args.isReverseZone : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["negativeCache"] = args ? args.negativeCache : undefined; - resourceInputs["primaries"] = args ? args.primaries : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["refreshTime"] = args ? args.refreshTime : undefined; - resourceInputs["retryTime"] = args ? args.retryTime : undefined; - resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["acl"] = args?.acl; + resourceInputs["active"] = args?.active; + resourceInputs["contactEmail"] = args?.contactEmail; + resourceInputs["defaultTtl"] = args?.defaultTtl; + resourceInputs["description"] = args?.description; + resourceInputs["dnsName"] = args?.dnsName; + resourceInputs["expireTime"] = args?.expireTime; + resourceInputs["isReverseZone"] = args?.isReverseZone; + resourceInputs["name"] = args?.name; + resourceInputs["negativeCache"] = args?.negativeCache; + resourceInputs["primaries"] = args?.primaries; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["refreshTime"] = args?.refreshTime; + resourceInputs["retryTime"] = args?.retryTime; + resourceInputs["type"] = args?.type; resourceInputs["primaryNameServer"] = undefined /*out*/; resourceInputs["recordCount"] = undefined /*out*/; resourceInputs["serialNumber"] = undefined /*out*/; diff --git a/sdk/nodejs/getCdnCustomDomain.ts b/sdk/nodejs/getCdnCustomDomain.ts index 57fcf1a7..0fd60f29 100644 --- a/sdk/nodejs/getCdnCustomDomain.ts +++ b/sdk/nodejs/getCdnCustomDomain.ts @@ -2,18 +2,21 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** * CDN distribution data source schema. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ export function getCdnCustomDomain(args: GetCdnCustomDomainArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("stackit:index/getCdnCustomDomain:getCdnCustomDomain", { + "certificate": args.certificate, "distributionId": args.distributionId, "name": args.name, "projectId": args.projectId, @@ -24,6 +27,10 @@ export function getCdnCustomDomain(args: GetCdnCustomDomainArgs, opts?: pulumi.I * A collection of arguments for invoking getCdnCustomDomain. */ export interface GetCdnCustomDomainArgs { + /** + * The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + */ + certificate?: inputs.GetCdnCustomDomainCertificate; /** * CDN distribution ID */ @@ -39,6 +46,10 @@ export interface GetCdnCustomDomainArgs { * A collection of values returned by getCdnCustomDomain. */ export interface GetCdnCustomDomainResult { + /** + * The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + */ + readonly certificate?: outputs.GetCdnCustomDomainCertificate; /** * CDN distribution ID */ @@ -61,13 +72,14 @@ export interface GetCdnCustomDomainResult { /** * CDN distribution data source schema. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ export function getCdnCustomDomainOutput(args: GetCdnCustomDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("stackit:index/getCdnCustomDomain:getCdnCustomDomain", { + "certificate": args.certificate, "distributionId": args.distributionId, "name": args.name, "projectId": args.projectId, @@ -78,6 +90,10 @@ export function getCdnCustomDomainOutput(args: GetCdnCustomDomainOutputArgs, opt * A collection of arguments for invoking getCdnCustomDomain. */ export interface GetCdnCustomDomainOutputArgs { + /** + * The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + */ + certificate?: pulumi.Input; /** * CDN distribution ID */ diff --git a/sdk/nodejs/getCdnDistribution.ts b/sdk/nodejs/getCdnDistribution.ts index e9c82d90..8f446e4e 100644 --- a/sdk/nodejs/getCdnDistribution.ts +++ b/sdk/nodejs/getCdnDistribution.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; /** * CDN distribution data source schema. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ @@ -76,7 +76,7 @@ export interface GetCdnDistributionResult { /** * CDN distribution data source schema. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ diff --git a/sdk/nodejs/getGit.ts b/sdk/nodejs/getGit.ts index 48e51679..14857860 100644 --- a/sdk/nodejs/getGit.ts +++ b/sdk/nodejs/getGit.ts @@ -7,7 +7,7 @@ import * as utilities from "./utilities"; /** * Git Instance datasource schema. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ @@ -37,6 +37,26 @@ export interface GetGitArgs { * A collection of values returned by getGit. */ export interface GetGitResult { + /** + * Restricted ACL for instance access. + */ + readonly acls: string[]; + /** + * How many bytes of disk space is consumed. + */ + readonly consumedDisk: string; + /** + * How many bytes of Object Storage is consumed. + */ + readonly consumedObjectStorage: string; + /** + * Instance creation timestamp in RFC3339 format. + */ + readonly created: string; + /** + * Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + */ + readonly flavor: string; readonly id: string; /** * ID linked to the git instance. @@ -62,7 +82,7 @@ export interface GetGitResult { /** * Git Instance datasource schema. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ diff --git a/sdk/nodejs/getIaasProject.ts b/sdk/nodejs/getIaasProject.ts new file mode 100644 index 00000000..9baa02fe --- /dev/null +++ b/sdk/nodejs/getIaasProject.ts @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Project details. Must have a `region` specified in the provider configuration. + * + * ## Example Usage + */ +export function getIaasProject(args: GetIaasProjectArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getIaasProject:getIaasProject", { + "projectId": args.projectId, + }, opts); +} + +/** + * A collection of arguments for invoking getIaasProject. + */ +export interface GetIaasProjectArgs { + /** + * STACKIT project ID. + */ + projectId: string; +} + +/** + * A collection of values returned by getIaasProject. + */ +export interface GetIaasProjectResult { + /** + * The area ID to which the project belongs to. + */ + readonly areaId: string; + /** + * Date-time when the project was created. + */ + readonly createdAt: string; + readonly id: string; + /** + * Specifies if the project has internet_access + */ + readonly internetAccess: boolean; + /** + * STACKIT project ID. + */ + readonly projectId: string; + /** + * Specifies the state of the project. + */ + readonly state: string; + /** + * Date-time when the project was last updated. + */ + readonly updatedAt: string; +} +/** + * Project details. Must have a `region` specified in the provider configuration. + * + * ## Example Usage + */ +export function getIaasProjectOutput(args: GetIaasProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getIaasProject:getIaasProject", { + "projectId": args.projectId, + }, opts); +} + +/** + * A collection of arguments for invoking getIaasProject. + */ +export interface GetIaasProjectOutputArgs { + /** + * STACKIT project ID. + */ + projectId: pulumi.Input; +} diff --git a/sdk/nodejs/getImageV2.ts b/sdk/nodejs/getImageV2.ts new file mode 100644 index 00000000..b891f93a --- /dev/null +++ b/sdk/nodejs/getImageV2.ts @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * ## Example Usage + */ +export function getImageV2(args: GetImageV2Args, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getImageV2:getImageV2", { + "filter": args.filter, + "imageId": args.imageId, + "name": args.name, + "nameRegex": args.nameRegex, + "projectId": args.projectId, + "sortAscending": args.sortAscending, + }, opts); +} + +/** + * A collection of arguments for invoking getImageV2. + */ +export interface GetImageV2Args { + /** + * Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `nameRegex`. + */ + filter?: inputs.GetImageV2Filter; + /** + * Image ID to fetch directly + */ + imageId?: string; + /** + * Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `nameRegex`. + */ + name?: string; + /** + * Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + */ + nameRegex?: string; + /** + * STACKIT project ID to which the image is associated. + */ + projectId: string; + /** + * If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + */ + sortAscending?: boolean; +} + +/** + * A collection of values returned by getImageV2. + */ +export interface GetImageV2Result { + /** + * Representation of an image checksum. + */ + readonly checksum: outputs.GetImageV2Checksum; + /** + * Properties to set hardware and scheduling settings for an image. + */ + readonly config: outputs.GetImageV2Config; + /** + * The disk format of the image. + */ + readonly diskFormat: string; + /** + * Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `nameRegex`. + */ + readonly filter?: outputs.GetImageV2Filter; + readonly id: string; + /** + * Image ID to fetch directly + */ + readonly imageId?: string; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + readonly labels: {[key: string]: string}; + /** + * The minimum disk size of the image in GB. + */ + readonly minDiskSize: number; + /** + * The minimum RAM of the image in MB. + */ + readonly minRam: number; + /** + * Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `nameRegex`. + */ + readonly name?: string; + /** + * Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + */ + readonly nameRegex?: string; + /** + * STACKIT project ID to which the image is associated. + */ + readonly projectId: string; + /** + * Whether the image is protected. + */ + readonly protected: boolean; + /** + * The scope of the image. + */ + readonly scope: string; + /** + * If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + */ + readonly sortAscending?: boolean; +} +/** + * ## Example Usage + */ +export function getImageV2Output(args: GetImageV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getImageV2:getImageV2", { + "filter": args.filter, + "imageId": args.imageId, + "name": args.name, + "nameRegex": args.nameRegex, + "projectId": args.projectId, + "sortAscending": args.sortAscending, + }, opts); +} + +/** + * A collection of arguments for invoking getImageV2. + */ +export interface GetImageV2OutputArgs { + /** + * Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `nameRegex`. + */ + filter?: pulumi.Input; + /** + * Image ID to fetch directly + */ + imageId?: pulumi.Input; + /** + * Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `nameRegex`. + */ + name?: pulumi.Input; + /** + * Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + */ + nameRegex?: pulumi.Input; + /** + * STACKIT project ID to which the image is associated. + */ + projectId: pulumi.Input; + /** + * If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + */ + sortAscending?: pulumi.Input; +} diff --git a/sdk/nodejs/getLoadbalancer.ts b/sdk/nodejs/getLoadbalancer.ts index cfaa59f2..f3e51fb0 100644 --- a/sdk/nodejs/getLoadbalancer.ts +++ b/sdk/nodejs/getLoadbalancer.ts @@ -42,6 +42,10 @@ export interface GetLoadbalancerArgs { * A collection of values returned by getLoadbalancer. */ export interface GetLoadbalancerResult { + /** + * If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT Network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + */ + readonly disableSecurityGroupAssignment: boolean; /** * External Load Balancer IP address where this Load Balancer is exposed. */ @@ -63,6 +67,10 @@ export interface GetLoadbalancerResult { * Defines any optional functionality you want to have enabled on your load balancer. */ readonly options: outputs.GetLoadbalancerOptions; + /** + * The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + */ + readonly planId: string; /** * Transient private Load Balancer IP address. It can change any time. */ @@ -75,6 +83,10 @@ export interface GetLoadbalancerResult { * The resource region. If not defined, the provider region is used. */ readonly region?: string; + /** + * The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. + */ + readonly securityGroupId: string; /** * List of all target pools which will be used in the Load Balancer. Limited to 20. */ diff --git a/sdk/nodejs/getMachineType.ts b/sdk/nodejs/getMachineType.ts new file mode 100644 index 00000000..2c2b80f9 --- /dev/null +++ b/sdk/nodejs/getMachineType.ts @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Machine type data source. + * + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * + * ## Example Usage + */ +export function getMachineType(args: GetMachineTypeArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getMachineType:getMachineType", { + "filter": args.filter, + "projectId": args.projectId, + "sortAscending": args.sortAscending, + }, opts); +} + +/** + * A collection of arguments for invoking getMachineType. + */ +export interface GetMachineTypeArgs { + /** + * Expr-lang filter for filtering machine types. + */ + filter: string; + projectId: string; + sortAscending?: boolean; +} + +/** + * A collection of values returned by getMachineType. + */ +export interface GetMachineTypeResult { + readonly description: string; + readonly disk: number; + readonly extraSpecs: {[key: string]: string}; + /** + * Expr-lang filter for filtering machine types. + */ + readonly filter: string; + readonly id: string; + readonly name: string; + readonly projectId: string; + readonly ram: number; + readonly sortAscending?: boolean; + readonly vcpus: number; +} +/** + * Machine type data source. + * + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * + * ## Example Usage + */ +export function getMachineTypeOutput(args: GetMachineTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getMachineType:getMachineType", { + "filter": args.filter, + "projectId": args.projectId, + "sortAscending": args.sortAscending, + }, opts); +} + +/** + * A collection of arguments for invoking getMachineType. + */ +export interface GetMachineTypeOutputArgs { + /** + * Expr-lang filter for filtering machine types. + */ + filter: pulumi.Input; + projectId: pulumi.Input; + sortAscending?: pulumi.Input; +} diff --git a/sdk/nodejs/getMongodbflexInstance.ts b/sdk/nodejs/getMongodbflexInstance.ts index 30f41047..b86c86bc 100644 --- a/sdk/nodejs/getMongodbflexInstance.ts +++ b/sdk/nodejs/getMongodbflexInstance.ts @@ -16,6 +16,7 @@ export function getMongodbflexInstance(args: GetMongodbflexInstanceArgs, opts?: return pulumi.runtime.invoke("stackit:index/getMongodbflexInstance:getMongodbflexInstance", { "instanceId": args.instanceId, "projectId": args.projectId, + "region": args.region, }, opts); } @@ -31,6 +32,10 @@ export interface GetMongodbflexInstanceArgs { * STACKIT project ID to which the instance is associated. */ projectId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: string; } /** @@ -63,6 +68,10 @@ export interface GetMongodbflexInstanceResult { * STACKIT project ID to which the instance is associated. */ readonly projectId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + readonly region: string; readonly replicas: number; readonly storage: outputs.GetMongodbflexInstanceStorage; readonly version: string; @@ -77,6 +86,7 @@ export function getMongodbflexInstanceOutput(args: GetMongodbflexInstanceOutputA return pulumi.runtime.invokeOutput("stackit:index/getMongodbflexInstance:getMongodbflexInstance", { "instanceId": args.instanceId, "projectId": args.projectId, + "region": args.region, }, opts); } @@ -92,4 +102,8 @@ export interface GetMongodbflexInstanceOutputArgs { * STACKIT project ID to which the instance is associated. */ projectId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; } diff --git a/sdk/nodejs/getMongodbflexUser.ts b/sdk/nodejs/getMongodbflexUser.ts index 849fc9a7..095477ef 100644 --- a/sdk/nodejs/getMongodbflexUser.ts +++ b/sdk/nodejs/getMongodbflexUser.ts @@ -14,6 +14,7 @@ export function getMongodbflexUser(args: GetMongodbflexUserArgs, opts?: pulumi.I return pulumi.runtime.invoke("stackit:index/getMongodbflexUser:getMongodbflexUser", { "instanceId": args.instanceId, "projectId": args.projectId, + "region": args.region, "userId": args.userId, }, opts); } @@ -30,6 +31,10 @@ export interface GetMongodbflexUserArgs { * STACKIT project ID to which the instance is associated. */ projectId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: string; /** * User ID. */ @@ -52,6 +57,10 @@ export interface GetMongodbflexUserResult { * STACKIT project ID to which the instance is associated. */ readonly projectId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + readonly region: string; readonly roles: string[]; /** * User ID. @@ -69,6 +78,7 @@ export function getMongodbflexUserOutput(args: GetMongodbflexUserOutputArgs, opt return pulumi.runtime.invokeOutput("stackit:index/getMongodbflexUser:getMongodbflexUser", { "instanceId": args.instanceId, "projectId": args.projectId, + "region": args.region, "userId": args.userId, }, opts); } @@ -85,6 +95,10 @@ export interface GetMongodbflexUserOutputArgs { * STACKIT project ID to which the instance is associated. */ projectId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; /** * User ID. */ diff --git a/sdk/nodejs/getNetwork.ts b/sdk/nodejs/getNetwork.ts index 1ed1738f..a445defe 100644 --- a/sdk/nodejs/getNetwork.ts +++ b/sdk/nodejs/getNetwork.ts @@ -14,6 +14,7 @@ export function getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): P return pulumi.runtime.invoke("stackit:index/getNetwork:getNetwork", { "networkId": args.networkId, "projectId": args.projectId, + "region": args.region, }, opts); } @@ -29,6 +30,11 @@ export interface GetNetworkArgs { * STACKIT project ID to which the network is associated. */ projectId: string; + /** + * Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + * The resource region. If not defined, the provider region is used. + */ + region?: string; } /** @@ -112,10 +118,20 @@ export interface GetNetworkResult { * The public IP of the network. */ readonly publicIp: string; + /** + * Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + * The resource region. If not defined, the provider region is used. + */ + readonly region?: string; /** * Shows if the network is routed and therefore accessible from other networks. */ readonly routed: boolean; + /** + * Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * The ID of the routing table associated with the network. + */ + readonly routingTableId: string; } /** * Network resource schema. Must have a `region` specified in the provider configuration. @@ -127,6 +143,7 @@ export function getNetworkOutput(args: GetNetworkOutputArgs, opts?: pulumi.Invok return pulumi.runtime.invokeOutput("stackit:index/getNetwork:getNetwork", { "networkId": args.networkId, "projectId": args.projectId, + "region": args.region, }, opts); } @@ -142,4 +159,9 @@ export interface GetNetworkOutputArgs { * STACKIT project ID to which the network is associated. */ projectId: pulumi.Input; + /** + * Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; } diff --git a/sdk/nodejs/getObservabilityInstance.ts b/sdk/nodejs/getObservabilityInstance.ts index 54097165..d55692c7 100644 --- a/sdk/nodejs/getObservabilityInstance.ts +++ b/sdk/nodejs/getObservabilityInstance.ts @@ -93,15 +93,15 @@ export interface GetObservabilityInstanceResult { */ readonly metricsPushUrl: string; /** - * Specifies for how many days the raw metrics are kept. + * Specifies for how many days the raw metrics are kept. Default is set to `90`. */ readonly metricsRetentionDays: number; /** - * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. */ readonly metricsRetentionDays1hDownsampling: number; /** - * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. */ readonly metricsRetentionDays5mDownsampling: number; /** diff --git a/sdk/nodejs/getPublicIpRanges.ts b/sdk/nodejs/getPublicIpRanges.ts index f0a51321..8ba34b05 100644 --- a/sdk/nodejs/getPublicIpRanges.ts +++ b/sdk/nodejs/getPublicIpRanges.ts @@ -21,6 +21,10 @@ export function getPublicIpRanges(opts?: pulumi.InvokeOptions): Promise This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * + * ## Example Usage + */ +export function getResourcemanagerFolder(args: GetResourcemanagerFolderArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getResourcemanagerFolder:getResourcemanagerFolder", { + "containerId": args.containerId, + }, opts); +} + +/** + * A collection of arguments for invoking getResourcemanagerFolder. + */ +export interface GetResourcemanagerFolderArgs { + /** + * Folder container ID. Globally unique, user-friendly identifier. + */ + containerId: string; +} + +/** + * A collection of values returned by getResourcemanagerFolder. + */ +export interface GetResourcemanagerFolderResult { + /** + * Folder container ID. Globally unique, user-friendly identifier. + */ + readonly containerId: string; + /** + * Date-time at which the folder was created. + */ + readonly creationTime: string; + /** + * Folder UUID identifier. Globally unique folder identifier + */ + readonly folderId: string; + readonly id: string; + /** + * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + */ + readonly labels: {[key: string]: string}; + /** + * The name of the folder. + */ + readonly name: string; + /** + * Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + */ + readonly parentContainerId: string; + /** + * Date-time at which the folder was last modified. + */ + readonly updateTime: string; +} +/** + * Resource Manager folder data source schema. To identify the folder, you need to provide the container_id. + * + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * + * ## Example Usage + */ +export function getResourcemanagerFolderOutput(args: GetResourcemanagerFolderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getResourcemanagerFolder:getResourcemanagerFolder", { + "containerId": args.containerId, + }, opts); +} + +/** + * A collection of arguments for invoking getResourcemanagerFolder. + */ +export interface GetResourcemanagerFolderOutputArgs { + /** + * Folder container ID. Globally unique, user-friendly identifier. + */ + containerId: pulumi.Input; +} diff --git a/sdk/nodejs/getResourcemanagerProject.ts b/sdk/nodejs/getResourcemanagerProject.ts index cba043e6..6327d1f6 100644 --- a/sdk/nodejs/getResourcemanagerProject.ts +++ b/sdk/nodejs/getResourcemanagerProject.ts @@ -40,6 +40,10 @@ export interface GetResourcemanagerProjectResult { * Project container ID. Globally unique, user-friendly identifier. */ readonly containerId?: string; + /** + * Date-time at which the project was created. + */ + readonly creationTime: string; readonly id: string; /** * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64} @@ -57,6 +61,10 @@ export interface GetResourcemanagerProjectResult { * Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. */ readonly projectId?: string; + /** + * Date-time at which the project was last modified. + */ + readonly updateTime: string; } /** * Resource Manager project data source schema. To identify the project, you need to provider either projectId or container_id. If you provide both, projectId will be used. diff --git a/sdk/nodejs/getRoutingTable.ts b/sdk/nodejs/getRoutingTable.ts new file mode 100644 index 00000000..5afc77bd --- /dev/null +++ b/sdk/nodejs/getRoutingTable.ts @@ -0,0 +1,133 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Routing table datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTable(args: GetRoutingTableArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getRoutingTable:getRoutingTable", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + "routingTableId": args.routingTableId, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTable. + */ +export interface GetRoutingTableArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: string; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: string; + /** + * The routing tables ID. + */ + routingTableId: string; +} + +/** + * A collection of values returned by getRoutingTable. + */ +export interface GetRoutingTableResult { + /** + * Date-time when the routing table was created + */ + readonly createdAt: string; + /** + * When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + */ + readonly default: boolean; + /** + * Description of the routing table. + */ + readonly description: string; + readonly id: string; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + readonly labels: {[key: string]: string}; + /** + * The name of the routing table. + */ + readonly name: string; + /** + * The network area ID to which the routing table is associated. + */ + readonly networkAreaId: string; + /** + * STACKIT organization ID to which the routing table is associated. + */ + readonly organizationId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + readonly region?: string; + /** + * The routing tables ID. + */ + readonly routingTableId: string; + /** + * This controls whether the routes for project-to-project communication are created automatically or not. + */ + readonly systemRoutes: boolean; + /** + * Date-time when the routing table was updated + */ + readonly updatedAt: string; +} +/** + * Routing table datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTableOutput(args: GetRoutingTableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getRoutingTable:getRoutingTable", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + "routingTableId": args.routingTableId, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTable. + */ +export interface GetRoutingTableOutputArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; + /** + * The routing tables ID. + */ + routingTableId: pulumi.Input; +} diff --git a/sdk/nodejs/getRoutingTableRoute.ts b/sdk/nodejs/getRoutingTableRoute.ts new file mode 100644 index 00000000..9b277eca --- /dev/null +++ b/sdk/nodejs/getRoutingTableRoute.ts @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Routing table route datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTableRoute(args: GetRoutingTableRouteArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getRoutingTableRoute:getRoutingTableRoute", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + "routeId": args.routeId, + "routingTableId": args.routingTableId, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTableRoute. + */ +export interface GetRoutingTableRouteArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: string; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: string; + /** + * Route ID. + */ + routeId: string; + /** + * The routing tables ID. + */ + routingTableId: string; +} + +/** + * A collection of values returned by getRoutingTableRoute. + */ +export interface GetRoutingTableRouteResult { + /** + * Date-time when the route was created + */ + readonly createdAt: string; + /** + * Destination of the route. + */ + readonly destination: outputs.GetRoutingTableRouteDestination; + readonly id: string; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + readonly labels: {[key: string]: string}; + /** + * The network area ID to which the routing table is associated. + */ + readonly networkAreaId: string; + /** + * Next hop destination. + */ + readonly nextHop: outputs.GetRoutingTableRouteNextHop; + /** + * STACKIT organization ID to which the routing table is associated. + */ + readonly organizationId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + readonly region?: string; + /** + * Route ID. + */ + readonly routeId: string; + /** + * The routing tables ID. + */ + readonly routingTableId: string; + /** + * Date-time when the route was updated + */ + readonly updatedAt: string; +} +/** + * Routing table route datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTableRouteOutput(args: GetRoutingTableRouteOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getRoutingTableRoute:getRoutingTableRoute", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + "routeId": args.routeId, + "routingTableId": args.routingTableId, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTableRoute. + */ +export interface GetRoutingTableRouteOutputArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; + /** + * Route ID. + */ + routeId: pulumi.Input; + /** + * The routing tables ID. + */ + routingTableId: pulumi.Input; +} diff --git a/sdk/nodejs/getRoutingTableRoutes.ts b/sdk/nodejs/getRoutingTableRoutes.ts new file mode 100644 index 00000000..074ccd35 --- /dev/null +++ b/sdk/nodejs/getRoutingTableRoutes.ts @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Routing table routes datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTableRoutes(args: GetRoutingTableRoutesArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + "routingTableId": args.routingTableId, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTableRoutes. + */ +export interface GetRoutingTableRoutesArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: string; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: string; + /** + * The datasource region. If not defined, the provider region is used. + */ + region?: string; + /** + * The routing tables ID. + */ + routingTableId: string; +} + +/** + * A collection of values returned by getRoutingTableRoutes. + */ +export interface GetRoutingTableRoutesResult { + readonly id: string; + /** + * The network area ID to which the routing table is associated. + */ + readonly networkAreaId: string; + /** + * STACKIT organization ID to which the routing table is associated. + */ + readonly organizationId: string; + /** + * The datasource region. If not defined, the provider region is used. + */ + readonly region?: string; + /** + * List of routes. + */ + readonly routes: outputs.GetRoutingTableRoutesRoute[]; + /** + * The routing tables ID. + */ + readonly routingTableId: string; +} +/** + * Routing table routes datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTableRoutesOutput(args: GetRoutingTableRoutesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getRoutingTableRoutes:getRoutingTableRoutes", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + "routingTableId": args.routingTableId, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTableRoutes. + */ +export interface GetRoutingTableRoutesOutputArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: pulumi.Input; + /** + * The datasource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; + /** + * The routing tables ID. + */ + routingTableId: pulumi.Input; +} diff --git a/sdk/nodejs/getRoutingTables.ts b/sdk/nodejs/getRoutingTables.ts new file mode 100644 index 00000000..2969b014 --- /dev/null +++ b/sdk/nodejs/getRoutingTables.ts @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Routing table datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTables(args: GetRoutingTablesArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getRoutingTables:getRoutingTables", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTables. + */ +export interface GetRoutingTablesArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: string; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: string; +} + +/** + * A collection of values returned by getRoutingTables. + */ +export interface GetRoutingTablesResult { + readonly id: string; + /** + * List of routing tables. + */ + readonly items: outputs.GetRoutingTablesItem[]; + /** + * The network area ID to which the routing table is associated. + */ + readonly networkAreaId: string; + /** + * STACKIT organization ID to which the routing table is associated. + */ + readonly organizationId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + readonly region?: string; +} +/** + * Routing table datasource schema. Must have a `region` specified in the provider configuration. + * + * > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export function getRoutingTablesOutput(args: GetRoutingTablesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getRoutingTables:getRoutingTables", { + "networkAreaId": args.networkAreaId, + "organizationId": args.organizationId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingTables. + */ +export interface GetRoutingTablesOutputArgs { + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; +} diff --git a/sdk/nodejs/getScfOrganization.ts b/sdk/nodejs/getScfOrganization.ts new file mode 100644 index 00000000..8d8b1f35 --- /dev/null +++ b/sdk/nodejs/getScfOrganization.ts @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. + * + * ## Example Usage + */ +export function getScfOrganization(args: GetScfOrganizationArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getScfOrganization:getScfOrganization", { + "orgId": args.orgId, + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getScfOrganization. + */ +export interface GetScfOrganizationArgs { + /** + * The ID of the Cloud Foundry Organization + */ + orgId: string; + /** + * The ID of the project associated with the organization + */ + projectId: string; + /** + * The resource region. If not defined, the provider region is used + */ + region?: string; +} + +/** + * A collection of values returned by getScfOrganization. + */ +export interface GetScfOrganizationResult { + /** + * The time when the organization was created + */ + readonly createdAt: string; + readonly id: string; + /** + * The name of the organization + */ + readonly name: string; + /** + * The ID of the Cloud Foundry Organization + */ + readonly orgId: string; + /** + * The ID of the platform associated with the organization + */ + readonly platformId: string; + /** + * The ID of the project associated with the organization + */ + readonly projectId: string; + /** + * The ID of the quota associated with the organization + */ + readonly quotaId: string; + /** + * The resource region. If not defined, the provider region is used + */ + readonly region: string; + /** + * The status of the organization (e.g., deleting, delete_failed) + */ + readonly status: string; + /** + * A boolean indicating whether the organization is suspended + */ + readonly suspended: boolean; + /** + * The time when the organization was last updated + */ + readonly updatedAt: string; +} +/** + * STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. + * + * ## Example Usage + */ +export function getScfOrganizationOutput(args: GetScfOrganizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getScfOrganization:getScfOrganization", { + "orgId": args.orgId, + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getScfOrganization. + */ +export interface GetScfOrganizationOutputArgs { + /** + * The ID of the Cloud Foundry Organization + */ + orgId: pulumi.Input; + /** + * The ID of the project associated with the organization + */ + projectId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used + */ + region?: pulumi.Input; +} diff --git a/sdk/nodejs/getScfOrganizationManager.ts b/sdk/nodejs/getScfOrganizationManager.ts new file mode 100644 index 00000000..45f0f62a --- /dev/null +++ b/sdk/nodejs/getScfOrganizationManager.ts @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * STACKIT Cloud Foundry organization manager datasource schema. + * + * ## Example Usage + */ +export function getScfOrganizationManager(args: GetScfOrganizationManagerArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getScfOrganizationManager:getScfOrganizationManager", { + "orgId": args.orgId, + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getScfOrganizationManager. + */ +export interface GetScfOrganizationManagerArgs { + /** + * The ID of the Cloud Foundry Organization + */ + orgId: string; + /** + * The ID of the project associated with the organization of the organization manager + */ + projectId: string; + /** + * The region where the organization of the organization manager is located. If not defined, the provider region is used + */ + region?: string; +} + +/** + * A collection of values returned by getScfOrganizationManager. + */ +export interface GetScfOrganizationManagerResult { + /** + * The time when the organization manager was created + */ + readonly createdAt: string; + readonly id: string; + /** + * The ID of the Cloud Foundry Organization + */ + readonly orgId: string; + /** + * The ID of the platform associated with the organization of the organization manager + */ + readonly platformId: string; + /** + * The ID of the project associated with the organization of the organization manager + */ + readonly projectId: string; + /** + * The region where the organization of the organization manager is located. If not defined, the provider region is used + */ + readonly region: string; + /** + * The time when the organization manager was last updated + */ + readonly updatedAt: string; + /** + * The ID of the organization manager user + */ + readonly userId: string; + /** + * An auto-generated organization manager user name + */ + readonly username: string; +} +/** + * STACKIT Cloud Foundry organization manager datasource schema. + * + * ## Example Usage + */ +export function getScfOrganizationManagerOutput(args: GetScfOrganizationManagerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getScfOrganizationManager:getScfOrganizationManager", { + "orgId": args.orgId, + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getScfOrganizationManager. + */ +export interface GetScfOrganizationManagerOutputArgs { + /** + * The ID of the Cloud Foundry Organization + */ + orgId: pulumi.Input; + /** + * The ID of the project associated with the organization of the organization manager + */ + projectId: pulumi.Input; + /** + * The region where the organization of the organization manager is located. If not defined, the provider region is used + */ + region?: pulumi.Input; +} diff --git a/sdk/nodejs/getScfPlatform.ts b/sdk/nodejs/getScfPlatform.ts new file mode 100644 index 00000000..9c91ba63 --- /dev/null +++ b/sdk/nodejs/getScfPlatform.ts @@ -0,0 +1,103 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * STACKIT Cloud Foundry Platform datasource schema. + * + * ## Example Usage + */ +export function getScfPlatform(args: GetScfPlatformArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getScfPlatform:getScfPlatform", { + "platformId": args.platformId, + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getScfPlatform. + */ +export interface GetScfPlatformArgs { + /** + * The unique id of the platform + */ + platformId: string; + /** + * The ID of the project associated with the platform + */ + projectId: string; + /** + * The region where the platform is located. If not defined, the provider region is used + */ + region?: string; +} + +/** + * A collection of values returned by getScfPlatform. + */ +export interface GetScfPlatformResult { + /** + * The CF API Url of the platform + */ + readonly apiUrl: string; + /** + * The Stratos URL of the platform + */ + readonly consoleUrl: string; + /** + * The name of the platform + */ + readonly displayName: string; + readonly id: string; + /** + * The unique id of the platform + */ + readonly platformId: string; + /** + * The ID of the project associated with the platform + */ + readonly projectId: string; + /** + * The region where the platform is located. If not defined, the provider region is used + */ + readonly region: string; + /** + * The ID of the platform System + */ + readonly systemId: string; +} +/** + * STACKIT Cloud Foundry Platform datasource schema. + * + * ## Example Usage + */ +export function getScfPlatformOutput(args: GetScfPlatformOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getScfPlatform:getScfPlatform", { + "platformId": args.platformId, + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getScfPlatform. + */ +export interface GetScfPlatformOutputArgs { + /** + * The unique id of the platform + */ + platformId: pulumi.Input; + /** + * The ID of the project associated with the platform + */ + projectId: pulumi.Input; + /** + * The region where the platform is located. If not defined, the provider region is used + */ + region?: pulumi.Input; +} diff --git a/sdk/nodejs/getServerBackupSchedule.ts b/sdk/nodejs/getServerBackupSchedule.ts index 73df37b1..6690dfe2 100644 --- a/sdk/nodejs/getServerBackupSchedule.ts +++ b/sdk/nodejs/getServerBackupSchedule.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; /** * Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ @@ -86,7 +86,7 @@ export interface GetServerBackupScheduleResult { /** * Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ diff --git a/sdk/nodejs/getServerBackupSchedules.ts b/sdk/nodejs/getServerBackupSchedules.ts index ed623d14..d6ccadb8 100644 --- a/sdk/nodejs/getServerBackupSchedules.ts +++ b/sdk/nodejs/getServerBackupSchedules.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; /** * Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ @@ -62,7 +62,7 @@ export interface GetServerBackupSchedulesResult { /** * Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ diff --git a/sdk/nodejs/getServerUpdateSchedule.ts b/sdk/nodejs/getServerUpdateSchedule.ts index faae4c74..d4eeceb3 100644 --- a/sdk/nodejs/getServerUpdateSchedule.ts +++ b/sdk/nodejs/getServerUpdateSchedule.ts @@ -7,7 +7,7 @@ import * as utilities from "./utilities"; /** * Server update schedule datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ @@ -84,7 +84,7 @@ export interface GetServerUpdateScheduleResult { /** * Server update schedule datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ diff --git a/sdk/nodejs/getServerUpdateSchedules.ts b/sdk/nodejs/getServerUpdateSchedules.ts index 8abcef26..48e53393 100644 --- a/sdk/nodejs/getServerUpdateSchedules.ts +++ b/sdk/nodejs/getServerUpdateSchedules.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; /** * Server update schedules datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ @@ -62,7 +62,7 @@ export interface GetServerUpdateSchedulesResult { /** * Server update schedules datasource schema. Must have a `region` specified in the provider configuration. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. * * ## Example Usage */ diff --git a/sdk/nodejs/getSkeCluster.ts b/sdk/nodejs/getSkeCluster.ts index 302bb782..65bef9c7 100644 --- a/sdk/nodejs/getSkeCluster.ts +++ b/sdk/nodejs/getSkeCluster.ts @@ -42,14 +42,6 @@ export interface GetSkeClusterArgs { * A collection of values returned by getSkeCluster. */ export interface GetSkeClusterResult { - /** - * DEPRECATED as of Kubernetes 1.25+ - * Flag to specify if privileged mode for containers is enabled or not. - * This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - * - * @deprecated Please remove this flag from your configuration when using Kubernetes version 1.25+. - */ - readonly allowPrivilegedContainers: boolean; /** * The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. */ @@ -63,12 +55,6 @@ export interface GetSkeClusterResult { */ readonly hibernations: outputs.GetSkeClusterHibernation[]; readonly id: string; - /** - * Kubernetes version. This field is deprecated, use `kubernetesVersionUsed` instead - * - * @deprecated This field is always nil, use `kubernetesVersionUsed` to get the cluster kubernetes version. This field would cause errors when the cluster got a kubernetes version minor upgrade, either triggered by automatic or forceful updates. - */ - readonly kubernetesVersion: string; /** * The minimum Kubernetes version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the `kubernetesVersionUsed` field. */ @@ -93,6 +79,10 @@ export interface GetSkeClusterResult { * One or more `nodePool` block as defined below. */ readonly nodePools: outputs.GetSkeClusterNodePool[]; + /** + * The network ranges (in CIDR notation) used by pods of the cluster. + */ + readonly podAddressRanges: string[]; /** * STACKIT project ID to which the cluster is associated. */ diff --git a/sdk/nodejs/git.ts b/sdk/nodejs/git.ts index 65e9120b..80c767c3 100644 --- a/sdk/nodejs/git.ts +++ b/sdk/nodejs/git.ts @@ -7,7 +7,7 @@ import * as utilities from "./utilities"; /** * Git Instance resource schema. * - * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. This resource currently does not support updates. Changing the ACLs, flavor, or name will trigger resource recreation. Update functionality will be added soon. In the meantime, please proceed with caution. To update these attributes, please open a support ticket. * * ## Example Usage */ @@ -39,26 +39,46 @@ export class Git extends pulumi.CustomResource { return obj['__pulumiType'] === Git.__pulumiType; } + /** + * Restricted ACL for instance access. + */ + declare public readonly acls: pulumi.Output; + /** + * How many bytes of disk space is consumed. + */ + declare public /*out*/ readonly consumedDisk: pulumi.Output; + /** + * How many bytes of Object Storage is consumed. + */ + declare public /*out*/ readonly consumedObjectStorage: pulumi.Output; + /** + * Instance creation timestamp in RFC3339 format. + */ + declare public /*out*/ readonly created: pulumi.Output; + /** + * Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + */ + declare public readonly flavor: pulumi.Output; /** * ID linked to the git instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Unique name linked to the git instance. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the git instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Url linked to the git instance. */ - public /*out*/ readonly url!: pulumi.Output; + declare public /*out*/ readonly url: pulumi.Output; /** * Version linked to the git instance. */ - public /*out*/ readonly version!: pulumi.Output; + declare public /*out*/ readonly version: pulumi.Output; /** * Create a Git resource with the given unique name, arguments, and options. @@ -73,18 +93,28 @@ export class Git extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as GitState | undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["url"] = state ? state.url : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["acls"] = state?.acls; + resourceInputs["consumedDisk"] = state?.consumedDisk; + resourceInputs["consumedObjectStorage"] = state?.consumedObjectStorage; + resourceInputs["created"] = state?.created; + resourceInputs["flavor"] = state?.flavor; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["url"] = state?.url; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as GitArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["acls"] = args?.acls; + resourceInputs["flavor"] = args?.flavor; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["consumedDisk"] = undefined /*out*/; + resourceInputs["consumedObjectStorage"] = undefined /*out*/; + resourceInputs["created"] = undefined /*out*/; resourceInputs["instanceId"] = undefined /*out*/; resourceInputs["url"] = undefined /*out*/; resourceInputs["version"] = undefined /*out*/; @@ -98,6 +128,26 @@ export class Git extends pulumi.CustomResource { * Input properties used for looking up and filtering Git resources. */ export interface GitState { + /** + * Restricted ACL for instance access. + */ + acls?: pulumi.Input[]>; + /** + * How many bytes of disk space is consumed. + */ + consumedDisk?: pulumi.Input; + /** + * How many bytes of Object Storage is consumed. + */ + consumedObjectStorage?: pulumi.Input; + /** + * Instance creation timestamp in RFC3339 format. + */ + created?: pulumi.Input; + /** + * Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + */ + flavor?: pulumi.Input; /** * ID linked to the git instance. */ @@ -124,6 +174,14 @@ export interface GitState { * The set of arguments for constructing a Git resource. */ export interface GitArgs { + /** + * Restricted ACL for instance access. + */ + acls?: pulumi.Input[]>; + /** + * Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + */ + flavor?: pulumi.Input; /** * Unique name linked to the git instance. */ diff --git a/sdk/nodejs/image.ts b/sdk/nodejs/image.ts index def4ccbe..1167e1f4 100644 --- a/sdk/nodejs/image.ts +++ b/sdk/nodejs/image.ts @@ -42,51 +42,51 @@ export class Image extends pulumi.CustomResource { /** * Representation of an image checksum. */ - public /*out*/ readonly checksum!: pulumi.Output; + declare public /*out*/ readonly checksum: pulumi.Output; /** * Properties to set hardware and scheduling settings for an image. */ - public readonly config!: pulumi.Output; + declare public readonly config: pulumi.Output; /** * The disk format of the image. */ - public readonly diskFormat!: pulumi.Output; + declare public readonly diskFormat: pulumi.Output; /** * The image ID. */ - public /*out*/ readonly imageId!: pulumi.Output; + declare public /*out*/ readonly imageId: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The filepath of the raw image file to be uploaded. */ - public readonly localFilePath!: pulumi.Output; + declare public readonly localFilePath: pulumi.Output; /** * The minimum disk size of the image in GB. */ - public readonly minDiskSize!: pulumi.Output; + declare public readonly minDiskSize: pulumi.Output; /** * The minimum RAM of the image in MB. */ - public readonly minRam!: pulumi.Output; + declare public readonly minRam: pulumi.Output; /** * The name of the image. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the image is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Whether the image is protected. */ - public /*out*/ readonly protected!: pulumi.Output; + declare public /*out*/ readonly protected: pulumi.Output; /** * The scope of the image. */ - public /*out*/ readonly scope!: pulumi.Output; + declare public /*out*/ readonly scope: pulumi.Output; /** * Create a Image resource with the given unique name, arguments, and options. @@ -101,37 +101,37 @@ export class Image extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ImageState | undefined; - resourceInputs["checksum"] = state ? state.checksum : undefined; - resourceInputs["config"] = state ? state.config : undefined; - resourceInputs["diskFormat"] = state ? state.diskFormat : undefined; - resourceInputs["imageId"] = state ? state.imageId : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["localFilePath"] = state ? state.localFilePath : undefined; - resourceInputs["minDiskSize"] = state ? state.minDiskSize : undefined; - resourceInputs["minRam"] = state ? state.minRam : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["protected"] = state ? state.protected : undefined; - resourceInputs["scope"] = state ? state.scope : undefined; + resourceInputs["checksum"] = state?.checksum; + resourceInputs["config"] = state?.config; + resourceInputs["diskFormat"] = state?.diskFormat; + resourceInputs["imageId"] = state?.imageId; + resourceInputs["labels"] = state?.labels; + resourceInputs["localFilePath"] = state?.localFilePath; + resourceInputs["minDiskSize"] = state?.minDiskSize; + resourceInputs["minRam"] = state?.minRam; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["protected"] = state?.protected; + resourceInputs["scope"] = state?.scope; } else { const args = argsOrState as ImageArgs | undefined; - if ((!args || args.diskFormat === undefined) && !opts.urn) { + if (args?.diskFormat === undefined && !opts.urn) { throw new Error("Missing required property 'diskFormat'"); } - if ((!args || args.localFilePath === undefined) && !opts.urn) { + if (args?.localFilePath === undefined && !opts.urn) { throw new Error("Missing required property 'localFilePath'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["config"] = args ? args.config : undefined; - resourceInputs["diskFormat"] = args ? args.diskFormat : undefined; - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["localFilePath"] = args ? args.localFilePath : undefined; - resourceInputs["minDiskSize"] = args ? args.minDiskSize : undefined; - resourceInputs["minRam"] = args ? args.minRam : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["config"] = args?.config; + resourceInputs["diskFormat"] = args?.diskFormat; + resourceInputs["labels"] = args?.labels; + resourceInputs["localFilePath"] = args?.localFilePath; + resourceInputs["minDiskSize"] = args?.minDiskSize; + resourceInputs["minRam"] = args?.minRam; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; resourceInputs["checksum"] = undefined /*out*/; resourceInputs["imageId"] = undefined /*out*/; resourceInputs["protected"] = undefined /*out*/; diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 7e62a447..9d6263cc 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -70,11 +70,21 @@ export const getGit: typeof import("./getGit").getGit = null as any; export const getGitOutput: typeof import("./getGit").getGitOutput = null as any; utilities.lazyLoad(exports, ["getGit","getGitOutput"], () => require("./getGit")); +export { GetIaasProjectArgs, GetIaasProjectResult, GetIaasProjectOutputArgs } from "./getIaasProject"; +export const getIaasProject: typeof import("./getIaasProject").getIaasProject = null as any; +export const getIaasProjectOutput: typeof import("./getIaasProject").getIaasProjectOutput = null as any; +utilities.lazyLoad(exports, ["getIaasProject","getIaasProjectOutput"], () => require("./getIaasProject")); + export { GetImageArgs, GetImageResult, GetImageOutputArgs } from "./getImage"; export const getImage: typeof import("./getImage").getImage = null as any; export const getImageOutput: typeof import("./getImage").getImageOutput = null as any; utilities.lazyLoad(exports, ["getImage","getImageOutput"], () => require("./getImage")); +export { GetImageV2Args, GetImageV2Result, GetImageV2OutputArgs } from "./getImageV2"; +export const getImageV2: typeof import("./getImageV2").getImageV2 = null as any; +export const getImageV2Output: typeof import("./getImageV2").getImageV2Output = null as any; +utilities.lazyLoad(exports, ["getImageV2","getImageV2Output"], () => require("./getImageV2")); + export { GetKeyPairArgs, GetKeyPairResult, GetKeyPairOutputArgs } from "./getKeyPair"; export const getKeyPair: typeof import("./getKeyPair").getKeyPair = null as any; export const getKeyPairOutput: typeof import("./getKeyPair").getKeyPairOutput = null as any; @@ -95,6 +105,11 @@ export const getLogmeInstance: typeof import("./getLogmeInstance").getLogmeInsta export const getLogmeInstanceOutput: typeof import("./getLogmeInstance").getLogmeInstanceOutput = null as any; utilities.lazyLoad(exports, ["getLogmeInstance","getLogmeInstanceOutput"], () => require("./getLogmeInstance")); +export { GetMachineTypeArgs, GetMachineTypeResult, GetMachineTypeOutputArgs } from "./getMachineType"; +export const getMachineType: typeof import("./getMachineType").getMachineType = null as any; +export const getMachineTypeOutput: typeof import("./getMachineType").getMachineTypeOutput = null as any; +utilities.lazyLoad(exports, ["getMachineType","getMachineTypeOutput"], () => require("./getMachineType")); + export { GetMariadbCredentialArgs, GetMariadbCredentialResult, GetMariadbCredentialOutputArgs } from "./getMariadbCredential"; export const getMariadbCredential: typeof import("./getMariadbCredential").getMariadbCredential = null as any; export const getMariadbCredentialOutput: typeof import("./getMariadbCredential").getMariadbCredentialOutput = null as any; @@ -225,11 +240,51 @@ export const getRedisInstance: typeof import("./getRedisInstance").getRedisInsta export const getRedisInstanceOutput: typeof import("./getRedisInstance").getRedisInstanceOutput = null as any; utilities.lazyLoad(exports, ["getRedisInstance","getRedisInstanceOutput"], () => require("./getRedisInstance")); +export { GetResourcemanagerFolderArgs, GetResourcemanagerFolderResult, GetResourcemanagerFolderOutputArgs } from "./getResourcemanagerFolder"; +export const getResourcemanagerFolder: typeof import("./getResourcemanagerFolder").getResourcemanagerFolder = null as any; +export const getResourcemanagerFolderOutput: typeof import("./getResourcemanagerFolder").getResourcemanagerFolderOutput = null as any; +utilities.lazyLoad(exports, ["getResourcemanagerFolder","getResourcemanagerFolderOutput"], () => require("./getResourcemanagerFolder")); + export { GetResourcemanagerProjectArgs, GetResourcemanagerProjectResult, GetResourcemanagerProjectOutputArgs } from "./getResourcemanagerProject"; export const getResourcemanagerProject: typeof import("./getResourcemanagerProject").getResourcemanagerProject = null as any; export const getResourcemanagerProjectOutput: typeof import("./getResourcemanagerProject").getResourcemanagerProjectOutput = null as any; utilities.lazyLoad(exports, ["getResourcemanagerProject","getResourcemanagerProjectOutput"], () => require("./getResourcemanagerProject")); +export { GetRoutingTableArgs, GetRoutingTableResult, GetRoutingTableOutputArgs } from "./getRoutingTable"; +export const getRoutingTable: typeof import("./getRoutingTable").getRoutingTable = null as any; +export const getRoutingTableOutput: typeof import("./getRoutingTable").getRoutingTableOutput = null as any; +utilities.lazyLoad(exports, ["getRoutingTable","getRoutingTableOutput"], () => require("./getRoutingTable")); + +export { GetRoutingTableRouteArgs, GetRoutingTableRouteResult, GetRoutingTableRouteOutputArgs } from "./getRoutingTableRoute"; +export const getRoutingTableRoute: typeof import("./getRoutingTableRoute").getRoutingTableRoute = null as any; +export const getRoutingTableRouteOutput: typeof import("./getRoutingTableRoute").getRoutingTableRouteOutput = null as any; +utilities.lazyLoad(exports, ["getRoutingTableRoute","getRoutingTableRouteOutput"], () => require("./getRoutingTableRoute")); + +export { GetRoutingTableRoutesArgs, GetRoutingTableRoutesResult, GetRoutingTableRoutesOutputArgs } from "./getRoutingTableRoutes"; +export const getRoutingTableRoutes: typeof import("./getRoutingTableRoutes").getRoutingTableRoutes = null as any; +export const getRoutingTableRoutesOutput: typeof import("./getRoutingTableRoutes").getRoutingTableRoutesOutput = null as any; +utilities.lazyLoad(exports, ["getRoutingTableRoutes","getRoutingTableRoutesOutput"], () => require("./getRoutingTableRoutes")); + +export { GetRoutingTablesArgs, GetRoutingTablesResult, GetRoutingTablesOutputArgs } from "./getRoutingTables"; +export const getRoutingTables: typeof import("./getRoutingTables").getRoutingTables = null as any; +export const getRoutingTablesOutput: typeof import("./getRoutingTables").getRoutingTablesOutput = null as any; +utilities.lazyLoad(exports, ["getRoutingTables","getRoutingTablesOutput"], () => require("./getRoutingTables")); + +export { GetScfOrganizationArgs, GetScfOrganizationResult, GetScfOrganizationOutputArgs } from "./getScfOrganization"; +export const getScfOrganization: typeof import("./getScfOrganization").getScfOrganization = null as any; +export const getScfOrganizationOutput: typeof import("./getScfOrganization").getScfOrganizationOutput = null as any; +utilities.lazyLoad(exports, ["getScfOrganization","getScfOrganizationOutput"], () => require("./getScfOrganization")); + +export { GetScfOrganizationManagerArgs, GetScfOrganizationManagerResult, GetScfOrganizationManagerOutputArgs } from "./getScfOrganizationManager"; +export const getScfOrganizationManager: typeof import("./getScfOrganizationManager").getScfOrganizationManager = null as any; +export const getScfOrganizationManagerOutput: typeof import("./getScfOrganizationManager").getScfOrganizationManagerOutput = null as any; +utilities.lazyLoad(exports, ["getScfOrganizationManager","getScfOrganizationManagerOutput"], () => require("./getScfOrganizationManager")); + +export { GetScfPlatformArgs, GetScfPlatformResult, GetScfPlatformOutputArgs } from "./getScfPlatform"; +export const getScfPlatform: typeof import("./getScfPlatform").getScfPlatform = null as any; +export const getScfPlatformOutput: typeof import("./getScfPlatform").getScfPlatformOutput = null as any; +utilities.lazyLoad(exports, ["getScfPlatform","getScfPlatformOutput"], () => require("./getScfPlatform")); + export { GetSecretsmanagerInstanceArgs, GetSecretsmanagerInstanceResult, GetSecretsmanagerInstanceOutputArgs } from "./getSecretsmanagerInstance"; export const getSecretsmanagerInstance: typeof import("./getSecretsmanagerInstance").getSecretsmanagerInstance = null as any; export const getSecretsmanagerInstanceOutput: typeof import("./getSecretsmanagerInstance").getSecretsmanagerInstanceOutput = null as any; @@ -478,11 +533,36 @@ export type RedisInstance = import("./redisInstance").RedisInstance; export const RedisInstance: typeof import("./redisInstance").RedisInstance = null as any; utilities.lazyLoad(exports, ["RedisInstance"], () => require("./redisInstance")); +export { ResourcemanagerFolderArgs, ResourcemanagerFolderState } from "./resourcemanagerFolder"; +export type ResourcemanagerFolder = import("./resourcemanagerFolder").ResourcemanagerFolder; +export const ResourcemanagerFolder: typeof import("./resourcemanagerFolder").ResourcemanagerFolder = null as any; +utilities.lazyLoad(exports, ["ResourcemanagerFolder"], () => require("./resourcemanagerFolder")); + export { ResourcemanagerProjectArgs, ResourcemanagerProjectState } from "./resourcemanagerProject"; export type ResourcemanagerProject = import("./resourcemanagerProject").ResourcemanagerProject; export const ResourcemanagerProject: typeof import("./resourcemanagerProject").ResourcemanagerProject = null as any; utilities.lazyLoad(exports, ["ResourcemanagerProject"], () => require("./resourcemanagerProject")); +export { RoutingTableArgs, RoutingTableState } from "./routingTable"; +export type RoutingTable = import("./routingTable").RoutingTable; +export const RoutingTable: typeof import("./routingTable").RoutingTable = null as any; +utilities.lazyLoad(exports, ["RoutingTable"], () => require("./routingTable")); + +export { RoutingTableRouteArgs, RoutingTableRouteState } from "./routingTableRoute"; +export type RoutingTableRoute = import("./routingTableRoute").RoutingTableRoute; +export const RoutingTableRoute: typeof import("./routingTableRoute").RoutingTableRoute = null as any; +utilities.lazyLoad(exports, ["RoutingTableRoute"], () => require("./routingTableRoute")); + +export { ScfOrganizationArgs, ScfOrganizationState } from "./scfOrganization"; +export type ScfOrganization = import("./scfOrganization").ScfOrganization; +export const ScfOrganization: typeof import("./scfOrganization").ScfOrganization = null as any; +utilities.lazyLoad(exports, ["ScfOrganization"], () => require("./scfOrganization")); + +export { ScfOrganizationManagerArgs, ScfOrganizationManagerState } from "./scfOrganizationManager"; +export type ScfOrganizationManager = import("./scfOrganizationManager").ScfOrganizationManager; +export const ScfOrganizationManager: typeof import("./scfOrganizationManager").ScfOrganizationManager = null as any; +utilities.lazyLoad(exports, ["ScfOrganizationManager"], () => require("./scfOrganizationManager")); + export { SecretsmanagerInstanceArgs, SecretsmanagerInstanceState } from "./secretsmanagerInstance"; export type SecretsmanagerInstance = import("./secretsmanagerInstance").SecretsmanagerInstance; export const SecretsmanagerInstance: typeof import("./secretsmanagerInstance").SecretsmanagerInstance = null as any; @@ -671,8 +751,18 @@ const _module = { return new RedisCredential(name, undefined, { urn }) case "stackit:index/redisInstance:RedisInstance": return new RedisInstance(name, undefined, { urn }) + case "stackit:index/resourcemanagerFolder:ResourcemanagerFolder": + return new ResourcemanagerFolder(name, undefined, { urn }) case "stackit:index/resourcemanagerProject:ResourcemanagerProject": return new ResourcemanagerProject(name, undefined, { urn }) + case "stackit:index/routingTable:RoutingTable": + return new RoutingTable(name, undefined, { urn }) + case "stackit:index/routingTableRoute:RoutingTableRoute": + return new RoutingTableRoute(name, undefined, { urn }) + case "stackit:index/scfOrganization:ScfOrganization": + return new ScfOrganization(name, undefined, { urn }) + case "stackit:index/scfOrganizationManager:ScfOrganizationManager": + return new ScfOrganizationManager(name, undefined, { urn }) case "stackit:index/secretsmanagerInstance:SecretsmanagerInstance": return new SecretsmanagerInstance(name, undefined, { urn }) case "stackit:index/secretsmanagerUser:SecretsmanagerUser": @@ -756,7 +846,12 @@ pulumi.runtime.registerResourceModule("stackit", "index/rabbitmqCredential", _mo pulumi.runtime.registerResourceModule("stackit", "index/rabbitmqInstance", _module) pulumi.runtime.registerResourceModule("stackit", "index/redisCredential", _module) pulumi.runtime.registerResourceModule("stackit", "index/redisInstance", _module) +pulumi.runtime.registerResourceModule("stackit", "index/resourcemanagerFolder", _module) pulumi.runtime.registerResourceModule("stackit", "index/resourcemanagerProject", _module) +pulumi.runtime.registerResourceModule("stackit", "index/routingTable", _module) +pulumi.runtime.registerResourceModule("stackit", "index/routingTableRoute", _module) +pulumi.runtime.registerResourceModule("stackit", "index/scfOrganization", _module) +pulumi.runtime.registerResourceModule("stackit", "index/scfOrganizationManager", _module) pulumi.runtime.registerResourceModule("stackit", "index/secretsmanagerInstance", _module) pulumi.runtime.registerResourceModule("stackit", "index/secretsmanagerUser", _module) pulumi.runtime.registerResourceModule("stackit", "index/securityGroup", _module) diff --git a/sdk/nodejs/keyPair.ts b/sdk/nodejs/keyPair.ts index 54992ab3..fc338b01 100644 --- a/sdk/nodejs/keyPair.ts +++ b/sdk/nodejs/keyPair.ts @@ -6,6 +6,8 @@ import * as utilities from "./utilities"; /** * Key pair resource schema. Must have a `region` specified in the provider configuration. Allows uploading an SSH public key to be used for server authentication. + * + * ## Example Usage */ export class KeyPair extends pulumi.CustomResource { /** @@ -38,19 +40,19 @@ export class KeyPair extends pulumi.CustomResource { /** * The fingerprint of the public SSH key. */ - public /*out*/ readonly fingerprint!: pulumi.Output; + declare public /*out*/ readonly fingerprint: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container. */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The name of the SSH key pair. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. */ - public readonly publicKey!: pulumi.Output; + declare public readonly publicKey: pulumi.Output; /** * Create a KeyPair resource with the given unique name, arguments, and options. @@ -65,18 +67,18 @@ export class KeyPair extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as KeyPairState | undefined; - resourceInputs["fingerprint"] = state ? state.fingerprint : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["publicKey"] = state ? state.publicKey : undefined; + resourceInputs["fingerprint"] = state?.fingerprint; + resourceInputs["labels"] = state?.labels; + resourceInputs["name"] = state?.name; + resourceInputs["publicKey"] = state?.publicKey; } else { const args = argsOrState as KeyPairArgs | undefined; - if ((!args || args.publicKey === undefined) && !opts.urn) { + if (args?.publicKey === undefined && !opts.urn) { throw new Error("Missing required property 'publicKey'"); } - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["publicKey"] = args ? args.publicKey : undefined; + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["publicKey"] = args?.publicKey; resourceInputs["fingerprint"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/loadbalancer.ts b/sdk/nodejs/loadbalancer.ts index 67959624..d5b7a30b 100644 --- a/sdk/nodejs/loadbalancer.ts +++ b/sdk/nodejs/loadbalancer.ts @@ -37,42 +37,54 @@ export class Loadbalancer extends pulumi.CustomResource { return obj['__pulumiType'] === Loadbalancer.__pulumiType; } + /** + * If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + */ + declare public readonly disableSecurityGroupAssignment: pulumi.Output; /** * External Load Balancer IP address where this Load Balancer is exposed. */ - public readonly externalAddress!: pulumi.Output; + declare public readonly externalAddress: pulumi.Output; /** * List of all listeners which will accept traffic. Limited to 20. */ - public readonly listeners!: pulumi.Output; + declare public readonly listeners: pulumi.Output; /** * Load balancer name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * List of networks that listeners and targets reside in. */ - public readonly networks!: pulumi.Output; + declare public readonly networks: pulumi.Output; /** * Defines any optional functionality you want to have enabled on your load balancer. */ - public readonly options!: pulumi.Output; + declare public readonly options: pulumi.Output; + /** + * The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + */ + declare public readonly planId: pulumi.Output; /** * Transient private Load Balancer IP address. It can change any time. */ - public /*out*/ readonly privateAddress!: pulumi.Output; + declare public /*out*/ readonly privateAddress: pulumi.Output; /** * STACKIT project ID to which the Load Balancer is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; + /** + * The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. + */ + declare public /*out*/ readonly securityGroupId: pulumi.Output; /** * List of all target pools which will be used in the Load Balancer. Limited to 20. */ - public readonly targetPools!: pulumi.Output; + declare public readonly targetPools: pulumi.Output; /** * Create a Loadbalancer resource with the given unique name, arguments, and options. @@ -87,38 +99,44 @@ export class Loadbalancer extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as LoadbalancerState | undefined; - resourceInputs["externalAddress"] = state ? state.externalAddress : undefined; - resourceInputs["listeners"] = state ? state.listeners : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["networks"] = state ? state.networks : undefined; - resourceInputs["options"] = state ? state.options : undefined; - resourceInputs["privateAddress"] = state ? state.privateAddress : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["targetPools"] = state ? state.targetPools : undefined; + resourceInputs["disableSecurityGroupAssignment"] = state?.disableSecurityGroupAssignment; + resourceInputs["externalAddress"] = state?.externalAddress; + resourceInputs["listeners"] = state?.listeners; + resourceInputs["name"] = state?.name; + resourceInputs["networks"] = state?.networks; + resourceInputs["options"] = state?.options; + resourceInputs["planId"] = state?.planId; + resourceInputs["privateAddress"] = state?.privateAddress; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["securityGroupId"] = state?.securityGroupId; + resourceInputs["targetPools"] = state?.targetPools; } else { const args = argsOrState as LoadbalancerArgs | undefined; - if ((!args || args.listeners === undefined) && !opts.urn) { + if (args?.listeners === undefined && !opts.urn) { throw new Error("Missing required property 'listeners'"); } - if ((!args || args.networks === undefined) && !opts.urn) { + if (args?.networks === undefined && !opts.urn) { throw new Error("Missing required property 'networks'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.targetPools === undefined) && !opts.urn) { + if (args?.targetPools === undefined && !opts.urn) { throw new Error("Missing required property 'targetPools'"); } - resourceInputs["externalAddress"] = args ? args.externalAddress : undefined; - resourceInputs["listeners"] = args ? args.listeners : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["networks"] = args ? args.networks : undefined; - resourceInputs["options"] = args ? args.options : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["targetPools"] = args ? args.targetPools : undefined; + resourceInputs["disableSecurityGroupAssignment"] = args?.disableSecurityGroupAssignment; + resourceInputs["externalAddress"] = args?.externalAddress; + resourceInputs["listeners"] = args?.listeners; + resourceInputs["name"] = args?.name; + resourceInputs["networks"] = args?.networks; + resourceInputs["options"] = args?.options; + resourceInputs["planId"] = args?.planId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["targetPools"] = args?.targetPools; resourceInputs["privateAddress"] = undefined /*out*/; + resourceInputs["securityGroupId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(Loadbalancer.__pulumiType, name, resourceInputs, opts); @@ -129,6 +147,10 @@ export class Loadbalancer extends pulumi.CustomResource { * Input properties used for looking up and filtering Loadbalancer resources. */ export interface LoadbalancerState { + /** + * If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + */ + disableSecurityGroupAssignment?: pulumi.Input; /** * External Load Balancer IP address where this Load Balancer is exposed. */ @@ -149,6 +171,10 @@ export interface LoadbalancerState { * Defines any optional functionality you want to have enabled on your load balancer. */ options?: pulumi.Input; + /** + * The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + */ + planId?: pulumi.Input; /** * Transient private Load Balancer IP address. It can change any time. */ @@ -161,6 +187,10 @@ export interface LoadbalancerState { * The resource region. If not defined, the provider region is used. */ region?: pulumi.Input; + /** + * The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remoteSecurityGroupId` of that rule to this value. This is typically used when `disableSecurityGroupAssignment` is set to `true`. + */ + securityGroupId?: pulumi.Input; /** * List of all target pools which will be used in the Load Balancer. Limited to 20. */ @@ -171,6 +201,10 @@ export interface LoadbalancerState { * The set of arguments for constructing a Loadbalancer resource. */ export interface LoadbalancerArgs { + /** + * If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + */ + disableSecurityGroupAssignment?: pulumi.Input; /** * External Load Balancer IP address where this Load Balancer is exposed. */ @@ -191,6 +225,10 @@ export interface LoadbalancerArgs { * Defines any optional functionality you want to have enabled on your load balancer. */ options?: pulumi.Input; + /** + * The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + */ + planId?: pulumi.Input; /** * STACKIT project ID to which the Load Balancer is associated. */ diff --git a/sdk/nodejs/loadbalancerObservabilityCredential.ts b/sdk/nodejs/loadbalancerObservabilityCredential.ts index b99e947a..908de612 100644 --- a/sdk/nodejs/loadbalancerObservabilityCredential.ts +++ b/sdk/nodejs/loadbalancerObservabilityCredential.ts @@ -40,27 +40,27 @@ export class LoadbalancerObservabilityCredential extends pulumi.CustomResource { /** * The credentials reference is used by the Load Balancer to define which credentials it will use. */ - public /*out*/ readonly credentialsRef!: pulumi.Output; + declare public /*out*/ readonly credentialsRef: pulumi.Output; /** * Observability credential name. */ - public readonly displayName!: pulumi.Output; + declare public readonly displayName: pulumi.Output; /** * The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. */ - public readonly password!: pulumi.Output; + declare public readonly password: pulumi.Output; /** * STACKIT project ID to which the load balancer observability credential is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. */ - public readonly username!: pulumi.Output; + declare public readonly username: pulumi.Output; /** * Create a LoadbalancerObservabilityCredential resource with the given unique name, arguments, and options. @@ -75,31 +75,31 @@ export class LoadbalancerObservabilityCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as LoadbalancerObservabilityCredentialState | undefined; - resourceInputs["credentialsRef"] = state ? state.credentialsRef : undefined; - resourceInputs["displayName"] = state ? state.displayName : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["credentialsRef"] = state?.credentialsRef; + resourceInputs["displayName"] = state?.displayName; + resourceInputs["password"] = state?.password; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as LoadbalancerObservabilityCredentialArgs | undefined; - if ((!args || args.displayName === undefined) && !opts.urn) { + if (args?.displayName === undefined && !opts.urn) { throw new Error("Missing required property 'displayName'"); } - if ((!args || args.password === undefined) && !opts.urn) { + if (args?.password === undefined && !opts.urn) { throw new Error("Missing required property 'password'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.username === undefined) && !opts.urn) { + if (args?.username === undefined && !opts.urn) { throw new Error("Missing required property 'username'"); } - resourceInputs["displayName"] = args ? args.displayName : undefined; - resourceInputs["password"] = args ? args.password : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["username"] = args ? args.username : undefined; + resourceInputs["displayName"] = args?.displayName; + resourceInputs["password"] = args?.password; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["username"] = args?.username; resourceInputs["credentialsRef"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/logmeCredential.ts b/sdk/nodejs/logmeCredential.ts index 18a0ffcd..9f952112 100644 --- a/sdk/nodejs/logmeCredential.ts +++ b/sdk/nodejs/logmeCredential.ts @@ -40,20 +40,20 @@ export class LogmeCredential extends pulumi.CustomResource { /** * The credential's ID. */ - public /*out*/ readonly credentialId!: pulumi.Output; - public /*out*/ readonly host!: pulumi.Output; + declare public /*out*/ readonly credentialId: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; /** * ID of the LogMe instance. */ - public readonly instanceId!: pulumi.Output; - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT Project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; - public /*out*/ readonly uri!: pulumi.Output; - public /*out*/ readonly username!: pulumi.Output; + declare public readonly projectId: pulumi.Output; + declare public /*out*/ readonly uri: pulumi.Output; + declare public /*out*/ readonly username: pulumi.Output; /** * Create a LogmeCredential resource with the given unique name, arguments, and options. @@ -68,24 +68,24 @@ export class LogmeCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as LogmeCredentialState | undefined; - resourceInputs["credentialId"] = state ? state.credentialId : undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["uri"] = state ? state.uri : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["credentialId"] = state?.credentialId; + resourceInputs["host"] = state?.host; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["uri"] = state?.uri; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as LogmeCredentialArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; resourceInputs["credentialId"] = undefined /*out*/; resourceInputs["host"] = undefined /*out*/; resourceInputs["password"] = undefined /*out*/; diff --git a/sdk/nodejs/logmeInstance.ts b/sdk/nodejs/logmeInstance.ts index e2f535a3..36203583 100644 --- a/sdk/nodejs/logmeInstance.ts +++ b/sdk/nodejs/logmeInstance.ts @@ -39,36 +39,36 @@ export class LogmeInstance extends pulumi.CustomResource { return obj['__pulumiType'] === LogmeInstance.__pulumiType; } - public /*out*/ readonly cfGuid!: pulumi.Output; - public /*out*/ readonly cfOrganizationGuid!: pulumi.Output; - public /*out*/ readonly cfSpaceGuid!: pulumi.Output; - public /*out*/ readonly dashboardUrl!: pulumi.Output; - public /*out*/ readonly imageUrl!: pulumi.Output; + declare public /*out*/ readonly cfGuid: pulumi.Output; + declare public /*out*/ readonly cfOrganizationGuid: pulumi.Output; + declare public /*out*/ readonly cfSpaceGuid: pulumi.Output; + declare public /*out*/ readonly dashboardUrl: pulumi.Output; + declare public /*out*/ readonly imageUrl: pulumi.Output; /** * ID of the LogMe instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; - public readonly parameters!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public readonly parameters: pulumi.Output; /** * The selected plan ID. */ - public /*out*/ readonly planId!: pulumi.Output; + declare public /*out*/ readonly planId: pulumi.Output; /** * The selected plan name. */ - public readonly planName!: pulumi.Output; + declare public readonly planName: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The service version. */ - public readonly version!: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a LogmeInstance resource with the given unique name, arguments, and options. @@ -83,34 +83,34 @@ export class LogmeInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as LogmeInstanceState | undefined; - resourceInputs["cfGuid"] = state ? state.cfGuid : undefined; - resourceInputs["cfOrganizationGuid"] = state ? state.cfOrganizationGuid : undefined; - resourceInputs["cfSpaceGuid"] = state ? state.cfSpaceGuid : undefined; - resourceInputs["dashboardUrl"] = state ? state.dashboardUrl : undefined; - resourceInputs["imageUrl"] = state ? state.imageUrl : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["parameters"] = state ? state.parameters : undefined; - resourceInputs["planId"] = state ? state.planId : undefined; - resourceInputs["planName"] = state ? state.planName : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["cfGuid"] = state?.cfGuid; + resourceInputs["cfOrganizationGuid"] = state?.cfOrganizationGuid; + resourceInputs["cfSpaceGuid"] = state?.cfSpaceGuid; + resourceInputs["dashboardUrl"] = state?.dashboardUrl; + resourceInputs["imageUrl"] = state?.imageUrl; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["parameters"] = state?.parameters; + resourceInputs["planId"] = state?.planId; + resourceInputs["planName"] = state?.planName; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as LogmeInstanceArgs | undefined; - if ((!args || args.planName === undefined) && !opts.urn) { + if (args?.planName === undefined && !opts.urn) { throw new Error("Missing required property 'planName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.version === undefined) && !opts.urn) { + if (args?.version === undefined && !opts.urn) { throw new Error("Missing required property 'version'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["parameters"] = args ? args.parameters : undefined; - resourceInputs["planName"] = args ? args.planName : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["parameters"] = args?.parameters; + resourceInputs["planName"] = args?.planName; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["version"] = args?.version; resourceInputs["cfGuid"] = undefined /*out*/; resourceInputs["cfOrganizationGuid"] = undefined /*out*/; resourceInputs["cfSpaceGuid"] = undefined /*out*/; diff --git a/sdk/nodejs/mariadbCredential.ts b/sdk/nodejs/mariadbCredential.ts index c813a63a..64ae7143 100644 --- a/sdk/nodejs/mariadbCredential.ts +++ b/sdk/nodejs/mariadbCredential.ts @@ -40,22 +40,22 @@ export class MariadbCredential extends pulumi.CustomResource { /** * The credential's ID. */ - public /*out*/ readonly credentialId!: pulumi.Output; - public /*out*/ readonly host!: pulumi.Output; - public /*out*/ readonly hosts!: pulumi.Output; + declare public /*out*/ readonly credentialId: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; + declare public /*out*/ readonly hosts: pulumi.Output; /** * ID of the MariaDB instance. */ - public readonly instanceId!: pulumi.Output; - public /*out*/ readonly name!: pulumi.Output; - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; + declare public /*out*/ readonly name: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT Project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; - public /*out*/ readonly uri!: pulumi.Output; - public /*out*/ readonly username!: pulumi.Output; + declare public readonly projectId: pulumi.Output; + declare public /*out*/ readonly uri: pulumi.Output; + declare public /*out*/ readonly username: pulumi.Output; /** * Create a MariadbCredential resource with the given unique name, arguments, and options. @@ -70,26 +70,26 @@ export class MariadbCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as MariadbCredentialState | undefined; - resourceInputs["credentialId"] = state ? state.credentialId : undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["hosts"] = state ? state.hosts : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["uri"] = state ? state.uri : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["credentialId"] = state?.credentialId; + resourceInputs["host"] = state?.host; + resourceInputs["hosts"] = state?.hosts; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["uri"] = state?.uri; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as MariadbCredentialArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; resourceInputs["credentialId"] = undefined /*out*/; resourceInputs["host"] = undefined /*out*/; resourceInputs["hosts"] = undefined /*out*/; diff --git a/sdk/nodejs/mariadbInstance.ts b/sdk/nodejs/mariadbInstance.ts index 3b1e079d..ea88378c 100644 --- a/sdk/nodejs/mariadbInstance.ts +++ b/sdk/nodejs/mariadbInstance.ts @@ -39,36 +39,36 @@ export class MariadbInstance extends pulumi.CustomResource { return obj['__pulumiType'] === MariadbInstance.__pulumiType; } - public /*out*/ readonly cfGuid!: pulumi.Output; - public /*out*/ readonly cfOrganizationGuid!: pulumi.Output; - public /*out*/ readonly cfSpaceGuid!: pulumi.Output; - public /*out*/ readonly dashboardUrl!: pulumi.Output; - public /*out*/ readonly imageUrl!: pulumi.Output; + declare public /*out*/ readonly cfGuid: pulumi.Output; + declare public /*out*/ readonly cfOrganizationGuid: pulumi.Output; + declare public /*out*/ readonly cfSpaceGuid: pulumi.Output; + declare public /*out*/ readonly dashboardUrl: pulumi.Output; + declare public /*out*/ readonly imageUrl: pulumi.Output; /** * ID of the MariaDB instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; - public readonly parameters!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public readonly parameters: pulumi.Output; /** * The selected plan ID. */ - public /*out*/ readonly planId!: pulumi.Output; + declare public /*out*/ readonly planId: pulumi.Output; /** * The selected plan name. */ - public readonly planName!: pulumi.Output; + declare public readonly planName: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The service version. */ - public readonly version!: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a MariadbInstance resource with the given unique name, arguments, and options. @@ -83,34 +83,34 @@ export class MariadbInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as MariadbInstanceState | undefined; - resourceInputs["cfGuid"] = state ? state.cfGuid : undefined; - resourceInputs["cfOrganizationGuid"] = state ? state.cfOrganizationGuid : undefined; - resourceInputs["cfSpaceGuid"] = state ? state.cfSpaceGuid : undefined; - resourceInputs["dashboardUrl"] = state ? state.dashboardUrl : undefined; - resourceInputs["imageUrl"] = state ? state.imageUrl : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["parameters"] = state ? state.parameters : undefined; - resourceInputs["planId"] = state ? state.planId : undefined; - resourceInputs["planName"] = state ? state.planName : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["cfGuid"] = state?.cfGuid; + resourceInputs["cfOrganizationGuid"] = state?.cfOrganizationGuid; + resourceInputs["cfSpaceGuid"] = state?.cfSpaceGuid; + resourceInputs["dashboardUrl"] = state?.dashboardUrl; + resourceInputs["imageUrl"] = state?.imageUrl; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["parameters"] = state?.parameters; + resourceInputs["planId"] = state?.planId; + resourceInputs["planName"] = state?.planName; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as MariadbInstanceArgs | undefined; - if ((!args || args.planName === undefined) && !opts.urn) { + if (args?.planName === undefined && !opts.urn) { throw new Error("Missing required property 'planName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.version === undefined) && !opts.urn) { + if (args?.version === undefined && !opts.urn) { throw new Error("Missing required property 'version'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["parameters"] = args ? args.parameters : undefined; - resourceInputs["planName"] = args ? args.planName : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["parameters"] = args?.parameters; + resourceInputs["planName"] = args?.planName; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["version"] = args?.version; resourceInputs["cfGuid"] = undefined /*out*/; resourceInputs["cfOrganizationGuid"] = undefined /*out*/; resourceInputs["cfSpaceGuid"] = undefined /*out*/; diff --git a/sdk/nodejs/modelservingToken.ts b/sdk/nodejs/modelservingToken.ts index 03e1080f..1560e279 100644 --- a/sdk/nodejs/modelservingToken.ts +++ b/sdk/nodejs/modelservingToken.ts @@ -42,43 +42,43 @@ export class ModelservingToken extends pulumi.CustomResource { /** * The description of the AI model serving auth token. */ - public readonly description!: pulumi.Output; + declare public readonly description: pulumi.Output; /** * Name of the AI model serving auth token. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the AI model serving auth token is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Region to which the AI model serving auth token is associated. If not defined, the provider region is used */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. */ - public readonly rotateWhenChanged!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly rotateWhenChanged: pulumi.Output<{[key: string]: string} | undefined>; /** * State of the AI model serving auth token. */ - public /*out*/ readonly state!: pulumi.Output; + declare public /*out*/ readonly state: pulumi.Output; /** * Content of the AI model serving auth token. */ - public /*out*/ readonly token!: pulumi.Output; + declare public /*out*/ readonly token: pulumi.Output; /** * The AI model serving auth token ID. */ - public /*out*/ readonly tokenId!: pulumi.Output; + declare public /*out*/ readonly tokenId: pulumi.Output; /** * The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s */ - public readonly ttlDuration!: pulumi.Output; + declare public readonly ttlDuration: pulumi.Output; /** * The time until the AI model serving auth token is valid. */ - public /*out*/ readonly validUntil!: pulumi.Output; + declare public /*out*/ readonly validUntil: pulumi.Output; /** * Create a ModelservingToken resource with the given unique name, arguments, and options. @@ -93,27 +93,27 @@ export class ModelservingToken extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ModelservingTokenState | undefined; - resourceInputs["description"] = state ? state.description : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["rotateWhenChanged"] = state ? state.rotateWhenChanged : undefined; - resourceInputs["state"] = state ? state.state : undefined; - resourceInputs["token"] = state ? state.token : undefined; - resourceInputs["tokenId"] = state ? state.tokenId : undefined; - resourceInputs["ttlDuration"] = state ? state.ttlDuration : undefined; - resourceInputs["validUntil"] = state ? state.validUntil : undefined; + resourceInputs["description"] = state?.description; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["rotateWhenChanged"] = state?.rotateWhenChanged; + resourceInputs["state"] = state?.state; + resourceInputs["token"] = state?.token; + resourceInputs["tokenId"] = state?.tokenId; + resourceInputs["ttlDuration"] = state?.ttlDuration; + resourceInputs["validUntil"] = state?.validUntil; } else { const args = argsOrState as ModelservingTokenArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["rotateWhenChanged"] = args ? args.rotateWhenChanged : undefined; - resourceInputs["ttlDuration"] = args ? args.ttlDuration : undefined; + resourceInputs["description"] = args?.description; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["rotateWhenChanged"] = args?.rotateWhenChanged; + resourceInputs["ttlDuration"] = args?.ttlDuration; resourceInputs["state"] = undefined /*out*/; resourceInputs["token"] = undefined /*out*/; resourceInputs["tokenId"] = undefined /*out*/; diff --git a/sdk/nodejs/mongodbflexInstance.ts b/sdk/nodejs/mongodbflexInstance.ts index 526c6b7e..d7a23311 100644 --- a/sdk/nodejs/mongodbflexInstance.ts +++ b/sdk/nodejs/mongodbflexInstance.ts @@ -42,28 +42,32 @@ export class MongodbflexInstance extends pulumi.CustomResource { /** * The Access Control List (ACL) for the MongoDB Flex instance. */ - public readonly acls!: pulumi.Output; + declare public readonly acls: pulumi.Output; /** * The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). */ - public readonly backupSchedule!: pulumi.Output; - public readonly flavor!: pulumi.Output; + declare public readonly backupSchedule: pulumi.Output; + declare public readonly flavor: pulumi.Output; /** * ID of the MongoDB Flex instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; - public readonly options!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public readonly options: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; - public readonly replicas!: pulumi.Output; - public readonly storage!: pulumi.Output; - public readonly version!: pulumi.Output; + declare public readonly projectId: pulumi.Output; + /** + * The resource region. If not defined, the provider region is used. + */ + declare public readonly region: pulumi.Output; + declare public readonly replicas: pulumi.Output; + declare public readonly storage: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a MongodbflexInstance resource with the given unique name, arguments, and options. @@ -78,51 +82,53 @@ export class MongodbflexInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as MongodbflexInstanceState | undefined; - resourceInputs["acls"] = state ? state.acls : undefined; - resourceInputs["backupSchedule"] = state ? state.backupSchedule : undefined; - resourceInputs["flavor"] = state ? state.flavor : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["options"] = state ? state.options : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["replicas"] = state ? state.replicas : undefined; - resourceInputs["storage"] = state ? state.storage : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["acls"] = state?.acls; + resourceInputs["backupSchedule"] = state?.backupSchedule; + resourceInputs["flavor"] = state?.flavor; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["options"] = state?.options; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["replicas"] = state?.replicas; + resourceInputs["storage"] = state?.storage; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as MongodbflexInstanceArgs | undefined; - if ((!args || args.acls === undefined) && !opts.urn) { + if (args?.acls === undefined && !opts.urn) { throw new Error("Missing required property 'acls'"); } - if ((!args || args.backupSchedule === undefined) && !opts.urn) { + if (args?.backupSchedule === undefined && !opts.urn) { throw new Error("Missing required property 'backupSchedule'"); } - if ((!args || args.flavor === undefined) && !opts.urn) { + if (args?.flavor === undefined && !opts.urn) { throw new Error("Missing required property 'flavor'"); } - if ((!args || args.options === undefined) && !opts.urn) { + if (args?.options === undefined && !opts.urn) { throw new Error("Missing required property 'options'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.replicas === undefined) && !opts.urn) { + if (args?.replicas === undefined && !opts.urn) { throw new Error("Missing required property 'replicas'"); } - if ((!args || args.storage === undefined) && !opts.urn) { + if (args?.storage === undefined && !opts.urn) { throw new Error("Missing required property 'storage'"); } - if ((!args || args.version === undefined) && !opts.urn) { + if (args?.version === undefined && !opts.urn) { throw new Error("Missing required property 'version'"); } - resourceInputs["acls"] = args ? args.acls : undefined; - resourceInputs["backupSchedule"] = args ? args.backupSchedule : undefined; - resourceInputs["flavor"] = args ? args.flavor : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["options"] = args ? args.options : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["replicas"] = args ? args.replicas : undefined; - resourceInputs["storage"] = args ? args.storage : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["acls"] = args?.acls; + resourceInputs["backupSchedule"] = args?.backupSchedule; + resourceInputs["flavor"] = args?.flavor; + resourceInputs["name"] = args?.name; + resourceInputs["options"] = args?.options; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["replicas"] = args?.replicas; + resourceInputs["storage"] = args?.storage; + resourceInputs["version"] = args?.version; resourceInputs["instanceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -156,6 +162,10 @@ export interface MongodbflexInstanceState { * STACKIT project ID to which the instance is associated. */ projectId?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; replicas?: pulumi.Input; storage?: pulumi.Input; version?: pulumi.Input; @@ -183,6 +193,10 @@ export interface MongodbflexInstanceArgs { * STACKIT project ID to which the instance is associated. */ projectId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; replicas: pulumi.Input; storage: pulumi.Input; version: pulumi.Input; diff --git a/sdk/nodejs/mongodbflexUser.ts b/sdk/nodejs/mongodbflexUser.ts index 2aa3afbb..d60ded89 100644 --- a/sdk/nodejs/mongodbflexUser.ts +++ b/sdk/nodejs/mongodbflexUser.ts @@ -37,28 +37,32 @@ export class MongodbflexUser extends pulumi.CustomResource { return obj['__pulumiType'] === MongodbflexUser.__pulumiType; } - public readonly database!: pulumi.Output; - public /*out*/ readonly host!: pulumi.Output; + declare public readonly database: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; /** * ID of the MongoDB Flex instance. */ - public readonly instanceId!: pulumi.Output; - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; + /** + * The resource region. If not defined, the provider region is used. + */ + declare public readonly region: pulumi.Output; /** * Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] */ - public readonly roles!: pulumi.Output; - public /*out*/ readonly uri!: pulumi.Output; + declare public readonly roles: pulumi.Output; + declare public /*out*/ readonly uri: pulumi.Output; /** * User ID. */ - public /*out*/ readonly userId!: pulumi.Output; - public readonly username!: pulumi.Output; + declare public /*out*/ readonly userId: pulumi.Output; + declare public readonly username: pulumi.Output; /** * Create a MongodbflexUser resource with the given unique name, arguments, and options. @@ -73,35 +77,37 @@ export class MongodbflexUser extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as MongodbflexUserState | undefined; - resourceInputs["database"] = state ? state.database : undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["roles"] = state ? state.roles : undefined; - resourceInputs["uri"] = state ? state.uri : undefined; - resourceInputs["userId"] = state ? state.userId : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["database"] = state?.database; + resourceInputs["host"] = state?.host; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["roles"] = state?.roles; + resourceInputs["uri"] = state?.uri; + resourceInputs["userId"] = state?.userId; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as MongodbflexUserArgs | undefined; - if ((!args || args.database === undefined) && !opts.urn) { + if (args?.database === undefined && !opts.urn) { throw new Error("Missing required property 'database'"); } - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.roles === undefined) && !opts.urn) { + if (args?.roles === undefined && !opts.urn) { throw new Error("Missing required property 'roles'"); } - resourceInputs["database"] = args ? args.database : undefined; - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["roles"] = args ? args.roles : undefined; - resourceInputs["username"] = args ? args.username : undefined; + resourceInputs["database"] = args?.database; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["roles"] = args?.roles; + resourceInputs["username"] = args?.username; resourceInputs["host"] = undefined /*out*/; resourceInputs["password"] = undefined /*out*/; resourceInputs["port"] = undefined /*out*/; @@ -131,6 +137,10 @@ export interface MongodbflexUserState { * STACKIT project ID to which the instance is associated. */ projectId?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; /** * Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] */ @@ -156,6 +166,10 @@ export interface MongodbflexUserArgs { * STACKIT project ID to which the instance is associated. */ projectId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; /** * Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] */ diff --git a/sdk/nodejs/network.ts b/sdk/nodejs/network.ts index bf8fba1e..188a9bd0 100644 --- a/sdk/nodejs/network.ts +++ b/sdk/nodejs/network.ts @@ -40,87 +40,97 @@ export class Network extends pulumi.CustomResource { /** * The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. */ - public readonly ipv4Gateway!: pulumi.Output; + declare public readonly ipv4Gateway: pulumi.Output; /** * The IPv4 nameservers of the network. */ - public readonly ipv4Nameservers!: pulumi.Output; + declare public readonly ipv4Nameservers: pulumi.Output; /** * The IPv4 prefix of the network (CIDR). */ - public readonly ipv4Prefix!: pulumi.Output; + declare public readonly ipv4Prefix: pulumi.Output; /** * The IPv4 prefix length of the network. */ - public readonly ipv4PrefixLength!: pulumi.Output; + declare public readonly ipv4PrefixLength: pulumi.Output; /** * The IPv4 prefixes of the network. */ - public /*out*/ readonly ipv4Prefixes!: pulumi.Output; + declare public /*out*/ readonly ipv4Prefixes: pulumi.Output; /** * The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. */ - public readonly ipv6Gateway!: pulumi.Output; + declare public readonly ipv6Gateway: pulumi.Output; /** * The IPv6 nameservers of the network. */ - public readonly ipv6Nameservers!: pulumi.Output; + declare public readonly ipv6Nameservers: pulumi.Output; /** * The IPv6 prefix of the network (CIDR). */ - public readonly ipv6Prefix!: pulumi.Output; + declare public readonly ipv6Prefix: pulumi.Output; /** * The IPv6 prefix length of the network. */ - public readonly ipv6PrefixLength!: pulumi.Output; + declare public readonly ipv6PrefixLength: pulumi.Output; /** * The IPv6 prefixes of the network. */ - public /*out*/ readonly ipv6Prefixes!: pulumi.Output; + declare public /*out*/ readonly ipv6Prefixes: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The name of the network. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4Nameservers` to configure the nameservers for IPv4. * * @deprecated Use `ipv4Nameservers` to configure the nameservers for IPv4. */ - public readonly nameservers!: pulumi.Output; + declare public readonly nameservers: pulumi.Output; /** * The network ID. */ - public /*out*/ readonly networkId!: pulumi.Output; + declare public /*out*/ readonly networkId: pulumi.Output; /** * If set to `true`, the network doesn't have a gateway. */ - public readonly noIpv4Gateway!: pulumi.Output; + declare public readonly noIpv4Gateway: pulumi.Output; /** * If set to `true`, the network doesn't have a gateway. */ - public readonly noIpv6Gateway!: pulumi.Output; + declare public readonly noIpv6Gateway: pulumi.Output; /** * The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4Prefixes` to read the prefixes of the IPv4 networks. * * @deprecated Use `ipv4Prefixes` to read the prefixes of the IPv4 networks. */ - public /*out*/ readonly prefixes!: pulumi.Output; + declare public /*out*/ readonly prefixes: pulumi.Output; /** * STACKIT project ID to which the network is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The public IP of the network. */ - public /*out*/ readonly publicIp!: pulumi.Output; + declare public /*out*/ readonly publicIp: pulumi.Output; + /** + * Can only be used when experimental "network" is set. + * The resource region. If not defined, the provider region is used. + */ + declare public readonly region: pulumi.Output; /** * If set to `true`, the network is routed and therefore accessible from other networks. */ - public readonly routed!: pulumi.Output; + declare public readonly routed: pulumi.Output; + /** + * Can only be used when experimental "network" is set. + * The ID of the routing table associated with the network. + */ + declare public readonly routingTableId: pulumi.Output; /** * Create a Network resource with the given unique name, arguments, and options. @@ -135,46 +145,50 @@ export class Network extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as NetworkState | undefined; - resourceInputs["ipv4Gateway"] = state ? state.ipv4Gateway : undefined; - resourceInputs["ipv4Nameservers"] = state ? state.ipv4Nameservers : undefined; - resourceInputs["ipv4Prefix"] = state ? state.ipv4Prefix : undefined; - resourceInputs["ipv4PrefixLength"] = state ? state.ipv4PrefixLength : undefined; - resourceInputs["ipv4Prefixes"] = state ? state.ipv4Prefixes : undefined; - resourceInputs["ipv6Gateway"] = state ? state.ipv6Gateway : undefined; - resourceInputs["ipv6Nameservers"] = state ? state.ipv6Nameservers : undefined; - resourceInputs["ipv6Prefix"] = state ? state.ipv6Prefix : undefined; - resourceInputs["ipv6PrefixLength"] = state ? state.ipv6PrefixLength : undefined; - resourceInputs["ipv6Prefixes"] = state ? state.ipv6Prefixes : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["nameservers"] = state ? state.nameservers : undefined; - resourceInputs["networkId"] = state ? state.networkId : undefined; - resourceInputs["noIpv4Gateway"] = state ? state.noIpv4Gateway : undefined; - resourceInputs["noIpv6Gateway"] = state ? state.noIpv6Gateway : undefined; - resourceInputs["prefixes"] = state ? state.prefixes : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["publicIp"] = state ? state.publicIp : undefined; - resourceInputs["routed"] = state ? state.routed : undefined; + resourceInputs["ipv4Gateway"] = state?.ipv4Gateway; + resourceInputs["ipv4Nameservers"] = state?.ipv4Nameservers; + resourceInputs["ipv4Prefix"] = state?.ipv4Prefix; + resourceInputs["ipv4PrefixLength"] = state?.ipv4PrefixLength; + resourceInputs["ipv4Prefixes"] = state?.ipv4Prefixes; + resourceInputs["ipv6Gateway"] = state?.ipv6Gateway; + resourceInputs["ipv6Nameservers"] = state?.ipv6Nameservers; + resourceInputs["ipv6Prefix"] = state?.ipv6Prefix; + resourceInputs["ipv6PrefixLength"] = state?.ipv6PrefixLength; + resourceInputs["ipv6Prefixes"] = state?.ipv6Prefixes; + resourceInputs["labels"] = state?.labels; + resourceInputs["name"] = state?.name; + resourceInputs["nameservers"] = state?.nameservers; + resourceInputs["networkId"] = state?.networkId; + resourceInputs["noIpv4Gateway"] = state?.noIpv4Gateway; + resourceInputs["noIpv6Gateway"] = state?.noIpv6Gateway; + resourceInputs["prefixes"] = state?.prefixes; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["publicIp"] = state?.publicIp; + resourceInputs["region"] = state?.region; + resourceInputs["routed"] = state?.routed; + resourceInputs["routingTableId"] = state?.routingTableId; } else { const args = argsOrState as NetworkArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["ipv4Gateway"] = args ? args.ipv4Gateway : undefined; - resourceInputs["ipv4Nameservers"] = args ? args.ipv4Nameservers : undefined; - resourceInputs["ipv4Prefix"] = args ? args.ipv4Prefix : undefined; - resourceInputs["ipv4PrefixLength"] = args ? args.ipv4PrefixLength : undefined; - resourceInputs["ipv6Gateway"] = args ? args.ipv6Gateway : undefined; - resourceInputs["ipv6Nameservers"] = args ? args.ipv6Nameservers : undefined; - resourceInputs["ipv6Prefix"] = args ? args.ipv6Prefix : undefined; - resourceInputs["ipv6PrefixLength"] = args ? args.ipv6PrefixLength : undefined; - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["nameservers"] = args ? args.nameservers : undefined; - resourceInputs["noIpv4Gateway"] = args ? args.noIpv4Gateway : undefined; - resourceInputs["noIpv6Gateway"] = args ? args.noIpv6Gateway : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["routed"] = args ? args.routed : undefined; + resourceInputs["ipv4Gateway"] = args?.ipv4Gateway; + resourceInputs["ipv4Nameservers"] = args?.ipv4Nameservers; + resourceInputs["ipv4Prefix"] = args?.ipv4Prefix; + resourceInputs["ipv4PrefixLength"] = args?.ipv4PrefixLength; + resourceInputs["ipv6Gateway"] = args?.ipv6Gateway; + resourceInputs["ipv6Nameservers"] = args?.ipv6Nameservers; + resourceInputs["ipv6Prefix"] = args?.ipv6Prefix; + resourceInputs["ipv6PrefixLength"] = args?.ipv6PrefixLength; + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["nameservers"] = args?.nameservers; + resourceInputs["noIpv4Gateway"] = args?.noIpv4Gateway; + resourceInputs["noIpv6Gateway"] = args?.noIpv6Gateway; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["routed"] = args?.routed; + resourceInputs["routingTableId"] = args?.routingTableId; resourceInputs["ipv4Prefixes"] = undefined /*out*/; resourceInputs["ipv6Prefixes"] = undefined /*out*/; resourceInputs["networkId"] = undefined /*out*/; @@ -270,10 +284,20 @@ export interface NetworkState { * The public IP of the network. */ publicIp?: pulumi.Input; + /** + * Can only be used when experimental "network" is set. + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; /** * If set to `true`, the network is routed and therefore accessible from other networks. */ routed?: pulumi.Input; + /** + * Can only be used when experimental "network" is set. + * The ID of the routing table associated with the network. + */ + routingTableId?: pulumi.Input; } /** @@ -338,8 +362,18 @@ export interface NetworkArgs { * STACKIT project ID to which the network is associated. */ projectId: pulumi.Input; + /** + * Can only be used when experimental "network" is set. + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; /** * If set to `true`, the network is routed and therefore accessible from other networks. */ routed?: pulumi.Input; + /** + * Can only be used when experimental "network" is set. + * The ID of the routing table associated with the network. + */ + routingTableId?: pulumi.Input; } diff --git a/sdk/nodejs/networkArea.ts b/sdk/nodejs/networkArea.ts index 2d8efbe0..01c17075 100644 --- a/sdk/nodejs/networkArea.ts +++ b/sdk/nodejs/networkArea.ts @@ -42,47 +42,47 @@ export class NetworkArea extends pulumi.CustomResource { /** * List of DNS Servers/Nameservers. */ - public readonly defaultNameservers!: pulumi.Output; + declare public readonly defaultNameservers: pulumi.Output; /** * The default prefix length for networks in the network area. */ - public readonly defaultPrefixLength!: pulumi.Output; + declare public readonly defaultPrefixLength: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The maximal prefix length for networks in the network area. */ - public readonly maxPrefixLength!: pulumi.Output; + declare public readonly maxPrefixLength: pulumi.Output; /** * The minimal prefix length for networks in the network area. */ - public readonly minPrefixLength!: pulumi.Output; + declare public readonly minPrefixLength: pulumi.Output; /** * The name of the network area. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * The network area ID. */ - public /*out*/ readonly networkAreaId!: pulumi.Output; + declare public /*out*/ readonly networkAreaId: pulumi.Output; /** * List of Network ranges. */ - public readonly networkRanges!: pulumi.Output; + declare public readonly networkRanges: pulumi.Output; /** * STACKIT organization ID to which the network area is associated. */ - public readonly organizationId!: pulumi.Output; + declare public readonly organizationId: pulumi.Output; /** * The amount of projects currently referencing this area. */ - public /*out*/ readonly projectCount!: pulumi.Output; + declare public /*out*/ readonly projectCount: pulumi.Output; /** * Classless Inter-Domain Routing (CIDR). */ - public readonly transferNetwork!: pulumi.Output; + declare public readonly transferNetwork: pulumi.Output; /** * Create a NetworkArea resource with the given unique name, arguments, and options. @@ -97,37 +97,37 @@ export class NetworkArea extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as NetworkAreaState | undefined; - resourceInputs["defaultNameservers"] = state ? state.defaultNameservers : undefined; - resourceInputs["defaultPrefixLength"] = state ? state.defaultPrefixLength : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["maxPrefixLength"] = state ? state.maxPrefixLength : undefined; - resourceInputs["minPrefixLength"] = state ? state.minPrefixLength : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["networkAreaId"] = state ? state.networkAreaId : undefined; - resourceInputs["networkRanges"] = state ? state.networkRanges : undefined; - resourceInputs["organizationId"] = state ? state.organizationId : undefined; - resourceInputs["projectCount"] = state ? state.projectCount : undefined; - resourceInputs["transferNetwork"] = state ? state.transferNetwork : undefined; + resourceInputs["defaultNameservers"] = state?.defaultNameservers; + resourceInputs["defaultPrefixLength"] = state?.defaultPrefixLength; + resourceInputs["labels"] = state?.labels; + resourceInputs["maxPrefixLength"] = state?.maxPrefixLength; + resourceInputs["minPrefixLength"] = state?.minPrefixLength; + resourceInputs["name"] = state?.name; + resourceInputs["networkAreaId"] = state?.networkAreaId; + resourceInputs["networkRanges"] = state?.networkRanges; + resourceInputs["organizationId"] = state?.organizationId; + resourceInputs["projectCount"] = state?.projectCount; + resourceInputs["transferNetwork"] = state?.transferNetwork; } else { const args = argsOrState as NetworkAreaArgs | undefined; - if ((!args || args.networkRanges === undefined) && !opts.urn) { + if (args?.networkRanges === undefined && !opts.urn) { throw new Error("Missing required property 'networkRanges'"); } - if ((!args || args.organizationId === undefined) && !opts.urn) { + if (args?.organizationId === undefined && !opts.urn) { throw new Error("Missing required property 'organizationId'"); } - if ((!args || args.transferNetwork === undefined) && !opts.urn) { + if (args?.transferNetwork === undefined && !opts.urn) { throw new Error("Missing required property 'transferNetwork'"); } - resourceInputs["defaultNameservers"] = args ? args.defaultNameservers : undefined; - resourceInputs["defaultPrefixLength"] = args ? args.defaultPrefixLength : undefined; - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["maxPrefixLength"] = args ? args.maxPrefixLength : undefined; - resourceInputs["minPrefixLength"] = args ? args.minPrefixLength : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["networkRanges"] = args ? args.networkRanges : undefined; - resourceInputs["organizationId"] = args ? args.organizationId : undefined; - resourceInputs["transferNetwork"] = args ? args.transferNetwork : undefined; + resourceInputs["defaultNameservers"] = args?.defaultNameservers; + resourceInputs["defaultPrefixLength"] = args?.defaultPrefixLength; + resourceInputs["labels"] = args?.labels; + resourceInputs["maxPrefixLength"] = args?.maxPrefixLength; + resourceInputs["minPrefixLength"] = args?.minPrefixLength; + resourceInputs["name"] = args?.name; + resourceInputs["networkRanges"] = args?.networkRanges; + resourceInputs["organizationId"] = args?.organizationId; + resourceInputs["transferNetwork"] = args?.transferNetwork; resourceInputs["networkAreaId"] = undefined /*out*/; resourceInputs["projectCount"] = undefined /*out*/; } diff --git a/sdk/nodejs/networkAreaRoute.ts b/sdk/nodejs/networkAreaRoute.ts index 36265a27..4b7aa8aa 100644 --- a/sdk/nodejs/networkAreaRoute.ts +++ b/sdk/nodejs/networkAreaRoute.ts @@ -40,27 +40,27 @@ export class NetworkAreaRoute extends pulumi.CustomResource { /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The network area ID to which the network area route is associated. */ - public readonly networkAreaId!: pulumi.Output; + declare public readonly networkAreaId: pulumi.Output; /** * The network area route ID. */ - public /*out*/ readonly networkAreaRouteId!: pulumi.Output; + declare public /*out*/ readonly networkAreaRouteId: pulumi.Output; /** * The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. */ - public readonly nextHop!: pulumi.Output; + declare public readonly nextHop: pulumi.Output; /** * STACKIT organization ID to which the network area is associated. */ - public readonly organizationId!: pulumi.Output; + declare public readonly organizationId: pulumi.Output; /** * The network, that is reachable though the Next Hop. Should use CIDR notation. */ - public readonly prefix!: pulumi.Output; + declare public readonly prefix: pulumi.Output; /** * Create a NetworkAreaRoute resource with the given unique name, arguments, and options. @@ -75,31 +75,31 @@ export class NetworkAreaRoute extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as NetworkAreaRouteState | undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["networkAreaId"] = state ? state.networkAreaId : undefined; - resourceInputs["networkAreaRouteId"] = state ? state.networkAreaRouteId : undefined; - resourceInputs["nextHop"] = state ? state.nextHop : undefined; - resourceInputs["organizationId"] = state ? state.organizationId : undefined; - resourceInputs["prefix"] = state ? state.prefix : undefined; + resourceInputs["labels"] = state?.labels; + resourceInputs["networkAreaId"] = state?.networkAreaId; + resourceInputs["networkAreaRouteId"] = state?.networkAreaRouteId; + resourceInputs["nextHop"] = state?.nextHop; + resourceInputs["organizationId"] = state?.organizationId; + resourceInputs["prefix"] = state?.prefix; } else { const args = argsOrState as NetworkAreaRouteArgs | undefined; - if ((!args || args.networkAreaId === undefined) && !opts.urn) { + if (args?.networkAreaId === undefined && !opts.urn) { throw new Error("Missing required property 'networkAreaId'"); } - if ((!args || args.nextHop === undefined) && !opts.urn) { + if (args?.nextHop === undefined && !opts.urn) { throw new Error("Missing required property 'nextHop'"); } - if ((!args || args.organizationId === undefined) && !opts.urn) { + if (args?.organizationId === undefined && !opts.urn) { throw new Error("Missing required property 'organizationId'"); } - if ((!args || args.prefix === undefined) && !opts.urn) { + if (args?.prefix === undefined && !opts.urn) { throw new Error("Missing required property 'prefix'"); } - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["networkAreaId"] = args ? args.networkAreaId : undefined; - resourceInputs["nextHop"] = args ? args.nextHop : undefined; - resourceInputs["organizationId"] = args ? args.organizationId : undefined; - resourceInputs["prefix"] = args ? args.prefix : undefined; + resourceInputs["labels"] = args?.labels; + resourceInputs["networkAreaId"] = args?.networkAreaId; + resourceInputs["nextHop"] = args?.nextHop; + resourceInputs["organizationId"] = args?.organizationId; + resourceInputs["prefix"] = args?.prefix; resourceInputs["networkAreaRouteId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/networkInterface.ts b/sdk/nodejs/networkInterface.ts index 8ab5eb7f..d7d68eba 100644 --- a/sdk/nodejs/networkInterface.ts +++ b/sdk/nodejs/networkInterface.ts @@ -40,51 +40,51 @@ export class NetworkInterface extends pulumi.CustomResource { /** * The list of CIDR (Classless Inter-Domain Routing) notations. */ - public readonly allowedAddresses!: pulumi.Output; + declare public readonly allowedAddresses: pulumi.Output; /** * The device UUID of the network interface. */ - public /*out*/ readonly device!: pulumi.Output; + declare public /*out*/ readonly device: pulumi.Output; /** * The IPv4 address. */ - public readonly ipv4!: pulumi.Output; + declare public readonly ipv4: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a network interface. */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The MAC address of network interface. */ - public /*out*/ readonly mac!: pulumi.Output; + declare public /*out*/ readonly mac: pulumi.Output; /** * The name of the network interface. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * The network ID to which the network interface is associated. */ - public readonly networkId!: pulumi.Output; + declare public readonly networkId: pulumi.Output; /** * The network interface ID. */ - public /*out*/ readonly networkInterfaceId!: pulumi.Output; + declare public /*out*/ readonly networkInterfaceId: pulumi.Output; /** * STACKIT project ID to which the network is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The Network Interface Security. If set to false, then no security groups will apply to this network interface. */ - public readonly security!: pulumi.Output; + declare public readonly security: pulumi.Output; /** * The list of security group UUIDs. If security is set to false, setting this field will lead to an error. */ - public readonly securityGroupIds!: pulumi.Output; + declare public readonly securityGroupIds: pulumi.Output; /** * Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. */ - public /*out*/ readonly type!: pulumi.Output; + declare public /*out*/ readonly type: pulumi.Output; /** * Create a NetworkInterface resource with the given unique name, arguments, and options. @@ -99,34 +99,34 @@ export class NetworkInterface extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as NetworkInterfaceState | undefined; - resourceInputs["allowedAddresses"] = state ? state.allowedAddresses : undefined; - resourceInputs["device"] = state ? state.device : undefined; - resourceInputs["ipv4"] = state ? state.ipv4 : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["mac"] = state ? state.mac : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["networkId"] = state ? state.networkId : undefined; - resourceInputs["networkInterfaceId"] = state ? state.networkInterfaceId : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["security"] = state ? state.security : undefined; - resourceInputs["securityGroupIds"] = state ? state.securityGroupIds : undefined; - resourceInputs["type"] = state ? state.type : undefined; + resourceInputs["allowedAddresses"] = state?.allowedAddresses; + resourceInputs["device"] = state?.device; + resourceInputs["ipv4"] = state?.ipv4; + resourceInputs["labels"] = state?.labels; + resourceInputs["mac"] = state?.mac; + resourceInputs["name"] = state?.name; + resourceInputs["networkId"] = state?.networkId; + resourceInputs["networkInterfaceId"] = state?.networkInterfaceId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["security"] = state?.security; + resourceInputs["securityGroupIds"] = state?.securityGroupIds; + resourceInputs["type"] = state?.type; } else { const args = argsOrState as NetworkInterfaceArgs | undefined; - if ((!args || args.networkId === undefined) && !opts.urn) { + if (args?.networkId === undefined && !opts.urn) { throw new Error("Missing required property 'networkId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["allowedAddresses"] = args ? args.allowedAddresses : undefined; - resourceInputs["ipv4"] = args ? args.ipv4 : undefined; - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["networkId"] = args ? args.networkId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["security"] = args ? args.security : undefined; - resourceInputs["securityGroupIds"] = args ? args.securityGroupIds : undefined; + resourceInputs["allowedAddresses"] = args?.allowedAddresses; + resourceInputs["ipv4"] = args?.ipv4; + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["networkId"] = args?.networkId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["security"] = args?.security; + resourceInputs["securityGroupIds"] = args?.securityGroupIds; resourceInputs["device"] = undefined /*out*/; resourceInputs["mac"] = undefined /*out*/; resourceInputs["networkInterfaceId"] = undefined /*out*/; diff --git a/sdk/nodejs/objectstorageBucket.ts b/sdk/nodejs/objectstorageBucket.ts index 12197975..c7a3db15 100644 --- a/sdk/nodejs/objectstorageBucket.ts +++ b/sdk/nodejs/objectstorageBucket.ts @@ -40,17 +40,17 @@ export class ObjectstorageBucket extends pulumi.CustomResource { /** * The bucket name. It must be DNS conform. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT Project ID to which the bucket is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; - public /*out*/ readonly urlPathStyle!: pulumi.Output; - public /*out*/ readonly urlVirtualHostedStyle!: pulumi.Output; + declare public readonly region: pulumi.Output; + declare public /*out*/ readonly urlPathStyle: pulumi.Output; + declare public /*out*/ readonly urlVirtualHostedStyle: pulumi.Output; /** * Create a ObjectstorageBucket resource with the given unique name, arguments, and options. @@ -65,19 +65,19 @@ export class ObjectstorageBucket extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObjectstorageBucketState | undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["urlPathStyle"] = state ? state.urlPathStyle : undefined; - resourceInputs["urlVirtualHostedStyle"] = state ? state.urlVirtualHostedStyle : undefined; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["urlPathStyle"] = state?.urlPathStyle; + resourceInputs["urlVirtualHostedStyle"] = state?.urlVirtualHostedStyle; } else { const args = argsOrState as ObjectstorageBucketArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; resourceInputs["urlPathStyle"] = undefined /*out*/; resourceInputs["urlVirtualHostedStyle"] = undefined /*out*/; } diff --git a/sdk/nodejs/objectstorageCredential.ts b/sdk/nodejs/objectstorageCredential.ts index f6862960..3a66c46f 100644 --- a/sdk/nodejs/objectstorageCredential.ts +++ b/sdk/nodejs/objectstorageCredential.ts @@ -37,29 +37,29 @@ export class ObjectstorageCredential extends pulumi.CustomResource { return obj['__pulumiType'] === ObjectstorageCredential.__pulumiType; } - public /*out*/ readonly accessKey!: pulumi.Output; + declare public /*out*/ readonly accessKey: pulumi.Output; /** * The credential ID. */ - public /*out*/ readonly credentialId!: pulumi.Output; + declare public /*out*/ readonly credentialId: pulumi.Output; /** * The credential group ID. */ - public readonly credentialsGroupId!: pulumi.Output; + declare public readonly credentialsGroupId: pulumi.Output; /** * Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. */ - public readonly expirationTimestamp!: pulumi.Output; - public /*out*/ readonly name!: pulumi.Output; + declare public readonly expirationTimestamp: pulumi.Output; + declare public /*out*/ readonly name: pulumi.Output; /** * STACKIT Project ID to which the credential group is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; - public /*out*/ readonly secretAccessKey!: pulumi.Output; + declare public readonly region: pulumi.Output; + declare public /*out*/ readonly secretAccessKey: pulumi.Output; /** * Create a ObjectstorageCredential resource with the given unique name, arguments, and options. @@ -74,26 +74,26 @@ export class ObjectstorageCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObjectstorageCredentialState | undefined; - resourceInputs["accessKey"] = state ? state.accessKey : undefined; - resourceInputs["credentialId"] = state ? state.credentialId : undefined; - resourceInputs["credentialsGroupId"] = state ? state.credentialsGroupId : undefined; - resourceInputs["expirationTimestamp"] = state ? state.expirationTimestamp : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["secretAccessKey"] = state ? state.secretAccessKey : undefined; + resourceInputs["accessKey"] = state?.accessKey; + resourceInputs["credentialId"] = state?.credentialId; + resourceInputs["credentialsGroupId"] = state?.credentialsGroupId; + resourceInputs["expirationTimestamp"] = state?.expirationTimestamp; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["secretAccessKey"] = state?.secretAccessKey; } else { const args = argsOrState as ObjectstorageCredentialArgs | undefined; - if ((!args || args.credentialsGroupId === undefined) && !opts.urn) { + if (args?.credentialsGroupId === undefined && !opts.urn) { throw new Error("Missing required property 'credentialsGroupId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["credentialsGroupId"] = args ? args.credentialsGroupId : undefined; - resourceInputs["expirationTimestamp"] = args ? args.expirationTimestamp : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; + resourceInputs["credentialsGroupId"] = args?.credentialsGroupId; + resourceInputs["expirationTimestamp"] = args?.expirationTimestamp; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; resourceInputs["accessKey"] = undefined /*out*/; resourceInputs["credentialId"] = undefined /*out*/; resourceInputs["name"] = undefined /*out*/; diff --git a/sdk/nodejs/objectstorageCredentialsGroup.ts b/sdk/nodejs/objectstorageCredentialsGroup.ts index 8d98c509..ab405ae1 100644 --- a/sdk/nodejs/objectstorageCredentialsGroup.ts +++ b/sdk/nodejs/objectstorageCredentialsGroup.ts @@ -40,23 +40,23 @@ export class ObjectstorageCredentialsGroup extends pulumi.CustomResource { /** * The credentials group ID */ - public /*out*/ readonly credentialsGroupId!: pulumi.Output; + declare public /*out*/ readonly credentialsGroupId: pulumi.Output; /** * The credentials group's display name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * Project ID to which the credentials group is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Credentials group uniform resource name (URN) */ - public /*out*/ readonly urn!: pulumi.Output; + declare public /*out*/ readonly urn: pulumi.Output; /** * Create a ObjectstorageCredentialsGroup resource with the given unique name, arguments, and options. @@ -71,19 +71,19 @@ export class ObjectstorageCredentialsGroup extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObjectstorageCredentialsGroupState | undefined; - resourceInputs["credentialsGroupId"] = state ? state.credentialsGroupId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["urn"] = state ? state.urn : undefined; + resourceInputs["credentialsGroupId"] = state?.credentialsGroupId; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["urn"] = state?.urn; } else { const args = argsOrState as ObjectstorageCredentialsGroupArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; resourceInputs["credentialsGroupId"] = undefined /*out*/; resourceInputs["urn"] = undefined /*out*/; } diff --git a/sdk/nodejs/observabilityAlertgroup.ts b/sdk/nodejs/observabilityAlertgroup.ts index 0adf7ca1..73008d91 100644 --- a/sdk/nodejs/observabilityAlertgroup.ts +++ b/sdk/nodejs/observabilityAlertgroup.ts @@ -42,23 +42,23 @@ export class ObservabilityAlertgroup extends pulumi.CustomResource { /** * Observability instance ID to which the alert group is associated. */ - public readonly instanceId!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; /** * Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. */ - public readonly interval!: pulumi.Output; + declare public readonly interval: pulumi.Output; /** * The name of the alert group. Is the identifier and must be unique in the group. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the alert group is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Rules for the alert group */ - public readonly rules!: pulumi.Output; + declare public readonly rules: pulumi.Output; /** * Create a ObservabilityAlertgroup resource with the given unique name, arguments, and options. @@ -73,27 +73,27 @@ export class ObservabilityAlertgroup extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObservabilityAlertgroupState | undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["interval"] = state ? state.interval : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["rules"] = state ? state.rules : undefined; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["interval"] = state?.interval; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["rules"] = state?.rules; } else { const args = argsOrState as ObservabilityAlertgroupArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.rules === undefined) && !opts.urn) { + if (args?.rules === undefined && !opts.urn) { throw new Error("Missing required property 'rules'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["interval"] = args ? args.interval : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["rules"] = args ? args.rules : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["interval"] = args?.interval; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["rules"] = args?.rules; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ObservabilityAlertgroup.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/observabilityCredential.ts b/sdk/nodejs/observabilityCredential.ts index a45172a6..d75851fe 100644 --- a/sdk/nodejs/observabilityCredential.ts +++ b/sdk/nodejs/observabilityCredential.ts @@ -37,22 +37,26 @@ export class ObservabilityCredential extends pulumi.CustomResource { return obj['__pulumiType'] === ObservabilityCredential.__pulumiType; } + /** + * A description of the credential. + */ + declare public readonly description: pulumi.Output; /** * The Observability Instance ID the credential belongs to. */ - public readonly instanceId!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; /** * Credential password */ - public /*out*/ readonly password!: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; /** * STACKIT project ID to which the credential is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Credential username */ - public /*out*/ readonly username!: pulumi.Output; + declare public /*out*/ readonly username: pulumi.Output; /** * Create a ObservabilityCredential resource with the given unique name, arguments, and options. @@ -67,20 +71,22 @@ export class ObservabilityCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObservabilityCredentialState | undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["description"] = state?.description; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["password"] = state?.password; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as ObservabilityCredentialArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["description"] = args?.description; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; resourceInputs["password"] = undefined /*out*/; resourceInputs["username"] = undefined /*out*/; } @@ -95,6 +101,10 @@ export class ObservabilityCredential extends pulumi.CustomResource { * Input properties used for looking up and filtering ObservabilityCredential resources. */ export interface ObservabilityCredentialState { + /** + * A description of the credential. + */ + description?: pulumi.Input; /** * The Observability Instance ID the credential belongs to. */ @@ -117,6 +127,10 @@ export interface ObservabilityCredentialState { * The set of arguments for constructing a ObservabilityCredential resource. */ export interface ObservabilityCredentialArgs { + /** + * A description of the credential. + */ + description?: pulumi.Input; /** * The Observability Instance ID the credential belongs to. */ diff --git a/sdk/nodejs/observabilityInstance.ts b/sdk/nodejs/observabilityInstance.ts index 1e60ef5b..77bce796 100644 --- a/sdk/nodejs/observabilityInstance.ts +++ b/sdk/nodejs/observabilityInstance.ts @@ -42,99 +42,99 @@ export class ObservabilityInstance extends pulumi.CustomResource { /** * The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. */ - public readonly acls!: pulumi.Output; + declare public readonly acls: pulumi.Output; /** * Alert configuration for the instance. */ - public readonly alertConfig!: pulumi.Output; + declare public readonly alertConfig: pulumi.Output; /** * Specifies Alerting URL. */ - public /*out*/ readonly alertingUrl!: pulumi.Output; + declare public /*out*/ readonly alertingUrl: pulumi.Output; /** * Specifies Observability instance dashboard URL. */ - public /*out*/ readonly dashboardUrl!: pulumi.Output; + declare public /*out*/ readonly dashboardUrl: pulumi.Output; /** * Specifies an initial Grafana admin password. */ - public /*out*/ readonly grafanaInitialAdminPassword!: pulumi.Output; + declare public /*out*/ readonly grafanaInitialAdminPassword: pulumi.Output; /** * Specifies an initial Grafana admin username. */ - public /*out*/ readonly grafanaInitialAdminUser!: pulumi.Output; + declare public /*out*/ readonly grafanaInitialAdminUser: pulumi.Output; /** * If true, anyone can access Grafana dashboards without logging in. */ - public /*out*/ readonly grafanaPublicReadAccess!: pulumi.Output; + declare public /*out*/ readonly grafanaPublicReadAccess: pulumi.Output; /** * Specifies Grafana URL. */ - public /*out*/ readonly grafanaUrl!: pulumi.Output; + declare public /*out*/ readonly grafanaUrl: pulumi.Output; /** * The Observability instance ID. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Specifies if the instance can be updated. */ - public /*out*/ readonly isUpdatable!: pulumi.Output; - public /*out*/ readonly jaegerTracesUrl!: pulumi.Output; - public /*out*/ readonly jaegerUiUrl!: pulumi.Output; + declare public /*out*/ readonly isUpdatable: pulumi.Output; + declare public /*out*/ readonly jaegerTracesUrl: pulumi.Output; + declare public /*out*/ readonly jaegerUiUrl: pulumi.Output; /** * Specifies URL for pushing logs. */ - public /*out*/ readonly logsPushUrl!: pulumi.Output; + declare public /*out*/ readonly logsPushUrl: pulumi.Output; /** * Specifies Logs URL. */ - public /*out*/ readonly logsUrl!: pulumi.Output; + declare public /*out*/ readonly logsUrl: pulumi.Output; /** * Specifies URL for pushing metrics. */ - public /*out*/ readonly metricsPushUrl!: pulumi.Output; + declare public /*out*/ readonly metricsPushUrl: pulumi.Output; /** - * Specifies for how many days the raw metrics are kept. + * Specifies for how many days the raw metrics are kept. Default is set to `90`. */ - public readonly metricsRetentionDays!: pulumi.Output; + declare public readonly metricsRetentionDays: pulumi.Output; /** - * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. */ - public readonly metricsRetentionDays1hDownsampling!: pulumi.Output; + declare public readonly metricsRetentionDays1hDownsampling: pulumi.Output; /** - * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. */ - public readonly metricsRetentionDays5mDownsampling!: pulumi.Output; + declare public readonly metricsRetentionDays5mDownsampling: pulumi.Output; /** * Specifies metrics URL. */ - public /*out*/ readonly metricsUrl!: pulumi.Output; + declare public /*out*/ readonly metricsUrl: pulumi.Output; /** * The name of the Observability instance. */ - public readonly name!: pulumi.Output; - public /*out*/ readonly otlpTracesUrl!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public /*out*/ readonly otlpTracesUrl: pulumi.Output; /** * Additional parameters. */ - public readonly parameters!: pulumi.Output<{[key: string]: string}>; + declare public readonly parameters: pulumi.Output<{[key: string]: string}>; /** * The Observability plan ID. */ - public /*out*/ readonly planId!: pulumi.Output; + declare public /*out*/ readonly planId: pulumi.Output; /** * Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. */ - public readonly planName!: pulumi.Output; + declare public readonly planName: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Specifies Targets URL. */ - public /*out*/ readonly targetsUrl!: pulumi.Output; - public /*out*/ readonly zipkinSpansUrl!: pulumi.Output; + declare public /*out*/ readonly targetsUrl: pulumi.Output; + declare public /*out*/ readonly zipkinSpansUrl: pulumi.Output; /** * Create a ObservabilityInstance resource with the given unique name, arguments, and options. @@ -149,50 +149,50 @@ export class ObservabilityInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObservabilityInstanceState | undefined; - resourceInputs["acls"] = state ? state.acls : undefined; - resourceInputs["alertConfig"] = state ? state.alertConfig : undefined; - resourceInputs["alertingUrl"] = state ? state.alertingUrl : undefined; - resourceInputs["dashboardUrl"] = state ? state.dashboardUrl : undefined; - resourceInputs["grafanaInitialAdminPassword"] = state ? state.grafanaInitialAdminPassword : undefined; - resourceInputs["grafanaInitialAdminUser"] = state ? state.grafanaInitialAdminUser : undefined; - resourceInputs["grafanaPublicReadAccess"] = state ? state.grafanaPublicReadAccess : undefined; - resourceInputs["grafanaUrl"] = state ? state.grafanaUrl : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["isUpdatable"] = state ? state.isUpdatable : undefined; - resourceInputs["jaegerTracesUrl"] = state ? state.jaegerTracesUrl : undefined; - resourceInputs["jaegerUiUrl"] = state ? state.jaegerUiUrl : undefined; - resourceInputs["logsPushUrl"] = state ? state.logsPushUrl : undefined; - resourceInputs["logsUrl"] = state ? state.logsUrl : undefined; - resourceInputs["metricsPushUrl"] = state ? state.metricsPushUrl : undefined; - resourceInputs["metricsRetentionDays"] = state ? state.metricsRetentionDays : undefined; - resourceInputs["metricsRetentionDays1hDownsampling"] = state ? state.metricsRetentionDays1hDownsampling : undefined; - resourceInputs["metricsRetentionDays5mDownsampling"] = state ? state.metricsRetentionDays5mDownsampling : undefined; - resourceInputs["metricsUrl"] = state ? state.metricsUrl : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["otlpTracesUrl"] = state ? state.otlpTracesUrl : undefined; - resourceInputs["parameters"] = state ? state.parameters : undefined; - resourceInputs["planId"] = state ? state.planId : undefined; - resourceInputs["planName"] = state ? state.planName : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["targetsUrl"] = state ? state.targetsUrl : undefined; - resourceInputs["zipkinSpansUrl"] = state ? state.zipkinSpansUrl : undefined; + resourceInputs["acls"] = state?.acls; + resourceInputs["alertConfig"] = state?.alertConfig; + resourceInputs["alertingUrl"] = state?.alertingUrl; + resourceInputs["dashboardUrl"] = state?.dashboardUrl; + resourceInputs["grafanaInitialAdminPassword"] = state?.grafanaInitialAdminPassword; + resourceInputs["grafanaInitialAdminUser"] = state?.grafanaInitialAdminUser; + resourceInputs["grafanaPublicReadAccess"] = state?.grafanaPublicReadAccess; + resourceInputs["grafanaUrl"] = state?.grafanaUrl; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["isUpdatable"] = state?.isUpdatable; + resourceInputs["jaegerTracesUrl"] = state?.jaegerTracesUrl; + resourceInputs["jaegerUiUrl"] = state?.jaegerUiUrl; + resourceInputs["logsPushUrl"] = state?.logsPushUrl; + resourceInputs["logsUrl"] = state?.logsUrl; + resourceInputs["metricsPushUrl"] = state?.metricsPushUrl; + resourceInputs["metricsRetentionDays"] = state?.metricsRetentionDays; + resourceInputs["metricsRetentionDays1hDownsampling"] = state?.metricsRetentionDays1hDownsampling; + resourceInputs["metricsRetentionDays5mDownsampling"] = state?.metricsRetentionDays5mDownsampling; + resourceInputs["metricsUrl"] = state?.metricsUrl; + resourceInputs["name"] = state?.name; + resourceInputs["otlpTracesUrl"] = state?.otlpTracesUrl; + resourceInputs["parameters"] = state?.parameters; + resourceInputs["planId"] = state?.planId; + resourceInputs["planName"] = state?.planName; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["targetsUrl"] = state?.targetsUrl; + resourceInputs["zipkinSpansUrl"] = state?.zipkinSpansUrl; } else { const args = argsOrState as ObservabilityInstanceArgs | undefined; - if ((!args || args.planName === undefined) && !opts.urn) { + if (args?.planName === undefined && !opts.urn) { throw new Error("Missing required property 'planName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["acls"] = args ? args.acls : undefined; - resourceInputs["alertConfig"] = args ? args.alertConfig : undefined; - resourceInputs["metricsRetentionDays"] = args ? args.metricsRetentionDays : undefined; - resourceInputs["metricsRetentionDays1hDownsampling"] = args ? args.metricsRetentionDays1hDownsampling : undefined; - resourceInputs["metricsRetentionDays5mDownsampling"] = args ? args.metricsRetentionDays5mDownsampling : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["parameters"] = args ? args.parameters : undefined; - resourceInputs["planName"] = args ? args.planName : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["acls"] = args?.acls; + resourceInputs["alertConfig"] = args?.alertConfig; + resourceInputs["metricsRetentionDays"] = args?.metricsRetentionDays; + resourceInputs["metricsRetentionDays1hDownsampling"] = args?.metricsRetentionDays1hDownsampling; + resourceInputs["metricsRetentionDays5mDownsampling"] = args?.metricsRetentionDays5mDownsampling; + resourceInputs["name"] = args?.name; + resourceInputs["parameters"] = args?.parameters; + resourceInputs["planName"] = args?.planName; + resourceInputs["projectId"] = args?.projectId; resourceInputs["alertingUrl"] = undefined /*out*/; resourceInputs["dashboardUrl"] = undefined /*out*/; resourceInputs["grafanaInitialAdminPassword"] = undefined /*out*/; @@ -278,15 +278,15 @@ export interface ObservabilityInstanceState { */ metricsPushUrl?: pulumi.Input; /** - * Specifies for how many days the raw metrics are kept. + * Specifies for how many days the raw metrics are kept. Default is set to `90`. */ metricsRetentionDays?: pulumi.Input; /** - * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. */ metricsRetentionDays1hDownsampling?: pulumi.Input; /** - * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. */ metricsRetentionDays5mDownsampling?: pulumi.Input; /** @@ -334,15 +334,15 @@ export interface ObservabilityInstanceArgs { */ alertConfig?: pulumi.Input; /** - * Specifies for how many days the raw metrics are kept. + * Specifies for how many days the raw metrics are kept. Default is set to `90`. */ metricsRetentionDays?: pulumi.Input; /** - * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + * Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. */ metricsRetentionDays1hDownsampling?: pulumi.Input; /** - * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + * Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. */ metricsRetentionDays5mDownsampling?: pulumi.Input; /** diff --git a/sdk/nodejs/observabilityLogalertgroup.ts b/sdk/nodejs/observabilityLogalertgroup.ts index 661cf160..2e21e965 100644 --- a/sdk/nodejs/observabilityLogalertgroup.ts +++ b/sdk/nodejs/observabilityLogalertgroup.ts @@ -42,23 +42,23 @@ export class ObservabilityLogalertgroup extends pulumi.CustomResource { /** * Observability instance ID to which the log alert group is associated. */ - public readonly instanceId!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; /** * Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. */ - public readonly interval!: pulumi.Output; + declare public readonly interval: pulumi.Output; /** * The name of the log alert group. Is the identifier and must be unique in the group. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the log alert group is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Rules for the log alert group */ - public readonly rules!: pulumi.Output; + declare public readonly rules: pulumi.Output; /** * Create a ObservabilityLogalertgroup resource with the given unique name, arguments, and options. @@ -73,27 +73,27 @@ export class ObservabilityLogalertgroup extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObservabilityLogalertgroupState | undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["interval"] = state ? state.interval : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["rules"] = state ? state.rules : undefined; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["interval"] = state?.interval; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["rules"] = state?.rules; } else { const args = argsOrState as ObservabilityLogalertgroupArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.rules === undefined) && !opts.urn) { + if (args?.rules === undefined && !opts.urn) { throw new Error("Missing required property 'rules'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["interval"] = args ? args.interval : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["rules"] = args ? args.rules : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["interval"] = args?.interval; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["rules"] = args?.rules; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ObservabilityLogalertgroup.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/observabilityScrapeconfig.ts b/sdk/nodejs/observabilityScrapeconfig.ts index 248e2d36..9ba006f1 100644 --- a/sdk/nodejs/observabilityScrapeconfig.ts +++ b/sdk/nodejs/observabilityScrapeconfig.ts @@ -42,47 +42,47 @@ export class ObservabilityScrapeconfig extends pulumi.CustomResource { /** * A basic authentication block. */ - public readonly basicAuth!: pulumi.Output; + declare public readonly basicAuth: pulumi.Output; /** * Observability instance ID to which the scraping job is associated. */ - public readonly instanceId!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; /** * Specifies the job scraping url path. E.g. `/metrics`. */ - public readonly metricsPath!: pulumi.Output; + declare public readonly metricsPath: pulumi.Output; /** * Specifies the name of the scraping job. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the scraping job is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * A SAML2 configuration block. */ - public readonly saml2!: pulumi.Output; + declare public readonly saml2: pulumi.Output; /** * Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. */ - public readonly sampleLimit!: pulumi.Output; + declare public readonly sampleLimit: pulumi.Output; /** * Specifies the http scheme. Defaults to `https`. */ - public readonly scheme!: pulumi.Output; + declare public readonly scheme: pulumi.Output; /** * Specifies the scrape interval as duration string. Defaults to `5m`. */ - public readonly scrapeInterval!: pulumi.Output; + declare public readonly scrapeInterval: pulumi.Output; /** * Specifies the scrape timeout as duration string. Defaults to `2m`. */ - public readonly scrapeTimeout!: pulumi.Output; + declare public readonly scrapeTimeout: pulumi.Output; /** * The targets list (specified by the static config). */ - public readonly targets!: pulumi.Output; + declare public readonly targets: pulumi.Output; /** * Create a ObservabilityScrapeconfig resource with the given unique name, arguments, and options. @@ -97,42 +97,42 @@ export class ObservabilityScrapeconfig extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ObservabilityScrapeconfigState | undefined; - resourceInputs["basicAuth"] = state ? state.basicAuth : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["metricsPath"] = state ? state.metricsPath : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["saml2"] = state ? state.saml2 : undefined; - resourceInputs["sampleLimit"] = state ? state.sampleLimit : undefined; - resourceInputs["scheme"] = state ? state.scheme : undefined; - resourceInputs["scrapeInterval"] = state ? state.scrapeInterval : undefined; - resourceInputs["scrapeTimeout"] = state ? state.scrapeTimeout : undefined; - resourceInputs["targets"] = state ? state.targets : undefined; + resourceInputs["basicAuth"] = state?.basicAuth; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["metricsPath"] = state?.metricsPath; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["saml2"] = state?.saml2; + resourceInputs["sampleLimit"] = state?.sampleLimit; + resourceInputs["scheme"] = state?.scheme; + resourceInputs["scrapeInterval"] = state?.scrapeInterval; + resourceInputs["scrapeTimeout"] = state?.scrapeTimeout; + resourceInputs["targets"] = state?.targets; } else { const args = argsOrState as ObservabilityScrapeconfigArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.metricsPath === undefined) && !opts.urn) { + if (args?.metricsPath === undefined && !opts.urn) { throw new Error("Missing required property 'metricsPath'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.targets === undefined) && !opts.urn) { + if (args?.targets === undefined && !opts.urn) { throw new Error("Missing required property 'targets'"); } - resourceInputs["basicAuth"] = args ? args.basicAuth : undefined; - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["metricsPath"] = args ? args.metricsPath : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["saml2"] = args ? args.saml2 : undefined; - resourceInputs["sampleLimit"] = args ? args.sampleLimit : undefined; - resourceInputs["scheme"] = args ? args.scheme : undefined; - resourceInputs["scrapeInterval"] = args ? args.scrapeInterval : undefined; - resourceInputs["scrapeTimeout"] = args ? args.scrapeTimeout : undefined; - resourceInputs["targets"] = args ? args.targets : undefined; + resourceInputs["basicAuth"] = args?.basicAuth; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["metricsPath"] = args?.metricsPath; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["saml2"] = args?.saml2; + resourceInputs["sampleLimit"] = args?.sampleLimit; + resourceInputs["scheme"] = args?.scheme; + resourceInputs["scrapeInterval"] = args?.scrapeInterval; + resourceInputs["scrapeTimeout"] = args?.scrapeTimeout; + resourceInputs["targets"] = args?.targets; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ObservabilityScrapeconfig.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/opensearchCredential.ts b/sdk/nodejs/opensearchCredential.ts index 11e3acdd..8f516d2d 100644 --- a/sdk/nodejs/opensearchCredential.ts +++ b/sdk/nodejs/opensearchCredential.ts @@ -40,22 +40,22 @@ export class OpensearchCredential extends pulumi.CustomResource { /** * The credential's ID. */ - public /*out*/ readonly credentialId!: pulumi.Output; - public /*out*/ readonly host!: pulumi.Output; - public /*out*/ readonly hosts!: pulumi.Output; + declare public /*out*/ readonly credentialId: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; + declare public /*out*/ readonly hosts: pulumi.Output; /** * ID of the OpenSearch instance. */ - public readonly instanceId!: pulumi.Output; - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT Project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; - public /*out*/ readonly scheme!: pulumi.Output; - public /*out*/ readonly uri!: pulumi.Output; - public /*out*/ readonly username!: pulumi.Output; + declare public readonly projectId: pulumi.Output; + declare public /*out*/ readonly scheme: pulumi.Output; + declare public /*out*/ readonly uri: pulumi.Output; + declare public /*out*/ readonly username: pulumi.Output; /** * Create a OpensearchCredential resource with the given unique name, arguments, and options. @@ -70,26 +70,26 @@ export class OpensearchCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as OpensearchCredentialState | undefined; - resourceInputs["credentialId"] = state ? state.credentialId : undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["hosts"] = state ? state.hosts : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["scheme"] = state ? state.scheme : undefined; - resourceInputs["uri"] = state ? state.uri : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["credentialId"] = state?.credentialId; + resourceInputs["host"] = state?.host; + resourceInputs["hosts"] = state?.hosts; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["scheme"] = state?.scheme; + resourceInputs["uri"] = state?.uri; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as OpensearchCredentialArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; resourceInputs["credentialId"] = undefined /*out*/; resourceInputs["host"] = undefined /*out*/; resourceInputs["hosts"] = undefined /*out*/; diff --git a/sdk/nodejs/opensearchInstance.ts b/sdk/nodejs/opensearchInstance.ts index f036b367..3a1d71d6 100644 --- a/sdk/nodejs/opensearchInstance.ts +++ b/sdk/nodejs/opensearchInstance.ts @@ -39,36 +39,36 @@ export class OpensearchInstance extends pulumi.CustomResource { return obj['__pulumiType'] === OpensearchInstance.__pulumiType; } - public /*out*/ readonly cfGuid!: pulumi.Output; - public /*out*/ readonly cfOrganizationGuid!: pulumi.Output; - public /*out*/ readonly cfSpaceGuid!: pulumi.Output; - public /*out*/ readonly dashboardUrl!: pulumi.Output; - public /*out*/ readonly imageUrl!: pulumi.Output; + declare public /*out*/ readonly cfGuid: pulumi.Output; + declare public /*out*/ readonly cfOrganizationGuid: pulumi.Output; + declare public /*out*/ readonly cfSpaceGuid: pulumi.Output; + declare public /*out*/ readonly dashboardUrl: pulumi.Output; + declare public /*out*/ readonly imageUrl: pulumi.Output; /** * ID of the OpenSearch instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; - public readonly parameters!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public readonly parameters: pulumi.Output; /** * The selected plan ID. */ - public /*out*/ readonly planId!: pulumi.Output; + declare public /*out*/ readonly planId: pulumi.Output; /** * The selected plan name. */ - public readonly planName!: pulumi.Output; + declare public readonly planName: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The service version. */ - public readonly version!: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a OpensearchInstance resource with the given unique name, arguments, and options. @@ -83,34 +83,34 @@ export class OpensearchInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as OpensearchInstanceState | undefined; - resourceInputs["cfGuid"] = state ? state.cfGuid : undefined; - resourceInputs["cfOrganizationGuid"] = state ? state.cfOrganizationGuid : undefined; - resourceInputs["cfSpaceGuid"] = state ? state.cfSpaceGuid : undefined; - resourceInputs["dashboardUrl"] = state ? state.dashboardUrl : undefined; - resourceInputs["imageUrl"] = state ? state.imageUrl : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["parameters"] = state ? state.parameters : undefined; - resourceInputs["planId"] = state ? state.planId : undefined; - resourceInputs["planName"] = state ? state.planName : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["cfGuid"] = state?.cfGuid; + resourceInputs["cfOrganizationGuid"] = state?.cfOrganizationGuid; + resourceInputs["cfSpaceGuid"] = state?.cfSpaceGuid; + resourceInputs["dashboardUrl"] = state?.dashboardUrl; + resourceInputs["imageUrl"] = state?.imageUrl; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["parameters"] = state?.parameters; + resourceInputs["planId"] = state?.planId; + resourceInputs["planName"] = state?.planName; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as OpensearchInstanceArgs | undefined; - if ((!args || args.planName === undefined) && !opts.urn) { + if (args?.planName === undefined && !opts.urn) { throw new Error("Missing required property 'planName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.version === undefined) && !opts.urn) { + if (args?.version === undefined && !opts.urn) { throw new Error("Missing required property 'version'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["parameters"] = args ? args.parameters : undefined; - resourceInputs["planName"] = args ? args.planName : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["parameters"] = args?.parameters; + resourceInputs["planName"] = args?.planName; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["version"] = args?.version; resourceInputs["cfGuid"] = undefined /*out*/; resourceInputs["cfOrganizationGuid"] = undefined /*out*/; resourceInputs["cfSpaceGuid"] = undefined /*out*/; diff --git a/sdk/nodejs/postgresflexDatabase.ts b/sdk/nodejs/postgresflexDatabase.ts index 353d581d..0f6cfbe8 100644 --- a/sdk/nodejs/postgresflexDatabase.ts +++ b/sdk/nodejs/postgresflexDatabase.ts @@ -40,27 +40,27 @@ export class PostgresflexDatabase extends pulumi.CustomResource { /** * Database ID. */ - public /*out*/ readonly databaseId!: pulumi.Output; + declare public /*out*/ readonly databaseId: pulumi.Output; /** * ID of the Postgres Flex instance. */ - public readonly instanceId!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; /** * Database name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * Username of the database owner. */ - public readonly owner!: pulumi.Output; + declare public readonly owner: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Create a PostgresflexDatabase resource with the given unique name, arguments, and options. @@ -75,28 +75,28 @@ export class PostgresflexDatabase extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as PostgresflexDatabaseState | undefined; - resourceInputs["databaseId"] = state ? state.databaseId : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["owner"] = state ? state.owner : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; + resourceInputs["databaseId"] = state?.databaseId; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["owner"] = state?.owner; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; } else { const args = argsOrState as PostgresflexDatabaseArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.owner === undefined) && !opts.urn) { + if (args?.owner === undefined && !opts.urn) { throw new Error("Missing required property 'owner'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["owner"] = args ? args.owner : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["name"] = args?.name; + resourceInputs["owner"] = args?.owner; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; resourceInputs["databaseId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/postgresflexInstance.ts b/sdk/nodejs/postgresflexInstance.ts index 350d4633..dac4c46b 100644 --- a/sdk/nodejs/postgresflexInstance.ts +++ b/sdk/nodejs/postgresflexInstance.ts @@ -42,28 +42,28 @@ export class PostgresflexInstance extends pulumi.CustomResource { /** * The Access Control List (ACL) for the PostgresFlex instance. */ - public readonly acls!: pulumi.Output; - public readonly backupSchedule!: pulumi.Output; - public readonly flavor!: pulumi.Output; + declare public readonly acls: pulumi.Output; + declare public readonly backupSchedule: pulumi.Output; + declare public readonly flavor: pulumi.Output; /** * ID of the PostgresFlex instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; - public readonly replicas!: pulumi.Output; - public readonly storage!: pulumi.Output; - public readonly version!: pulumi.Output; + declare public readonly region: pulumi.Output; + declare public readonly replicas: pulumi.Output; + declare public readonly storage: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a PostgresflexInstance resource with the given unique name, arguments, and options. @@ -78,48 +78,48 @@ export class PostgresflexInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as PostgresflexInstanceState | undefined; - resourceInputs["acls"] = state ? state.acls : undefined; - resourceInputs["backupSchedule"] = state ? state.backupSchedule : undefined; - resourceInputs["flavor"] = state ? state.flavor : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["replicas"] = state ? state.replicas : undefined; - resourceInputs["storage"] = state ? state.storage : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["acls"] = state?.acls; + resourceInputs["backupSchedule"] = state?.backupSchedule; + resourceInputs["flavor"] = state?.flavor; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["replicas"] = state?.replicas; + resourceInputs["storage"] = state?.storage; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as PostgresflexInstanceArgs | undefined; - if ((!args || args.acls === undefined) && !opts.urn) { + if (args?.acls === undefined && !opts.urn) { throw new Error("Missing required property 'acls'"); } - if ((!args || args.backupSchedule === undefined) && !opts.urn) { + if (args?.backupSchedule === undefined && !opts.urn) { throw new Error("Missing required property 'backupSchedule'"); } - if ((!args || args.flavor === undefined) && !opts.urn) { + if (args?.flavor === undefined && !opts.urn) { throw new Error("Missing required property 'flavor'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.replicas === undefined) && !opts.urn) { + if (args?.replicas === undefined && !opts.urn) { throw new Error("Missing required property 'replicas'"); } - if ((!args || args.storage === undefined) && !opts.urn) { + if (args?.storage === undefined && !opts.urn) { throw new Error("Missing required property 'storage'"); } - if ((!args || args.version === undefined) && !opts.urn) { + if (args?.version === undefined && !opts.urn) { throw new Error("Missing required property 'version'"); } - resourceInputs["acls"] = args ? args.acls : undefined; - resourceInputs["backupSchedule"] = args ? args.backupSchedule : undefined; - resourceInputs["flavor"] = args ? args.flavor : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["replicas"] = args ? args.replicas : undefined; - resourceInputs["storage"] = args ? args.storage : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["acls"] = args?.acls; + resourceInputs["backupSchedule"] = args?.backupSchedule; + resourceInputs["flavor"] = args?.flavor; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["replicas"] = args?.replicas; + resourceInputs["storage"] = args?.storage; + resourceInputs["version"] = args?.version; resourceInputs["instanceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/postgresflexUser.ts b/sdk/nodejs/postgresflexUser.ts index d675b86f..2e8c1299 100644 --- a/sdk/nodejs/postgresflexUser.ts +++ b/sdk/nodejs/postgresflexUser.ts @@ -37,31 +37,31 @@ export class PostgresflexUser extends pulumi.CustomResource { return obj['__pulumiType'] === PostgresflexUser.__pulumiType; } - public /*out*/ readonly host!: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; /** * ID of the PostgresFlex instance. */ - public readonly instanceId!: pulumi.Output; - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Database access levels for the user. Supported values are: `login`, `createdb`. */ - public readonly roles!: pulumi.Output; - public /*out*/ readonly uri!: pulumi.Output; + declare public readonly roles: pulumi.Output; + declare public /*out*/ readonly uri: pulumi.Output; /** * User ID. */ - public /*out*/ readonly userId!: pulumi.Output; - public readonly username!: pulumi.Output; + declare public /*out*/ readonly userId: pulumi.Output; + declare public readonly username: pulumi.Output; /** * Create a PostgresflexUser resource with the given unique name, arguments, and options. @@ -76,35 +76,35 @@ export class PostgresflexUser extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as PostgresflexUserState | undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["roles"] = state ? state.roles : undefined; - resourceInputs["uri"] = state ? state.uri : undefined; - resourceInputs["userId"] = state ? state.userId : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["host"] = state?.host; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["roles"] = state?.roles; + resourceInputs["uri"] = state?.uri; + resourceInputs["userId"] = state?.userId; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as PostgresflexUserArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.roles === undefined) && !opts.urn) { + if (args?.roles === undefined && !opts.urn) { throw new Error("Missing required property 'roles'"); } - if ((!args || args.username === undefined) && !opts.urn) { + if (args?.username === undefined && !opts.urn) { throw new Error("Missing required property 'username'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["roles"] = args ? args.roles : undefined; - resourceInputs["username"] = args ? args.username : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["roles"] = args?.roles; + resourceInputs["username"] = args?.username; resourceInputs["host"] = undefined /*out*/; resourceInputs["password"] = undefined /*out*/; resourceInputs["port"] = undefined /*out*/; diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index 111eb480..0d1a1831 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -25,157 +25,152 @@ export class Provider extends pulumi.ProviderResource { return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType; } - /** - * Custom endpoint for the Argus service - * - * @deprecated Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observabilityCustomEndpoint` and `observability` resources instead, which offer the exact same functionality. - */ - public readonly argusCustomEndpoint!: pulumi.Output; /** * Custom endpoint for the Membership service */ - public readonly authorizationCustomEndpoint!: pulumi.Output; + declare public readonly authorizationCustomEndpoint: pulumi.Output; /** * Custom endpoint for the CDN service */ - public readonly cdnCustomEndpoint!: pulumi.Output; + declare public readonly cdnCustomEndpoint: pulumi.Output; /** - * Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - * value is `~/.stackit/credentials.json`. + * Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. */ - public readonly credentialsPath!: pulumi.Output; + declare public readonly credentialsPath: pulumi.Output; /** * Region will be used as the default location for regional services. Not all services require a region, some are global */ - public readonly defaultRegion!: pulumi.Output; + declare public readonly defaultRegion: pulumi.Output; /** * Custom endpoint for the DNS service */ - public readonly dnsCustomEndpoint!: pulumi.Output; + declare public readonly dnsCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Git service */ - public readonly gitCustomEndpoint!: pulumi.Output; + declare public readonly gitCustomEndpoint: pulumi.Output; /** * Custom endpoint for the IaaS service */ - public readonly iaasCustomEndpoint!: pulumi.Output; + declare public readonly iaasCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Load Balancer service */ - public readonly loadbalancerCustomEndpoint!: pulumi.Output; + declare public readonly loadbalancerCustomEndpoint: pulumi.Output; /** * Custom endpoint for the LogMe service */ - public readonly logmeCustomEndpoint!: pulumi.Output; + declare public readonly logmeCustomEndpoint: pulumi.Output; /** * Custom endpoint for the MariaDB service */ - public readonly mariadbCustomEndpoint!: pulumi.Output; + declare public readonly mariadbCustomEndpoint: pulumi.Output; /** * Custom endpoint for the AI Model Serving service */ - public readonly modelservingCustomEndpoint!: pulumi.Output; + declare public readonly modelservingCustomEndpoint: pulumi.Output; /** * Custom endpoint for the MongoDB Flex service */ - public readonly mongodbflexCustomEndpoint!: pulumi.Output; + declare public readonly mongodbflexCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Object Storage service */ - public readonly objectstorageCustomEndpoint!: pulumi.Output; + declare public readonly objectstorageCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Observability service */ - public readonly observabilityCustomEndpoint!: pulumi.Output; + declare public readonly observabilityCustomEndpoint: pulumi.Output; /** * Custom endpoint for the OpenSearch service */ - public readonly opensearchCustomEndpoint!: pulumi.Output; + declare public readonly opensearchCustomEndpoint: pulumi.Output; /** * Custom endpoint for the PostgresFlex service */ - public readonly postgresflexCustomEndpoint!: pulumi.Output; + declare public readonly postgresflexCustomEndpoint: pulumi.Output; /** - * Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - * included in the service account key. + * Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. */ - public readonly privateKey!: pulumi.Output; + declare public readonly privateKey: pulumi.Output; /** - * Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - * key that is included in the service account key. + * Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. */ - public readonly privateKeyPath!: pulumi.Output; + declare public readonly privateKeyPath: pulumi.Output; /** * Custom endpoint for the RabbitMQ service */ - public readonly rabbitmqCustomEndpoint!: pulumi.Output; + declare public readonly rabbitmqCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Redis service */ - public readonly redisCustomEndpoint!: pulumi.Output; + declare public readonly redisCustomEndpoint: pulumi.Output; /** * Region will be used as the default location for regional services. Not all services require a region, some are global * * @deprecated This attribute is deprecated. Use 'default_region' instead */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Custom endpoint for the Resource Manager service */ - public readonly resourcemanagerCustomEndpoint!: pulumi.Output; + declare public readonly resourcemanagerCustomEndpoint: pulumi.Output; + /** + * Custom endpoint for the Cloud Foundry (SCF) service + */ + declare public readonly scfCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Secrets Manager service */ - public readonly secretsmanagerCustomEndpoint!: pulumi.Output; + declare public readonly secretsmanagerCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Server Backup service */ - public readonly serverBackupCustomEndpoint!: pulumi.Output; + declare public readonly serverBackupCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Server Update service */ - public readonly serverUpdateCustomEndpoint!: pulumi.Output; + declare public readonly serverUpdateCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Service Account service */ - public readonly serviceAccountCustomEndpoint!: pulumi.Output; + declare public readonly serviceAccountCustomEndpoint: pulumi.Output; /** - * Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - * if you want to use the resource manager project resource. + * Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. * * @deprecated The `serviceAccountEmail` field has been deprecated because it is not required. Will be removed after June 12th 2025. */ - public readonly serviceAccountEmail!: pulumi.Output; + declare public readonly serviceAccountEmail: pulumi.Output; /** * Service account key used for authentication. If set, the key flow will be used to authenticate all operations. */ - public readonly serviceAccountKey!: pulumi.Output; + declare public readonly serviceAccountKey: pulumi.Output; /** - * Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - * operations. + * Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. */ - public readonly serviceAccountKeyPath!: pulumi.Output; + declare public readonly serviceAccountKeyPath: pulumi.Output; /** * Token used for authentication. If set, the token flow will be used to authenticate all operations. + * + * @deprecated Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `serviceAccountKey` or `serviceAccountKeyPath` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html */ - public readonly serviceAccountToken!: pulumi.Output; + declare public readonly serviceAccountToken: pulumi.Output; /** * Custom endpoint for the Service Enablement API */ - public readonly serviceEnablementCustomEndpoint!: pulumi.Output; + declare public readonly serviceEnablementCustomEndpoint: pulumi.Output; /** * Custom endpoint for the Kubernetes Engine (SKE) service */ - public readonly skeCustomEndpoint!: pulumi.Output; + declare public readonly skeCustomEndpoint: pulumi.Output; /** * Custom endpoint for the SQL Server Flex service */ - public readonly sqlserverflexCustomEndpoint!: pulumi.Output; + declare public readonly sqlserverflexCustomEndpoint: pulumi.Output; /** * Custom endpoint for the token API, which is used to request access tokens when using the key flow */ - public readonly tokenCustomEndpoint!: pulumi.Output; + declare public readonly tokenCustomEndpoint: pulumi.Output; /** * Create a Provider resource with the given unique name, arguments, and options. @@ -188,43 +183,43 @@ export class Provider extends pulumi.ProviderResource { let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; { - resourceInputs["argusCustomEndpoint"] = args ? args.argusCustomEndpoint : undefined; - resourceInputs["authorizationCustomEndpoint"] = args ? args.authorizationCustomEndpoint : undefined; - resourceInputs["cdnCustomEndpoint"] = args ? args.cdnCustomEndpoint : undefined; - resourceInputs["credentialsPath"] = args ? args.credentialsPath : undefined; - resourceInputs["defaultRegion"] = args ? args.defaultRegion : undefined; - resourceInputs["dnsCustomEndpoint"] = args ? args.dnsCustomEndpoint : undefined; - resourceInputs["enableBetaResources"] = pulumi.output(args ? args.enableBetaResources : undefined).apply(JSON.stringify); - resourceInputs["experiments"] = pulumi.output(args ? args.experiments : undefined).apply(JSON.stringify); - resourceInputs["gitCustomEndpoint"] = args ? args.gitCustomEndpoint : undefined; - resourceInputs["iaasCustomEndpoint"] = args ? args.iaasCustomEndpoint : undefined; - resourceInputs["loadbalancerCustomEndpoint"] = args ? args.loadbalancerCustomEndpoint : undefined; - resourceInputs["logmeCustomEndpoint"] = args ? args.logmeCustomEndpoint : undefined; - resourceInputs["mariadbCustomEndpoint"] = args ? args.mariadbCustomEndpoint : undefined; - resourceInputs["modelservingCustomEndpoint"] = args ? args.modelservingCustomEndpoint : undefined; - resourceInputs["mongodbflexCustomEndpoint"] = args ? args.mongodbflexCustomEndpoint : undefined; - resourceInputs["objectstorageCustomEndpoint"] = args ? args.objectstorageCustomEndpoint : undefined; - resourceInputs["observabilityCustomEndpoint"] = args ? args.observabilityCustomEndpoint : undefined; - resourceInputs["opensearchCustomEndpoint"] = args ? args.opensearchCustomEndpoint : undefined; - resourceInputs["postgresflexCustomEndpoint"] = args ? args.postgresflexCustomEndpoint : undefined; - resourceInputs["privateKey"] = args ? args.privateKey : undefined; - resourceInputs["privateKeyPath"] = args ? args.privateKeyPath : undefined; - resourceInputs["rabbitmqCustomEndpoint"] = args ? args.rabbitmqCustomEndpoint : undefined; - resourceInputs["redisCustomEndpoint"] = args ? args.redisCustomEndpoint : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["resourcemanagerCustomEndpoint"] = args ? args.resourcemanagerCustomEndpoint : undefined; - resourceInputs["secretsmanagerCustomEndpoint"] = args ? args.secretsmanagerCustomEndpoint : undefined; - resourceInputs["serverBackupCustomEndpoint"] = args ? args.serverBackupCustomEndpoint : undefined; - resourceInputs["serverUpdateCustomEndpoint"] = args ? args.serverUpdateCustomEndpoint : undefined; - resourceInputs["serviceAccountCustomEndpoint"] = args ? args.serviceAccountCustomEndpoint : undefined; - resourceInputs["serviceAccountEmail"] = args ? args.serviceAccountEmail : undefined; - resourceInputs["serviceAccountKey"] = args ? args.serviceAccountKey : undefined; - resourceInputs["serviceAccountKeyPath"] = args ? args.serviceAccountKeyPath : undefined; - resourceInputs["serviceAccountToken"] = args ? args.serviceAccountToken : undefined; - resourceInputs["serviceEnablementCustomEndpoint"] = args ? args.serviceEnablementCustomEndpoint : undefined; - resourceInputs["skeCustomEndpoint"] = args ? args.skeCustomEndpoint : undefined; - resourceInputs["sqlserverflexCustomEndpoint"] = args ? args.sqlserverflexCustomEndpoint : undefined; - resourceInputs["tokenCustomEndpoint"] = args ? args.tokenCustomEndpoint : undefined; + resourceInputs["authorizationCustomEndpoint"] = args?.authorizationCustomEndpoint; + resourceInputs["cdnCustomEndpoint"] = args?.cdnCustomEndpoint; + resourceInputs["credentialsPath"] = args?.credentialsPath; + resourceInputs["defaultRegion"] = args?.defaultRegion; + resourceInputs["dnsCustomEndpoint"] = args?.dnsCustomEndpoint; + resourceInputs["enableBetaResources"] = pulumi.output(args?.enableBetaResources).apply(JSON.stringify); + resourceInputs["experiments"] = pulumi.output(args?.experiments).apply(JSON.stringify); + resourceInputs["gitCustomEndpoint"] = args?.gitCustomEndpoint; + resourceInputs["iaasCustomEndpoint"] = args?.iaasCustomEndpoint; + resourceInputs["loadbalancerCustomEndpoint"] = args?.loadbalancerCustomEndpoint; + resourceInputs["logmeCustomEndpoint"] = args?.logmeCustomEndpoint; + resourceInputs["mariadbCustomEndpoint"] = args?.mariadbCustomEndpoint; + resourceInputs["modelservingCustomEndpoint"] = args?.modelservingCustomEndpoint; + resourceInputs["mongodbflexCustomEndpoint"] = args?.mongodbflexCustomEndpoint; + resourceInputs["objectstorageCustomEndpoint"] = args?.objectstorageCustomEndpoint; + resourceInputs["observabilityCustomEndpoint"] = args?.observabilityCustomEndpoint; + resourceInputs["opensearchCustomEndpoint"] = args?.opensearchCustomEndpoint; + resourceInputs["postgresflexCustomEndpoint"] = args?.postgresflexCustomEndpoint; + resourceInputs["privateKey"] = args?.privateKey; + resourceInputs["privateKeyPath"] = args?.privateKeyPath; + resourceInputs["rabbitmqCustomEndpoint"] = args?.rabbitmqCustomEndpoint; + resourceInputs["redisCustomEndpoint"] = args?.redisCustomEndpoint; + resourceInputs["region"] = args?.region; + resourceInputs["resourcemanagerCustomEndpoint"] = args?.resourcemanagerCustomEndpoint; + resourceInputs["scfCustomEndpoint"] = args?.scfCustomEndpoint; + resourceInputs["secretsmanagerCustomEndpoint"] = args?.secretsmanagerCustomEndpoint; + resourceInputs["serverBackupCustomEndpoint"] = args?.serverBackupCustomEndpoint; + resourceInputs["serverUpdateCustomEndpoint"] = args?.serverUpdateCustomEndpoint; + resourceInputs["serviceAccountCustomEndpoint"] = args?.serviceAccountCustomEndpoint; + resourceInputs["serviceAccountEmail"] = args?.serviceAccountEmail; + resourceInputs["serviceAccountKey"] = args?.serviceAccountKey; + resourceInputs["serviceAccountKeyPath"] = args?.serviceAccountKeyPath; + resourceInputs["serviceAccountToken"] = args?.serviceAccountToken; + resourceInputs["serviceEnablementCustomEndpoint"] = args?.serviceEnablementCustomEndpoint; + resourceInputs["skeCustomEndpoint"] = args?.skeCustomEndpoint; + resourceInputs["sqlserverflexCustomEndpoint"] = args?.sqlserverflexCustomEndpoint; + resourceInputs["tokenCustomEndpoint"] = args?.tokenCustomEndpoint; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(Provider.__pulumiType, name, resourceInputs, opts); @@ -244,12 +239,6 @@ export class Provider extends pulumi.ProviderResource { * The set of arguments for constructing a Provider resource. */ export interface ProviderArgs { - /** - * Custom endpoint for the Argus service - * - * @deprecated Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observabilityCustomEndpoint` and `observability` resources instead, which offer the exact same functionality. - */ - argusCustomEndpoint?: pulumi.Input; /** * Custom endpoint for the Membership service */ @@ -259,8 +248,7 @@ export interface ProviderArgs { */ cdnCustomEndpoint?: pulumi.Input; /** - * Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - * value is `~/.stackit/credentials.json`. + * Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. */ credentialsPath?: pulumi.Input; /** @@ -276,8 +264,7 @@ export interface ProviderArgs { */ enableBetaResources?: pulumi.Input; /** - * Enables experiments. These are unstable features without official support. More information can be found in the README. - * Available Experiments: [iam] + * Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network */ experiments?: pulumi.Input[]>; /** @@ -325,13 +312,11 @@ export interface ProviderArgs { */ postgresflexCustomEndpoint?: pulumi.Input; /** - * Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - * included in the service account key. + * Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. */ privateKey?: pulumi.Input; /** - * Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - * key that is included in the service account key. + * Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. */ privateKeyPath?: pulumi.Input; /** @@ -352,6 +337,10 @@ export interface ProviderArgs { * Custom endpoint for the Resource Manager service */ resourcemanagerCustomEndpoint?: pulumi.Input; + /** + * Custom endpoint for the Cloud Foundry (SCF) service + */ + scfCustomEndpoint?: pulumi.Input; /** * Custom endpoint for the Secrets Manager service */ @@ -369,8 +358,7 @@ export interface ProviderArgs { */ serviceAccountCustomEndpoint?: pulumi.Input; /** - * Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - * if you want to use the resource manager project resource. + * Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. * * @deprecated The `serviceAccountEmail` field has been deprecated because it is not required. Will be removed after June 12th 2025. */ @@ -380,12 +368,13 @@ export interface ProviderArgs { */ serviceAccountKey?: pulumi.Input; /** - * Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - * operations. + * Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. */ serviceAccountKeyPath?: pulumi.Input; /** * Token used for authentication. If set, the token flow will be used to authenticate all operations. + * + * @deprecated Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `serviceAccountKey` or `serviceAccountKeyPath` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html */ serviceAccountToken?: pulumi.Input; /** diff --git a/sdk/nodejs/publicIp.ts b/sdk/nodejs/publicIp.ts index 8d1e5194..ac1e3e0f 100644 --- a/sdk/nodejs/publicIp.ts +++ b/sdk/nodejs/publicIp.ts @@ -40,20 +40,20 @@ export class PublicIp extends pulumi.CustomResource { /** * The IP address. */ - public /*out*/ readonly ip!: pulumi.Output; + declare public /*out*/ readonly ip: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; - public readonly networkInterfaceId!: pulumi.Output; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly networkInterfaceId: pulumi.Output; /** * STACKIT project ID to which the public IP is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The public IP ID. */ - public /*out*/ readonly publicIpId!: pulumi.Output; + declare public /*out*/ readonly publicIpId: pulumi.Output; /** * Create a PublicIp resource with the given unique name, arguments, and options. @@ -68,19 +68,19 @@ export class PublicIp extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as PublicIpState | undefined; - resourceInputs["ip"] = state ? state.ip : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["networkInterfaceId"] = state ? state.networkInterfaceId : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["publicIpId"] = state ? state.publicIpId : undefined; + resourceInputs["ip"] = state?.ip; + resourceInputs["labels"] = state?.labels; + resourceInputs["networkInterfaceId"] = state?.networkInterfaceId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["publicIpId"] = state?.publicIpId; } else { const args = argsOrState as PublicIpArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["networkInterfaceId"] = args ? args.networkInterfaceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["labels"] = args?.labels; + resourceInputs["networkInterfaceId"] = args?.networkInterfaceId; + resourceInputs["projectId"] = args?.projectId; resourceInputs["ip"] = undefined /*out*/; resourceInputs["publicIpId"] = undefined /*out*/; } diff --git a/sdk/nodejs/publicIpAssociate.ts b/sdk/nodejs/publicIpAssociate.ts index c2fa728a..81879c4b 100644 --- a/sdk/nodejs/publicIpAssociate.ts +++ b/sdk/nodejs/publicIpAssociate.ts @@ -43,19 +43,19 @@ export class PublicIpAssociate extends pulumi.CustomResource { /** * The IP address. */ - public /*out*/ readonly ip!: pulumi.Output; + declare public /*out*/ readonly ip: pulumi.Output; /** * The ID of the network interface (or virtual IP) to which the public IP should be attached to. */ - public readonly networkInterfaceId!: pulumi.Output; + declare public readonly networkInterfaceId: pulumi.Output; /** * STACKIT project ID to which the public IP is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The public IP ID. */ - public readonly publicIpId!: pulumi.Output; + declare public readonly publicIpId: pulumi.Output; /** * Create a PublicIpAssociate resource with the given unique name, arguments, and options. @@ -70,24 +70,24 @@ export class PublicIpAssociate extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as PublicIpAssociateState | undefined; - resourceInputs["ip"] = state ? state.ip : undefined; - resourceInputs["networkInterfaceId"] = state ? state.networkInterfaceId : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["publicIpId"] = state ? state.publicIpId : undefined; + resourceInputs["ip"] = state?.ip; + resourceInputs["networkInterfaceId"] = state?.networkInterfaceId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["publicIpId"] = state?.publicIpId; } else { const args = argsOrState as PublicIpAssociateArgs | undefined; - if ((!args || args.networkInterfaceId === undefined) && !opts.urn) { + if (args?.networkInterfaceId === undefined && !opts.urn) { throw new Error("Missing required property 'networkInterfaceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.publicIpId === undefined) && !opts.urn) { + if (args?.publicIpId === undefined && !opts.urn) { throw new Error("Missing required property 'publicIpId'"); } - resourceInputs["networkInterfaceId"] = args ? args.networkInterfaceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["publicIpId"] = args ? args.publicIpId : undefined; + resourceInputs["networkInterfaceId"] = args?.networkInterfaceId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["publicIpId"] = args?.publicIpId; resourceInputs["ip"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/rabbitmqCredential.ts b/sdk/nodejs/rabbitmqCredential.ts index c9de6724..fee2def2 100644 --- a/sdk/nodejs/rabbitmqCredential.ts +++ b/sdk/nodejs/rabbitmqCredential.ts @@ -40,25 +40,25 @@ export class RabbitmqCredential extends pulumi.CustomResource { /** * The credential's ID. */ - public /*out*/ readonly credentialId!: pulumi.Output; - public /*out*/ readonly host!: pulumi.Output; - public /*out*/ readonly hosts!: pulumi.Output; - public /*out*/ readonly httpApiUri!: pulumi.Output; - public /*out*/ readonly httpApiUris!: pulumi.Output; + declare public /*out*/ readonly credentialId: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; + declare public /*out*/ readonly hosts: pulumi.Output; + declare public /*out*/ readonly httpApiUri: pulumi.Output; + declare public /*out*/ readonly httpApiUris: pulumi.Output; /** * ID of the RabbitMQ instance. */ - public readonly instanceId!: pulumi.Output; - public /*out*/ readonly management!: pulumi.Output; - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; + declare public /*out*/ readonly management: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT Project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; - public /*out*/ readonly uri!: pulumi.Output; - public /*out*/ readonly uris!: pulumi.Output; - public /*out*/ readonly username!: pulumi.Output; + declare public readonly projectId: pulumi.Output; + declare public /*out*/ readonly uri: pulumi.Output; + declare public /*out*/ readonly uris: pulumi.Output; + declare public /*out*/ readonly username: pulumi.Output; /** * Create a RabbitmqCredential resource with the given unique name, arguments, and options. @@ -73,29 +73,29 @@ export class RabbitmqCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as RabbitmqCredentialState | undefined; - resourceInputs["credentialId"] = state ? state.credentialId : undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["hosts"] = state ? state.hosts : undefined; - resourceInputs["httpApiUri"] = state ? state.httpApiUri : undefined; - resourceInputs["httpApiUris"] = state ? state.httpApiUris : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["management"] = state ? state.management : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["uri"] = state ? state.uri : undefined; - resourceInputs["uris"] = state ? state.uris : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["credentialId"] = state?.credentialId; + resourceInputs["host"] = state?.host; + resourceInputs["hosts"] = state?.hosts; + resourceInputs["httpApiUri"] = state?.httpApiUri; + resourceInputs["httpApiUris"] = state?.httpApiUris; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["management"] = state?.management; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["uri"] = state?.uri; + resourceInputs["uris"] = state?.uris; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as RabbitmqCredentialArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; resourceInputs["credentialId"] = undefined /*out*/; resourceInputs["host"] = undefined /*out*/; resourceInputs["hosts"] = undefined /*out*/; diff --git a/sdk/nodejs/rabbitmqInstance.ts b/sdk/nodejs/rabbitmqInstance.ts index cc861e58..71aaca23 100644 --- a/sdk/nodejs/rabbitmqInstance.ts +++ b/sdk/nodejs/rabbitmqInstance.ts @@ -39,36 +39,36 @@ export class RabbitmqInstance extends pulumi.CustomResource { return obj['__pulumiType'] === RabbitmqInstance.__pulumiType; } - public /*out*/ readonly cfGuid!: pulumi.Output; - public /*out*/ readonly cfOrganizationGuid!: pulumi.Output; - public /*out*/ readonly cfSpaceGuid!: pulumi.Output; - public /*out*/ readonly dashboardUrl!: pulumi.Output; - public /*out*/ readonly imageUrl!: pulumi.Output; + declare public /*out*/ readonly cfGuid: pulumi.Output; + declare public /*out*/ readonly cfOrganizationGuid: pulumi.Output; + declare public /*out*/ readonly cfSpaceGuid: pulumi.Output; + declare public /*out*/ readonly dashboardUrl: pulumi.Output; + declare public /*out*/ readonly imageUrl: pulumi.Output; /** * ID of the RabbitMQ instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; - public readonly parameters!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public readonly parameters: pulumi.Output; /** * The selected plan ID. */ - public /*out*/ readonly planId!: pulumi.Output; + declare public /*out*/ readonly planId: pulumi.Output; /** * The selected plan name. */ - public readonly planName!: pulumi.Output; + declare public readonly planName: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The service version. */ - public readonly version!: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a RabbitmqInstance resource with the given unique name, arguments, and options. @@ -83,34 +83,34 @@ export class RabbitmqInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as RabbitmqInstanceState | undefined; - resourceInputs["cfGuid"] = state ? state.cfGuid : undefined; - resourceInputs["cfOrganizationGuid"] = state ? state.cfOrganizationGuid : undefined; - resourceInputs["cfSpaceGuid"] = state ? state.cfSpaceGuid : undefined; - resourceInputs["dashboardUrl"] = state ? state.dashboardUrl : undefined; - resourceInputs["imageUrl"] = state ? state.imageUrl : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["parameters"] = state ? state.parameters : undefined; - resourceInputs["planId"] = state ? state.planId : undefined; - resourceInputs["planName"] = state ? state.planName : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["cfGuid"] = state?.cfGuid; + resourceInputs["cfOrganizationGuid"] = state?.cfOrganizationGuid; + resourceInputs["cfSpaceGuid"] = state?.cfSpaceGuid; + resourceInputs["dashboardUrl"] = state?.dashboardUrl; + resourceInputs["imageUrl"] = state?.imageUrl; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["parameters"] = state?.parameters; + resourceInputs["planId"] = state?.planId; + resourceInputs["planName"] = state?.planName; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as RabbitmqInstanceArgs | undefined; - if ((!args || args.planName === undefined) && !opts.urn) { + if (args?.planName === undefined && !opts.urn) { throw new Error("Missing required property 'planName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.version === undefined) && !opts.urn) { + if (args?.version === undefined && !opts.urn) { throw new Error("Missing required property 'version'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["parameters"] = args ? args.parameters : undefined; - resourceInputs["planName"] = args ? args.planName : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["parameters"] = args?.parameters; + resourceInputs["planName"] = args?.planName; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["version"] = args?.version; resourceInputs["cfGuid"] = undefined /*out*/; resourceInputs["cfOrganizationGuid"] = undefined /*out*/; resourceInputs["cfSpaceGuid"] = undefined /*out*/; diff --git a/sdk/nodejs/redisCredential.ts b/sdk/nodejs/redisCredential.ts index 7ae08de7..4ac6b531 100644 --- a/sdk/nodejs/redisCredential.ts +++ b/sdk/nodejs/redisCredential.ts @@ -40,25 +40,25 @@ export class RedisCredential extends pulumi.CustomResource { /** * The credential's ID. */ - public /*out*/ readonly credentialId!: pulumi.Output; - public /*out*/ readonly host!: pulumi.Output; - public /*out*/ readonly hosts!: pulumi.Output; + declare public /*out*/ readonly credentialId: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; + declare public /*out*/ readonly hosts: pulumi.Output; /** * ID of the Redis instance. */ - public readonly instanceId!: pulumi.Output; - public /*out*/ readonly loadBalancedHost!: pulumi.Output; - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; + declare public /*out*/ readonly loadBalancedHost: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT Project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Connection URI. */ - public /*out*/ readonly uri!: pulumi.Output; - public /*out*/ readonly username!: pulumi.Output; + declare public /*out*/ readonly uri: pulumi.Output; + declare public /*out*/ readonly username: pulumi.Output; /** * Create a RedisCredential resource with the given unique name, arguments, and options. @@ -73,26 +73,26 @@ export class RedisCredential extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as RedisCredentialState | undefined; - resourceInputs["credentialId"] = state ? state.credentialId : undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["hosts"] = state ? state.hosts : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["loadBalancedHost"] = state ? state.loadBalancedHost : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["uri"] = state ? state.uri : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["credentialId"] = state?.credentialId; + resourceInputs["host"] = state?.host; + resourceInputs["hosts"] = state?.hosts; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["loadBalancedHost"] = state?.loadBalancedHost; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["uri"] = state?.uri; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as RedisCredentialArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; resourceInputs["credentialId"] = undefined /*out*/; resourceInputs["host"] = undefined /*out*/; resourceInputs["hosts"] = undefined /*out*/; diff --git a/sdk/nodejs/redisInstance.ts b/sdk/nodejs/redisInstance.ts index b1ac9e50..a8b60f7d 100644 --- a/sdk/nodejs/redisInstance.ts +++ b/sdk/nodejs/redisInstance.ts @@ -39,36 +39,36 @@ export class RedisInstance extends pulumi.CustomResource { return obj['__pulumiType'] === RedisInstance.__pulumiType; } - public /*out*/ readonly cfGuid!: pulumi.Output; - public /*out*/ readonly cfOrganizationGuid!: pulumi.Output; - public /*out*/ readonly cfSpaceGuid!: pulumi.Output; - public /*out*/ readonly dashboardUrl!: pulumi.Output; - public /*out*/ readonly imageUrl!: pulumi.Output; + declare public /*out*/ readonly cfGuid: pulumi.Output; + declare public /*out*/ readonly cfOrganizationGuid: pulumi.Output; + declare public /*out*/ readonly cfSpaceGuid: pulumi.Output; + declare public /*out*/ readonly dashboardUrl: pulumi.Output; + declare public /*out*/ readonly imageUrl: pulumi.Output; /** * ID of the Redis instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; - public readonly parameters!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public readonly parameters: pulumi.Output; /** * The selected plan ID. */ - public /*out*/ readonly planId!: pulumi.Output; + declare public /*out*/ readonly planId: pulumi.Output; /** * The selected plan name. */ - public readonly planName!: pulumi.Output; + declare public readonly planName: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The service version. */ - public readonly version!: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a RedisInstance resource with the given unique name, arguments, and options. @@ -83,34 +83,34 @@ export class RedisInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as RedisInstanceState | undefined; - resourceInputs["cfGuid"] = state ? state.cfGuid : undefined; - resourceInputs["cfOrganizationGuid"] = state ? state.cfOrganizationGuid : undefined; - resourceInputs["cfSpaceGuid"] = state ? state.cfSpaceGuid : undefined; - resourceInputs["dashboardUrl"] = state ? state.dashboardUrl : undefined; - resourceInputs["imageUrl"] = state ? state.imageUrl : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["parameters"] = state ? state.parameters : undefined; - resourceInputs["planId"] = state ? state.planId : undefined; - resourceInputs["planName"] = state ? state.planName : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["cfGuid"] = state?.cfGuid; + resourceInputs["cfOrganizationGuid"] = state?.cfOrganizationGuid; + resourceInputs["cfSpaceGuid"] = state?.cfSpaceGuid; + resourceInputs["dashboardUrl"] = state?.dashboardUrl; + resourceInputs["imageUrl"] = state?.imageUrl; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["parameters"] = state?.parameters; + resourceInputs["planId"] = state?.planId; + resourceInputs["planName"] = state?.planName; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as RedisInstanceArgs | undefined; - if ((!args || args.planName === undefined) && !opts.urn) { + if (args?.planName === undefined && !opts.urn) { throw new Error("Missing required property 'planName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.version === undefined) && !opts.urn) { + if (args?.version === undefined && !opts.urn) { throw new Error("Missing required property 'version'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["parameters"] = args ? args.parameters : undefined; - resourceInputs["planName"] = args ? args.planName : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["parameters"] = args?.parameters; + resourceInputs["planName"] = args?.planName; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["version"] = args?.version; resourceInputs["cfGuid"] = undefined /*out*/; resourceInputs["cfOrganizationGuid"] = undefined /*out*/; resourceInputs["cfSpaceGuid"] = undefined /*out*/; diff --git a/sdk/nodejs/resourcemanagerFolder.ts b/sdk/nodejs/resourcemanagerFolder.ts new file mode 100644 index 00000000..f447e16d --- /dev/null +++ b/sdk/nodejs/resourcemanagerFolder.ts @@ -0,0 +1,176 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Resource Manager folder resource schema. + * + * > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * + * ## Example Usage + */ +export class ResourcemanagerFolder extends pulumi.CustomResource { + /** + * Get an existing ResourcemanagerFolder resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: ResourcemanagerFolderState, opts?: pulumi.CustomResourceOptions): ResourcemanagerFolder { + return new ResourcemanagerFolder(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'stackit:index/resourcemanagerFolder:ResourcemanagerFolder'; + + /** + * Returns true if the given object is an instance of ResourcemanagerFolder. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ResourcemanagerFolder { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ResourcemanagerFolder.__pulumiType; + } + + /** + * Folder container ID. Globally unique, user-friendly identifier. + */ + declare public /*out*/ readonly containerId: pulumi.Output; + /** + * Date-time at which the folder was created. + */ + declare public /*out*/ readonly creationTime: pulumi.Output; + /** + * Folder UUID identifier. Globally unique folder identifier + */ + declare public /*out*/ readonly folderId: pulumi.Output; + /** + * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + */ + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The name of the folder. + */ + declare public readonly name: pulumi.Output; + /** + * Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + */ + declare public readonly ownerEmail: pulumi.Output; + /** + * Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + */ + declare public readonly parentContainerId: pulumi.Output; + /** + * Date-time at which the folder was last modified. + */ + declare public /*out*/ readonly updateTime: pulumi.Output; + + /** + * Create a ResourcemanagerFolder resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ResourcemanagerFolderArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ResourcemanagerFolderArgs | ResourcemanagerFolderState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as ResourcemanagerFolderState | undefined; + resourceInputs["containerId"] = state?.containerId; + resourceInputs["creationTime"] = state?.creationTime; + resourceInputs["folderId"] = state?.folderId; + resourceInputs["labels"] = state?.labels; + resourceInputs["name"] = state?.name; + resourceInputs["ownerEmail"] = state?.ownerEmail; + resourceInputs["parentContainerId"] = state?.parentContainerId; + resourceInputs["updateTime"] = state?.updateTime; + } else { + const args = argsOrState as ResourcemanagerFolderArgs | undefined; + if (args?.ownerEmail === undefined && !opts.urn) { + throw new Error("Missing required property 'ownerEmail'"); + } + if (args?.parentContainerId === undefined && !opts.urn) { + throw new Error("Missing required property 'parentContainerId'"); + } + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["ownerEmail"] = args?.ownerEmail; + resourceInputs["parentContainerId"] = args?.parentContainerId; + resourceInputs["containerId"] = undefined /*out*/; + resourceInputs["creationTime"] = undefined /*out*/; + resourceInputs["folderId"] = undefined /*out*/; + resourceInputs["updateTime"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ResourcemanagerFolder.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering ResourcemanagerFolder resources. + */ +export interface ResourcemanagerFolderState { + /** + * Folder container ID. Globally unique, user-friendly identifier. + */ + containerId?: pulumi.Input; + /** + * Date-time at which the folder was created. + */ + creationTime?: pulumi.Input; + /** + * Folder UUID identifier. Globally unique folder identifier + */ + folderId?: pulumi.Input; + /** + * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + */ + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the folder. + */ + name?: pulumi.Input; + /** + * Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + */ + ownerEmail?: pulumi.Input; + /** + * Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + */ + parentContainerId?: pulumi.Input; + /** + * Date-time at which the folder was last modified. + */ + updateTime?: pulumi.Input; +} + +/** + * The set of arguments for constructing a ResourcemanagerFolder resource. + */ +export interface ResourcemanagerFolderArgs { + /** + * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + */ + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the folder. + */ + name?: pulumi.Input; + /** + * Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + */ + ownerEmail: pulumi.Input; + /** + * Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + */ + parentContainerId: pulumi.Input; +} diff --git a/sdk/nodejs/resourcemanagerProject.ts b/sdk/nodejs/resourcemanagerProject.ts index 3b96ef93..c85faf10 100644 --- a/sdk/nodejs/resourcemanagerProject.ts +++ b/sdk/nodejs/resourcemanagerProject.ts @@ -38,27 +38,36 @@ export class ResourcemanagerProject extends pulumi.CustomResource { /** * Project container ID. Globally unique, user-friendly identifier. */ - public /*out*/ readonly containerId!: pulumi.Output; + declare public /*out*/ readonly containerId: pulumi.Output; /** - * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + * Date-time at which the project was created. */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public /*out*/ readonly creationTime: pulumi.Output; + /** + * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + * To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. + */ + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * Project name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. */ - public readonly ownerEmail!: pulumi.Output; + declare public readonly ownerEmail: pulumi.Output; /** * Parent resource identifier. Both container ID (user-friendly) and UUID are supported */ - public readonly parentContainerId!: pulumi.Output; + declare public readonly parentContainerId: pulumi.Output; /** * Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. */ - public /*out*/ readonly projectId!: pulumi.Output; + declare public /*out*/ readonly projectId: pulumi.Output; + /** + * Date-time at which the project was last modified. + */ + declare public /*out*/ readonly updateTime: pulumi.Output; /** * Create a ResourcemanagerProject resource with the given unique name, arguments, and options. @@ -73,26 +82,30 @@ export class ResourcemanagerProject extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ResourcemanagerProjectState | undefined; - resourceInputs["containerId"] = state ? state.containerId : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["ownerEmail"] = state ? state.ownerEmail : undefined; - resourceInputs["parentContainerId"] = state ? state.parentContainerId : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; + resourceInputs["containerId"] = state?.containerId; + resourceInputs["creationTime"] = state?.creationTime; + resourceInputs["labels"] = state?.labels; + resourceInputs["name"] = state?.name; + resourceInputs["ownerEmail"] = state?.ownerEmail; + resourceInputs["parentContainerId"] = state?.parentContainerId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["updateTime"] = state?.updateTime; } else { const args = argsOrState as ResourcemanagerProjectArgs | undefined; - if ((!args || args.ownerEmail === undefined) && !opts.urn) { + if (args?.ownerEmail === undefined && !opts.urn) { throw new Error("Missing required property 'ownerEmail'"); } - if ((!args || args.parentContainerId === undefined) && !opts.urn) { + if (args?.parentContainerId === undefined && !opts.urn) { throw new Error("Missing required property 'parentContainerId'"); } - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["ownerEmail"] = args ? args.ownerEmail : undefined; - resourceInputs["parentContainerId"] = args ? args.parentContainerId : undefined; + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["ownerEmail"] = args?.ownerEmail; + resourceInputs["parentContainerId"] = args?.parentContainerId; resourceInputs["containerId"] = undefined /*out*/; + resourceInputs["creationTime"] = undefined /*out*/; resourceInputs["projectId"] = undefined /*out*/; + resourceInputs["updateTime"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ResourcemanagerProject.__pulumiType, name, resourceInputs, opts); @@ -108,7 +121,12 @@ export interface ResourcemanagerProjectState { */ containerId?: pulumi.Input; /** - * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + * Date-time at which the project was created. + */ + creationTime?: pulumi.Input; + /** + * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + * To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. */ labels?: pulumi.Input<{[key: string]: pulumi.Input}>; /** @@ -127,6 +145,10 @@ export interface ResourcemanagerProjectState { * Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. */ projectId?: pulumi.Input; + /** + * Date-time at which the project was last modified. + */ + updateTime?: pulumi.Input; } /** @@ -134,7 +156,8 @@ export interface ResourcemanagerProjectState { */ export interface ResourcemanagerProjectArgs { /** - * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + * Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + * To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. */ labels?: pulumi.Input<{[key: string]: pulumi.Input}>; /** diff --git a/sdk/nodejs/routingTable.ts b/sdk/nodejs/routingTable.ts new file mode 100644 index 00000000..3310ba02 --- /dev/null +++ b/sdk/nodejs/routingTable.ts @@ -0,0 +1,208 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Routing table resource schema. Must have a `region` specified in the provider configuration. + * + * > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export class RoutingTable extends pulumi.CustomResource { + /** + * Get an existing RoutingTable resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: RoutingTableState, opts?: pulumi.CustomResourceOptions): RoutingTable { + return new RoutingTable(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'stackit:index/routingTable:RoutingTable'; + + /** + * Returns true if the given object is an instance of RoutingTable. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is RoutingTable { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === RoutingTable.__pulumiType; + } + + /** + * Date-time when the routing table was created + */ + declare public /*out*/ readonly createdAt: pulumi.Output; + /** + * Description of the routing table. + */ + declare public readonly description: pulumi.Output; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The name of the routing table. + */ + declare public readonly name: pulumi.Output; + /** + * The network area ID to which the routing table is associated. + */ + declare public readonly networkAreaId: pulumi.Output; + /** + * STACKIT organization ID to which the routing table is associated. + */ + declare public readonly organizationId: pulumi.Output; + /** + * The resource region. If not defined, the provider region is used. + */ + declare public readonly region: pulumi.Output; + /** + * The routing tables ID. + */ + declare public /*out*/ readonly routingTableId: pulumi.Output; + /** + * This controls whether the routes for project-to-project communication are created automatically or not. + */ + declare public readonly systemRoutes: pulumi.Output; + /** + * Date-time when the routing table was updated + */ + declare public /*out*/ readonly updatedAt: pulumi.Output; + + /** + * Create a RoutingTable resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: RoutingTableArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: RoutingTableArgs | RoutingTableState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as RoutingTableState | undefined; + resourceInputs["createdAt"] = state?.createdAt; + resourceInputs["description"] = state?.description; + resourceInputs["labels"] = state?.labels; + resourceInputs["name"] = state?.name; + resourceInputs["networkAreaId"] = state?.networkAreaId; + resourceInputs["organizationId"] = state?.organizationId; + resourceInputs["region"] = state?.region; + resourceInputs["routingTableId"] = state?.routingTableId; + resourceInputs["systemRoutes"] = state?.systemRoutes; + resourceInputs["updatedAt"] = state?.updatedAt; + } else { + const args = argsOrState as RoutingTableArgs | undefined; + if (args?.networkAreaId === undefined && !opts.urn) { + throw new Error("Missing required property 'networkAreaId'"); + } + if (args?.organizationId === undefined && !opts.urn) { + throw new Error("Missing required property 'organizationId'"); + } + resourceInputs["description"] = args?.description; + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["networkAreaId"] = args?.networkAreaId; + resourceInputs["organizationId"] = args?.organizationId; + resourceInputs["region"] = args?.region; + resourceInputs["systemRoutes"] = args?.systemRoutes; + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["routingTableId"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(RoutingTable.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering RoutingTable resources. + */ +export interface RoutingTableState { + /** + * Date-time when the routing table was created + */ + createdAt?: pulumi.Input; + /** + * Description of the routing table. + */ + description?: pulumi.Input; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the routing table. + */ + name?: pulumi.Input; + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId?: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; + /** + * The routing tables ID. + */ + routingTableId?: pulumi.Input; + /** + * This controls whether the routes for project-to-project communication are created automatically or not. + */ + systemRoutes?: pulumi.Input; + /** + * Date-time when the routing table was updated + */ + updatedAt?: pulumi.Input; +} + +/** + * The set of arguments for constructing a RoutingTable resource. + */ +export interface RoutingTableArgs { + /** + * Description of the routing table. + */ + description?: pulumi.Input; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The name of the routing table. + */ + name?: pulumi.Input; + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; + /** + * This controls whether the routes for project-to-project communication are created automatically or not. + */ + systemRoutes?: pulumi.Input; +} diff --git a/sdk/nodejs/routingTableRoute.ts b/sdk/nodejs/routingTableRoute.ts new file mode 100644 index 00000000..ae0e42ee --- /dev/null +++ b/sdk/nodejs/routingTableRoute.ts @@ -0,0 +1,219 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Routing table route resource schema. Must have a `region` specified in the provider configuration. + * + * > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + * + * ## Example Usage + */ +export class RoutingTableRoute extends pulumi.CustomResource { + /** + * Get an existing RoutingTableRoute resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: RoutingTableRouteState, opts?: pulumi.CustomResourceOptions): RoutingTableRoute { + return new RoutingTableRoute(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'stackit:index/routingTableRoute:RoutingTableRoute'; + + /** + * Returns true if the given object is an instance of RoutingTableRoute. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is RoutingTableRoute { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === RoutingTableRoute.__pulumiType; + } + + /** + * Date-time when the route was created. + */ + declare public /*out*/ readonly createdAt: pulumi.Output; + /** + * Destination of the route. + */ + declare public readonly destination: pulumi.Output; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The network area ID to which the routing table is associated. + */ + declare public readonly networkAreaId: pulumi.Output; + /** + * Next hop destination. + */ + declare public readonly nextHop: pulumi.Output; + /** + * STACKIT organization ID to which the routing table is associated. + */ + declare public readonly organizationId: pulumi.Output; + /** + * The resource region. If not defined, the provider region is used. + */ + declare public readonly region: pulumi.Output; + /** + * The ID of the route. + */ + declare public /*out*/ readonly routeId: pulumi.Output; + /** + * The routing tables ID. + */ + declare public readonly routingTableId: pulumi.Output; + /** + * Date-time when the route was updated. + */ + declare public /*out*/ readonly updatedAt: pulumi.Output; + + /** + * Create a RoutingTableRoute resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: RoutingTableRouteArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: RoutingTableRouteArgs | RoutingTableRouteState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as RoutingTableRouteState | undefined; + resourceInputs["createdAt"] = state?.createdAt; + resourceInputs["destination"] = state?.destination; + resourceInputs["labels"] = state?.labels; + resourceInputs["networkAreaId"] = state?.networkAreaId; + resourceInputs["nextHop"] = state?.nextHop; + resourceInputs["organizationId"] = state?.organizationId; + resourceInputs["region"] = state?.region; + resourceInputs["routeId"] = state?.routeId; + resourceInputs["routingTableId"] = state?.routingTableId; + resourceInputs["updatedAt"] = state?.updatedAt; + } else { + const args = argsOrState as RoutingTableRouteArgs | undefined; + if (args?.destination === undefined && !opts.urn) { + throw new Error("Missing required property 'destination'"); + } + if (args?.networkAreaId === undefined && !opts.urn) { + throw new Error("Missing required property 'networkAreaId'"); + } + if (args?.nextHop === undefined && !opts.urn) { + throw new Error("Missing required property 'nextHop'"); + } + if (args?.organizationId === undefined && !opts.urn) { + throw new Error("Missing required property 'organizationId'"); + } + if (args?.routingTableId === undefined && !opts.urn) { + throw new Error("Missing required property 'routingTableId'"); + } + resourceInputs["destination"] = args?.destination; + resourceInputs["labels"] = args?.labels; + resourceInputs["networkAreaId"] = args?.networkAreaId; + resourceInputs["nextHop"] = args?.nextHop; + resourceInputs["organizationId"] = args?.organizationId; + resourceInputs["region"] = args?.region; + resourceInputs["routingTableId"] = args?.routingTableId; + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["routeId"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(RoutingTableRoute.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering RoutingTableRoute resources. + */ +export interface RoutingTableRouteState { + /** + * Date-time when the route was created. + */ + createdAt?: pulumi.Input; + /** + * Destination of the route. + */ + destination?: pulumi.Input; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId?: pulumi.Input; + /** + * Next hop destination. + */ + nextHop?: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; + /** + * The ID of the route. + */ + routeId?: pulumi.Input; + /** + * The routing tables ID. + */ + routingTableId?: pulumi.Input; + /** + * Date-time when the route was updated. + */ + updatedAt?: pulumi.Input; +} + +/** + * The set of arguments for constructing a RoutingTableRoute resource. + */ +export interface RoutingTableRouteArgs { + /** + * Destination of the route. + */ + destination: pulumi.Input; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The network area ID to which the routing table is associated. + */ + networkAreaId: pulumi.Input; + /** + * Next hop destination. + */ + nextHop: pulumi.Input; + /** + * STACKIT organization ID to which the routing table is associated. + */ + organizationId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; + /** + * The routing tables ID. + */ + routingTableId: pulumi.Input; +} diff --git a/sdk/nodejs/scfOrganization.ts b/sdk/nodejs/scfOrganization.ts new file mode 100644 index 00000000..d1d21713 --- /dev/null +++ b/sdk/nodejs/scfOrganization.ts @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * STACKIT Cloud Foundry organization resource schema. Must have a `region` specified in the provider configuration. + * + * ## Example Usage + */ +export class ScfOrganization extends pulumi.CustomResource { + /** + * Get an existing ScfOrganization resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: ScfOrganizationState, opts?: pulumi.CustomResourceOptions): ScfOrganization { + return new ScfOrganization(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'stackit:index/scfOrganization:ScfOrganization'; + + /** + * Returns true if the given object is an instance of ScfOrganization. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ScfOrganization { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ScfOrganization.__pulumiType; + } + + /** + * The time when the organization was created + */ + declare public /*out*/ readonly createdAt: pulumi.Output; + /** + * The name of the organization + */ + declare public readonly name: pulumi.Output; + /** + * The ID of the Cloud Foundry Organization + */ + declare public /*out*/ readonly orgId: pulumi.Output; + /** + * The ID of the platform associated with the organization + */ + declare public readonly platformId: pulumi.Output; + /** + * The ID of the project associated with the organization + */ + declare public readonly projectId: pulumi.Output; + /** + * The ID of the quota associated with the organization + */ + declare public readonly quotaId: pulumi.Output; + /** + * The resource region. If not defined, the provider region is used + */ + declare public readonly region: pulumi.Output; + /** + * The status of the organization (e.g., deleting, delete_failed) + */ + declare public /*out*/ readonly status: pulumi.Output; + /** + * A boolean indicating whether the organization is suspended + */ + declare public readonly suspended: pulumi.Output; + /** + * The time when the organization was last updated + */ + declare public /*out*/ readonly updatedAt: pulumi.Output; + + /** + * Create a ScfOrganization resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ScfOrganizationArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ScfOrganizationArgs | ScfOrganizationState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as ScfOrganizationState | undefined; + resourceInputs["createdAt"] = state?.createdAt; + resourceInputs["name"] = state?.name; + resourceInputs["orgId"] = state?.orgId; + resourceInputs["platformId"] = state?.platformId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["quotaId"] = state?.quotaId; + resourceInputs["region"] = state?.region; + resourceInputs["status"] = state?.status; + resourceInputs["suspended"] = state?.suspended; + resourceInputs["updatedAt"] = state?.updatedAt; + } else { + const args = argsOrState as ScfOrganizationArgs | undefined; + if (args?.projectId === undefined && !opts.urn) { + throw new Error("Missing required property 'projectId'"); + } + resourceInputs["name"] = args?.name; + resourceInputs["platformId"] = args?.platformId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["quotaId"] = args?.quotaId; + resourceInputs["region"] = args?.region; + resourceInputs["suspended"] = args?.suspended; + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["orgId"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ScfOrganization.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering ScfOrganization resources. + */ +export interface ScfOrganizationState { + /** + * The time when the organization was created + */ + createdAt?: pulumi.Input; + /** + * The name of the organization + */ + name?: pulumi.Input; + /** + * The ID of the Cloud Foundry Organization + */ + orgId?: pulumi.Input; + /** + * The ID of the platform associated with the organization + */ + platformId?: pulumi.Input; + /** + * The ID of the project associated with the organization + */ + projectId?: pulumi.Input; + /** + * The ID of the quota associated with the organization + */ + quotaId?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used + */ + region?: pulumi.Input; + /** + * The status of the organization (e.g., deleting, delete_failed) + */ + status?: pulumi.Input; + /** + * A boolean indicating whether the organization is suspended + */ + suspended?: pulumi.Input; + /** + * The time when the organization was last updated + */ + updatedAt?: pulumi.Input; +} + +/** + * The set of arguments for constructing a ScfOrganization resource. + */ +export interface ScfOrganizationArgs { + /** + * The name of the organization + */ + name?: pulumi.Input; + /** + * The ID of the platform associated with the organization + */ + platformId?: pulumi.Input; + /** + * The ID of the project associated with the organization + */ + projectId: pulumi.Input; + /** + * The ID of the quota associated with the organization + */ + quotaId?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used + */ + region?: pulumi.Input; + /** + * A boolean indicating whether the organization is suspended + */ + suspended?: pulumi.Input; +} diff --git a/sdk/nodejs/scfOrganizationManager.ts b/sdk/nodejs/scfOrganizationManager.ts new file mode 100644 index 00000000..22ea896f --- /dev/null +++ b/sdk/nodejs/scfOrganizationManager.ts @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * STACKIT Cloud Foundry organization manager resource schema. + * + * ## Example Usage + */ +export class ScfOrganizationManager extends pulumi.CustomResource { + /** + * Get an existing ScfOrganizationManager resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: ScfOrganizationManagerState, opts?: pulumi.CustomResourceOptions): ScfOrganizationManager { + return new ScfOrganizationManager(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'stackit:index/scfOrganizationManager:ScfOrganizationManager'; + + /** + * Returns true if the given object is an instance of ScfOrganizationManager. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ScfOrganizationManager { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ScfOrganizationManager.__pulumiType; + } + + /** + * The time when the organization manager was created + */ + declare public /*out*/ readonly createdAt: pulumi.Output; + /** + * The ID of the Cloud Foundry Organization + */ + declare public readonly orgId: pulumi.Output; + /** + * An auto-generated password + */ + declare public /*out*/ readonly password: pulumi.Output; + /** + * The ID of the platform associated with the organization of the organization manager + */ + declare public /*out*/ readonly platformId: pulumi.Output; + /** + * The ID of the project associated with the organization of the organization manager + */ + declare public readonly projectId: pulumi.Output; + /** + * The region where the organization of the organization manager is located. If not defined, the provider region is used + */ + declare public readonly region: pulumi.Output; + /** + * The time when the organization manager was last updated + */ + declare public /*out*/ readonly updatedAt: pulumi.Output; + /** + * The ID of the organization manager user + */ + declare public /*out*/ readonly userId: pulumi.Output; + /** + * An auto-generated organization manager user name + */ + declare public /*out*/ readonly username: pulumi.Output; + + /** + * Create a ScfOrganizationManager resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ScfOrganizationManagerArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ScfOrganizationManagerArgs | ScfOrganizationManagerState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as ScfOrganizationManagerState | undefined; + resourceInputs["createdAt"] = state?.createdAt; + resourceInputs["orgId"] = state?.orgId; + resourceInputs["password"] = state?.password; + resourceInputs["platformId"] = state?.platformId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["updatedAt"] = state?.updatedAt; + resourceInputs["userId"] = state?.userId; + resourceInputs["username"] = state?.username; + } else { + const args = argsOrState as ScfOrganizationManagerArgs | undefined; + if (args?.orgId === undefined && !opts.urn) { + throw new Error("Missing required property 'orgId'"); + } + if (args?.projectId === undefined && !opts.urn) { + throw new Error("Missing required property 'projectId'"); + } + resourceInputs["orgId"] = args?.orgId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["password"] = undefined /*out*/; + resourceInputs["platformId"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + resourceInputs["userId"] = undefined /*out*/; + resourceInputs["username"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["password"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(ScfOrganizationManager.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering ScfOrganizationManager resources. + */ +export interface ScfOrganizationManagerState { + /** + * The time when the organization manager was created + */ + createdAt?: pulumi.Input; + /** + * The ID of the Cloud Foundry Organization + */ + orgId?: pulumi.Input; + /** + * An auto-generated password + */ + password?: pulumi.Input; + /** + * The ID of the platform associated with the organization of the organization manager + */ + platformId?: pulumi.Input; + /** + * The ID of the project associated with the organization of the organization manager + */ + projectId?: pulumi.Input; + /** + * The region where the organization of the organization manager is located. If not defined, the provider region is used + */ + region?: pulumi.Input; + /** + * The time when the organization manager was last updated + */ + updatedAt?: pulumi.Input; + /** + * The ID of the organization manager user + */ + userId?: pulumi.Input; + /** + * An auto-generated organization manager user name + */ + username?: pulumi.Input; +} + +/** + * The set of arguments for constructing a ScfOrganizationManager resource. + */ +export interface ScfOrganizationManagerArgs { + /** + * The ID of the Cloud Foundry Organization + */ + orgId: pulumi.Input; + /** + * The ID of the project associated with the organization of the organization manager + */ + projectId: pulumi.Input; + /** + * The region where the organization of the organization manager is located. If not defined, the provider region is used + */ + region?: pulumi.Input; +} diff --git a/sdk/nodejs/secretsmanagerInstance.ts b/sdk/nodejs/secretsmanagerInstance.ts index 69c7cf83..ac8b1e29 100644 --- a/sdk/nodejs/secretsmanagerInstance.ts +++ b/sdk/nodejs/secretsmanagerInstance.ts @@ -40,19 +40,19 @@ export class SecretsmanagerInstance extends pulumi.CustomResource { /** * The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation */ - public readonly acls!: pulumi.Output; + declare public readonly acls: pulumi.Output; /** * ID of the Secrets Manager instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Create a SecretsmanagerInstance resource with the given unique name, arguments, and options. @@ -67,18 +67,18 @@ export class SecretsmanagerInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SecretsmanagerInstanceState | undefined; - resourceInputs["acls"] = state ? state.acls : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; + resourceInputs["acls"] = state?.acls; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; } else { const args = argsOrState as SecretsmanagerInstanceArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["acls"] = args ? args.acls : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["acls"] = args?.acls; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; resourceInputs["instanceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/secretsmanagerUser.ts b/sdk/nodejs/secretsmanagerUser.ts index dd234593..737562fc 100644 --- a/sdk/nodejs/secretsmanagerUser.ts +++ b/sdk/nodejs/secretsmanagerUser.ts @@ -40,31 +40,31 @@ export class SecretsmanagerUser extends pulumi.CustomResource { /** * A user chosen description to differentiate between multiple users. Can't be changed after creation. */ - public readonly description!: pulumi.Output; + declare public readonly description: pulumi.Output; /** * ID of the Secrets Manager instance. */ - public readonly instanceId!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; /** * An auto-generated password. */ - public /*out*/ readonly password!: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; /** * STACKIT Project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The user's ID. */ - public /*out*/ readonly userId!: pulumi.Output; + declare public /*out*/ readonly userId: pulumi.Output; /** * An auto-generated user name. */ - public /*out*/ readonly username!: pulumi.Output; + declare public /*out*/ readonly username: pulumi.Output; /** * If true, the user has writeaccess to the secrets engine. */ - public readonly writeEnabled!: pulumi.Output; + declare public readonly writeEnabled: pulumi.Output; /** * Create a SecretsmanagerUser resource with the given unique name, arguments, and options. @@ -79,31 +79,31 @@ export class SecretsmanagerUser extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SecretsmanagerUserState | undefined; - resourceInputs["description"] = state ? state.description : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["userId"] = state ? state.userId : undefined; - resourceInputs["username"] = state ? state.username : undefined; - resourceInputs["writeEnabled"] = state ? state.writeEnabled : undefined; + resourceInputs["description"] = state?.description; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["password"] = state?.password; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["userId"] = state?.userId; + resourceInputs["username"] = state?.username; + resourceInputs["writeEnabled"] = state?.writeEnabled; } else { const args = argsOrState as SecretsmanagerUserArgs | undefined; - if ((!args || args.description === undefined) && !opts.urn) { + if (args?.description === undefined && !opts.urn) { throw new Error("Missing required property 'description'"); } - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.writeEnabled === undefined) && !opts.urn) { + if (args?.writeEnabled === undefined && !opts.urn) { throw new Error("Missing required property 'writeEnabled'"); } - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["writeEnabled"] = args ? args.writeEnabled : undefined; + resourceInputs["description"] = args?.description; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["writeEnabled"] = args?.writeEnabled; resourceInputs["password"] = undefined /*out*/; resourceInputs["userId"] = undefined /*out*/; resourceInputs["username"] = undefined /*out*/; diff --git a/sdk/nodejs/securityGroup.ts b/sdk/nodejs/securityGroup.ts index 941748bd..dd40a44b 100644 --- a/sdk/nodejs/securityGroup.ts +++ b/sdk/nodejs/securityGroup.ts @@ -40,27 +40,27 @@ export class SecurityGroup extends pulumi.CustomResource { /** * The description of the security group. */ - public readonly description!: pulumi.Output; + declare public readonly description: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The name of the security group. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the security group is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The security group ID. */ - public /*out*/ readonly securityGroupId!: pulumi.Output; + declare public /*out*/ readonly securityGroupId: pulumi.Output; /** * Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. */ - public readonly stateful!: pulumi.Output; + declare public readonly stateful: pulumi.Output; /** * Create a SecurityGroup resource with the given unique name, arguments, and options. @@ -75,22 +75,22 @@ export class SecurityGroup extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SecurityGroupState | undefined; - resourceInputs["description"] = state ? state.description : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["securityGroupId"] = state ? state.securityGroupId : undefined; - resourceInputs["stateful"] = state ? state.stateful : undefined; + resourceInputs["description"] = state?.description; + resourceInputs["labels"] = state?.labels; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["securityGroupId"] = state?.securityGroupId; + resourceInputs["stateful"] = state?.stateful; } else { const args = argsOrState as SecurityGroupArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["stateful"] = args ? args.stateful : undefined; + resourceInputs["description"] = args?.description; + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["stateful"] = args?.stateful; resourceInputs["securityGroupId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/securityGroupRule.ts b/sdk/nodejs/securityGroupRule.ts index 715f0607..8a04bb16 100644 --- a/sdk/nodejs/securityGroupRule.ts +++ b/sdk/nodejs/securityGroupRule.ts @@ -42,47 +42,47 @@ export class SecurityGroupRule extends pulumi.CustomResource { /** * The rule description. */ - public readonly description!: pulumi.Output; + declare public readonly description: pulumi.Output; /** * The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. */ - public readonly direction!: pulumi.Output; + declare public readonly direction: pulumi.Output; /** * The ethertype which the rule should match. */ - public readonly etherType!: pulumi.Output; + declare public readonly etherType: pulumi.Output; /** * ICMP Parameters. These parameters should only be provided if the protocol is ICMP. */ - public readonly icmpParameters!: pulumi.Output; + declare public readonly icmpParameters: pulumi.Output; /** * The remote IP range which the rule should match. */ - public readonly ipRange!: pulumi.Output; + declare public readonly ipRange: pulumi.Output; /** * The range of ports. This should only be provided if the protocol is not ICMP. */ - public readonly portRange!: pulumi.Output; + declare public readonly portRange: pulumi.Output; /** * STACKIT project ID to which the security group rule is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The internet protocol which the rule should match. */ - public readonly protocol!: pulumi.Output; + declare public readonly protocol: pulumi.Output; /** * The remote security group which the rule should match. */ - public readonly remoteSecurityGroupId!: pulumi.Output; + declare public readonly remoteSecurityGroupId: pulumi.Output; /** * The security group ID. */ - public readonly securityGroupId!: pulumi.Output; + declare public readonly securityGroupId: pulumi.Output; /** * The security group rule ID. */ - public /*out*/ readonly securityGroupRuleId!: pulumi.Output; + declare public /*out*/ readonly securityGroupRuleId: pulumi.Output; /** * Create a SecurityGroupRule resource with the given unique name, arguments, and options. @@ -97,38 +97,38 @@ export class SecurityGroupRule extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SecurityGroupRuleState | undefined; - resourceInputs["description"] = state ? state.description : undefined; - resourceInputs["direction"] = state ? state.direction : undefined; - resourceInputs["etherType"] = state ? state.etherType : undefined; - resourceInputs["icmpParameters"] = state ? state.icmpParameters : undefined; - resourceInputs["ipRange"] = state ? state.ipRange : undefined; - resourceInputs["portRange"] = state ? state.portRange : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["protocol"] = state ? state.protocol : undefined; - resourceInputs["remoteSecurityGroupId"] = state ? state.remoteSecurityGroupId : undefined; - resourceInputs["securityGroupId"] = state ? state.securityGroupId : undefined; - resourceInputs["securityGroupRuleId"] = state ? state.securityGroupRuleId : undefined; + resourceInputs["description"] = state?.description; + resourceInputs["direction"] = state?.direction; + resourceInputs["etherType"] = state?.etherType; + resourceInputs["icmpParameters"] = state?.icmpParameters; + resourceInputs["ipRange"] = state?.ipRange; + resourceInputs["portRange"] = state?.portRange; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["protocol"] = state?.protocol; + resourceInputs["remoteSecurityGroupId"] = state?.remoteSecurityGroupId; + resourceInputs["securityGroupId"] = state?.securityGroupId; + resourceInputs["securityGroupRuleId"] = state?.securityGroupRuleId; } else { const args = argsOrState as SecurityGroupRuleArgs | undefined; - if ((!args || args.direction === undefined) && !opts.urn) { + if (args?.direction === undefined && !opts.urn) { throw new Error("Missing required property 'direction'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.securityGroupId === undefined) && !opts.urn) { + if (args?.securityGroupId === undefined && !opts.urn) { throw new Error("Missing required property 'securityGroupId'"); } - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["direction"] = args ? args.direction : undefined; - resourceInputs["etherType"] = args ? args.etherType : undefined; - resourceInputs["icmpParameters"] = args ? args.icmpParameters : undefined; - resourceInputs["ipRange"] = args ? args.ipRange : undefined; - resourceInputs["portRange"] = args ? args.portRange : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["protocol"] = args ? args.protocol : undefined; - resourceInputs["remoteSecurityGroupId"] = args ? args.remoteSecurityGroupId : undefined; - resourceInputs["securityGroupId"] = args ? args.securityGroupId : undefined; + resourceInputs["description"] = args?.description; + resourceInputs["direction"] = args?.direction; + resourceInputs["etherType"] = args?.etherType; + resourceInputs["icmpParameters"] = args?.icmpParameters; + resourceInputs["ipRange"] = args?.ipRange; + resourceInputs["portRange"] = args?.portRange; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["protocol"] = args?.protocol; + resourceInputs["remoteSecurityGroupId"] = args?.remoteSecurityGroupId; + resourceInputs["securityGroupId"] = args?.securityGroupId; resourceInputs["securityGroupRuleId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/server.ts b/sdk/nodejs/server.ts index f7fdef13..691763bd 100644 --- a/sdk/nodejs/server.ts +++ b/sdk/nodejs/server.ts @@ -22,6 +22,8 @@ import * as utilities from "./utilities"; * ### Server with attached volume * * ### Server with user data (cloud-init) + * + * ### Additional Examples */ export class Server extends pulumi.CustomResource { /** @@ -54,67 +56,67 @@ export class Server extends pulumi.CustomResource { /** * The affinity group the server is assigned to. */ - public readonly affinityGroup!: pulumi.Output; + declare public readonly affinityGroup: pulumi.Output; /** * The availability zone of the server. */ - public readonly availabilityZone!: pulumi.Output; + declare public readonly availabilityZone: pulumi.Output; /** * The boot volume for the server */ - public readonly bootVolume!: pulumi.Output; + declare public readonly bootVolume: pulumi.Output; /** * Date-time when the server was created */ - public /*out*/ readonly createdAt!: pulumi.Output; + declare public /*out*/ readonly createdAt: pulumi.Output; /** * The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. */ - public readonly desiredStatus!: pulumi.Output; + declare public readonly desiredStatus: pulumi.Output; /** * The image ID to be used for an ephemeral disk on the server. */ - public readonly imageId!: pulumi.Output; + declare public readonly imageId: pulumi.Output; /** * The name of the keypair used during server creation. */ - public readonly keypairName!: pulumi.Output; + declare public readonly keypairName: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * Date-time when the server was launched */ - public /*out*/ readonly launchedAt!: pulumi.Output; + declare public /*out*/ readonly launchedAt: pulumi.Output; /** * Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) */ - public readonly machineType!: pulumi.Output; + declare public readonly machineType: pulumi.Output; /** * The name of the server. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. */ - public readonly networkInterfaces!: pulumi.Output; + declare public readonly networkInterfaces: pulumi.Output; /** * STACKIT project ID to which the server is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The server ID. */ - public /*out*/ readonly serverId!: pulumi.Output; + declare public /*out*/ readonly serverId: pulumi.Output; /** * Date-time when the server was updated */ - public /*out*/ readonly updatedAt!: pulumi.Output; + declare public /*out*/ readonly updatedAt: pulumi.Output; /** * User data that is passed via cloud-init to the server. */ - public readonly userData!: pulumi.Output; + declare public readonly userData: pulumi.Output; /** * Create a Server resource with the given unique name, arguments, and options. @@ -129,42 +131,42 @@ export class Server extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServerState | undefined; - resourceInputs["affinityGroup"] = state ? state.affinityGroup : undefined; - resourceInputs["availabilityZone"] = state ? state.availabilityZone : undefined; - resourceInputs["bootVolume"] = state ? state.bootVolume : undefined; - resourceInputs["createdAt"] = state ? state.createdAt : undefined; - resourceInputs["desiredStatus"] = state ? state.desiredStatus : undefined; - resourceInputs["imageId"] = state ? state.imageId : undefined; - resourceInputs["keypairName"] = state ? state.keypairName : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["launchedAt"] = state ? state.launchedAt : undefined; - resourceInputs["machineType"] = state ? state.machineType : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["networkInterfaces"] = state ? state.networkInterfaces : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["serverId"] = state ? state.serverId : undefined; - resourceInputs["updatedAt"] = state ? state.updatedAt : undefined; - resourceInputs["userData"] = state ? state.userData : undefined; + resourceInputs["affinityGroup"] = state?.affinityGroup; + resourceInputs["availabilityZone"] = state?.availabilityZone; + resourceInputs["bootVolume"] = state?.bootVolume; + resourceInputs["createdAt"] = state?.createdAt; + resourceInputs["desiredStatus"] = state?.desiredStatus; + resourceInputs["imageId"] = state?.imageId; + resourceInputs["keypairName"] = state?.keypairName; + resourceInputs["labels"] = state?.labels; + resourceInputs["launchedAt"] = state?.launchedAt; + resourceInputs["machineType"] = state?.machineType; + resourceInputs["name"] = state?.name; + resourceInputs["networkInterfaces"] = state?.networkInterfaces; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["serverId"] = state?.serverId; + resourceInputs["updatedAt"] = state?.updatedAt; + resourceInputs["userData"] = state?.userData; } else { const args = argsOrState as ServerArgs | undefined; - if ((!args || args.machineType === undefined) && !opts.urn) { + if (args?.machineType === undefined && !opts.urn) { throw new Error("Missing required property 'machineType'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["affinityGroup"] = args ? args.affinityGroup : undefined; - resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined; - resourceInputs["bootVolume"] = args ? args.bootVolume : undefined; - resourceInputs["desiredStatus"] = args ? args.desiredStatus : undefined; - resourceInputs["imageId"] = args ? args.imageId : undefined; - resourceInputs["keypairName"] = args ? args.keypairName : undefined; - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["machineType"] = args ? args.machineType : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["networkInterfaces"] = args ? args.networkInterfaces : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["userData"] = args ? args.userData : undefined; + resourceInputs["affinityGroup"] = args?.affinityGroup; + resourceInputs["availabilityZone"] = args?.availabilityZone; + resourceInputs["bootVolume"] = args?.bootVolume; + resourceInputs["desiredStatus"] = args?.desiredStatus; + resourceInputs["imageId"] = args?.imageId; + resourceInputs["keypairName"] = args?.keypairName; + resourceInputs["labels"] = args?.labels; + resourceInputs["machineType"] = args?.machineType; + resourceInputs["name"] = args?.name; + resourceInputs["networkInterfaces"] = args?.networkInterfaces; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["userData"] = args?.userData; resourceInputs["createdAt"] = undefined /*out*/; resourceInputs["launchedAt"] = undefined /*out*/; resourceInputs["serverId"] = undefined /*out*/; diff --git a/sdk/nodejs/serverBackupSchedule.ts b/sdk/nodejs/serverBackupSchedule.ts index ebc3ec08..20d3fe5d 100644 --- a/sdk/nodejs/serverBackupSchedule.ts +++ b/sdk/nodejs/serverBackupSchedule.ts @@ -44,35 +44,35 @@ export class ServerBackupSchedule extends pulumi.CustomResource { /** * Backup schedule details for the backups. */ - public readonly backupProperties!: pulumi.Output; + declare public readonly backupProperties: pulumi.Output; /** * Backup schedule ID. */ - public /*out*/ readonly backupScheduleId!: pulumi.Output; + declare public /*out*/ readonly backupScheduleId: pulumi.Output; /** * Is the backup schedule enabled or disabled. */ - public readonly enabled!: pulumi.Output; + declare public readonly enabled: pulumi.Output; /** * The schedule name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT Project ID to which the server is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Backup schedule described in `rrule` (recurrence rule) format. */ - public readonly rrule!: pulumi.Output; + declare public readonly rrule: pulumi.Output; /** * Server ID for the backup schedule. */ - public readonly serverId!: pulumi.Output; + declare public readonly serverId: pulumi.Output; /** * Create a ServerBackupSchedule resource with the given unique name, arguments, and options. @@ -87,38 +87,38 @@ export class ServerBackupSchedule extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServerBackupScheduleState | undefined; - resourceInputs["backupProperties"] = state ? state.backupProperties : undefined; - resourceInputs["backupScheduleId"] = state ? state.backupScheduleId : undefined; - resourceInputs["enabled"] = state ? state.enabled : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["rrule"] = state ? state.rrule : undefined; - resourceInputs["serverId"] = state ? state.serverId : undefined; + resourceInputs["backupProperties"] = state?.backupProperties; + resourceInputs["backupScheduleId"] = state?.backupScheduleId; + resourceInputs["enabled"] = state?.enabled; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["rrule"] = state?.rrule; + resourceInputs["serverId"] = state?.serverId; } else { const args = argsOrState as ServerBackupScheduleArgs | undefined; - if ((!args || args.backupProperties === undefined) && !opts.urn) { + if (args?.backupProperties === undefined && !opts.urn) { throw new Error("Missing required property 'backupProperties'"); } - if ((!args || args.enabled === undefined) && !opts.urn) { + if (args?.enabled === undefined && !opts.urn) { throw new Error("Missing required property 'enabled'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.rrule === undefined) && !opts.urn) { + if (args?.rrule === undefined && !opts.urn) { throw new Error("Missing required property 'rrule'"); } - if ((!args || args.serverId === undefined) && !opts.urn) { + if (args?.serverId === undefined && !opts.urn) { throw new Error("Missing required property 'serverId'"); } - resourceInputs["backupProperties"] = args ? args.backupProperties : undefined; - resourceInputs["enabled"] = args ? args.enabled : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["rrule"] = args ? args.rrule : undefined; - resourceInputs["serverId"] = args ? args.serverId : undefined; + resourceInputs["backupProperties"] = args?.backupProperties; + resourceInputs["enabled"] = args?.enabled; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["rrule"] = args?.rrule; + resourceInputs["serverId"] = args?.serverId; resourceInputs["backupScheduleId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/serverNetworkInterfaceAttach.ts b/sdk/nodejs/serverNetworkInterfaceAttach.ts index 746fc317..ca997017 100644 --- a/sdk/nodejs/serverNetworkInterfaceAttach.ts +++ b/sdk/nodejs/serverNetworkInterfaceAttach.ts @@ -40,15 +40,15 @@ export class ServerNetworkInterfaceAttach extends pulumi.CustomResource { /** * The network interface ID. */ - public readonly networkInterfaceId!: pulumi.Output; + declare public readonly networkInterfaceId: pulumi.Output; /** * STACKIT project ID to which the network interface attachment is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The server ID. */ - public readonly serverId!: pulumi.Output; + declare public readonly serverId: pulumi.Output; /** * Create a ServerNetworkInterfaceAttach resource with the given unique name, arguments, and options. @@ -63,23 +63,23 @@ export class ServerNetworkInterfaceAttach extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServerNetworkInterfaceAttachState | undefined; - resourceInputs["networkInterfaceId"] = state ? state.networkInterfaceId : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["serverId"] = state ? state.serverId : undefined; + resourceInputs["networkInterfaceId"] = state?.networkInterfaceId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["serverId"] = state?.serverId; } else { const args = argsOrState as ServerNetworkInterfaceAttachArgs | undefined; - if ((!args || args.networkInterfaceId === undefined) && !opts.urn) { + if (args?.networkInterfaceId === undefined && !opts.urn) { throw new Error("Missing required property 'networkInterfaceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.serverId === undefined) && !opts.urn) { + if (args?.serverId === undefined && !opts.urn) { throw new Error("Missing required property 'serverId'"); } - resourceInputs["networkInterfaceId"] = args ? args.networkInterfaceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["serverId"] = args ? args.serverId : undefined; + resourceInputs["networkInterfaceId"] = args?.networkInterfaceId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["serverId"] = args?.serverId; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ServerNetworkInterfaceAttach.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/serverServiceAccountAttach.ts b/sdk/nodejs/serverServiceAccountAttach.ts index 48f99880..87ae7e8a 100644 --- a/sdk/nodejs/serverServiceAccountAttach.ts +++ b/sdk/nodejs/serverServiceAccountAttach.ts @@ -40,15 +40,15 @@ export class ServerServiceAccountAttach extends pulumi.CustomResource { /** * STACKIT project ID to which the service account attachment is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The server ID. */ - public readonly serverId!: pulumi.Output; + declare public readonly serverId: pulumi.Output; /** * The service account email. */ - public readonly serviceAccountEmail!: pulumi.Output; + declare public readonly serviceAccountEmail: pulumi.Output; /** * Create a ServerServiceAccountAttach resource with the given unique name, arguments, and options. @@ -63,23 +63,23 @@ export class ServerServiceAccountAttach extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServerServiceAccountAttachState | undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["serverId"] = state ? state.serverId : undefined; - resourceInputs["serviceAccountEmail"] = state ? state.serviceAccountEmail : undefined; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["serverId"] = state?.serverId; + resourceInputs["serviceAccountEmail"] = state?.serviceAccountEmail; } else { const args = argsOrState as ServerServiceAccountAttachArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.serverId === undefined) && !opts.urn) { + if (args?.serverId === undefined && !opts.urn) { throw new Error("Missing required property 'serverId'"); } - if ((!args || args.serviceAccountEmail === undefined) && !opts.urn) { + if (args?.serviceAccountEmail === undefined && !opts.urn) { throw new Error("Missing required property 'serviceAccountEmail'"); } - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["serverId"] = args ? args.serverId : undefined; - resourceInputs["serviceAccountEmail"] = args ? args.serviceAccountEmail : undefined; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["serverId"] = args?.serverId; + resourceInputs["serviceAccountEmail"] = args?.serviceAccountEmail; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ServerServiceAccountAttach.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/serverUpdateSchedule.ts b/sdk/nodejs/serverUpdateSchedule.ts index a26403db..ffc52851 100644 --- a/sdk/nodejs/serverUpdateSchedule.ts +++ b/sdk/nodejs/serverUpdateSchedule.ts @@ -42,35 +42,35 @@ export class ServerUpdateSchedule extends pulumi.CustomResource { /** * Is the update schedule enabled or disabled. */ - public readonly enabled!: pulumi.Output; + declare public readonly enabled: pulumi.Output; /** * Maintenance window [1..24]. */ - public readonly maintenanceWindow!: pulumi.Output; + declare public readonly maintenanceWindow: pulumi.Output; /** * The schedule name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT Project ID to which the server is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Update schedule described in `rrule` (recurrence rule) format. */ - public readonly rrule!: pulumi.Output; + declare public readonly rrule: pulumi.Output; /** * Server ID for the update schedule. */ - public readonly serverId!: pulumi.Output; + declare public readonly serverId: pulumi.Output; /** * Update schedule ID. */ - public /*out*/ readonly updateScheduleId!: pulumi.Output; + declare public /*out*/ readonly updateScheduleId: pulumi.Output; /** * Create a ServerUpdateSchedule resource with the given unique name, arguments, and options. @@ -85,38 +85,38 @@ export class ServerUpdateSchedule extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServerUpdateScheduleState | undefined; - resourceInputs["enabled"] = state ? state.enabled : undefined; - resourceInputs["maintenanceWindow"] = state ? state.maintenanceWindow : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["rrule"] = state ? state.rrule : undefined; - resourceInputs["serverId"] = state ? state.serverId : undefined; - resourceInputs["updateScheduleId"] = state ? state.updateScheduleId : undefined; + resourceInputs["enabled"] = state?.enabled; + resourceInputs["maintenanceWindow"] = state?.maintenanceWindow; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["rrule"] = state?.rrule; + resourceInputs["serverId"] = state?.serverId; + resourceInputs["updateScheduleId"] = state?.updateScheduleId; } else { const args = argsOrState as ServerUpdateScheduleArgs | undefined; - if ((!args || args.enabled === undefined) && !opts.urn) { + if (args?.enabled === undefined && !opts.urn) { throw new Error("Missing required property 'enabled'"); } - if ((!args || args.maintenanceWindow === undefined) && !opts.urn) { + if (args?.maintenanceWindow === undefined && !opts.urn) { throw new Error("Missing required property 'maintenanceWindow'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.rrule === undefined) && !opts.urn) { + if (args?.rrule === undefined && !opts.urn) { throw new Error("Missing required property 'rrule'"); } - if ((!args || args.serverId === undefined) && !opts.urn) { + if (args?.serverId === undefined && !opts.urn) { throw new Error("Missing required property 'serverId'"); } - resourceInputs["enabled"] = args ? args.enabled : undefined; - resourceInputs["maintenanceWindow"] = args ? args.maintenanceWindow : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["rrule"] = args ? args.rrule : undefined; - resourceInputs["serverId"] = args ? args.serverId : undefined; + resourceInputs["enabled"] = args?.enabled; + resourceInputs["maintenanceWindow"] = args?.maintenanceWindow; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["rrule"] = args?.rrule; + resourceInputs["serverId"] = args?.serverId; resourceInputs["updateScheduleId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/serverVolumeAttach.ts b/sdk/nodejs/serverVolumeAttach.ts index f2ee2d98..f6ca9795 100644 --- a/sdk/nodejs/serverVolumeAttach.ts +++ b/sdk/nodejs/serverVolumeAttach.ts @@ -40,15 +40,15 @@ export class ServerVolumeAttach extends pulumi.CustomResource { /** * STACKIT project ID to which the volume attachment is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The server ID. */ - public readonly serverId!: pulumi.Output; + declare public readonly serverId: pulumi.Output; /** * The volume ID. */ - public readonly volumeId!: pulumi.Output; + declare public readonly volumeId: pulumi.Output; /** * Create a ServerVolumeAttach resource with the given unique name, arguments, and options. @@ -63,23 +63,23 @@ export class ServerVolumeAttach extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServerVolumeAttachState | undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["serverId"] = state ? state.serverId : undefined; - resourceInputs["volumeId"] = state ? state.volumeId : undefined; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["serverId"] = state?.serverId; + resourceInputs["volumeId"] = state?.volumeId; } else { const args = argsOrState as ServerVolumeAttachArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.serverId === undefined) && !opts.urn) { + if (args?.serverId === undefined && !opts.urn) { throw new Error("Missing required property 'serverId'"); } - if ((!args || args.volumeId === undefined) && !opts.urn) { + if (args?.volumeId === undefined && !opts.urn) { throw new Error("Missing required property 'volumeId'"); } - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["serverId"] = args ? args.serverId : undefined; - resourceInputs["volumeId"] = args ? args.volumeId : undefined; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["serverId"] = args?.serverId; + resourceInputs["volumeId"] = args?.volumeId; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ServerVolumeAttach.__pulumiType, name, resourceInputs, opts); diff --git a/sdk/nodejs/serviceAccount.ts b/sdk/nodejs/serviceAccount.ts index 44296473..c872da03 100644 --- a/sdk/nodejs/serviceAccount.ts +++ b/sdk/nodejs/serviceAccount.ts @@ -40,15 +40,15 @@ export class ServiceAccount extends pulumi.CustomResource { /** * Email of the service account. */ - public /*out*/ readonly email!: pulumi.Output; + declare public /*out*/ readonly email: pulumi.Output; /** * Name of the service account. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * STACKIT project ID to which the service account is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Create a ServiceAccount resource with the given unique name, arguments, and options. @@ -63,16 +63,16 @@ export class ServiceAccount extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServiceAccountState | undefined; - resourceInputs["email"] = state ? state.email : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; + resourceInputs["email"] = state?.email; + resourceInputs["name"] = state?.name; + resourceInputs["projectId"] = state?.projectId; } else { const args = argsOrState as ServiceAccountArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; + resourceInputs["name"] = args?.name; + resourceInputs["projectId"] = args?.projectId; resourceInputs["email"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); diff --git a/sdk/nodejs/serviceAccountAccessToken.ts b/sdk/nodejs/serviceAccountAccessToken.ts index c8759664..1172aed8 100644 --- a/sdk/nodejs/serviceAccountAccessToken.ts +++ b/sdk/nodejs/serviceAccountAccessToken.ts @@ -6,6 +6,9 @@ import * as utilities from "./utilities"; /** * Service account access token schema. + * + * !> This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations. + * * ## Example Usage * * ### Automatically rotate access tokens @@ -41,39 +44,39 @@ export class ServiceAccountAccessToken extends pulumi.CustomResource { /** * Identifier for the access token linked to the service account. */ - public /*out*/ readonly accessTokenId!: pulumi.Output; + declare public /*out*/ readonly accessTokenId: pulumi.Output; /** * Indicate whether the token is currently active or inactive */ - public /*out*/ readonly active!: pulumi.Output; + declare public /*out*/ readonly active: pulumi.Output; /** * Timestamp indicating when the access token was created. */ - public /*out*/ readonly createdAt!: pulumi.Output; + declare public /*out*/ readonly createdAt: pulumi.Output; /** * STACKIT project ID associated with the service account token. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. */ - public readonly rotateWhenChanged!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly rotateWhenChanged: pulumi.Output<{[key: string]: string} | undefined>; /** * Email address linked to the service account. */ - public readonly serviceAccountEmail!: pulumi.Output; + declare public readonly serviceAccountEmail: pulumi.Output; /** * JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost. */ - public /*out*/ readonly token!: pulumi.Output; + declare public /*out*/ readonly token: pulumi.Output; /** * Specifies the token's validity duration in days. If unspecified, defaults to 90 days. */ - public readonly ttlDays!: pulumi.Output; + declare public readonly ttlDays: pulumi.Output; /** * Estimated expiration timestamp of the access token. For precise validity, check the JWT details. */ - public /*out*/ readonly validUntil!: pulumi.Output; + declare public /*out*/ readonly validUntil: pulumi.Output; /** * Create a ServiceAccountAccessToken resource with the given unique name, arguments, and options. @@ -88,27 +91,27 @@ export class ServiceAccountAccessToken extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServiceAccountAccessTokenState | undefined; - resourceInputs["accessTokenId"] = state ? state.accessTokenId : undefined; - resourceInputs["active"] = state ? state.active : undefined; - resourceInputs["createdAt"] = state ? state.createdAt : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["rotateWhenChanged"] = state ? state.rotateWhenChanged : undefined; - resourceInputs["serviceAccountEmail"] = state ? state.serviceAccountEmail : undefined; - resourceInputs["token"] = state ? state.token : undefined; - resourceInputs["ttlDays"] = state ? state.ttlDays : undefined; - resourceInputs["validUntil"] = state ? state.validUntil : undefined; + resourceInputs["accessTokenId"] = state?.accessTokenId; + resourceInputs["active"] = state?.active; + resourceInputs["createdAt"] = state?.createdAt; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["rotateWhenChanged"] = state?.rotateWhenChanged; + resourceInputs["serviceAccountEmail"] = state?.serviceAccountEmail; + resourceInputs["token"] = state?.token; + resourceInputs["ttlDays"] = state?.ttlDays; + resourceInputs["validUntil"] = state?.validUntil; } else { const args = argsOrState as ServiceAccountAccessTokenArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.serviceAccountEmail === undefined) && !opts.urn) { + if (args?.serviceAccountEmail === undefined && !opts.urn) { throw new Error("Missing required property 'serviceAccountEmail'"); } - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["rotateWhenChanged"] = args ? args.rotateWhenChanged : undefined; - resourceInputs["serviceAccountEmail"] = args ? args.serviceAccountEmail : undefined; - resourceInputs["ttlDays"] = args ? args.ttlDays : undefined; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["rotateWhenChanged"] = args?.rotateWhenChanged; + resourceInputs["serviceAccountEmail"] = args?.serviceAccountEmail; + resourceInputs["ttlDays"] = args?.ttlDays; resourceInputs["accessTokenId"] = undefined /*out*/; resourceInputs["active"] = undefined /*out*/; resourceInputs["createdAt"] = undefined /*out*/; diff --git a/sdk/nodejs/serviceAccountKey.ts b/sdk/nodejs/serviceAccountKey.ts index 2c001099..52cef538 100644 --- a/sdk/nodejs/serviceAccountKey.ts +++ b/sdk/nodejs/serviceAccountKey.ts @@ -41,31 +41,31 @@ export class ServiceAccountKey extends pulumi.CustomResource { /** * The raw JSON representation of the service account key json, available for direct use. */ - public /*out*/ readonly json!: pulumi.Output; + declare public /*out*/ readonly json: pulumi.Output; /** * The unique identifier for the key associated with the service account. */ - public /*out*/ readonly keyId!: pulumi.Output; + declare public /*out*/ readonly keyId: pulumi.Output; /** * The STACKIT project ID associated with the service account key. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. */ - public readonly publicKey!: pulumi.Output; + declare public readonly publicKey: pulumi.Output; /** * A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. */ - public readonly rotateWhenChanged!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly rotateWhenChanged: pulumi.Output<{[key: string]: string} | undefined>; /** * The email address associated with the service account, used for account identification and communication. */ - public readonly serviceAccountEmail!: pulumi.Output; + declare public readonly serviceAccountEmail: pulumi.Output; /** * Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted */ - public readonly ttlDays!: pulumi.Output; + declare public readonly ttlDays: pulumi.Output; /** * Create a ServiceAccountKey resource with the given unique name, arguments, and options. @@ -80,26 +80,26 @@ export class ServiceAccountKey extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as ServiceAccountKeyState | undefined; - resourceInputs["json"] = state ? state.json : undefined; - resourceInputs["keyId"] = state ? state.keyId : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["publicKey"] = state ? state.publicKey : undefined; - resourceInputs["rotateWhenChanged"] = state ? state.rotateWhenChanged : undefined; - resourceInputs["serviceAccountEmail"] = state ? state.serviceAccountEmail : undefined; - resourceInputs["ttlDays"] = state ? state.ttlDays : undefined; + resourceInputs["json"] = state?.json; + resourceInputs["keyId"] = state?.keyId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["publicKey"] = state?.publicKey; + resourceInputs["rotateWhenChanged"] = state?.rotateWhenChanged; + resourceInputs["serviceAccountEmail"] = state?.serviceAccountEmail; + resourceInputs["ttlDays"] = state?.ttlDays; } else { const args = argsOrState as ServiceAccountKeyArgs | undefined; - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.serviceAccountEmail === undefined) && !opts.urn) { + if (args?.serviceAccountEmail === undefined && !opts.urn) { throw new Error("Missing required property 'serviceAccountEmail'"); } - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["publicKey"] = args ? args.publicKey : undefined; - resourceInputs["rotateWhenChanged"] = args ? args.rotateWhenChanged : undefined; - resourceInputs["serviceAccountEmail"] = args ? args.serviceAccountEmail : undefined; - resourceInputs["ttlDays"] = args ? args.ttlDays : undefined; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["publicKey"] = args?.publicKey; + resourceInputs["rotateWhenChanged"] = args?.rotateWhenChanged; + resourceInputs["serviceAccountEmail"] = args?.serviceAccountEmail; + resourceInputs["ttlDays"] = args?.ttlDays; resourceInputs["json"] = undefined /*out*/; resourceInputs["keyId"] = undefined /*out*/; } diff --git a/sdk/nodejs/skeCluster.ts b/sdk/nodejs/skeCluster.ts index 6b36b5ec..6869df9e 100644 --- a/sdk/nodejs/skeCluster.ts +++ b/sdk/nodejs/skeCluster.ts @@ -41,62 +41,54 @@ export class SkeCluster extends pulumi.CustomResource { return obj['__pulumiType'] === SkeCluster.__pulumiType; } - /** - * Flag to specify if privileged mode for containers is enabled or not. - * This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - * Deprecated as of Kubernetes 1.25 and later - */ - public readonly allowPrivilegedContainers!: pulumi.Output; /** * The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. */ - public /*out*/ readonly egressAddressRanges!: pulumi.Output; + declare public /*out*/ readonly egressAddressRanges: pulumi.Output; /** * A single extensions block as defined below. */ - public readonly extensions!: pulumi.Output; + declare public readonly extensions: pulumi.Output; /** * One or more hibernation block as defined below. */ - public readonly hibernations!: pulumi.Output; - /** - * Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - * - * @deprecated Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - */ - public readonly kubernetesVersion!: pulumi.Output; + declare public readonly hibernations: pulumi.Output; /** * The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. */ - public readonly kubernetesVersionMin!: pulumi.Output; + declare public readonly kubernetesVersionMin: pulumi.Output; /** * Full Kubernetes version used. For example, if 1.22 was set in `kubernetesVersionMin`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). */ - public /*out*/ readonly kubernetesVersionUsed!: pulumi.Output; + declare public /*out*/ readonly kubernetesVersionUsed: pulumi.Output; /** * A single maintenance block as defined below. */ - public readonly maintenance!: pulumi.Output; + declare public readonly maintenance: pulumi.Output; /** * The cluster name. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * Network block as defined below. */ - public readonly network!: pulumi.Output; + declare public readonly network: pulumi.Output; /** * One or more `nodePool` block as defined below. */ - public readonly nodePools!: pulumi.Output; + declare public readonly nodePools: pulumi.Output; + /** + * The network ranges (in CIDR notation) used by pods of the cluster. + */ + declare public /*out*/ readonly podAddressRanges: pulumi.Output; /** * STACKIT project ID to which the cluster is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Create a SkeCluster resource with the given unique name, arguments, and options. @@ -111,40 +103,38 @@ export class SkeCluster extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SkeClusterState | undefined; - resourceInputs["allowPrivilegedContainers"] = state ? state.allowPrivilegedContainers : undefined; - resourceInputs["egressAddressRanges"] = state ? state.egressAddressRanges : undefined; - resourceInputs["extensions"] = state ? state.extensions : undefined; - resourceInputs["hibernations"] = state ? state.hibernations : undefined; - resourceInputs["kubernetesVersion"] = state ? state.kubernetesVersion : undefined; - resourceInputs["kubernetesVersionMin"] = state ? state.kubernetesVersionMin : undefined; - resourceInputs["kubernetesVersionUsed"] = state ? state.kubernetesVersionUsed : undefined; - resourceInputs["maintenance"] = state ? state.maintenance : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["network"] = state ? state.network : undefined; - resourceInputs["nodePools"] = state ? state.nodePools : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; + resourceInputs["egressAddressRanges"] = state?.egressAddressRanges; + resourceInputs["extensions"] = state?.extensions; + resourceInputs["hibernations"] = state?.hibernations; + resourceInputs["kubernetesVersionMin"] = state?.kubernetesVersionMin; + resourceInputs["kubernetesVersionUsed"] = state?.kubernetesVersionUsed; + resourceInputs["maintenance"] = state?.maintenance; + resourceInputs["name"] = state?.name; + resourceInputs["network"] = state?.network; + resourceInputs["nodePools"] = state?.nodePools; + resourceInputs["podAddressRanges"] = state?.podAddressRanges; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; } else { const args = argsOrState as SkeClusterArgs | undefined; - if ((!args || args.nodePools === undefined) && !opts.urn) { + if (args?.nodePools === undefined && !opts.urn) { throw new Error("Missing required property 'nodePools'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["allowPrivilegedContainers"] = args ? args.allowPrivilegedContainers : undefined; - resourceInputs["extensions"] = args ? args.extensions : undefined; - resourceInputs["hibernations"] = args ? args.hibernations : undefined; - resourceInputs["kubernetesVersion"] = args ? args.kubernetesVersion : undefined; - resourceInputs["kubernetesVersionMin"] = args ? args.kubernetesVersionMin : undefined; - resourceInputs["maintenance"] = args ? args.maintenance : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["network"] = args ? args.network : undefined; - resourceInputs["nodePools"] = args ? args.nodePools : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; + resourceInputs["extensions"] = args?.extensions; + resourceInputs["hibernations"] = args?.hibernations; + resourceInputs["kubernetesVersionMin"] = args?.kubernetesVersionMin; + resourceInputs["maintenance"] = args?.maintenance; + resourceInputs["name"] = args?.name; + resourceInputs["network"] = args?.network; + resourceInputs["nodePools"] = args?.nodePools; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; resourceInputs["egressAddressRanges"] = undefined /*out*/; resourceInputs["kubernetesVersionUsed"] = undefined /*out*/; + resourceInputs["podAddressRanges"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(SkeCluster.__pulumiType, name, resourceInputs, opts); @@ -155,12 +145,6 @@ export class SkeCluster extends pulumi.CustomResource { * Input properties used for looking up and filtering SkeCluster resources. */ export interface SkeClusterState { - /** - * Flag to specify if privileged mode for containers is enabled or not. - * This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - * Deprecated as of Kubernetes 1.25 and later - */ - allowPrivilegedContainers?: pulumi.Input; /** * The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. */ @@ -173,12 +157,6 @@ export interface SkeClusterState { * One or more hibernation block as defined below. */ hibernations?: pulumi.Input[]>; - /** - * Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - * - * @deprecated Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - */ - kubernetesVersion?: pulumi.Input; /** * The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. */ @@ -203,6 +181,10 @@ export interface SkeClusterState { * One or more `nodePool` block as defined below. */ nodePools?: pulumi.Input[]>; + /** + * The network ranges (in CIDR notation) used by pods of the cluster. + */ + podAddressRanges?: pulumi.Input[]>; /** * STACKIT project ID to which the cluster is associated. */ @@ -217,12 +199,6 @@ export interface SkeClusterState { * The set of arguments for constructing a SkeCluster resource. */ export interface SkeClusterArgs { - /** - * Flag to specify if privileged mode for containers is enabled or not. - * This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - * Deprecated as of Kubernetes 1.25 and later - */ - allowPrivilegedContainers?: pulumi.Input; /** * A single extensions block as defined below. */ @@ -231,12 +207,6 @@ export interface SkeClusterArgs { * One or more hibernation block as defined below. */ hibernations?: pulumi.Input[]>; - /** - * Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetesVersionMin instead` - * - * @deprecated Use `kubernetesVersionMin instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster. - */ - kubernetesVersion?: pulumi.Input; /** * The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetesVersionUsed` field. */ diff --git a/sdk/nodejs/skeKubeconfig.ts b/sdk/nodejs/skeKubeconfig.ts index a0ad11ff..f753d5b1 100644 --- a/sdk/nodejs/skeKubeconfig.ts +++ b/sdk/nodejs/skeKubeconfig.ts @@ -40,32 +40,40 @@ export class SkeKubeconfig extends pulumi.CustomResource { /** * Name of the SKE cluster. */ - public readonly clusterName!: pulumi.Output; + declare public readonly clusterName: pulumi.Output; /** * Date-time when the kubeconfig was created */ - public /*out*/ readonly creationTime!: pulumi.Output; + declare public /*out*/ readonly creationTime: pulumi.Output; /** * Expiration time of the kubeconfig, in seconds. Defaults to `3600` */ - public readonly expiration!: pulumi.Output; + declare public readonly expiration: pulumi.Output; /** * Timestamp when the kubeconfig expires */ - public /*out*/ readonly expiresAt!: pulumi.Output; + declare public /*out*/ readonly expiresAt: pulumi.Output; /** * Raw short-lived admin kubeconfig. */ - public /*out*/ readonly kubeConfig!: pulumi.Output; - public /*out*/ readonly kubeConfigId!: pulumi.Output; + declare public /*out*/ readonly kubeConfig: pulumi.Output; + declare public /*out*/ readonly kubeConfigId: pulumi.Output; /** * STACKIT project ID to which the cluster is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place */ - public readonly refresh!: pulumi.Output; + declare public readonly refresh: pulumi.Output; + /** + * Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + */ + declare public readonly refreshBefore: pulumi.Output; + /** + * The resource region. If not defined, the provider region is used. + */ + declare public readonly region: pulumi.Output; /** * Create a SkeKubeconfig resource with the given unique name, arguments, and options. @@ -80,26 +88,30 @@ export class SkeKubeconfig extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SkeKubeconfigState | undefined; - resourceInputs["clusterName"] = state ? state.clusterName : undefined; - resourceInputs["creationTime"] = state ? state.creationTime : undefined; - resourceInputs["expiration"] = state ? state.expiration : undefined; - resourceInputs["expiresAt"] = state ? state.expiresAt : undefined; - resourceInputs["kubeConfig"] = state ? state.kubeConfig : undefined; - resourceInputs["kubeConfigId"] = state ? state.kubeConfigId : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["refresh"] = state ? state.refresh : undefined; + resourceInputs["clusterName"] = state?.clusterName; + resourceInputs["creationTime"] = state?.creationTime; + resourceInputs["expiration"] = state?.expiration; + resourceInputs["expiresAt"] = state?.expiresAt; + resourceInputs["kubeConfig"] = state?.kubeConfig; + resourceInputs["kubeConfigId"] = state?.kubeConfigId; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["refresh"] = state?.refresh; + resourceInputs["refreshBefore"] = state?.refreshBefore; + resourceInputs["region"] = state?.region; } else { const args = argsOrState as SkeKubeconfigArgs | undefined; - if ((!args || args.clusterName === undefined) && !opts.urn) { + if (args?.clusterName === undefined && !opts.urn) { throw new Error("Missing required property 'clusterName'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["clusterName"] = args ? args.clusterName : undefined; - resourceInputs["expiration"] = args ? args.expiration : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["refresh"] = args ? args.refresh : undefined; + resourceInputs["clusterName"] = args?.clusterName; + resourceInputs["expiration"] = args?.expiration; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["refresh"] = args?.refresh; + resourceInputs["refreshBefore"] = args?.refreshBefore; + resourceInputs["region"] = args?.region; resourceInputs["creationTime"] = undefined /*out*/; resourceInputs["expiresAt"] = undefined /*out*/; resourceInputs["kubeConfig"] = undefined /*out*/; @@ -145,6 +157,14 @@ export interface SkeKubeconfigState { * If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place */ refresh?: pulumi.Input; + /** + * Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + */ + refreshBefore?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; } /** @@ -167,4 +187,12 @@ export interface SkeKubeconfigArgs { * If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place */ refresh?: pulumi.Input; + /** + * Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + */ + refreshBefore?: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; } diff --git a/sdk/nodejs/sqlserverflexInstance.ts b/sdk/nodejs/sqlserverflexInstance.ts index aeab5127..fb166ee9 100644 --- a/sdk/nodejs/sqlserverflexInstance.ts +++ b/sdk/nodejs/sqlserverflexInstance.ts @@ -42,32 +42,32 @@ export class SqlserverflexInstance extends pulumi.CustomResource { /** * The Access Control List (ACL) for the SQLServer Flex instance. */ - public readonly acls!: pulumi.Output; + declare public readonly acls: pulumi.Output; /** * The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") */ - public readonly backupSchedule!: pulumi.Output; - public readonly flavor!: pulumi.Output; + declare public readonly backupSchedule: pulumi.Output; + declare public readonly flavor: pulumi.Output; /** * ID of the SQLServer Flex instance. */ - public /*out*/ readonly instanceId!: pulumi.Output; + declare public /*out*/ readonly instanceId: pulumi.Output; /** * Instance name. */ - public readonly name!: pulumi.Output; - public readonly options!: pulumi.Output; + declare public readonly name: pulumi.Output; + declare public readonly options: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The resource region. If not defined, the provider region is used. */ - public readonly region!: pulumi.Output; - public /*out*/ readonly replicas!: pulumi.Output; - public readonly storage!: pulumi.Output; - public readonly version!: pulumi.Output; + declare public readonly region: pulumi.Output; + declare public /*out*/ readonly replicas: pulumi.Output; + declare public readonly storage: pulumi.Output; + declare public readonly version: pulumi.Output; /** * Create a SqlserverflexInstance resource with the given unique name, arguments, and options. @@ -82,34 +82,34 @@ export class SqlserverflexInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SqlserverflexInstanceState | undefined; - resourceInputs["acls"] = state ? state.acls : undefined; - resourceInputs["backupSchedule"] = state ? state.backupSchedule : undefined; - resourceInputs["flavor"] = state ? state.flavor : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["options"] = state ? state.options : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["replicas"] = state ? state.replicas : undefined; - resourceInputs["storage"] = state ? state.storage : undefined; - resourceInputs["version"] = state ? state.version : undefined; + resourceInputs["acls"] = state?.acls; + resourceInputs["backupSchedule"] = state?.backupSchedule; + resourceInputs["flavor"] = state?.flavor; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["name"] = state?.name; + resourceInputs["options"] = state?.options; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["replicas"] = state?.replicas; + resourceInputs["storage"] = state?.storage; + resourceInputs["version"] = state?.version; } else { const args = argsOrState as SqlserverflexInstanceArgs | undefined; - if ((!args || args.flavor === undefined) && !opts.urn) { + if (args?.flavor === undefined && !opts.urn) { throw new Error("Missing required property 'flavor'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["acls"] = args ? args.acls : undefined; - resourceInputs["backupSchedule"] = args ? args.backupSchedule : undefined; - resourceInputs["flavor"] = args ? args.flavor : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["options"] = args ? args.options : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["storage"] = args ? args.storage : undefined; - resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["acls"] = args?.acls; + resourceInputs["backupSchedule"] = args?.backupSchedule; + resourceInputs["flavor"] = args?.flavor; + resourceInputs["name"] = args?.name; + resourceInputs["options"] = args?.options; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["storage"] = args?.storage; + resourceInputs["version"] = args?.version; resourceInputs["instanceId"] = undefined /*out*/; resourceInputs["replicas"] = undefined /*out*/; } diff --git a/sdk/nodejs/sqlserverflexUser.ts b/sdk/nodejs/sqlserverflexUser.ts index fdcd834a..91a40de2 100644 --- a/sdk/nodejs/sqlserverflexUser.ts +++ b/sdk/nodejs/sqlserverflexUser.ts @@ -37,33 +37,33 @@ export class SqlserverflexUser extends pulumi.CustomResource { return obj['__pulumiType'] === SqlserverflexUser.__pulumiType; } - public /*out*/ readonly host!: pulumi.Output; + declare public /*out*/ readonly host: pulumi.Output; /** * ID of the SQLServer Flex instance. */ - public readonly instanceId!: pulumi.Output; + declare public readonly instanceId: pulumi.Output; /** * Password of the user account. */ - public /*out*/ readonly password!: pulumi.Output; - public /*out*/ readonly port!: pulumi.Output; + declare public /*out*/ readonly password: pulumi.Output; + declare public /*out*/ readonly port: pulumi.Output; /** * STACKIT project ID to which the instance is associated. */ - public readonly projectId!: pulumi.Output; - public readonly region!: pulumi.Output; + declare public readonly projectId: pulumi.Output; + declare public readonly region: pulumi.Output; /** * Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` */ - public readonly roles!: pulumi.Output; + declare public readonly roles: pulumi.Output; /** * User ID. */ - public /*out*/ readonly userId!: pulumi.Output; + declare public /*out*/ readonly userId: pulumi.Output; /** * Username of the SQLServer Flex instance. */ - public readonly username!: pulumi.Output; + declare public readonly username: pulumi.Output; /** * Create a SqlserverflexUser resource with the given unique name, arguments, and options. @@ -78,31 +78,34 @@ export class SqlserverflexUser extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as SqlserverflexUserState | undefined; - resourceInputs["host"] = state ? state.host : undefined; - resourceInputs["instanceId"] = state ? state.instanceId : undefined; - resourceInputs["password"] = state ? state.password : undefined; - resourceInputs["port"] = state ? state.port : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["region"] = state ? state.region : undefined; - resourceInputs["roles"] = state ? state.roles : undefined; - resourceInputs["userId"] = state ? state.userId : undefined; - resourceInputs["username"] = state ? state.username : undefined; + resourceInputs["host"] = state?.host; + resourceInputs["instanceId"] = state?.instanceId; + resourceInputs["password"] = state?.password; + resourceInputs["port"] = state?.port; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["region"] = state?.region; + resourceInputs["roles"] = state?.roles; + resourceInputs["userId"] = state?.userId; + resourceInputs["username"] = state?.username; } else { const args = argsOrState as SqlserverflexUserArgs | undefined; - if ((!args || args.instanceId === undefined) && !opts.urn) { + if (args?.instanceId === undefined && !opts.urn) { throw new Error("Missing required property 'instanceId'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - if ((!args || args.username === undefined) && !opts.urn) { + if (args?.roles === undefined && !opts.urn) { + throw new Error("Missing required property 'roles'"); + } + if (args?.username === undefined && !opts.urn) { throw new Error("Missing required property 'username'"); } - resourceInputs["instanceId"] = args ? args.instanceId : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["region"] = args ? args.region : undefined; - resourceInputs["roles"] = args ? args.roles : undefined; - resourceInputs["username"] = args ? args.username : undefined; + resourceInputs["instanceId"] = args?.instanceId; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["region"] = args?.region; + resourceInputs["roles"] = args?.roles; + resourceInputs["username"] = args?.username; resourceInputs["host"] = undefined /*out*/; resourceInputs["password"] = undefined /*out*/; resourceInputs["port"] = undefined /*out*/; @@ -164,7 +167,7 @@ export interface SqlserverflexUserArgs { /** * Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` */ - roles?: pulumi.Input[]>; + roles: pulumi.Input[]>; /** * Username of the SQLServer Flex instance. */ diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index a2fdeb42..291657dd 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "outDir": "bin", - "target": "es2016", + "target": "ES2020", "module": "commonjs", "moduleResolution": "node", "declaration": true, @@ -28,11 +28,14 @@ "getDnsRecordSet.ts", "getDnsZone.ts", "getGit.ts", + "getIaasProject.ts", "getImage.ts", + "getImageV2.ts", "getKeyPair.ts", "getLoadbalancer.ts", "getLogmeCredential.ts", "getLogmeInstance.ts", + "getMachineType.ts", "getMariadbCredential.ts", "getMariadbInstance.ts", "getMongodbflexInstance.ts", @@ -59,7 +62,15 @@ "getRabbitmqInstance.ts", "getRedisCredential.ts", "getRedisInstance.ts", + "getResourcemanagerFolder.ts", "getResourcemanagerProject.ts", + "getRoutingTable.ts", + "getRoutingTableRoute.ts", + "getRoutingTableRoutes.ts", + "getRoutingTables.ts", + "getScfOrganization.ts", + "getScfOrganizationManager.ts", + "getScfPlatform.ts", "getSecretsmanagerInstance.ts", "getSecretsmanagerUser.ts", "getSecurityGroup.ts", @@ -111,7 +122,12 @@ "rabbitmqInstance.ts", "redisCredential.ts", "redisInstance.ts", + "resourcemanagerFolder.ts", "resourcemanagerProject.ts", + "routingTable.ts", + "routingTableRoute.ts", + "scfOrganization.ts", + "scfOrganizationManager.ts", "secretsmanagerInstance.ts", "secretsmanagerUser.ts", "securityGroup.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 99aa96b3..775fd924 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -5,11 +5,34 @@ import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; +export interface CdnCustomDomainCertificate { + /** + * The PEM-encoded TLS certificate. Required for custom certificates. + */ + certificate?: pulumi.Input; + /** + * The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + */ + privateKey?: pulumi.Input; + /** + * A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + */ + version?: pulumi.Input; +} + export interface CdnDistributionConfig { /** * The configured backend for the distribution */ backend: pulumi.Input; + /** + * The configured countries where distribution of content is blocked + */ + blockedCountries?: pulumi.Input[]>; + /** + * Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + */ + optimizer?: pulumi.Input; /** * The configured regions where content will be hosted */ @@ -31,6 +54,10 @@ export interface CdnDistributionConfigBackend { type: pulumi.Input; } +export interface CdnDistributionConfigOptimizer { + enabled?: pulumi.Input; +} + export interface CdnDistributionDomain { /** * List of domain errors @@ -50,6 +77,66 @@ export interface CdnDistributionDomain { type?: pulumi.Input; } +export interface GetCdnCustomDomainCertificate { + /** + * A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + */ + version?: number; +} + +export interface GetCdnCustomDomainCertificateArgs { + /** + * A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + */ + version?: pulumi.Input; +} + +export interface GetImageV2Filter { + /** + * Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + */ + distro?: string; + /** + * Filter images by operating system type, such as `linux` or `windows`. + */ + os?: string; + /** + * Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + */ + secureBoot?: boolean; + /** + * Filter images based on UEFI support. Set to `true` to match images that support UEFI. + */ + uefi?: boolean; + /** + * Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + */ + version?: string; +} + +export interface GetImageV2FilterArgs { + /** + * Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + */ + distro?: pulumi.Input; + /** + * Filter images by operating system type, such as `linux` or `windows`. + */ + os?: pulumi.Input; + /** + * Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + */ + secureBoot?: pulumi.Input; + /** + * Filter images based on UEFI support. Set to `true` to match images that support UEFI. + */ + uefi?: pulumi.Input; + /** + * Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + */ + version?: pulumi.Input; +} + export interface ImageChecksum { /** * Algorithm for the checksum of the image data. @@ -431,7 +518,7 @@ export interface ObservabilityAlertgroupRule { export interface ObservabilityInstanceAlertConfig { /** - * Global configuration for the alerts. + * Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. */ global?: pulumi.Input; /** @@ -515,6 +602,10 @@ export interface ObservabilityInstanceAlertConfigReceiverEmailConfig { * The sender email address. Must be a valid email address */ from?: pulumi.Input; + /** + * Whether to notify about resolved alerts. + */ + sendResolved?: pulumi.Input; /** * The SMTP host through which emails are sent. */ @@ -534,6 +625,14 @@ export interface ObservabilityInstanceAlertConfigReceiverOpsgenieConfig { * The host to send OpsGenie API requests to. Must be a valid URL */ apiUrl?: pulumi.Input; + /** + * Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + */ + priority?: pulumi.Input; + /** + * Whether to notify about resolved alerts. + */ + sendResolved?: pulumi.Input; /** * Comma separated list of tags attached to the notifications. */ @@ -541,10 +640,18 @@ export interface ObservabilityInstanceAlertConfigReceiverOpsgenieConfig { } export interface ObservabilityInstanceAlertConfigReceiverWebhooksConfig { + /** + * Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + */ + googleChat?: pulumi.Input; /** * Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. */ msTeams?: pulumi.Input; + /** + * Whether to notify about resolved alerts. + */ + sendResolved?: pulumi.Input; /** * The endpoint to send HTTP POST requests to. Must be a valid URL */ @@ -564,14 +671,6 @@ export interface ObservabilityInstanceAlertConfigRoute { * How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) */ groupWait?: pulumi.Input; - /** - * A set of equality matchers an alert has to fulfill to match the node. - */ - match?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * A set of regex-matchers an alert has to fulfill to match the node. - */ - matchRegex?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The name of the receiver to route the alerts to. */ @@ -587,6 +686,10 @@ export interface ObservabilityInstanceAlertConfigRoute { } export interface ObservabilityInstanceAlertConfigRouteRoute { + /** + * Whether an alert should continue matching subsequent sibling nodes. + */ + continue?: pulumi.Input; /** * The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */ @@ -600,13 +703,21 @@ export interface ObservabilityInstanceAlertConfigRouteRoute { */ groupWait?: pulumi.Input; /** - * A set of equality matchers an alert has to fulfill to match the node. + * A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + * + * @deprecated Use `matchers` in the `routes` instead. */ match?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * A set of regex-matchers an alert has to fulfill to match the node. + * A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + * + * @deprecated Use `matchers` in the `routes` instead. */ matchRegex?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + */ + matchers?: pulumi.Input[]>; /** * The name of the receiver to route the alerts to. */ @@ -725,7 +836,7 @@ export interface OpensearchInstanceParameters { /** * The TLS protocol to use. */ - tlsProtocols?: pulumi.Input; + tlsProtocols?: pulumi.Input[]>; } export interface PostgresflexInstanceFlavor { @@ -886,6 +997,28 @@ export interface RedisInstanceParameters { tlsProtocols?: pulumi.Input; } +export interface RoutingTableRouteDestination { + /** + * CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + */ + type: pulumi.Input; + /** + * An CIDR string. + */ + value: pulumi.Input; +} + +export interface RoutingTableRouteNextHop { + /** + * Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + */ + type: pulumi.Input; + /** + * Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + */ + value?: pulumi.Input; +} + export interface SecurityGroupRuleIcmpParameters { /** * ICMP code. Can be set if the protocol is ICMP. @@ -958,13 +1091,19 @@ export interface SkeClusterExtensions { */ acl?: pulumi.Input; /** - * A single argus block as defined below. + * A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. + * + * @deprecated Use observability instead. */ argus?: pulumi.Input; /** * DNS extension configuration */ dns?: pulumi.Input; + /** + * A single observability block as defined below. + */ + observability?: pulumi.Input; } export interface SkeClusterExtensionsAcl { @@ -1000,6 +1139,17 @@ export interface SkeClusterExtensionsDns { zones?: pulumi.Input[]>; } +export interface SkeClusterExtensionsObservability { + /** + * Flag to enable/disable Observability extensions. + */ + enabled: pulumi.Input; + /** + * Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + */ + instanceId?: pulumi.Input; +} + export interface SkeClusterHibernation { /** * End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 7946cb12..7b2f9216 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -5,11 +5,34 @@ import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; +export interface CdnCustomDomainCertificate { + /** + * The PEM-encoded TLS certificate. Required for custom certificates. + */ + certificate?: string; + /** + * The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + */ + privateKey?: string; + /** + * A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + */ + version: number; +} + export interface CdnDistributionConfig { /** * The configured backend for the distribution */ backend: outputs.CdnDistributionConfigBackend; + /** + * The configured countries where distribution of content is blocked + */ + blockedCountries?: string[]; + /** + * Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + */ + optimizer: outputs.CdnDistributionConfigOptimizer; /** * The configured regions where content will be hosted */ @@ -31,6 +54,10 @@ export interface CdnDistributionConfigBackend { type: string; } +export interface CdnDistributionConfigOptimizer { + enabled: boolean; +} + export interface CdnDistributionDomain { /** * List of domain errors @@ -50,11 +77,26 @@ export interface CdnDistributionDomain { type: string; } +export interface GetCdnCustomDomainCertificate { + /** + * A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + */ + version: number; +} + export interface GetCdnDistributionConfig { /** * The configured backend for the distribution */ backend: outputs.GetCdnDistributionConfigBackend; + /** + * The configured countries where distribution of content is blocked + */ + blockedCountries?: string[]; + /** + * Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + */ + optimizer: outputs.GetCdnDistributionConfigOptimizer; /** * The configured regions where content will be hosted */ @@ -76,6 +118,10 @@ export interface GetCdnDistributionConfigBackend { type: string; } +export interface GetCdnDistributionConfigOptimizer { + enabled: boolean; +} + export interface GetCdnDistributionDomain { /** * List of domain errors @@ -161,6 +207,95 @@ export interface GetImageConfig { virtioScsi: boolean; } +export interface GetImageV2Checksum { + /** + * Algorithm for the checksum of the image data. + */ + algorithm: string; + /** + * Hexdigest of the checksum of the image data. + */ + digest: string; +} + +export interface GetImageV2Config { + /** + * Enables the BIOS bootmenu. + */ + bootMenu: boolean; + /** + * Sets CDROM bus controller type. + */ + cdromBus: string; + /** + * Sets Disk bus controller type. + */ + diskBus: string; + /** + * Sets virtual network interface model. + */ + nicModel: string; + /** + * Enables operating system specific optimizations. + */ + operatingSystem: string; + /** + * Operating system distribution. + */ + operatingSystemDistro: string; + /** + * Version of the operating system. + */ + operatingSystemVersion: string; + /** + * Sets the device bus when the image is used as a rescue image. + */ + rescueBus: string; + /** + * Sets the device when the image is used as a rescue image. + */ + rescueDevice: string; + /** + * Enables Secure Boot. + */ + secureBoot: boolean; + /** + * Enables UEFI boot. + */ + uefi: boolean; + /** + * Sets Graphic device model. + */ + videoModel: string; + /** + * Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + */ + virtioScsi: boolean; +} + +export interface GetImageV2Filter { + /** + * Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + */ + distro?: string; + /** + * Filter images by operating system type, such as `linux` or `windows`. + */ + os?: string; + /** + * Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + */ + secureBoot?: boolean; + /** + * Filter images based on UEFI support. Set to `true` to match images that support UEFI. + */ + uefi?: boolean; + /** + * Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + */ + version?: string; +} + export interface GetLoadbalancerListener { displayName: string; /** @@ -554,6 +689,10 @@ export interface GetObservabilityInstanceAlertConfigReceiverEmailConfig { * The sender email address. Must be a valid email address */ from: string; + /** + * Whether to notify about resolved alerts. + */ + sendResolved: boolean; /** * The SMTP host through which emails are sent. */ @@ -573,6 +712,14 @@ export interface GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig { * The host to send OpsGenie API requests to. Must be a valid URL */ apiUrl: string; + /** + * Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + */ + priority: string; + /** + * Whether to notify about resolved alerts. + */ + sendResolved: boolean; /** * Comma separated list of tags attached to the notifications. */ @@ -580,10 +727,18 @@ export interface GetObservabilityInstanceAlertConfigReceiverOpsgenieConfig { } export interface GetObservabilityInstanceAlertConfigReceiverWebhooksConfig { + /** + * Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + */ + googleChat: boolean; /** * Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. */ msTeams: boolean; + /** + * Whether to notify about resolved alerts. + */ + sendResolved: boolean; /** * The endpoint to send HTTP POST requests to. Must be a valid URL */ @@ -603,14 +758,6 @@ export interface GetObservabilityInstanceAlertConfigRoute { * How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . */ groupWait: string; - /** - * A set of equality matchers an alert has to fulfill to match the node. - */ - match: {[key: string]: string}; - /** - * A set of regex-matchers an alert has to fulfill to match the node. - */ - matchRegex: {[key: string]: string}; /** * The name of the receiver to route the alerts to. */ @@ -626,6 +773,10 @@ export interface GetObservabilityInstanceAlertConfigRoute { } export interface GetObservabilityInstanceAlertConfigRouteRoute { + /** + * Whether an alert should continue matching subsequent sibling nodes. + */ + continue: boolean; /** * The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */ @@ -639,13 +790,21 @@ export interface GetObservabilityInstanceAlertConfigRouteRoute { */ groupWait: string; /** - * A set of equality matchers an alert has to fulfill to match the node. + * A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + * + * @deprecated Use `matchers` in the `routes` instead. */ match: {[key: string]: string}; /** - * A set of regex-matchers an alert has to fulfill to match the node. + * A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + * + * @deprecated Use `matchers` in the `routes` instead. */ matchRegex: {[key: string]: string}; + /** + * A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + */ + matchers: string[]; /** * The name of the receiver to route the alerts to. */ @@ -932,6 +1091,112 @@ export interface GetRedisInstanceParameters { tlsProtocols: string; } +export interface GetRoutingTableRouteDestination { + /** + * CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + */ + type: string; + /** + * An CIDR string. + */ + value: string; +} + +export interface GetRoutingTableRouteNextHop { + /** + * Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + */ + type: string; + /** + * Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + */ + value: string; +} + +export interface GetRoutingTableRoutesRoute { + /** + * Date-time when the route was created + */ + createdAt: string; + /** + * Destination of the route. + */ + destination: outputs.GetRoutingTableRoutesRouteDestination; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + labels: {[key: string]: string}; + /** + * Next hop destination. + */ + nextHop: outputs.GetRoutingTableRoutesRouteNextHop; + /** + * Route ID. + */ + routeId: string; + /** + * Date-time when the route was updated + */ + updatedAt: string; +} + +export interface GetRoutingTableRoutesRouteDestination { + /** + * CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + */ + type: string; + /** + * An CIDR string. + */ + value: string; +} + +export interface GetRoutingTableRoutesRouteNextHop { + /** + * Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + */ + type: string; + /** + * Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + */ + value: string; +} + +export interface GetRoutingTablesItem { + /** + * Date-time when the routing table was created + */ + createdAt: string; + /** + * When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + */ + default: boolean; + /** + * Description of the routing table. + */ + description: string; + /** + * Labels are key-value string pairs which can be attached to a resource container + */ + labels: {[key: string]: string}; + /** + * The name of the routing table. + */ + name: string; + /** + * The routing tables ID. + */ + routingTableId: string; + /** + * This controls whether the routes for project-to-project communication are created automatically or not. + */ + systemRoutes: boolean; + /** + * Date-time when the routing table was updated + */ + updatedAt: string; +} + export interface GetSecurityGroupRuleIcmpParameters { /** * ICMP code. Can be set if the protocol is ICMP. @@ -1034,13 +1299,19 @@ export interface GetSkeClusterExtensions { */ acl: outputs.GetSkeClusterExtensionsAcl; /** - * A single argus block as defined below + * A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. + * + * @deprecated Use observability instead. */ argus: outputs.GetSkeClusterExtensionsArgus; /** * DNS extension configuration */ dns: outputs.GetSkeClusterExtensionsDns; + /** + * A single observability block as defined below. + */ + observability: outputs.GetSkeClusterExtensionsObservability; } export interface GetSkeClusterExtensionsAcl { @@ -1076,6 +1347,17 @@ export interface GetSkeClusterExtensionsDns { zones: string[]; } +export interface GetSkeClusterExtensionsObservability { + /** + * Flag to enable/disable Observability extensions. + */ + enabled: boolean; + /** + * Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + */ + instanceId: string; +} + export interface GetSkeClusterHibernation { /** * End time of hibernation, in crontab syntax. @@ -1612,7 +1894,7 @@ export interface ObservabilityAlertgroupRule { export interface ObservabilityInstanceAlertConfig { /** - * Global configuration for the alerts. + * Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. */ global: outputs.ObservabilityInstanceAlertConfigGlobal; /** @@ -1696,6 +1978,10 @@ export interface ObservabilityInstanceAlertConfigReceiverEmailConfig { * The sender email address. Must be a valid email address */ from?: string; + /** + * Whether to notify about resolved alerts. + */ + sendResolved?: boolean; /** * The SMTP host through which emails are sent. */ @@ -1715,6 +2001,14 @@ export interface ObservabilityInstanceAlertConfigReceiverOpsgenieConfig { * The host to send OpsGenie API requests to. Must be a valid URL */ apiUrl?: string; + /** + * Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + */ + priority?: string; + /** + * Whether to notify about resolved alerts. + */ + sendResolved?: boolean; /** * Comma separated list of tags attached to the notifications. */ @@ -1722,10 +2016,18 @@ export interface ObservabilityInstanceAlertConfigReceiverOpsgenieConfig { } export interface ObservabilityInstanceAlertConfigReceiverWebhooksConfig { + /** + * Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + */ + googleChat: boolean; /** * Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. */ - msTeams?: boolean; + msTeams: boolean; + /** + * Whether to notify about resolved alerts. + */ + sendResolved?: boolean; /** * The endpoint to send HTTP POST requests to. Must be a valid URL */ @@ -1745,14 +2047,6 @@ export interface ObservabilityInstanceAlertConfigRoute { * How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) */ groupWait: string; - /** - * A set of equality matchers an alert has to fulfill to match the node. - */ - match?: {[key: string]: string}; - /** - * A set of regex-matchers an alert has to fulfill to match the node. - */ - matchRegex?: {[key: string]: string}; /** * The name of the receiver to route the alerts to. */ @@ -1768,6 +2062,10 @@ export interface ObservabilityInstanceAlertConfigRoute { } export interface ObservabilityInstanceAlertConfigRouteRoute { + /** + * Whether an alert should continue matching subsequent sibling nodes. + */ + continue?: boolean; /** * The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. */ @@ -1781,13 +2079,21 @@ export interface ObservabilityInstanceAlertConfigRouteRoute { */ groupWait: string; /** - * A set of equality matchers an alert has to fulfill to match the node. + * A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + * + * @deprecated Use `matchers` in the `routes` instead. */ match?: {[key: string]: string}; /** - * A set of regex-matchers an alert has to fulfill to match the node. + * A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + * + * @deprecated Use `matchers` in the `routes` instead. */ matchRegex?: {[key: string]: string}; + /** + * A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + */ + matchers?: string[]; /** * The name of the receiver to route the alerts to. */ @@ -1906,7 +2212,7 @@ export interface OpensearchInstanceParameters { /** * The TLS protocol to use. */ - tlsProtocols: string; + tlsProtocols: string[]; } export interface PostgresflexInstanceFlavor { @@ -2067,6 +2373,28 @@ export interface RedisInstanceParameters { tlsProtocols: string; } +export interface RoutingTableRouteDestination { + /** + * CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + */ + type: string; + /** + * An CIDR string. + */ + value: string; +} + +export interface RoutingTableRouteNextHop { + /** + * Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + */ + type: string; + /** + * Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + */ + value?: string; +} + export interface SecurityGroupRuleIcmpParameters { /** * ICMP code. Can be set if the protocol is ICMP. @@ -2139,13 +2467,19 @@ export interface SkeClusterExtensions { */ acl?: outputs.SkeClusterExtensionsAcl; /** - * A single argus block as defined below. + * A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. + * + * @deprecated Use observability instead. */ argus?: outputs.SkeClusterExtensionsArgus; /** * DNS extension configuration */ dns?: outputs.SkeClusterExtensionsDns; + /** + * A single observability block as defined below. + */ + observability?: outputs.SkeClusterExtensionsObservability; } export interface SkeClusterExtensionsAcl { @@ -2181,6 +2515,17 @@ export interface SkeClusterExtensionsDns { zones: string[]; } +export interface SkeClusterExtensionsObservability { + /** + * Flag to enable/disable Observability extensions. + */ + enabled: boolean; + /** + * Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + */ + instanceId?: string; +} + export interface SkeClusterHibernation { /** * End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. diff --git a/sdk/nodejs/volume.ts b/sdk/nodejs/volume.ts index 7210c330..de93aeeb 100644 --- a/sdk/nodejs/volume.ts +++ b/sdk/nodejs/volume.ts @@ -42,43 +42,43 @@ export class Volume extends pulumi.CustomResource { /** * The availability zone of the volume. */ - public readonly availabilityZone!: pulumi.Output; + declare public readonly availabilityZone: pulumi.Output; /** * The description of the volume. */ - public readonly description!: pulumi.Output; + declare public readonly description: pulumi.Output; /** * Labels are key-value string pairs which can be attached to a resource container */ - public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; + declare public readonly labels: pulumi.Output<{[key: string]: string} | undefined>; /** * The name of the volume. */ - public readonly name!: pulumi.Output; + declare public readonly name: pulumi.Output; /** * The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) */ - public readonly performanceClass!: pulumi.Output; + declare public readonly performanceClass: pulumi.Output; /** * STACKIT project ID to which the volume is associated. */ - public readonly projectId!: pulumi.Output; + declare public readonly projectId: pulumi.Output; /** * The server ID of the server to which the volume is attached to. */ - public /*out*/ readonly serverId!: pulumi.Output; + declare public /*out*/ readonly serverId: pulumi.Output; /** * The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided */ - public readonly size!: pulumi.Output; + declare public readonly size: pulumi.Output; /** * The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided */ - public readonly source!: pulumi.Output; + declare public readonly source: pulumi.Output; /** * The volume ID. */ - public /*out*/ readonly volumeId!: pulumi.Output; + declare public /*out*/ readonly volumeId: pulumi.Output; /** * Create a Volume resource with the given unique name, arguments, and options. @@ -93,32 +93,32 @@ export class Volume extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as VolumeState | undefined; - resourceInputs["availabilityZone"] = state ? state.availabilityZone : undefined; - resourceInputs["description"] = state ? state.description : undefined; - resourceInputs["labels"] = state ? state.labels : undefined; - resourceInputs["name"] = state ? state.name : undefined; - resourceInputs["performanceClass"] = state ? state.performanceClass : undefined; - resourceInputs["projectId"] = state ? state.projectId : undefined; - resourceInputs["serverId"] = state ? state.serverId : undefined; - resourceInputs["size"] = state ? state.size : undefined; - resourceInputs["source"] = state ? state.source : undefined; - resourceInputs["volumeId"] = state ? state.volumeId : undefined; + resourceInputs["availabilityZone"] = state?.availabilityZone; + resourceInputs["description"] = state?.description; + resourceInputs["labels"] = state?.labels; + resourceInputs["name"] = state?.name; + resourceInputs["performanceClass"] = state?.performanceClass; + resourceInputs["projectId"] = state?.projectId; + resourceInputs["serverId"] = state?.serverId; + resourceInputs["size"] = state?.size; + resourceInputs["source"] = state?.source; + resourceInputs["volumeId"] = state?.volumeId; } else { const args = argsOrState as VolumeArgs | undefined; - if ((!args || args.availabilityZone === undefined) && !opts.urn) { + if (args?.availabilityZone === undefined && !opts.urn) { throw new Error("Missing required property 'availabilityZone'"); } - if ((!args || args.projectId === undefined) && !opts.urn) { + if (args?.projectId === undefined && !opts.urn) { throw new Error("Missing required property 'projectId'"); } - resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined; - resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["labels"] = args ? args.labels : undefined; - resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["performanceClass"] = args ? args.performanceClass : undefined; - resourceInputs["projectId"] = args ? args.projectId : undefined; - resourceInputs["size"] = args ? args.size : undefined; - resourceInputs["source"] = args ? args.source : undefined; + resourceInputs["availabilityZone"] = args?.availabilityZone; + resourceInputs["description"] = args?.description; + resourceInputs["labels"] = args?.labels; + resourceInputs["name"] = args?.name; + resourceInputs["performanceClass"] = args?.performanceClass; + resourceInputs["projectId"] = args?.projectId; + resourceInputs["size"] = args?.size; + resourceInputs["source"] = args?.source; resourceInputs["serverId"] = undefined /*out*/; resourceInputs["volumeId"] = undefined /*out*/; } diff --git a/sdk/python/README.md b/sdk/python/README.md new file mode 100644 index 00000000..9f352014 --- /dev/null +++ b/sdk/python/README.md @@ -0,0 +1,113 @@ +
+
+STACKIT logo +
+
+
+ +# STACKIT Pulumi Provider (BETA) + +[![GitHub License](https://img.shields.io/github/license/stackitcloud/pulumi-stackit)](https://www.apache.org/licenses/LICENSE-2.0) + +This repository contains the STACKIT Pulumi Provider. + +The STACKIT Pulumi Provider lets you manage [STACKIT](https://www.stackit.de/en/) resources. + +This STACKIT Pulumi Provider is in a BETA state. More functionality will be supported soon. Your feedback is appreciated! Feel free to open GitHub issues to provide feature requests and bug reports. + +## Reporting issues + +If you encounter any issues or have suggestions for improvements, please open an issue in the repository or create a ticket in the [STACKIT Help Center](https://support.stackit.cloud/). + +## License + +Apache 2.0 + +## Installing + +This package is available for several languages/platforms: + +### Node.js (JavaScript/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + +```bash +npm install @stackitcloud/pulumi-stackit +``` + +or `yarn`: + +```bash +yarn add @stackitcloud/pulumi-stackit +``` + +### Python + +To use from Python, install using `pip`: + +```bash +pip install pulumi_stackit +``` + +### Go + +To use from Go, use `go get` to grab the latest version of the library: + +```bash +go get github.com/stackitcloud/pulumi-stackit/sdk +``` + +### .NET + +To use from .NET, install using `dotnet add package`: + +```bash +dotnet add package Pulumi.stackit +``` + +## Configuration + +The following configuration points are available for the `stackit` provider: + +| Configuration Variable | Environment Variable | Description | +|------------------------|---------------------|-------------| +| `stackit:authorizationCustomEndpoint` | `STACKIT_AUTHORIZATION_CUSTOM_ENDPOINT` | Custom endpoint for the Membership service | +| `stackit:cdnCustomEndpoint` | `STACKIT_CDN_CUSTOM_ENDPOINT` | Custom endpoint for the CDN service | +| `stackit:credentialsPath` | `STACKIT_CREDENTIALS_PATH` | Path of JSON from where the credentials are read. Default value is `~/.stackit/credentials.json` | +| `stackit:defaultRegion` | `STACKIT_DEFAULT_REGION` | Region will be used as the default location for regional services. Not all services require a region, some are global | +| `stackit:dnsCustomEndpoint` | `STACKIT_DNS_CUSTOM_ENDPOINT` | Custom endpoint for the DNS service | +| `stackit:enableBetaResources` | `STACKIT_ENABLE_BETA_RESOURCES` | Enable beta resources. Default is false | +| `stackit:experiments` | `STACKIT_EXPERIMENTS` | Enables experiments. These are unstable features without official support. Available Experiments: [iam] | +| `stackit:gitCustomEndpoint` | `STACKIT_GIT_CUSTOM_ENDPOINT` | Custom endpoint for the Git service | +| `stackit:iaasCustomEndpoint` | `STACKIT_IAAS_CUSTOM_ENDPOINT` | Custom endpoint for the IaaS service | +| `stackit:loadbalancerCustomEndpoint` | `STACKIT_LOADBALANCER_CUSTOM_ENDPOINT` | Custom endpoint for the Load Balancer service | +| `stackit:logmeCustomEndpoint` | `STACKIT_LOGME_CUSTOM_ENDPOINT` | Custom endpoint for the LogMe service | +| `stackit:mariadbCustomEndpoint` | `STACKIT_MARIADB_CUSTOM_ENDPOINT` | Custom endpoint for the MariaDB service | +| `stackit:modelservingCustomEndpoint` | `STACKIT_MODELSERVING_CUSTOM_ENDPOINT` | Custom endpoint for the AI Model Serving service | +| `stackit:mongodbflexCustomEndpoint` | `STACKIT_MONGODBFLEX_CUSTOM_ENDPOINT` | Custom endpoint for the MongoDB Flex service | +| `stackit:objectstorageCustomEndpoint` | `STACKIT_OBJECTSTORAGE_CUSTOM_ENDPOINT` | Custom endpoint for the Object Storage service | +| `stackit:observabilityCustomEndpoint` | `STACKIT_OBSERVABILITY_CUSTOM_ENDPOINT` | Custom endpoint for the Observability service | +| `stackit:opensearchCustomEndpoint` | `STACKIT_OPENSEARCH_CUSTOM_ENDPOINT` | Custom endpoint for the OpenSearch service | +| `stackit:postgresflexCustomEndpoint` | `STACKIT_POSTGRESFLEX_CUSTOM_ENDPOINT` | Custom endpoint for the PostgresFlex service | +| `stackit:privateKey` | `STACKIT_PRIVATE_KEY` | Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key | +| `stackit:privateKeyPath` | `STACKIT_PRIVATE_KEY_PATH` | Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key | +| `stackit:rabbitmqCustomEndpoint` | `STACKIT_RABBITMQ_CUSTOM_ENDPOINT` | Custom endpoint for the RabbitMQ service | +| `stackit:redisCustomEndpoint` | `STACKIT_REDIS_CUSTOM_ENDPOINT` | Custom endpoint for the Redis service | +| `stackit:region` | `STACKIT_REGION` | Region will be used as the default location for regional services. Not all services require a region, some are global ⚠️ **Deprecated**: This attribute is deprecated. Use 'default_region' instead | +| `stackit:resourcemanagerCustomEndpoint` | `STACKIT_RESOURCEMANAGER_CUSTOM_ENDPOINT` | Custom endpoint for the Resource Manager service | +| `stackit:secretsmanagerCustomEndpoint` | `STACKIT_SECRETSMANAGER_CUSTOM_ENDPOINT` | Custom endpoint for the Secrets Manager service | +| `stackit:serverBackupCustomEndpoint` | `STACKIT_SERVER_BACKUP_CUSTOM_ENDPOINT` | Custom endpoint for the Server Backup service | +| `stackit:serverUpdateCustomEndpoint` | `STACKIT_SERVER_UPDATE_CUSTOM_ENDPOINT` | Custom endpoint for the Server Update service | +| `stackit:serviceAccountCustomEndpoint` | `STACKIT_SERVICE_ACCOUNT_CUSTOM_ENDPOINT` | Custom endpoint for the Service Account service | +| `stackit:serviceAccountEmail` | `STACKIT_SERVICE_ACCOUNT_EMAIL` | Service account email. It is required if you want to use the resource manager project resource ⚠️ **Deprecated**: The `service_account_email` field has been deprecated because it is not required. Will be removed after June 12th 2025 | +| `stackit:serviceAccountKey` | `STACKIT_SERVICE_ACCOUNT_KEY` | Service account key used for authentication. If set, the key flow will be used to authenticate all operations | +| `stackit:serviceAccountKeyPath` | `STACKIT_SERVICE_ACCOUNT_KEY_PATH` | Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations | +| `stackit:serviceAccountToken` | `STACKIT_SERVICE_ACCOUNT_TOKEN` | Token used for authentication. If set, the token flow will be used to authenticate all operations | +| `stackit:serviceEnablementCustomEndpoint` | `STACKIT_SERVICE_ENABLEMENT_CUSTOM_ENDPOINT` | Custom endpoint for the Service Enablement API | +| `stackit:skeCustomEndpoint` | `STACKIT_SKE_CUSTOM_ENDPOINT` | Custom endpoint for the Kubernetes Engine (SKE) service | +| `stackit:sqlserverflexCustomEndpoint` | `STACKIT_SQLSERVERFLEX_CUSTOM_ENDPOINT` | Custom endpoint for the SQL Server Flex service | +| `stackit:tokenCustomEndpoint` | `STACKIT_TOKEN_CUSTOM_ENDPOINT` | Custom endpoint for the token API, which is used to request access tokens when using the key flow | + +## Reference + +For detailed reference documentation, please visit [the Pulumi registry](https://www.pulumi.com/registry/packages/stackit/api-docs/). diff --git a/sdk/python/pulumi_stackit/__init__.py b/sdk/python/pulumi_stackit/__init__.py index 7d105f5c..3da4abae 100644 --- a/sdk/python/pulumi_stackit/__init__.py +++ b/sdk/python/pulumi_stackit/__init__.py @@ -2,7 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins +import builtins as _builtins from . import _utilities import typing # Export this package's modules as members: @@ -19,11 +19,14 @@ from .get_dns_record_set import * from .get_dns_zone import * from .get_git import * +from .get_iaas_project import * from .get_image import * +from .get_image_v2 import * from .get_key_pair import * from .get_loadbalancer import * from .get_logme_credential import * from .get_logme_instance import * +from .get_machine_type import * from .get_mariadb_credential import * from .get_mariadb_instance import * from .get_mongodbflex_instance import * @@ -50,7 +53,15 @@ from .get_rabbitmq_instance import * from .get_redis_credential import * from .get_redis_instance import * +from .get_resourcemanager_folder import * from .get_resourcemanager_project import * +from .get_routing_table import * +from .get_routing_table_route import * +from .get_routing_table_routes import * +from .get_routing_tables import * +from .get_scf_organization import * +from .get_scf_organization_manager import * +from .get_scf_platform import * from .get_secretsmanager_instance import * from .get_secretsmanager_user import * from .get_security_group import * @@ -101,7 +112,12 @@ from .rabbitmq_instance import * from .redis_credential import * from .redis_instance import * +from .resourcemanager_folder import * from .resourcemanager_project import * +from .routing_table import * +from .routing_table_route import * +from .scf_organization import * +from .scf_organization_manager import * from .secretsmanager_instance import * from .secretsmanager_user import * from .security_group import * @@ -469,6 +485,14 @@ "stackit:index/redisInstance:RedisInstance": "RedisInstance" } }, + { + "pkg": "stackit", + "mod": "index/resourcemanagerFolder", + "fqn": "pulumi_stackit", + "classes": { + "stackit:index/resourcemanagerFolder:ResourcemanagerFolder": "ResourcemanagerFolder" + } + }, { "pkg": "stackit", "mod": "index/resourcemanagerProject", @@ -477,6 +501,38 @@ "stackit:index/resourcemanagerProject:ResourcemanagerProject": "ResourcemanagerProject" } }, + { + "pkg": "stackit", + "mod": "index/routingTable", + "fqn": "pulumi_stackit", + "classes": { + "stackit:index/routingTable:RoutingTable": "RoutingTable" + } + }, + { + "pkg": "stackit", + "mod": "index/routingTableRoute", + "fqn": "pulumi_stackit", + "classes": { + "stackit:index/routingTableRoute:RoutingTableRoute": "RoutingTableRoute" + } + }, + { + "pkg": "stackit", + "mod": "index/scfOrganization", + "fqn": "pulumi_stackit", + "classes": { + "stackit:index/scfOrganization:ScfOrganization": "ScfOrganization" + } + }, + { + "pkg": "stackit", + "mod": "index/scfOrganizationManager", + "fqn": "pulumi_stackit", + "classes": { + "stackit:index/scfOrganizationManager:ScfOrganizationManager": "ScfOrganizationManager" + } + }, { "pkg": "stackit", "mod": "index/secretsmanagerInstance", diff --git a/sdk/python/pulumi_stackit/_inputs.py b/sdk/python/pulumi_stackit/_inputs.py index 9dce3f8a..d19a192d 100644 --- a/sdk/python/pulumi_stackit/_inputs.py +++ b/sdk/python/pulumi_stackit/_inputs.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -16,10 +15,14 @@ from . import _utilities __all__ = [ + 'CdnCustomDomainCertificateArgs', + 'CdnCustomDomainCertificateArgsDict', 'CdnDistributionConfigArgs', 'CdnDistributionConfigArgsDict', 'CdnDistributionConfigBackendArgs', 'CdnDistributionConfigBackendArgsDict', + 'CdnDistributionConfigOptimizerArgs', + 'CdnDistributionConfigOptimizerArgsDict', 'CdnDistributionDomainArgs', 'CdnDistributionDomainArgsDict', 'ImageChecksumArgs', @@ -96,6 +99,10 @@ 'RabbitmqInstanceParametersArgsDict', 'RedisInstanceParametersArgs', 'RedisInstanceParametersArgsDict', + 'RoutingTableRouteDestinationArgs', + 'RoutingTableRouteDestinationArgsDict', + 'RoutingTableRouteNextHopArgs', + 'RoutingTableRouteNextHopArgsDict', 'SecurityGroupRuleIcmpParametersArgs', 'SecurityGroupRuleIcmpParametersArgsDict', 'SecurityGroupRulePortRangeArgs', @@ -114,6 +121,8 @@ 'SkeClusterExtensionsArgusArgsDict', 'SkeClusterExtensionsDnsArgs', 'SkeClusterExtensionsDnsArgsDict', + 'SkeClusterExtensionsObservabilityArgs', + 'SkeClusterExtensionsObservabilityArgsDict', 'SkeClusterHibernationArgs', 'SkeClusterHibernationArgsDict', 'SkeClusterMaintenanceArgs', @@ -132,20 +141,104 @@ 'SqlserverflexInstanceStorageArgsDict', 'VolumeSourceArgs', 'VolumeSourceArgsDict', + 'GetCdnCustomDomainCertificateArgs', + 'GetCdnCustomDomainCertificateArgsDict', + 'GetImageV2FilterArgs', + 'GetImageV2FilterArgsDict', ] MYPY = False +if not MYPY: + class CdnCustomDomainCertificateArgsDict(TypedDict): + certificate: NotRequired[pulumi.Input[_builtins.str]] + """ + The PEM-encoded TLS certificate. Required for custom certificates. + """ + private_key: NotRequired[pulumi.Input[_builtins.str]] + """ + The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + version: NotRequired[pulumi.Input[_builtins.int]] + """ + A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ +elif False: + CdnCustomDomainCertificateArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class CdnCustomDomainCertificateArgs: + def __init__(__self__, *, + certificate: Optional[pulumi.Input[_builtins.str]] = None, + private_key: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.int]] = None): + """ + :param pulumi.Input[_builtins.str] certificate: The PEM-encoded TLS certificate. Required for custom certificates. + :param pulumi.Input[_builtins.str] private_key: The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + :param pulumi.Input[_builtins.int] version: A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def certificate(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The PEM-encoded TLS certificate. Required for custom certificates. + """ + return pulumi.get(self, "certificate") + + @certificate.setter + def certificate(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "certificate", value) + + @_builtins.property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "private_key", value) + + @_builtins.property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[_builtins.int]]: + """ + A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[_builtins.int]]): + pulumi.set(self, "version", value) + + if not MYPY: class CdnDistributionConfigArgsDict(TypedDict): backend: pulumi.Input['CdnDistributionConfigBackendArgsDict'] """ The configured backend for the distribution """ - regions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]] + regions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] """ The configured regions where content will be hosted """ + blocked_countries: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] + """ + The configured countries where distribution of content is blocked + """ + optimizer: NotRequired[pulumi.Input['CdnDistributionConfigOptimizerArgsDict']] + """ + Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + """ elif False: CdnDistributionConfigArgsDict: TypeAlias = Mapping[str, Any] @@ -153,15 +246,23 @@ class CdnDistributionConfigArgsDict(TypedDict): class CdnDistributionConfigArgs: def __init__(__self__, *, backend: pulumi.Input['CdnDistributionConfigBackendArgs'], - regions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + regions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + blocked_countries: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + optimizer: Optional[pulumi.Input['CdnDistributionConfigOptimizerArgs']] = None): """ :param pulumi.Input['CdnDistributionConfigBackendArgs'] backend: The configured backend for the distribution - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] regions: The configured regions where content will be hosted + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: The configured regions where content will be hosted + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] blocked_countries: The configured countries where distribution of content is blocked + :param pulumi.Input['CdnDistributionConfigOptimizerArgs'] optimizer: Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. """ pulumi.set(__self__, "backend", backend) pulumi.set(__self__, "regions", regions) + if blocked_countries is not None: + pulumi.set(__self__, "blocked_countries", blocked_countries) + if optimizer is not None: + pulumi.set(__self__, "optimizer", optimizer) - @property + @_builtins.property @pulumi.getter def backend(self) -> pulumi.Input['CdnDistributionConfigBackendArgs']: """ @@ -173,30 +274,54 @@ def backend(self) -> pulumi.Input['CdnDistributionConfigBackendArgs']: def backend(self, value: pulumi.Input['CdnDistributionConfigBackendArgs']): pulumi.set(self, "backend", value) - @property + @_builtins.property @pulumi.getter - def regions(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def regions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ The configured regions where content will be hosted """ return pulumi.get(self, "regions") @regions.setter - def regions(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def regions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "regions", value) + @_builtins.property + @pulumi.getter(name="blockedCountries") + def blocked_countries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: + """ + The configured countries where distribution of content is blocked + """ + return pulumi.get(self, "blocked_countries") + + @blocked_countries.setter + def blocked_countries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "blocked_countries", value) + + @_builtins.property + @pulumi.getter + def optimizer(self) -> Optional[pulumi.Input['CdnDistributionConfigOptimizerArgs']]: + """ + Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + """ + return pulumi.get(self, "optimizer") + + @optimizer.setter + def optimizer(self, value: Optional[pulumi.Input['CdnDistributionConfigOptimizerArgs']]): + pulumi.set(self, "optimizer", value) + if not MYPY: class CdnDistributionConfigBackendArgsDict(TypedDict): - origin_url: pulumi.Input[builtins.str] + origin_url: pulumi.Input[_builtins.str] """ The configured backend type for the distribution """ - type: pulumi.Input[builtins.str] + type: pulumi.Input[_builtins.str] """ The configured backend type. Supported values are: `http`. """ - origin_request_headers: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + origin_request_headers: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ The configured origin request headers for the backend """ @@ -206,71 +331,94 @@ class CdnDistributionConfigBackendArgsDict(TypedDict): @pulumi.input_type class CdnDistributionConfigBackendArgs: def __init__(__self__, *, - origin_url: pulumi.Input[builtins.str], - type: pulumi.Input[builtins.str], - origin_request_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None): + origin_url: pulumi.Input[_builtins.str], + type: pulumi.Input[_builtins.str], + origin_request_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None): """ - :param pulumi.Input[builtins.str] origin_url: The configured backend type for the distribution - :param pulumi.Input[builtins.str] type: The configured backend type. Supported values are: `http`. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] origin_request_headers: The configured origin request headers for the backend + :param pulumi.Input[_builtins.str] origin_url: The configured backend type for the distribution + :param pulumi.Input[_builtins.str] type: The configured backend type. Supported values are: `http`. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] origin_request_headers: The configured origin request headers for the backend """ pulumi.set(__self__, "origin_url", origin_url) pulumi.set(__self__, "type", type) if origin_request_headers is not None: pulumi.set(__self__, "origin_request_headers", origin_request_headers) - @property + @_builtins.property @pulumi.getter(name="originUrl") - def origin_url(self) -> pulumi.Input[builtins.str]: + def origin_url(self) -> pulumi.Input[_builtins.str]: """ The configured backend type for the distribution """ return pulumi.get(self, "origin_url") @origin_url.setter - def origin_url(self, value: pulumi.Input[builtins.str]): + def origin_url(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "origin_url", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[builtins.str]: + def type(self) -> pulumi.Input[_builtins.str]: """ The configured backend type. Supported values are: `http`. """ return pulumi.get(self, "type") @type.setter - def type(self, value: pulumi.Input[builtins.str]): + def type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "type", value) - @property + @_builtins.property @pulumi.getter(name="originRequestHeaders") - def origin_request_headers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def origin_request_headers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ The configured origin request headers for the backend """ return pulumi.get(self, "origin_request_headers") @origin_request_headers.setter - def origin_request_headers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def origin_request_headers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "origin_request_headers", value) +if not MYPY: + class CdnDistributionConfigOptimizerArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[_builtins.bool]] +elif False: + CdnDistributionConfigOptimizerArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class CdnDistributionConfigOptimizerArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[_builtins.bool]] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @_builtins.property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "enabled", value) + + if not MYPY: class CdnDistributionDomainArgsDict(TypedDict): - errors: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + errors: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of domain errors """ - name: NotRequired[pulumi.Input[builtins.str]] + name: NotRequired[pulumi.Input[_builtins.str]] """ The name of the domain """ - status: NotRequired[pulumi.Input[builtins.str]] + status: NotRequired[pulumi.Input[_builtins.str]] """ The status of the domain """ - type: NotRequired[pulumi.Input[builtins.str]] + type: NotRequired[pulumi.Input[_builtins.str]] """ The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user """ @@ -280,15 +428,15 @@ class CdnDistributionDomainArgsDict(TypedDict): @pulumi.input_type class CdnDistributionDomainArgs: def __init__(__self__, *, - errors: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - status: Optional[pulumi.Input[builtins.str]] = None, - type: Optional[pulumi.Input[builtins.str]] = None): + errors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + status: Optional[pulumi.Input[_builtins.str]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] errors: List of domain errors - :param pulumi.Input[builtins.str] name: The name of the domain - :param pulumi.Input[builtins.str] status: The status of the domain - :param pulumi.Input[builtins.str] type: The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] errors: List of domain errors + :param pulumi.Input[_builtins.str] name: The name of the domain + :param pulumi.Input[_builtins.str] status: The status of the domain + :param pulumi.Input[_builtins.str] type: The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user """ if errors is not None: pulumi.set(__self__, "errors", errors) @@ -299,62 +447,62 @@ def __init__(__self__, *, if type is not None: pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of domain errors """ return pulumi.get(self, "errors") @errors.setter - def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "errors", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the domain """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def status(self) -> Optional[pulumi.Input[builtins.str]]: + def status(self) -> Optional[pulumi.Input[_builtins.str]]: """ The status of the domain """ return pulumi.get(self, "status") @status.setter - def status(self, value: Optional[pulumi.Input[builtins.str]]): + def status(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "status", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> Optional[pulumi.Input[builtins.str]]: + def type(self) -> Optional[pulumi.Input[_builtins.str]]: """ The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user """ return pulumi.get(self, "type") @type.setter - def type(self, value: Optional[pulumi.Input[builtins.str]]): + def type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "type", value) if not MYPY: class ImageChecksumArgsDict(TypedDict): - algorithm: NotRequired[pulumi.Input[builtins.str]] + algorithm: NotRequired[pulumi.Input[_builtins.str]] """ Algorithm for the checksum of the image data. """ - digest: NotRequired[pulumi.Input[builtins.str]] + digest: NotRequired[pulumi.Input[_builtins.str]] """ Hexdigest of the checksum of the image data. """ @@ -364,93 +512,93 @@ class ImageChecksumArgsDict(TypedDict): @pulumi.input_type class ImageChecksumArgs: def __init__(__self__, *, - algorithm: Optional[pulumi.Input[builtins.str]] = None, - digest: Optional[pulumi.Input[builtins.str]] = None): + algorithm: Optional[pulumi.Input[_builtins.str]] = None, + digest: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] algorithm: Algorithm for the checksum of the image data. - :param pulumi.Input[builtins.str] digest: Hexdigest of the checksum of the image data. + :param pulumi.Input[_builtins.str] algorithm: Algorithm for the checksum of the image data. + :param pulumi.Input[_builtins.str] digest: Hexdigest of the checksum of the image data. """ if algorithm is not None: pulumi.set(__self__, "algorithm", algorithm) if digest is not None: pulumi.set(__self__, "digest", digest) - @property + @_builtins.property @pulumi.getter - def algorithm(self) -> Optional[pulumi.Input[builtins.str]]: + def algorithm(self) -> Optional[pulumi.Input[_builtins.str]]: """ Algorithm for the checksum of the image data. """ return pulumi.get(self, "algorithm") @algorithm.setter - def algorithm(self, value: Optional[pulumi.Input[builtins.str]]): + def algorithm(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "algorithm", value) - @property + @_builtins.property @pulumi.getter - def digest(self) -> Optional[pulumi.Input[builtins.str]]: + def digest(self) -> Optional[pulumi.Input[_builtins.str]]: """ Hexdigest of the checksum of the image data. """ return pulumi.get(self, "digest") @digest.setter - def digest(self, value: Optional[pulumi.Input[builtins.str]]): + def digest(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "digest", value) if not MYPY: class ImageConfigArgsDict(TypedDict): - boot_menu: NotRequired[pulumi.Input[builtins.bool]] + boot_menu: NotRequired[pulumi.Input[_builtins.bool]] """ Enables the BIOS bootmenu. """ - cdrom_bus: NotRequired[pulumi.Input[builtins.str]] + cdrom_bus: NotRequired[pulumi.Input[_builtins.str]] """ Sets CDROM bus controller type. """ - disk_bus: NotRequired[pulumi.Input[builtins.str]] + disk_bus: NotRequired[pulumi.Input[_builtins.str]] """ Sets Disk bus controller type. """ - nic_model: NotRequired[pulumi.Input[builtins.str]] + nic_model: NotRequired[pulumi.Input[_builtins.str]] """ Sets virtual network interface model. """ - operating_system: NotRequired[pulumi.Input[builtins.str]] + operating_system: NotRequired[pulumi.Input[_builtins.str]] """ Enables operating system specific optimizations. """ - operating_system_distro: NotRequired[pulumi.Input[builtins.str]] + operating_system_distro: NotRequired[pulumi.Input[_builtins.str]] """ Operating system distribution. """ - operating_system_version: NotRequired[pulumi.Input[builtins.str]] + operating_system_version: NotRequired[pulumi.Input[_builtins.str]] """ Version of the operating system. """ - rescue_bus: NotRequired[pulumi.Input[builtins.str]] + rescue_bus: NotRequired[pulumi.Input[_builtins.str]] """ Sets the device bus when the image is used as a rescue image. """ - rescue_device: NotRequired[pulumi.Input[builtins.str]] + rescue_device: NotRequired[pulumi.Input[_builtins.str]] """ Sets the device when the image is used as a rescue image. """ - secure_boot: NotRequired[pulumi.Input[builtins.bool]] + secure_boot: NotRequired[pulumi.Input[_builtins.bool]] """ Enables Secure Boot. """ - uefi: NotRequired[pulumi.Input[builtins.bool]] + uefi: NotRequired[pulumi.Input[_builtins.bool]] """ Enables UEFI boot. """ - video_model: NotRequired[pulumi.Input[builtins.str]] + video_model: NotRequired[pulumi.Input[_builtins.str]] """ Sets Graphic device model. """ - virtio_scsi: NotRequired[pulumi.Input[builtins.bool]] + virtio_scsi: NotRequired[pulumi.Input[_builtins.bool]] """ Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ @@ -460,33 +608,33 @@ class ImageConfigArgsDict(TypedDict): @pulumi.input_type class ImageConfigArgs: def __init__(__self__, *, - boot_menu: Optional[pulumi.Input[builtins.bool]] = None, - cdrom_bus: Optional[pulumi.Input[builtins.str]] = None, - disk_bus: Optional[pulumi.Input[builtins.str]] = None, - nic_model: Optional[pulumi.Input[builtins.str]] = None, - operating_system: Optional[pulumi.Input[builtins.str]] = None, - operating_system_distro: Optional[pulumi.Input[builtins.str]] = None, - operating_system_version: Optional[pulumi.Input[builtins.str]] = None, - rescue_bus: Optional[pulumi.Input[builtins.str]] = None, - rescue_device: Optional[pulumi.Input[builtins.str]] = None, - secure_boot: Optional[pulumi.Input[builtins.bool]] = None, - uefi: Optional[pulumi.Input[builtins.bool]] = None, - video_model: Optional[pulumi.Input[builtins.str]] = None, - virtio_scsi: Optional[pulumi.Input[builtins.bool]] = None): - """ - :param pulumi.Input[builtins.bool] boot_menu: Enables the BIOS bootmenu. - :param pulumi.Input[builtins.str] cdrom_bus: Sets CDROM bus controller type. - :param pulumi.Input[builtins.str] disk_bus: Sets Disk bus controller type. - :param pulumi.Input[builtins.str] nic_model: Sets virtual network interface model. - :param pulumi.Input[builtins.str] operating_system: Enables operating system specific optimizations. - :param pulumi.Input[builtins.str] operating_system_distro: Operating system distribution. - :param pulumi.Input[builtins.str] operating_system_version: Version of the operating system. - :param pulumi.Input[builtins.str] rescue_bus: Sets the device bus when the image is used as a rescue image. - :param pulumi.Input[builtins.str] rescue_device: Sets the device when the image is used as a rescue image. - :param pulumi.Input[builtins.bool] secure_boot: Enables Secure Boot. - :param pulumi.Input[builtins.bool] uefi: Enables UEFI boot. - :param pulumi.Input[builtins.str] video_model: Sets Graphic device model. - :param pulumi.Input[builtins.bool] virtio_scsi: Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + boot_menu: Optional[pulumi.Input[_builtins.bool]] = None, + cdrom_bus: Optional[pulumi.Input[_builtins.str]] = None, + disk_bus: Optional[pulumi.Input[_builtins.str]] = None, + nic_model: Optional[pulumi.Input[_builtins.str]] = None, + operating_system: Optional[pulumi.Input[_builtins.str]] = None, + operating_system_distro: Optional[pulumi.Input[_builtins.str]] = None, + operating_system_version: Optional[pulumi.Input[_builtins.str]] = None, + rescue_bus: Optional[pulumi.Input[_builtins.str]] = None, + rescue_device: Optional[pulumi.Input[_builtins.str]] = None, + secure_boot: Optional[pulumi.Input[_builtins.bool]] = None, + uefi: Optional[pulumi.Input[_builtins.bool]] = None, + video_model: Optional[pulumi.Input[_builtins.str]] = None, + virtio_scsi: Optional[pulumi.Input[_builtins.bool]] = None): + """ + :param pulumi.Input[_builtins.bool] boot_menu: Enables the BIOS bootmenu. + :param pulumi.Input[_builtins.str] cdrom_bus: Sets CDROM bus controller type. + :param pulumi.Input[_builtins.str] disk_bus: Sets Disk bus controller type. + :param pulumi.Input[_builtins.str] nic_model: Sets virtual network interface model. + :param pulumi.Input[_builtins.str] operating_system: Enables operating system specific optimizations. + :param pulumi.Input[_builtins.str] operating_system_distro: Operating system distribution. + :param pulumi.Input[_builtins.str] operating_system_version: Version of the operating system. + :param pulumi.Input[_builtins.str] rescue_bus: Sets the device bus when the image is used as a rescue image. + :param pulumi.Input[_builtins.str] rescue_device: Sets the device when the image is used as a rescue image. + :param pulumi.Input[_builtins.bool] secure_boot: Enables Secure Boot. + :param pulumi.Input[_builtins.bool] uefi: Enables UEFI boot. + :param pulumi.Input[_builtins.str] video_model: Sets Graphic device model. + :param pulumi.Input[_builtins.bool] virtio_scsi: Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ if boot_menu is not None: pulumi.set(__self__, "boot_menu", boot_menu) @@ -515,178 +663,178 @@ def __init__(__self__, *, if virtio_scsi is not None: pulumi.set(__self__, "virtio_scsi", virtio_scsi) - @property + @_builtins.property @pulumi.getter(name="bootMenu") - def boot_menu(self) -> Optional[pulumi.Input[builtins.bool]]: + def boot_menu(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enables the BIOS bootmenu. """ return pulumi.get(self, "boot_menu") @boot_menu.setter - def boot_menu(self, value: Optional[pulumi.Input[builtins.bool]]): + def boot_menu(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "boot_menu", value) - @property + @_builtins.property @pulumi.getter(name="cdromBus") - def cdrom_bus(self) -> Optional[pulumi.Input[builtins.str]]: + def cdrom_bus(self) -> Optional[pulumi.Input[_builtins.str]]: """ Sets CDROM bus controller type. """ return pulumi.get(self, "cdrom_bus") @cdrom_bus.setter - def cdrom_bus(self, value: Optional[pulumi.Input[builtins.str]]): + def cdrom_bus(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cdrom_bus", value) - @property + @_builtins.property @pulumi.getter(name="diskBus") - def disk_bus(self) -> Optional[pulumi.Input[builtins.str]]: + def disk_bus(self) -> Optional[pulumi.Input[_builtins.str]]: """ Sets Disk bus controller type. """ return pulumi.get(self, "disk_bus") @disk_bus.setter - def disk_bus(self, value: Optional[pulumi.Input[builtins.str]]): + def disk_bus(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "disk_bus", value) - @property + @_builtins.property @pulumi.getter(name="nicModel") - def nic_model(self) -> Optional[pulumi.Input[builtins.str]]: + def nic_model(self) -> Optional[pulumi.Input[_builtins.str]]: """ Sets virtual network interface model. """ return pulumi.get(self, "nic_model") @nic_model.setter - def nic_model(self, value: Optional[pulumi.Input[builtins.str]]): + def nic_model(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "nic_model", value) - @property + @_builtins.property @pulumi.getter(name="operatingSystem") - def operating_system(self) -> Optional[pulumi.Input[builtins.str]]: + def operating_system(self) -> Optional[pulumi.Input[_builtins.str]]: """ Enables operating system specific optimizations. """ return pulumi.get(self, "operating_system") @operating_system.setter - def operating_system(self, value: Optional[pulumi.Input[builtins.str]]): + def operating_system(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "operating_system", value) - @property + @_builtins.property @pulumi.getter(name="operatingSystemDistro") - def operating_system_distro(self) -> Optional[pulumi.Input[builtins.str]]: + def operating_system_distro(self) -> Optional[pulumi.Input[_builtins.str]]: """ Operating system distribution. """ return pulumi.get(self, "operating_system_distro") @operating_system_distro.setter - def operating_system_distro(self, value: Optional[pulumi.Input[builtins.str]]): + def operating_system_distro(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "operating_system_distro", value) - @property + @_builtins.property @pulumi.getter(name="operatingSystemVersion") - def operating_system_version(self) -> Optional[pulumi.Input[builtins.str]]: + def operating_system_version(self) -> Optional[pulumi.Input[_builtins.str]]: """ Version of the operating system. """ return pulumi.get(self, "operating_system_version") @operating_system_version.setter - def operating_system_version(self, value: Optional[pulumi.Input[builtins.str]]): + def operating_system_version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "operating_system_version", value) - @property + @_builtins.property @pulumi.getter(name="rescueBus") - def rescue_bus(self) -> Optional[pulumi.Input[builtins.str]]: + def rescue_bus(self) -> Optional[pulumi.Input[_builtins.str]]: """ Sets the device bus when the image is used as a rescue image. """ return pulumi.get(self, "rescue_bus") @rescue_bus.setter - def rescue_bus(self, value: Optional[pulumi.Input[builtins.str]]): + def rescue_bus(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "rescue_bus", value) - @property + @_builtins.property @pulumi.getter(name="rescueDevice") - def rescue_device(self) -> Optional[pulumi.Input[builtins.str]]: + def rescue_device(self) -> Optional[pulumi.Input[_builtins.str]]: """ Sets the device when the image is used as a rescue image. """ return pulumi.get(self, "rescue_device") @rescue_device.setter - def rescue_device(self, value: Optional[pulumi.Input[builtins.str]]): + def rescue_device(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "rescue_device", value) - @property + @_builtins.property @pulumi.getter(name="secureBoot") - def secure_boot(self) -> Optional[pulumi.Input[builtins.bool]]: + def secure_boot(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enables Secure Boot. """ return pulumi.get(self, "secure_boot") @secure_boot.setter - def secure_boot(self, value: Optional[pulumi.Input[builtins.bool]]): + def secure_boot(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "secure_boot", value) - @property + @_builtins.property @pulumi.getter - def uefi(self) -> Optional[pulumi.Input[builtins.bool]]: + def uefi(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enables UEFI boot. """ return pulumi.get(self, "uefi") @uefi.setter - def uefi(self, value: Optional[pulumi.Input[builtins.bool]]): + def uefi(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "uefi", value) - @property + @_builtins.property @pulumi.getter(name="videoModel") - def video_model(self) -> Optional[pulumi.Input[builtins.str]]: + def video_model(self) -> Optional[pulumi.Input[_builtins.str]]: """ Sets Graphic device model. """ return pulumi.get(self, "video_model") @video_model.setter - def video_model(self, value: Optional[pulumi.Input[builtins.str]]): + def video_model(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "video_model", value) - @property + @_builtins.property @pulumi.getter(name="virtioScsi") - def virtio_scsi(self) -> Optional[pulumi.Input[builtins.bool]]: + def virtio_scsi(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ return pulumi.get(self, "virtio_scsi") @virtio_scsi.setter - def virtio_scsi(self, value: Optional[pulumi.Input[builtins.bool]]): + def virtio_scsi(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "virtio_scsi", value) if not MYPY: class LoadbalancerListenerArgsDict(TypedDict): - port: pulumi.Input[builtins.int] + port: pulumi.Input[_builtins.int] """ Port number where we listen for traffic. """ - protocol: pulumi.Input[builtins.str] + protocol: pulumi.Input[_builtins.str] """ Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`. """ - target_pool: pulumi.Input[builtins.str] + target_pool: pulumi.Input[_builtins.str] """ Reference target pool by target pool name. """ - display_name: NotRequired[pulumi.Input[builtins.str]] + display_name: NotRequired[pulumi.Input[_builtins.str]] server_name_indicators: NotRequired[pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerServerNameIndicatorArgsDict']]]] """ A list of domain names to match in order to pass TLS traffic to the target pool in the current listener @@ -697,15 +845,15 @@ class LoadbalancerListenerArgsDict(TypedDict): @pulumi.input_type class LoadbalancerListenerArgs: def __init__(__self__, *, - port: pulumi.Input[builtins.int], - protocol: pulumi.Input[builtins.str], - target_pool: pulumi.Input[builtins.str], - display_name: Optional[pulumi.Input[builtins.str]] = None, + port: pulumi.Input[_builtins.int], + protocol: pulumi.Input[_builtins.str], + target_pool: pulumi.Input[_builtins.str], + display_name: Optional[pulumi.Input[_builtins.str]] = None, server_name_indicators: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerServerNameIndicatorArgs']]]] = None): """ - :param pulumi.Input[builtins.int] port: Port number where we listen for traffic. - :param pulumi.Input[builtins.str] protocol: Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`. - :param pulumi.Input[builtins.str] target_pool: Reference target pool by target pool name. + :param pulumi.Input[_builtins.int] port: Port number where we listen for traffic. + :param pulumi.Input[_builtins.str] protocol: Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`. + :param pulumi.Input[_builtins.str] target_pool: Reference target pool by target pool name. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerServerNameIndicatorArgs']]] server_name_indicators: A list of domain names to match in order to pass TLS traffic to the target pool in the current listener """ pulumi.set(__self__, "port", port) @@ -716,52 +864,52 @@ def __init__(__self__, *, if server_name_indicators is not None: pulumi.set(__self__, "server_name_indicators", server_name_indicators) - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Input[builtins.int]: + def port(self) -> pulumi.Input[_builtins.int]: """ Port number where we listen for traffic. """ return pulumi.get(self, "port") @port.setter - def port(self, value: pulumi.Input[builtins.int]): + def port(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter - def protocol(self) -> pulumi.Input[builtins.str]: + def protocol(self) -> pulumi.Input[_builtins.str]: """ Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`. """ return pulumi.get(self, "protocol") @protocol.setter - def protocol(self, value: pulumi.Input[builtins.str]): + def protocol(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "protocol", value) - @property + @_builtins.property @pulumi.getter(name="targetPool") - def target_pool(self) -> pulumi.Input[builtins.str]: + def target_pool(self) -> pulumi.Input[_builtins.str]: """ Reference target pool by target pool name. """ return pulumi.get(self, "target_pool") @target_pool.setter - def target_pool(self, value: pulumi.Input[builtins.str]): + def target_pool(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "target_pool", value) - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[builtins.str]]: + def display_name(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "display_name") @display_name.setter - def display_name(self, value: Optional[pulumi.Input[builtins.str]]): + def display_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "display_name", value) - @property + @_builtins.property @pulumi.getter(name="serverNameIndicators") def server_name_indicators(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerServerNameIndicatorArgs']]]]: """ @@ -776,7 +924,7 @@ def server_name_indicators(self, value: Optional[pulumi.Input[Sequence[pulumi.In if not MYPY: class LoadbalancerListenerServerNameIndicatorArgsDict(TypedDict): - name: NotRequired[pulumi.Input[builtins.str]] + name: NotRequired[pulumi.Input[_builtins.str]] """ A domain name to match in order to pass TLS traffic to the target pool in the current listener """ @@ -786,33 +934,33 @@ class LoadbalancerListenerServerNameIndicatorArgsDict(TypedDict): @pulumi.input_type class LoadbalancerListenerServerNameIndicatorArgs: def __init__(__self__, *, - name: Optional[pulumi.Input[builtins.str]] = None): + name: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] name: A domain name to match in order to pass TLS traffic to the target pool in the current listener + :param pulumi.Input[_builtins.str] name: A domain name to match in order to pass TLS traffic to the target pool in the current listener """ if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ A domain name to match in order to pass TLS traffic to the target pool in the current listener """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) if not MYPY: class LoadbalancerNetworkArgsDict(TypedDict): - network_id: pulumi.Input[builtins.str] + network_id: pulumi.Input[_builtins.str] """ Openstack network ID. """ - role: pulumi.Input[builtins.str] + role: pulumi.Input[_builtins.str] """ The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`. """ @@ -822,43 +970,43 @@ class LoadbalancerNetworkArgsDict(TypedDict): @pulumi.input_type class LoadbalancerNetworkArgs: def __init__(__self__, *, - network_id: pulumi.Input[builtins.str], - role: pulumi.Input[builtins.str]): + network_id: pulumi.Input[_builtins.str], + role: pulumi.Input[_builtins.str]): """ - :param pulumi.Input[builtins.str] network_id: Openstack network ID. - :param pulumi.Input[builtins.str] role: The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`. + :param pulumi.Input[_builtins.str] network_id: Openstack network ID. + :param pulumi.Input[_builtins.str] role: The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`. """ pulumi.set(__self__, "network_id", network_id) pulumi.set(__self__, "role", role) - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> pulumi.Input[builtins.str]: + def network_id(self) -> pulumi.Input[_builtins.str]: """ Openstack network ID. """ return pulumi.get(self, "network_id") @network_id.setter - def network_id(self, value: pulumi.Input[builtins.str]): + def network_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "network_id", value) - @property + @_builtins.property @pulumi.getter - def role(self) -> pulumi.Input[builtins.str]: + def role(self) -> pulumi.Input[_builtins.str]: """ The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`. """ return pulumi.get(self, "role") @role.setter - def role(self, value: pulumi.Input[builtins.str]): + def role(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "role", value) if not MYPY: class LoadbalancerOptionsArgsDict(TypedDict): - acls: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + acls: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ Load Balancer is accessible only from an IP address in this range. """ @@ -866,7 +1014,7 @@ class LoadbalancerOptionsArgsDict(TypedDict): """ We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation. """ - private_network_only: NotRequired[pulumi.Input[builtins.bool]] + private_network_only: NotRequired[pulumi.Input[_builtins.bool]] """ If true, Load Balancer is accessible only via a private network IP address. """ @@ -876,13 +1024,13 @@ class LoadbalancerOptionsArgsDict(TypedDict): @pulumi.input_type class LoadbalancerOptionsArgs: def __init__(__self__, *, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, observability: Optional[pulumi.Input['LoadbalancerOptionsObservabilityArgs']] = None, - private_network_only: Optional[pulumi.Input[builtins.bool]] = None): + private_network_only: Optional[pulumi.Input[_builtins.bool]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: Load Balancer is accessible only from an IP address in this range. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: Load Balancer is accessible only from an IP address in this range. :param pulumi.Input['LoadbalancerOptionsObservabilityArgs'] observability: We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation. - :param pulumi.Input[builtins.bool] private_network_only: If true, Load Balancer is accessible only via a private network IP address. + :param pulumi.Input[_builtins.bool] private_network_only: If true, Load Balancer is accessible only via a private network IP address. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -891,19 +1039,19 @@ def __init__(__self__, *, if private_network_only is not None: pulumi.set(__self__, "private_network_only", private_network_only) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Load Balancer is accessible only from an IP address in this range. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter def observability(self) -> Optional[pulumi.Input['LoadbalancerOptionsObservabilityArgs']]: """ @@ -915,16 +1063,16 @@ def observability(self) -> Optional[pulumi.Input['LoadbalancerOptionsObservabili def observability(self, value: Optional[pulumi.Input['LoadbalancerOptionsObservabilityArgs']]): pulumi.set(self, "observability", value) - @property + @_builtins.property @pulumi.getter(name="privateNetworkOnly") - def private_network_only(self) -> Optional[pulumi.Input[builtins.bool]]: + def private_network_only(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If true, Load Balancer is accessible only via a private network IP address. """ return pulumi.get(self, "private_network_only") @private_network_only.setter - def private_network_only(self, value: Optional[pulumi.Input[builtins.bool]]): + def private_network_only(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "private_network_only", value) @@ -955,7 +1103,7 @@ def __init__(__self__, *, if metrics is not None: pulumi.set(__self__, "metrics", metrics) - @property + @_builtins.property @pulumi.getter def logs(self) -> Optional[pulumi.Input['LoadbalancerOptionsObservabilityLogsArgs']]: """ @@ -967,7 +1115,7 @@ def logs(self) -> Optional[pulumi.Input['LoadbalancerOptionsObservabilityLogsArg def logs(self, value: Optional[pulumi.Input['LoadbalancerOptionsObservabilityLogsArgs']]): pulumi.set(self, "logs", value) - @property + @_builtins.property @pulumi.getter def metrics(self) -> Optional[pulumi.Input['LoadbalancerOptionsObservabilityMetricsArgs']]: """ @@ -982,11 +1130,11 @@ def metrics(self, value: Optional[pulumi.Input['LoadbalancerOptionsObservability if not MYPY: class LoadbalancerOptionsObservabilityLogsArgsDict(TypedDict): - credentials_ref: NotRequired[pulumi.Input[builtins.str]] + credentials_ref: NotRequired[pulumi.Input[_builtins.str]] """ Credentials reference for logs. Not changeable after creation. """ - push_url: NotRequired[pulumi.Input[builtins.str]] + push_url: NotRequired[pulumi.Input[_builtins.str]] """ Credentials reference for logs. Not changeable after creation. """ @@ -996,49 +1144,49 @@ class LoadbalancerOptionsObservabilityLogsArgsDict(TypedDict): @pulumi.input_type class LoadbalancerOptionsObservabilityLogsArgs: def __init__(__self__, *, - credentials_ref: Optional[pulumi.Input[builtins.str]] = None, - push_url: Optional[pulumi.Input[builtins.str]] = None): + credentials_ref: Optional[pulumi.Input[_builtins.str]] = None, + push_url: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] credentials_ref: Credentials reference for logs. Not changeable after creation. - :param pulumi.Input[builtins.str] push_url: Credentials reference for logs. Not changeable after creation. + :param pulumi.Input[_builtins.str] credentials_ref: Credentials reference for logs. Not changeable after creation. + :param pulumi.Input[_builtins.str] push_url: Credentials reference for logs. Not changeable after creation. """ if credentials_ref is not None: pulumi.set(__self__, "credentials_ref", credentials_ref) if push_url is not None: pulumi.set(__self__, "push_url", push_url) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> Optional[pulumi.Input[builtins.str]]: + def credentials_ref(self) -> Optional[pulumi.Input[_builtins.str]]: """ Credentials reference for logs. Not changeable after creation. """ return pulumi.get(self, "credentials_ref") @credentials_ref.setter - def credentials_ref(self, value: Optional[pulumi.Input[builtins.str]]): + def credentials_ref(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credentials_ref", value) - @property + @_builtins.property @pulumi.getter(name="pushUrl") - def push_url(self) -> Optional[pulumi.Input[builtins.str]]: + def push_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Credentials reference for logs. Not changeable after creation. """ return pulumi.get(self, "push_url") @push_url.setter - def push_url(self, value: Optional[pulumi.Input[builtins.str]]): + def push_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "push_url", value) if not MYPY: class LoadbalancerOptionsObservabilityMetricsArgsDict(TypedDict): - credentials_ref: NotRequired[pulumi.Input[builtins.str]] + credentials_ref: NotRequired[pulumi.Input[_builtins.str]] """ Credentials reference for metrics. Not changeable after creation. """ - push_url: NotRequired[pulumi.Input[builtins.str]] + push_url: NotRequired[pulumi.Input[_builtins.str]] """ Credentials reference for metrics. Not changeable after creation. """ @@ -1048,49 +1196,49 @@ class LoadbalancerOptionsObservabilityMetricsArgsDict(TypedDict): @pulumi.input_type class LoadbalancerOptionsObservabilityMetricsArgs: def __init__(__self__, *, - credentials_ref: Optional[pulumi.Input[builtins.str]] = None, - push_url: Optional[pulumi.Input[builtins.str]] = None): + credentials_ref: Optional[pulumi.Input[_builtins.str]] = None, + push_url: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] credentials_ref: Credentials reference for metrics. Not changeable after creation. - :param pulumi.Input[builtins.str] push_url: Credentials reference for metrics. Not changeable after creation. + :param pulumi.Input[_builtins.str] credentials_ref: Credentials reference for metrics. Not changeable after creation. + :param pulumi.Input[_builtins.str] push_url: Credentials reference for metrics. Not changeable after creation. """ if credentials_ref is not None: pulumi.set(__self__, "credentials_ref", credentials_ref) if push_url is not None: pulumi.set(__self__, "push_url", push_url) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> Optional[pulumi.Input[builtins.str]]: + def credentials_ref(self) -> Optional[pulumi.Input[_builtins.str]]: """ Credentials reference for metrics. Not changeable after creation. """ return pulumi.get(self, "credentials_ref") @credentials_ref.setter - def credentials_ref(self, value: Optional[pulumi.Input[builtins.str]]): + def credentials_ref(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credentials_ref", value) - @property + @_builtins.property @pulumi.getter(name="pushUrl") - def push_url(self) -> Optional[pulumi.Input[builtins.str]]: + def push_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Credentials reference for metrics. Not changeable after creation. """ return pulumi.get(self, "push_url") @push_url.setter - def push_url(self, value: Optional[pulumi.Input[builtins.str]]): + def push_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "push_url", value) if not MYPY: class LoadbalancerTargetPoolArgsDict(TypedDict): - name: pulumi.Input[builtins.str] + name: pulumi.Input[_builtins.str] """ Target pool name. """ - target_port: pulumi.Input[builtins.int] + target_port: pulumi.Input[_builtins.int] """ Identical port number where each target listens for traffic. """ @@ -1109,14 +1257,14 @@ class LoadbalancerTargetPoolArgsDict(TypedDict): @pulumi.input_type class LoadbalancerTargetPoolArgs: def __init__(__self__, *, - name: pulumi.Input[builtins.str], - target_port: pulumi.Input[builtins.int], + name: pulumi.Input[_builtins.str], + target_port: pulumi.Input[_builtins.int], targets: pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolTargetArgs']]], active_health_check: Optional[pulumi.Input['LoadbalancerTargetPoolActiveHealthCheckArgs']] = None, session_persistence: Optional[pulumi.Input['LoadbalancerTargetPoolSessionPersistenceArgs']] = None): """ - :param pulumi.Input[builtins.str] name: Target pool name. - :param pulumi.Input[builtins.int] target_port: Identical port number where each target listens for traffic. + :param pulumi.Input[_builtins.str] name: Target pool name. + :param pulumi.Input[_builtins.int] target_port: Identical port number where each target listens for traffic. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolTargetArgs']]] targets: List of all targets which will be used in the pool. Limited to 1000. :param pulumi.Input['LoadbalancerTargetPoolSessionPersistenceArgs'] session_persistence: Here you can setup various session persistence options, so far only "`use_source_ip_address`" is supported. """ @@ -1128,31 +1276,31 @@ def __init__(__self__, *, if session_persistence is not None: pulumi.set(__self__, "session_persistence", session_persistence) - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Input[builtins.str]: + def name(self) -> pulumi.Input[_builtins.str]: """ Target pool name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: pulumi.Input[builtins.str]): + def name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="targetPort") - def target_port(self) -> pulumi.Input[builtins.int]: + def target_port(self) -> pulumi.Input[_builtins.int]: """ Identical port number where each target listens for traffic. """ return pulumi.get(self, "target_port") @target_port.setter - def target_port(self, value: pulumi.Input[builtins.int]): + def target_port(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "target_port", value) - @property + @_builtins.property @pulumi.getter def targets(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolTargetArgs']]]: """ @@ -1164,7 +1312,7 @@ def targets(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolT def targets(self, value: pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolTargetArgs']]]): pulumi.set(self, "targets", value) - @property + @_builtins.property @pulumi.getter(name="activeHealthCheck") def active_health_check(self) -> Optional[pulumi.Input['LoadbalancerTargetPoolActiveHealthCheckArgs']]: return pulumi.get(self, "active_health_check") @@ -1173,7 +1321,7 @@ def active_health_check(self) -> Optional[pulumi.Input['LoadbalancerTargetPoolAc def active_health_check(self, value: Optional[pulumi.Input['LoadbalancerTargetPoolActiveHealthCheckArgs']]): pulumi.set(self, "active_health_check", value) - @property + @_builtins.property @pulumi.getter(name="sessionPersistence") def session_persistence(self) -> Optional[pulumi.Input['LoadbalancerTargetPoolSessionPersistenceArgs']]: """ @@ -1188,23 +1336,23 @@ def session_persistence(self, value: Optional[pulumi.Input['LoadbalancerTargetPo if not MYPY: class LoadbalancerTargetPoolActiveHealthCheckArgsDict(TypedDict): - healthy_threshold: NotRequired[pulumi.Input[builtins.int]] + healthy_threshold: NotRequired[pulumi.Input[_builtins.int]] """ Healthy threshold of the health checking. """ - interval: NotRequired[pulumi.Input[builtins.str]] + interval: NotRequired[pulumi.Input[_builtins.str]] """ Interval duration of health checking in seconds. """ - interval_jitter: NotRequired[pulumi.Input[builtins.str]] + interval_jitter: NotRequired[pulumi.Input[_builtins.str]] """ Interval duration threshold of the health checking in seconds. """ - timeout: NotRequired[pulumi.Input[builtins.str]] + timeout: NotRequired[pulumi.Input[_builtins.str]] """ Active health checking timeout duration in seconds. """ - unhealthy_threshold: NotRequired[pulumi.Input[builtins.int]] + unhealthy_threshold: NotRequired[pulumi.Input[_builtins.int]] """ Unhealthy threshold of the health checking. """ @@ -1214,17 +1362,17 @@ class LoadbalancerTargetPoolActiveHealthCheckArgsDict(TypedDict): @pulumi.input_type class LoadbalancerTargetPoolActiveHealthCheckArgs: def __init__(__self__, *, - healthy_threshold: Optional[pulumi.Input[builtins.int]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - interval_jitter: Optional[pulumi.Input[builtins.str]] = None, - timeout: Optional[pulumi.Input[builtins.str]] = None, - unhealthy_threshold: Optional[pulumi.Input[builtins.int]] = None): - """ - :param pulumi.Input[builtins.int] healthy_threshold: Healthy threshold of the health checking. - :param pulumi.Input[builtins.str] interval: Interval duration of health checking in seconds. - :param pulumi.Input[builtins.str] interval_jitter: Interval duration threshold of the health checking in seconds. - :param pulumi.Input[builtins.str] timeout: Active health checking timeout duration in seconds. - :param pulumi.Input[builtins.int] unhealthy_threshold: Unhealthy threshold of the health checking. + healthy_threshold: Optional[pulumi.Input[_builtins.int]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + interval_jitter: Optional[pulumi.Input[_builtins.str]] = None, + timeout: Optional[pulumi.Input[_builtins.str]] = None, + unhealthy_threshold: Optional[pulumi.Input[_builtins.int]] = None): + """ + :param pulumi.Input[_builtins.int] healthy_threshold: Healthy threshold of the health checking. + :param pulumi.Input[_builtins.str] interval: Interval duration of health checking in seconds. + :param pulumi.Input[_builtins.str] interval_jitter: Interval duration threshold of the health checking in seconds. + :param pulumi.Input[_builtins.str] timeout: Active health checking timeout duration in seconds. + :param pulumi.Input[_builtins.int] unhealthy_threshold: Unhealthy threshold of the health checking. """ if healthy_threshold is not None: pulumi.set(__self__, "healthy_threshold", healthy_threshold) @@ -1237,70 +1385,70 @@ def __init__(__self__, *, if unhealthy_threshold is not None: pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - @property + @_builtins.property @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]: + def healthy_threshold(self) -> Optional[pulumi.Input[_builtins.int]]: """ Healthy threshold of the health checking. """ return pulumi.get(self, "healthy_threshold") @healthy_threshold.setter - def healthy_threshold(self, value: Optional[pulumi.Input[builtins.int]]): + def healthy_threshold(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "healthy_threshold", value) - @property + @_builtins.property @pulumi.getter - def interval(self) -> Optional[pulumi.Input[builtins.str]]: + def interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ Interval duration of health checking in seconds. """ return pulumi.get(self, "interval") @interval.setter - def interval(self, value: Optional[pulumi.Input[builtins.str]]): + def interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "interval", value) - @property + @_builtins.property @pulumi.getter(name="intervalJitter") - def interval_jitter(self) -> Optional[pulumi.Input[builtins.str]]: + def interval_jitter(self) -> Optional[pulumi.Input[_builtins.str]]: """ Interval duration threshold of the health checking in seconds. """ return pulumi.get(self, "interval_jitter") @interval_jitter.setter - def interval_jitter(self, value: Optional[pulumi.Input[builtins.str]]): + def interval_jitter(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "interval_jitter", value) - @property + @_builtins.property @pulumi.getter - def timeout(self) -> Optional[pulumi.Input[builtins.str]]: + def timeout(self) -> Optional[pulumi.Input[_builtins.str]]: """ Active health checking timeout duration in seconds. """ return pulumi.get(self, "timeout") @timeout.setter - def timeout(self, value: Optional[pulumi.Input[builtins.str]]): + def timeout(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "timeout", value) - @property + @_builtins.property @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]: + def unhealthy_threshold(self) -> Optional[pulumi.Input[_builtins.int]]: """ Unhealthy threshold of the health checking. """ return pulumi.get(self, "unhealthy_threshold") @unhealthy_threshold.setter - def unhealthy_threshold(self, value: Optional[pulumi.Input[builtins.int]]): + def unhealthy_threshold(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "unhealthy_threshold", value) if not MYPY: class LoadbalancerTargetPoolSessionPersistenceArgsDict(TypedDict): - use_source_ip_address: NotRequired[pulumi.Input[builtins.bool]] + use_source_ip_address: NotRequired[pulumi.Input[_builtins.bool]] """ If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. """ @@ -1310,33 +1458,33 @@ class LoadbalancerTargetPoolSessionPersistenceArgsDict(TypedDict): @pulumi.input_type class LoadbalancerTargetPoolSessionPersistenceArgs: def __init__(__self__, *, - use_source_ip_address: Optional[pulumi.Input[builtins.bool]] = None): + use_source_ip_address: Optional[pulumi.Input[_builtins.bool]] = None): """ - :param pulumi.Input[builtins.bool] use_source_ip_address: If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. + :param pulumi.Input[_builtins.bool] use_source_ip_address: If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. """ if use_source_ip_address is not None: pulumi.set(__self__, "use_source_ip_address", use_source_ip_address) - @property + @_builtins.property @pulumi.getter(name="useSourceIpAddress") - def use_source_ip_address(self) -> Optional[pulumi.Input[builtins.bool]]: + def use_source_ip_address(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. """ return pulumi.get(self, "use_source_ip_address") @use_source_ip_address.setter - def use_source_ip_address(self, value: Optional[pulumi.Input[builtins.bool]]): + def use_source_ip_address(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "use_source_ip_address", value) if not MYPY: class LoadbalancerTargetPoolTargetArgsDict(TypedDict): - display_name: pulumi.Input[builtins.str] + display_name: pulumi.Input[_builtins.str] """ Target display name """ - ip: pulumi.Input[builtins.str] + ip: pulumi.Input[_builtins.str] """ Target IP """ @@ -1346,97 +1494,97 @@ class LoadbalancerTargetPoolTargetArgsDict(TypedDict): @pulumi.input_type class LoadbalancerTargetPoolTargetArgs: def __init__(__self__, *, - display_name: pulumi.Input[builtins.str], - ip: pulumi.Input[builtins.str]): + display_name: pulumi.Input[_builtins.str], + ip: pulumi.Input[_builtins.str]): """ - :param pulumi.Input[builtins.str] display_name: Target display name - :param pulumi.Input[builtins.str] ip: Target IP + :param pulumi.Input[_builtins.str] display_name: Target display name + :param pulumi.Input[_builtins.str] ip: Target IP """ pulumi.set(__self__, "display_name", display_name) pulumi.set(__self__, "ip", ip) - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Input[builtins.str]: + def display_name(self) -> pulumi.Input[_builtins.str]: """ Target display name """ return pulumi.get(self, "display_name") @display_name.setter - def display_name(self, value: pulumi.Input[builtins.str]): + def display_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "display_name", value) - @property + @_builtins.property @pulumi.getter - def ip(self) -> pulumi.Input[builtins.str]: + def ip(self) -> pulumi.Input[_builtins.str]: """ Target IP """ return pulumi.get(self, "ip") @ip.setter - def ip(self, value: pulumi.Input[builtins.str]): + def ip(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "ip", value) if not MYPY: class LogmeInstanceParametersArgsDict(TypedDict): - enable_monitoring: NotRequired[pulumi.Input[builtins.bool]] + enable_monitoring: NotRequired[pulumi.Input[_builtins.bool]] """ Enable monitoring. """ - fluentd_tcp: NotRequired[pulumi.Input[builtins.int]] - fluentd_tls: NotRequired[pulumi.Input[builtins.int]] - fluentd_tls_ciphers: NotRequired[pulumi.Input[builtins.str]] - fluentd_tls_max_version: NotRequired[pulumi.Input[builtins.str]] - fluentd_tls_min_version: NotRequired[pulumi.Input[builtins.str]] - fluentd_tls_version: NotRequired[pulumi.Input[builtins.str]] - fluentd_udp: NotRequired[pulumi.Input[builtins.int]] - graphite: NotRequired[pulumi.Input[builtins.str]] + fluentd_tcp: NotRequired[pulumi.Input[_builtins.int]] + fluentd_tls: NotRequired[pulumi.Input[_builtins.int]] + fluentd_tls_ciphers: NotRequired[pulumi.Input[_builtins.str]] + fluentd_tls_max_version: NotRequired[pulumi.Input[_builtins.str]] + fluentd_tls_min_version: NotRequired[pulumi.Input[_builtins.str]] + fluentd_tls_version: NotRequired[pulumi.Input[_builtins.str]] + fluentd_udp: NotRequired[pulumi.Input[_builtins.int]] + graphite: NotRequired[pulumi.Input[_builtins.str]] """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ - ism_deletion_after: NotRequired[pulumi.Input[builtins.str]] + ism_deletion_after: NotRequired[pulumi.Input[_builtins.str]] """ Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. """ - ism_jitter: NotRequired[pulumi.Input[builtins.float]] - ism_job_interval: NotRequired[pulumi.Input[builtins.int]] + ism_jitter: NotRequired[pulumi.Input[_builtins.float]] + ism_job_interval: NotRequired[pulumi.Input[_builtins.int]] """ Jitter of the execution time. """ - java_heapspace: NotRequired[pulumi.Input[builtins.int]] + java_heapspace: NotRequired[pulumi.Input[_builtins.int]] """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ - java_maxmetaspace: NotRequired[pulumi.Input[builtins.int]] + java_maxmetaspace: NotRequired[pulumi.Input[_builtins.int]] """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ - max_disk_threshold: NotRequired[pulumi.Input[builtins.int]] + max_disk_threshold: NotRequired[pulumi.Input[_builtins.int]] """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ - metrics_frequency: NotRequired[pulumi.Input[builtins.int]] + metrics_frequency: NotRequired[pulumi.Input[_builtins.int]] """ The frequency in seconds at which metrics are emitted (in seconds). """ - metrics_prefix: NotRequired[pulumi.Input[builtins.str]] + metrics_prefix: NotRequired[pulumi.Input[_builtins.str]] """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ - monitoring_instance_id: NotRequired[pulumi.Input[builtins.str]] + monitoring_instance_id: NotRequired[pulumi.Input[_builtins.str]] """ The ID of the STACKIT monitoring instance. """ - opensearch_tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] - opensearch_tls_protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] - sgw_acl: NotRequired[pulumi.Input[builtins.str]] + opensearch_tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] + opensearch_tls_protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] + sgw_acl: NotRequired[pulumi.Input[_builtins.str]] """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ - syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of syslog servers to send logs to. """ @@ -1446,41 +1594,41 @@ class LogmeInstanceParametersArgsDict(TypedDict): @pulumi.input_type class LogmeInstanceParametersArgs: def __init__(__self__, *, - enable_monitoring: Optional[pulumi.Input[builtins.bool]] = None, - fluentd_tcp: Optional[pulumi.Input[builtins.int]] = None, - fluentd_tls: Optional[pulumi.Input[builtins.int]] = None, - fluentd_tls_ciphers: Optional[pulumi.Input[builtins.str]] = None, - fluentd_tls_max_version: Optional[pulumi.Input[builtins.str]] = None, - fluentd_tls_min_version: Optional[pulumi.Input[builtins.str]] = None, - fluentd_tls_version: Optional[pulumi.Input[builtins.str]] = None, - fluentd_udp: Optional[pulumi.Input[builtins.int]] = None, - graphite: Optional[pulumi.Input[builtins.str]] = None, - ism_deletion_after: Optional[pulumi.Input[builtins.str]] = None, - ism_jitter: Optional[pulumi.Input[builtins.float]] = None, - ism_job_interval: Optional[pulumi.Input[builtins.int]] = None, - java_heapspace: Optional[pulumi.Input[builtins.int]] = None, - java_maxmetaspace: Optional[pulumi.Input[builtins.int]] = None, - max_disk_threshold: Optional[pulumi.Input[builtins.int]] = None, - metrics_frequency: Optional[pulumi.Input[builtins.int]] = None, - metrics_prefix: Optional[pulumi.Input[builtins.str]] = None, - monitoring_instance_id: Optional[pulumi.Input[builtins.str]] = None, - opensearch_tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - opensearch_tls_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - sgw_acl: Optional[pulumi.Input[builtins.str]] = None, - syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None): - """ - :param pulumi.Input[builtins.bool] enable_monitoring: Enable monitoring. - :param pulumi.Input[builtins.str] graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - :param pulumi.Input[builtins.str] ism_deletion_after: Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. - :param pulumi.Input[builtins.int] ism_job_interval: Jitter of the execution time. - :param pulumi.Input[builtins.int] java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - :param pulumi.Input[builtins.int] java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - :param pulumi.Input[builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param pulumi.Input[builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). - :param pulumi.Input[builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - :param pulumi.Input[builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param pulumi.Input[builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] syslogs: List of syslog servers to send logs to. + enable_monitoring: Optional[pulumi.Input[_builtins.bool]] = None, + fluentd_tcp: Optional[pulumi.Input[_builtins.int]] = None, + fluentd_tls: Optional[pulumi.Input[_builtins.int]] = None, + fluentd_tls_ciphers: Optional[pulumi.Input[_builtins.str]] = None, + fluentd_tls_max_version: Optional[pulumi.Input[_builtins.str]] = None, + fluentd_tls_min_version: Optional[pulumi.Input[_builtins.str]] = None, + fluentd_tls_version: Optional[pulumi.Input[_builtins.str]] = None, + fluentd_udp: Optional[pulumi.Input[_builtins.int]] = None, + graphite: Optional[pulumi.Input[_builtins.str]] = None, + ism_deletion_after: Optional[pulumi.Input[_builtins.str]] = None, + ism_jitter: Optional[pulumi.Input[_builtins.float]] = None, + ism_job_interval: Optional[pulumi.Input[_builtins.int]] = None, + java_heapspace: Optional[pulumi.Input[_builtins.int]] = None, + java_maxmetaspace: Optional[pulumi.Input[_builtins.int]] = None, + max_disk_threshold: Optional[pulumi.Input[_builtins.int]] = None, + metrics_frequency: Optional[pulumi.Input[_builtins.int]] = None, + metrics_prefix: Optional[pulumi.Input[_builtins.str]] = None, + monitoring_instance_id: Optional[pulumi.Input[_builtins.str]] = None, + opensearch_tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + opensearch_tls_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + sgw_acl: Optional[pulumi.Input[_builtins.str]] = None, + syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.bool] enable_monitoring: Enable monitoring. + :param pulumi.Input[_builtins.str] graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + :param pulumi.Input[_builtins.str] ism_deletion_after: Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. + :param pulumi.Input[_builtins.int] ism_job_interval: Jitter of the execution time. + :param pulumi.Input[_builtins.int] java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + :param pulumi.Input[_builtins.int] java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + :param pulumi.Input[_builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param pulumi.Input[_builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). + :param pulumi.Input[_builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + :param pulumi.Input[_builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param pulumi.Input[_builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] syslogs: List of syslog servers to send logs to. """ if enable_monitoring is not None: pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -1527,272 +1675,272 @@ def __init__(__self__, *, if syslogs is not None: pulumi.set(__self__, "syslogs", syslogs) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") @enable_monitoring.setter - def enable_monitoring(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_monitoring", value) - @property + @_builtins.property @pulumi.getter(name="fluentdTcp") - def fluentd_tcp(self) -> Optional[pulumi.Input[builtins.int]]: + def fluentd_tcp(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "fluentd_tcp") @fluentd_tcp.setter - def fluentd_tcp(self, value: Optional[pulumi.Input[builtins.int]]): + def fluentd_tcp(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "fluentd_tcp", value) - @property + @_builtins.property @pulumi.getter(name="fluentdTls") - def fluentd_tls(self) -> Optional[pulumi.Input[builtins.int]]: + def fluentd_tls(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "fluentd_tls") @fluentd_tls.setter - def fluentd_tls(self, value: Optional[pulumi.Input[builtins.int]]): + def fluentd_tls(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "fluentd_tls", value) - @property + @_builtins.property @pulumi.getter(name="fluentdTlsCiphers") - def fluentd_tls_ciphers(self) -> Optional[pulumi.Input[builtins.str]]: + def fluentd_tls_ciphers(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "fluentd_tls_ciphers") @fluentd_tls_ciphers.setter - def fluentd_tls_ciphers(self, value: Optional[pulumi.Input[builtins.str]]): + def fluentd_tls_ciphers(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "fluentd_tls_ciphers", value) - @property + @_builtins.property @pulumi.getter(name="fluentdTlsMaxVersion") - def fluentd_tls_max_version(self) -> Optional[pulumi.Input[builtins.str]]: + def fluentd_tls_max_version(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "fluentd_tls_max_version") @fluentd_tls_max_version.setter - def fluentd_tls_max_version(self, value: Optional[pulumi.Input[builtins.str]]): + def fluentd_tls_max_version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "fluentd_tls_max_version", value) - @property + @_builtins.property @pulumi.getter(name="fluentdTlsMinVersion") - def fluentd_tls_min_version(self) -> Optional[pulumi.Input[builtins.str]]: + def fluentd_tls_min_version(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "fluentd_tls_min_version") @fluentd_tls_min_version.setter - def fluentd_tls_min_version(self, value: Optional[pulumi.Input[builtins.str]]): + def fluentd_tls_min_version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "fluentd_tls_min_version", value) - @property + @_builtins.property @pulumi.getter(name="fluentdTlsVersion") - def fluentd_tls_version(self) -> Optional[pulumi.Input[builtins.str]]: + def fluentd_tls_version(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "fluentd_tls_version") @fluentd_tls_version.setter - def fluentd_tls_version(self, value: Optional[pulumi.Input[builtins.str]]): + def fluentd_tls_version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "fluentd_tls_version", value) - @property + @_builtins.property @pulumi.getter(name="fluentdUdp") - def fluentd_udp(self) -> Optional[pulumi.Input[builtins.int]]: + def fluentd_udp(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "fluentd_udp") @fluentd_udp.setter - def fluentd_udp(self, value: Optional[pulumi.Input[builtins.int]]): + def fluentd_udp(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "fluentd_udp", value) - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[pulumi.Input[builtins.str]]: + def graphite(self) -> Optional[pulumi.Input[_builtins.str]]: """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ return pulumi.get(self, "graphite") @graphite.setter - def graphite(self, value: Optional[pulumi.Input[builtins.str]]): + def graphite(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "graphite", value) - @property + @_builtins.property @pulumi.getter(name="ismDeletionAfter") - def ism_deletion_after(self) -> Optional[pulumi.Input[builtins.str]]: + def ism_deletion_after(self) -> Optional[pulumi.Input[_builtins.str]]: """ Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. """ return pulumi.get(self, "ism_deletion_after") @ism_deletion_after.setter - def ism_deletion_after(self, value: Optional[pulumi.Input[builtins.str]]): + def ism_deletion_after(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ism_deletion_after", value) - @property + @_builtins.property @pulumi.getter(name="ismJitter") - def ism_jitter(self) -> Optional[pulumi.Input[builtins.float]]: + def ism_jitter(self) -> Optional[pulumi.Input[_builtins.float]]: return pulumi.get(self, "ism_jitter") @ism_jitter.setter - def ism_jitter(self, value: Optional[pulumi.Input[builtins.float]]): + def ism_jitter(self, value: Optional[pulumi.Input[_builtins.float]]): pulumi.set(self, "ism_jitter", value) - @property + @_builtins.property @pulumi.getter(name="ismJobInterval") - def ism_job_interval(self) -> Optional[pulumi.Input[builtins.int]]: + def ism_job_interval(self) -> Optional[pulumi.Input[_builtins.int]]: """ Jitter of the execution time. """ return pulumi.get(self, "ism_job_interval") @ism_job_interval.setter - def ism_job_interval(self, value: Optional[pulumi.Input[builtins.int]]): + def ism_job_interval(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ism_job_interval", value) - @property + @_builtins.property @pulumi.getter(name="javaHeapspace") - def java_heapspace(self) -> Optional[pulumi.Input[builtins.int]]: + def java_heapspace(self) -> Optional[pulumi.Input[_builtins.int]]: """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ return pulumi.get(self, "java_heapspace") @java_heapspace.setter - def java_heapspace(self, value: Optional[pulumi.Input[builtins.int]]): + def java_heapspace(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "java_heapspace", value) - @property + @_builtins.property @pulumi.getter(name="javaMaxmetaspace") - def java_maxmetaspace(self) -> Optional[pulumi.Input[builtins.int]]: + def java_maxmetaspace(self) -> Optional[pulumi.Input[_builtins.int]]: """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ return pulumi.get(self, "java_maxmetaspace") @java_maxmetaspace.setter - def java_maxmetaspace(self, value: Optional[pulumi.Input[builtins.int]]): + def java_maxmetaspace(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "java_maxmetaspace", value) - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[pulumi.Input[builtins.int]]: + def max_disk_threshold(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") @max_disk_threshold.setter - def max_disk_threshold(self, value: Optional[pulumi.Input[builtins.int]]): + def max_disk_threshold(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_disk_threshold", value) - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_frequency(self) -> Optional[pulumi.Input[_builtins.int]]: """ The frequency in seconds at which metrics are emitted (in seconds). """ return pulumi.get(self, "metrics_frequency") @metrics_frequency.setter - def metrics_frequency(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_frequency(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_frequency", value) - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ return pulumi.get(self, "metrics_prefix") @metrics_prefix.setter - def metrics_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_prefix", value) - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def monitoring_instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") @monitoring_instance_id.setter - def monitoring_instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def monitoring_instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "monitoring_instance_id", value) - @property + @_builtins.property @pulumi.getter(name="opensearchTlsCiphers") - def opensearch_tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def opensearch_tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "opensearch_tls_ciphers") @opensearch_tls_ciphers.setter - def opensearch_tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def opensearch_tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "opensearch_tls_ciphers", value) - @property + @_builtins.property @pulumi.getter(name="opensearchTlsProtocols") - def opensearch_tls_protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def opensearch_tls_protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "opensearch_tls_protocols") @opensearch_tls_protocols.setter - def opensearch_tls_protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def opensearch_tls_protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "opensearch_tls_protocols", value) - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[pulumi.Input[builtins.str]]: + def sgw_acl(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") @sgw_acl.setter - def sgw_acl(self, value: Optional[pulumi.Input[builtins.str]]): + def sgw_acl(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "sgw_acl", value) - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") @syslogs.setter - def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "syslogs", value) if not MYPY: class MariadbInstanceParametersArgsDict(TypedDict): - enable_monitoring: NotRequired[pulumi.Input[builtins.bool]] + enable_monitoring: NotRequired[pulumi.Input[_builtins.bool]] """ Enable monitoring. """ - graphite: NotRequired[pulumi.Input[builtins.str]] + graphite: NotRequired[pulumi.Input[_builtins.str]] """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ - max_disk_threshold: NotRequired[pulumi.Input[builtins.int]] + max_disk_threshold: NotRequired[pulumi.Input[_builtins.int]] """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ - metrics_frequency: NotRequired[pulumi.Input[builtins.int]] + metrics_frequency: NotRequired[pulumi.Input[_builtins.int]] """ The frequency in seconds at which metrics are emitted. """ - metrics_prefix: NotRequired[pulumi.Input[builtins.str]] + metrics_prefix: NotRequired[pulumi.Input[_builtins.str]] """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ - monitoring_instance_id: NotRequired[pulumi.Input[builtins.str]] + monitoring_instance_id: NotRequired[pulumi.Input[_builtins.str]] """ The ID of the STACKIT monitoring instance. Monitoring instances with the plan "Observability-Monitoring-Starter" are not supported. """ - sgw_acl: NotRequired[pulumi.Input[builtins.str]] + sgw_acl: NotRequired[pulumi.Input[_builtins.str]] """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ - syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of syslog servers to send logs to. """ @@ -1802,23 +1950,23 @@ class MariadbInstanceParametersArgsDict(TypedDict): @pulumi.input_type class MariadbInstanceParametersArgs: def __init__(__self__, *, - enable_monitoring: Optional[pulumi.Input[builtins.bool]] = None, - graphite: Optional[pulumi.Input[builtins.str]] = None, - max_disk_threshold: Optional[pulumi.Input[builtins.int]] = None, - metrics_frequency: Optional[pulumi.Input[builtins.int]] = None, - metrics_prefix: Optional[pulumi.Input[builtins.str]] = None, - monitoring_instance_id: Optional[pulumi.Input[builtins.str]] = None, - sgw_acl: Optional[pulumi.Input[builtins.str]] = None, - syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None): - """ - :param pulumi.Input[builtins.bool] enable_monitoring: Enable monitoring. - :param pulumi.Input[builtins.str] graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param pulumi.Input[builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param pulumi.Input[builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted. - :param pulumi.Input[builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param pulumi.Input[builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. Monitoring instances with the plan "Observability-Monitoring-Starter" are not supported. - :param pulumi.Input[builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] syslogs: List of syslog servers to send logs to. + enable_monitoring: Optional[pulumi.Input[_builtins.bool]] = None, + graphite: Optional[pulumi.Input[_builtins.str]] = None, + max_disk_threshold: Optional[pulumi.Input[_builtins.int]] = None, + metrics_frequency: Optional[pulumi.Input[_builtins.int]] = None, + metrics_prefix: Optional[pulumi.Input[_builtins.str]] = None, + monitoring_instance_id: Optional[pulumi.Input[_builtins.str]] = None, + sgw_acl: Optional[pulumi.Input[_builtins.str]] = None, + syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.bool] enable_monitoring: Enable monitoring. + :param pulumi.Input[_builtins.str] graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param pulumi.Input[_builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param pulumi.Input[_builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted. + :param pulumi.Input[_builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param pulumi.Input[_builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. Monitoring instances with the plan "Observability-Monitoring-Starter" are not supported. + :param pulumi.Input[_builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] syslogs: List of syslog servers to send logs to. """ if enable_monitoring is not None: pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -1837,119 +1985,119 @@ def __init__(__self__, *, if syslogs is not None: pulumi.set(__self__, "syslogs", syslogs) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") @enable_monitoring.setter - def enable_monitoring(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_monitoring", value) - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[pulumi.Input[builtins.str]]: + def graphite(self) -> Optional[pulumi.Input[_builtins.str]]: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") @graphite.setter - def graphite(self, value: Optional[pulumi.Input[builtins.str]]): + def graphite(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "graphite", value) - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[pulumi.Input[builtins.int]]: + def max_disk_threshold(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") @max_disk_threshold.setter - def max_disk_threshold(self, value: Optional[pulumi.Input[builtins.int]]): + def max_disk_threshold(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_disk_threshold", value) - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_frequency(self) -> Optional[pulumi.Input[_builtins.int]]: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") @metrics_frequency.setter - def metrics_frequency(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_frequency(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_frequency", value) - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") @metrics_prefix.setter - def metrics_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_prefix", value) - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def monitoring_instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ID of the STACKIT monitoring instance. Monitoring instances with the plan "Observability-Monitoring-Starter" are not supported. """ return pulumi.get(self, "monitoring_instance_id") @monitoring_instance_id.setter - def monitoring_instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def monitoring_instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "monitoring_instance_id", value) - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[pulumi.Input[builtins.str]]: + def sgw_acl(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") @sgw_acl.setter - def sgw_acl(self, value: Optional[pulumi.Input[builtins.str]]): + def sgw_acl(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "sgw_acl", value) - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") @syslogs.setter - def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "syslogs", value) if not MYPY: class MongodbflexInstanceFlavorArgsDict(TypedDict): - cpu: pulumi.Input[builtins.int] - ram: pulumi.Input[builtins.int] - description: NotRequired[pulumi.Input[builtins.str]] - id: NotRequired[pulumi.Input[builtins.str]] + cpu: pulumi.Input[_builtins.int] + ram: pulumi.Input[_builtins.int] + description: NotRequired[pulumi.Input[_builtins.str]] + id: NotRequired[pulumi.Input[_builtins.str]] elif False: MongodbflexInstanceFlavorArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class MongodbflexInstanceFlavorArgs: def __init__(__self__, *, - cpu: pulumi.Input[builtins.int], - ram: pulumi.Input[builtins.int], - description: Optional[pulumi.Input[builtins.str]] = None, - id: Optional[pulumi.Input[builtins.str]] = None): + cpu: pulumi.Input[_builtins.int], + ram: pulumi.Input[_builtins.int], + description: Optional[pulumi.Input[_builtins.str]] = None, + id: Optional[pulumi.Input[_builtins.str]] = None): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "ram", ram) if description is not None: @@ -1957,66 +2105,66 @@ def __init__(__self__, *, if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> pulumi.Input[builtins.int]: + def cpu(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "cpu") @cpu.setter - def cpu(self, value: pulumi.Input[builtins.int]): + def cpu(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "cpu", value) - @property + @_builtins.property @pulumi.getter - def ram(self) -> pulumi.Input[builtins.int]: + def ram(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "ram") @ram.setter - def ram(self, value: pulumi.Input[builtins.int]): + def ram(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "ram", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[pulumi.Input[builtins.str]]: + def id(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[builtins.str]]): + def id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "id", value) if not MYPY: class MongodbflexInstanceOptionsArgsDict(TypedDict): - point_in_time_window_hours: pulumi.Input[builtins.int] + point_in_time_window_hours: pulumi.Input[_builtins.int] """ The number of hours back in time the point-in-time recovery feature will be able to recover. """ - type: pulumi.Input[builtins.str] + type: pulumi.Input[_builtins.str] """ Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`. """ - daily_snapshot_retention_days: NotRequired[pulumi.Input[builtins.int]] + daily_snapshot_retention_days: NotRequired[pulumi.Input[_builtins.int]] """ The number of days that daily backups will be retained. """ - monthly_snapshot_retention_months: NotRequired[pulumi.Input[builtins.int]] + monthly_snapshot_retention_months: NotRequired[pulumi.Input[_builtins.int]] """ The number of months that monthly backups will be retained. """ - snapshot_retention_days: NotRequired[pulumi.Input[builtins.int]] + snapshot_retention_days: NotRequired[pulumi.Input[_builtins.int]] """ The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. """ - weekly_snapshot_retention_weeks: NotRequired[pulumi.Input[builtins.int]] + weekly_snapshot_retention_weeks: NotRequired[pulumi.Input[_builtins.int]] """ The number of weeks that weekly backups will be retained. """ @@ -2026,19 +2174,19 @@ class MongodbflexInstanceOptionsArgsDict(TypedDict): @pulumi.input_type class MongodbflexInstanceOptionsArgs: def __init__(__self__, *, - point_in_time_window_hours: pulumi.Input[builtins.int], - type: pulumi.Input[builtins.str], - daily_snapshot_retention_days: Optional[pulumi.Input[builtins.int]] = None, - monthly_snapshot_retention_months: Optional[pulumi.Input[builtins.int]] = None, - snapshot_retention_days: Optional[pulumi.Input[builtins.int]] = None, - weekly_snapshot_retention_weeks: Optional[pulumi.Input[builtins.int]] = None): - """ - :param pulumi.Input[builtins.int] point_in_time_window_hours: The number of hours back in time the point-in-time recovery feature will be able to recover. - :param pulumi.Input[builtins.str] type: Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`. - :param pulumi.Input[builtins.int] daily_snapshot_retention_days: The number of days that daily backups will be retained. - :param pulumi.Input[builtins.int] monthly_snapshot_retention_months: The number of months that monthly backups will be retained. - :param pulumi.Input[builtins.int] snapshot_retention_days: The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. - :param pulumi.Input[builtins.int] weekly_snapshot_retention_weeks: The number of weeks that weekly backups will be retained. + point_in_time_window_hours: pulumi.Input[_builtins.int], + type: pulumi.Input[_builtins.str], + daily_snapshot_retention_days: Optional[pulumi.Input[_builtins.int]] = None, + monthly_snapshot_retention_months: Optional[pulumi.Input[_builtins.int]] = None, + snapshot_retention_days: Optional[pulumi.Input[_builtins.int]] = None, + weekly_snapshot_retention_weeks: Optional[pulumi.Input[_builtins.int]] = None): + """ + :param pulumi.Input[_builtins.int] point_in_time_window_hours: The number of hours back in time the point-in-time recovery feature will be able to recover. + :param pulumi.Input[_builtins.str] type: Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`. + :param pulumi.Input[_builtins.int] daily_snapshot_retention_days: The number of days that daily backups will be retained. + :param pulumi.Input[_builtins.int] monthly_snapshot_retention_months: The number of months that monthly backups will be retained. + :param pulumi.Input[_builtins.int] snapshot_retention_days: The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. + :param pulumi.Input[_builtins.int] weekly_snapshot_retention_weeks: The number of weeks that weekly backups will be retained. """ pulumi.set(__self__, "point_in_time_window_hours", point_in_time_window_hours) pulumi.set(__self__, "type", type) @@ -2051,176 +2199,176 @@ def __init__(__self__, *, if weekly_snapshot_retention_weeks is not None: pulumi.set(__self__, "weekly_snapshot_retention_weeks", weekly_snapshot_retention_weeks) - @property + @_builtins.property @pulumi.getter(name="pointInTimeWindowHours") - def point_in_time_window_hours(self) -> pulumi.Input[builtins.int]: + def point_in_time_window_hours(self) -> pulumi.Input[_builtins.int]: """ The number of hours back in time the point-in-time recovery feature will be able to recover. """ return pulumi.get(self, "point_in_time_window_hours") @point_in_time_window_hours.setter - def point_in_time_window_hours(self, value: pulumi.Input[builtins.int]): + def point_in_time_window_hours(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "point_in_time_window_hours", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[builtins.str]: + def type(self) -> pulumi.Input[_builtins.str]: """ Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`. """ return pulumi.get(self, "type") @type.setter - def type(self, value: pulumi.Input[builtins.str]): + def type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "type", value) - @property + @_builtins.property @pulumi.getter(name="dailySnapshotRetentionDays") - def daily_snapshot_retention_days(self) -> Optional[pulumi.Input[builtins.int]]: + def daily_snapshot_retention_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ The number of days that daily backups will be retained. """ return pulumi.get(self, "daily_snapshot_retention_days") @daily_snapshot_retention_days.setter - def daily_snapshot_retention_days(self, value: Optional[pulumi.Input[builtins.int]]): + def daily_snapshot_retention_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "daily_snapshot_retention_days", value) - @property + @_builtins.property @pulumi.getter(name="monthlySnapshotRetentionMonths") - def monthly_snapshot_retention_months(self) -> Optional[pulumi.Input[builtins.int]]: + def monthly_snapshot_retention_months(self) -> Optional[pulumi.Input[_builtins.int]]: """ The number of months that monthly backups will be retained. """ return pulumi.get(self, "monthly_snapshot_retention_months") @monthly_snapshot_retention_months.setter - def monthly_snapshot_retention_months(self, value: Optional[pulumi.Input[builtins.int]]): + def monthly_snapshot_retention_months(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "monthly_snapshot_retention_months", value) - @property + @_builtins.property @pulumi.getter(name="snapshotRetentionDays") - def snapshot_retention_days(self) -> Optional[pulumi.Input[builtins.int]]: + def snapshot_retention_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. """ return pulumi.get(self, "snapshot_retention_days") @snapshot_retention_days.setter - def snapshot_retention_days(self, value: Optional[pulumi.Input[builtins.int]]): + def snapshot_retention_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "snapshot_retention_days", value) - @property + @_builtins.property @pulumi.getter(name="weeklySnapshotRetentionWeeks") - def weekly_snapshot_retention_weeks(self) -> Optional[pulumi.Input[builtins.int]]: + def weekly_snapshot_retention_weeks(self) -> Optional[pulumi.Input[_builtins.int]]: """ The number of weeks that weekly backups will be retained. """ return pulumi.get(self, "weekly_snapshot_retention_weeks") @weekly_snapshot_retention_weeks.setter - def weekly_snapshot_retention_weeks(self, value: Optional[pulumi.Input[builtins.int]]): + def weekly_snapshot_retention_weeks(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "weekly_snapshot_retention_weeks", value) if not MYPY: class MongodbflexInstanceStorageArgsDict(TypedDict): - class_: pulumi.Input[builtins.str] - size: pulumi.Input[builtins.int] + class_: pulumi.Input[_builtins.str] + size: pulumi.Input[_builtins.int] elif False: MongodbflexInstanceStorageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class MongodbflexInstanceStorageArgs: def __init__(__self__, *, - class_: pulumi.Input[builtins.str], - size: pulumi.Input[builtins.int]): + class_: pulumi.Input[_builtins.str], + size: pulumi.Input[_builtins.int]): pulumi.set(__self__, "class_", class_) pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> pulumi.Input[builtins.str]: + def class_(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "class_") @class_.setter - def class_(self, value: pulumi.Input[builtins.str]): + def class_(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "class_", value) - @property + @_builtins.property @pulumi.getter - def size(self) -> pulumi.Input[builtins.int]: + def size(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "size") @size.setter - def size(self, value: pulumi.Input[builtins.int]): + def size(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "size", value) if not MYPY: class NetworkAreaNetworkRangeArgsDict(TypedDict): - prefix: pulumi.Input[builtins.str] + prefix: pulumi.Input[_builtins.str] """ Classless Inter-Domain Routing (CIDR). """ - network_range_id: NotRequired[pulumi.Input[builtins.str]] + network_range_id: NotRequired[pulumi.Input[_builtins.str]] elif False: NetworkAreaNetworkRangeArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class NetworkAreaNetworkRangeArgs: def __init__(__self__, *, - prefix: pulumi.Input[builtins.str], - network_range_id: Optional[pulumi.Input[builtins.str]] = None): + prefix: pulumi.Input[_builtins.str], + network_range_id: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] prefix: Classless Inter-Domain Routing (CIDR). + :param pulumi.Input[_builtins.str] prefix: Classless Inter-Domain Routing (CIDR). """ pulumi.set(__self__, "prefix", prefix) if network_range_id is not None: pulumi.set(__self__, "network_range_id", network_range_id) - @property + @_builtins.property @pulumi.getter - def prefix(self) -> pulumi.Input[builtins.str]: + def prefix(self) -> pulumi.Input[_builtins.str]: """ Classless Inter-Domain Routing (CIDR). """ return pulumi.get(self, "prefix") @prefix.setter - def prefix(self, value: pulumi.Input[builtins.str]): + def prefix(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "prefix", value) - @property + @_builtins.property @pulumi.getter(name="networkRangeId") - def network_range_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_range_id(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "network_range_id") @network_range_id.setter - def network_range_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_range_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_range_id", value) if not MYPY: class ObservabilityAlertgroupRuleArgsDict(TypedDict): - alert: pulumi.Input[builtins.str] + alert: pulumi.Input[_builtins.str] """ The name of the alert rule. Is the identifier and must be unique in the group. """ - expression: pulumi.Input[builtins.str] + expression: pulumi.Input[_builtins.str] """ The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ - annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ A map of key:value. Annotations to add or overwrite for each alert """ - for_: NotRequired[pulumi.Input[builtins.str]] + for_: NotRequired[pulumi.Input[_builtins.str]] """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ - labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ A map of key:value. Labels to add or overwrite for each alert """ @@ -2230,17 +2378,17 @@ class ObservabilityAlertgroupRuleArgsDict(TypedDict): @pulumi.input_type class ObservabilityAlertgroupRuleArgs: def __init__(__self__, *, - alert: pulumi.Input[builtins.str], - expression: pulumi.Input[builtins.str], - annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - for_: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None): - """ - :param pulumi.Input[builtins.str] alert: The name of the alert rule. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] expression: The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: A map of key:value. Annotations to add or overwrite for each alert - :param pulumi.Input[builtins.str] for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key:value. Labels to add or overwrite for each alert + alert: pulumi.Input[_builtins.str], + expression: pulumi.Input[_builtins.str], + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + for_: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.str] alert: The name of the alert rule. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] expression: The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: A map of key:value. Annotations to add or overwrite for each alert + :param pulumi.Input[_builtins.str] for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of key:value. Labels to add or overwrite for each alert """ pulumi.set(__self__, "alert", alert) pulumi.set(__self__, "expression", expression) @@ -2251,64 +2399,64 @@ def __init__(__self__, *, if labels is not None: pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def alert(self) -> pulumi.Input[builtins.str]: + def alert(self) -> pulumi.Input[_builtins.str]: """ The name of the alert rule. Is the identifier and must be unique in the group. """ return pulumi.get(self, "alert") @alert.setter - def alert(self, value: pulumi.Input[builtins.str]): + def alert(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "alert", value) - @property + @_builtins.property @pulumi.getter - def expression(self) -> pulumi.Input[builtins.str]: + def expression(self) -> pulumi.Input[_builtins.str]: """ The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ return pulumi.get(self, "expression") @expression.setter - def expression(self, value: pulumi.Input[builtins.str]): + def expression(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "expression", value) - @property + @_builtins.property @pulumi.getter - def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of key:value. Annotations to add or overwrite for each alert """ return pulumi.get(self, "annotations") @annotations.setter - def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "annotations", value) - @property + @_builtins.property @pulumi.getter(name="for") - def for_(self) -> Optional[pulumi.Input[builtins.str]]: + def for_(self) -> Optional[pulumi.Input[_builtins.str]]: """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ return pulumi.get(self, "for_") @for_.setter - def for_(self, value: Optional[pulumi.Input[builtins.str]]): + def for_(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "for_", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of key:value. Labels to add or overwrite for each alert """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) @@ -2324,7 +2472,7 @@ class ObservabilityInstanceAlertConfigArgsDict(TypedDict): """ global_: NotRequired[pulumi.Input['ObservabilityInstanceAlertConfigGlobalArgsDict']] """ - Global configuration for the alerts. + Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. """ elif False: ObservabilityInstanceAlertConfigArgsDict: TypeAlias = Mapping[str, Any] @@ -2338,14 +2486,14 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverArgs']]] receivers: List of alert receivers. :param pulumi.Input['ObservabilityInstanceAlertConfigRouteArgs'] route: Route configuration for the alerts. - :param pulumi.Input['ObservabilityInstanceAlertConfigGlobalArgs'] global_: Global configuration for the alerts. + :param pulumi.Input['ObservabilityInstanceAlertConfigGlobalArgs'] global_: Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. """ pulumi.set(__self__, "receivers", receivers) pulumi.set(__self__, "route", route) if global_ is not None: pulumi.set(__self__, "global_", global_) - @property + @_builtins.property @pulumi.getter def receivers(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverArgs']]]: """ @@ -2357,7 +2505,7 @@ def receivers(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityInstance def receivers(self, value: pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverArgs']]]): pulumi.set(self, "receivers", value) - @property + @_builtins.property @pulumi.getter def route(self) -> pulumi.Input['ObservabilityInstanceAlertConfigRouteArgs']: """ @@ -2369,11 +2517,11 @@ def route(self) -> pulumi.Input['ObservabilityInstanceAlertConfigRouteArgs']: def route(self, value: pulumi.Input['ObservabilityInstanceAlertConfigRouteArgs']): pulumi.set(self, "route", value) - @property + @_builtins.property @pulumi.getter(name="global") def global_(self) -> Optional[pulumi.Input['ObservabilityInstanceAlertConfigGlobalArgs']]: """ - Global configuration for the alerts. + Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. """ return pulumi.get(self, "global_") @@ -2384,35 +2532,35 @@ def global_(self, value: Optional[pulumi.Input['ObservabilityInstanceAlertConfig if not MYPY: class ObservabilityInstanceAlertConfigGlobalArgsDict(TypedDict): - opsgenie_api_key: NotRequired[pulumi.Input[builtins.str]] + opsgenie_api_key: NotRequired[pulumi.Input[_builtins.str]] """ The API key for OpsGenie. """ - opsgenie_api_url: NotRequired[pulumi.Input[builtins.str]] + opsgenie_api_url: NotRequired[pulumi.Input[_builtins.str]] """ The host to send OpsGenie API requests to. Must be a valid URL """ - resolve_timeout: NotRequired[pulumi.Input[builtins.str]] + resolve_timeout: NotRequired[pulumi.Input[_builtins.str]] """ The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. """ - smtp_auth_identity: NotRequired[pulumi.Input[builtins.str]] + smtp_auth_identity: NotRequired[pulumi.Input[_builtins.str]] """ SMTP authentication information. Must be a valid email address """ - smtp_auth_password: NotRequired[pulumi.Input[builtins.str]] + smtp_auth_password: NotRequired[pulumi.Input[_builtins.str]] """ SMTP Auth using LOGIN and PLAIN. """ - smtp_auth_username: NotRequired[pulumi.Input[builtins.str]] + smtp_auth_username: NotRequired[pulumi.Input[_builtins.str]] """ SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. """ - smtp_from: NotRequired[pulumi.Input[builtins.str]] + smtp_from: NotRequired[pulumi.Input[_builtins.str]] """ The default SMTP From header field. Must be a valid email address """ - smtp_smart_host: NotRequired[pulumi.Input[builtins.str]] + smtp_smart_host: NotRequired[pulumi.Input[_builtins.str]] """ The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). """ @@ -2422,23 +2570,23 @@ class ObservabilityInstanceAlertConfigGlobalArgsDict(TypedDict): @pulumi.input_type class ObservabilityInstanceAlertConfigGlobalArgs: def __init__(__self__, *, - opsgenie_api_key: Optional[pulumi.Input[builtins.str]] = None, - opsgenie_api_url: Optional[pulumi.Input[builtins.str]] = None, - resolve_timeout: Optional[pulumi.Input[builtins.str]] = None, - smtp_auth_identity: Optional[pulumi.Input[builtins.str]] = None, - smtp_auth_password: Optional[pulumi.Input[builtins.str]] = None, - smtp_auth_username: Optional[pulumi.Input[builtins.str]] = None, - smtp_from: Optional[pulumi.Input[builtins.str]] = None, - smtp_smart_host: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.str] opsgenie_api_key: The API key for OpsGenie. - :param pulumi.Input[builtins.str] opsgenie_api_url: The host to send OpsGenie API requests to. Must be a valid URL - :param pulumi.Input[builtins.str] resolve_timeout: The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. - :param pulumi.Input[builtins.str] smtp_auth_identity: SMTP authentication information. Must be a valid email address - :param pulumi.Input[builtins.str] smtp_auth_password: SMTP Auth using LOGIN and PLAIN. - :param pulumi.Input[builtins.str] smtp_auth_username: SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. - :param pulumi.Input[builtins.str] smtp_from: The default SMTP From header field. Must be a valid email address - :param pulumi.Input[builtins.str] smtp_smart_host: The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). + opsgenie_api_key: Optional[pulumi.Input[_builtins.str]] = None, + opsgenie_api_url: Optional[pulumi.Input[_builtins.str]] = None, + resolve_timeout: Optional[pulumi.Input[_builtins.str]] = None, + smtp_auth_identity: Optional[pulumi.Input[_builtins.str]] = None, + smtp_auth_password: Optional[pulumi.Input[_builtins.str]] = None, + smtp_auth_username: Optional[pulumi.Input[_builtins.str]] = None, + smtp_from: Optional[pulumi.Input[_builtins.str]] = None, + smtp_smart_host: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] opsgenie_api_key: The API key for OpsGenie. + :param pulumi.Input[_builtins.str] opsgenie_api_url: The host to send OpsGenie API requests to. Must be a valid URL + :param pulumi.Input[_builtins.str] resolve_timeout: The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. + :param pulumi.Input[_builtins.str] smtp_auth_identity: SMTP authentication information. Must be a valid email address + :param pulumi.Input[_builtins.str] smtp_auth_password: SMTP Auth using LOGIN and PLAIN. + :param pulumi.Input[_builtins.str] smtp_auth_username: SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. + :param pulumi.Input[_builtins.str] smtp_from: The default SMTP From header field. Must be a valid email address + :param pulumi.Input[_builtins.str] smtp_smart_host: The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). """ if opsgenie_api_key is not None: pulumi.set(__self__, "opsgenie_api_key", opsgenie_api_key) @@ -2457,106 +2605,106 @@ def __init__(__self__, *, if smtp_smart_host is not None: pulumi.set(__self__, "smtp_smart_host", smtp_smart_host) - @property + @_builtins.property @pulumi.getter(name="opsgenieApiKey") - def opsgenie_api_key(self) -> Optional[pulumi.Input[builtins.str]]: + def opsgenie_api_key(self) -> Optional[pulumi.Input[_builtins.str]]: """ The API key for OpsGenie. """ return pulumi.get(self, "opsgenie_api_key") @opsgenie_api_key.setter - def opsgenie_api_key(self, value: Optional[pulumi.Input[builtins.str]]): + def opsgenie_api_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "opsgenie_api_key", value) - @property + @_builtins.property @pulumi.getter(name="opsgenieApiUrl") - def opsgenie_api_url(self) -> Optional[pulumi.Input[builtins.str]]: + def opsgenie_api_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ The host to send OpsGenie API requests to. Must be a valid URL """ return pulumi.get(self, "opsgenie_api_url") @opsgenie_api_url.setter - def opsgenie_api_url(self, value: Optional[pulumi.Input[builtins.str]]): + def opsgenie_api_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "opsgenie_api_url", value) - @property + @_builtins.property @pulumi.getter(name="resolveTimeout") - def resolve_timeout(self) -> Optional[pulumi.Input[builtins.str]]: + def resolve_timeout(self) -> Optional[pulumi.Input[_builtins.str]]: """ The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. """ return pulumi.get(self, "resolve_timeout") @resolve_timeout.setter - def resolve_timeout(self, value: Optional[pulumi.Input[builtins.str]]): + def resolve_timeout(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "resolve_timeout", value) - @property + @_builtins.property @pulumi.getter(name="smtpAuthIdentity") - def smtp_auth_identity(self) -> Optional[pulumi.Input[builtins.str]]: + def smtp_auth_identity(self) -> Optional[pulumi.Input[_builtins.str]]: """ SMTP authentication information. Must be a valid email address """ return pulumi.get(self, "smtp_auth_identity") @smtp_auth_identity.setter - def smtp_auth_identity(self, value: Optional[pulumi.Input[builtins.str]]): + def smtp_auth_identity(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "smtp_auth_identity", value) - @property + @_builtins.property @pulumi.getter(name="smtpAuthPassword") - def smtp_auth_password(self) -> Optional[pulumi.Input[builtins.str]]: + def smtp_auth_password(self) -> Optional[pulumi.Input[_builtins.str]]: """ SMTP Auth using LOGIN and PLAIN. """ return pulumi.get(self, "smtp_auth_password") @smtp_auth_password.setter - def smtp_auth_password(self, value: Optional[pulumi.Input[builtins.str]]): + def smtp_auth_password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "smtp_auth_password", value) - @property + @_builtins.property @pulumi.getter(name="smtpAuthUsername") - def smtp_auth_username(self) -> Optional[pulumi.Input[builtins.str]]: + def smtp_auth_username(self) -> Optional[pulumi.Input[_builtins.str]]: """ SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. """ return pulumi.get(self, "smtp_auth_username") @smtp_auth_username.setter - def smtp_auth_username(self, value: Optional[pulumi.Input[builtins.str]]): + def smtp_auth_username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "smtp_auth_username", value) - @property + @_builtins.property @pulumi.getter(name="smtpFrom") - def smtp_from(self) -> Optional[pulumi.Input[builtins.str]]: + def smtp_from(self) -> Optional[pulumi.Input[_builtins.str]]: """ The default SMTP From header field. Must be a valid email address """ return pulumi.get(self, "smtp_from") @smtp_from.setter - def smtp_from(self, value: Optional[pulumi.Input[builtins.str]]): + def smtp_from(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "smtp_from", value) - @property + @_builtins.property @pulumi.getter(name="smtpSmartHost") - def smtp_smart_host(self) -> Optional[pulumi.Input[builtins.str]]: + def smtp_smart_host(self) -> Optional[pulumi.Input[_builtins.str]]: """ The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). """ return pulumi.get(self, "smtp_smart_host") @smtp_smart_host.setter - def smtp_smart_host(self, value: Optional[pulumi.Input[builtins.str]]): + def smtp_smart_host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "smtp_smart_host", value) if not MYPY: class ObservabilityInstanceAlertConfigReceiverArgsDict(TypedDict): - name: pulumi.Input[builtins.str] + name: pulumi.Input[_builtins.str] """ Name of the receiver. """ @@ -2578,12 +2726,12 @@ class ObservabilityInstanceAlertConfigReceiverArgsDict(TypedDict): @pulumi.input_type class ObservabilityInstanceAlertConfigReceiverArgs: def __init__(__self__, *, - name: pulumi.Input[builtins.str], + name: pulumi.Input[_builtins.str], email_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverEmailConfigArgs']]]] = None, opsgenie_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs']]]] = None, webhooks_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs']]]] = None): """ - :param pulumi.Input[builtins.str] name: Name of the receiver. + :param pulumi.Input[_builtins.str] name: Name of the receiver. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverEmailConfigArgs']]] email_configs: List of email configurations. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs']]] opsgenie_configs: List of OpsGenie configurations. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs']]] webhooks_configs: List of Webhooks configurations. @@ -2596,19 +2744,19 @@ def __init__(__self__, *, if webhooks_configs is not None: pulumi.set(__self__, "webhooks_configs", webhooks_configs) - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Input[builtins.str]: + def name(self) -> pulumi.Input[_builtins.str]: """ Name of the receiver. """ return pulumi.get(self, "name") @name.setter - def name(self, value: pulumi.Input[builtins.str]): + def name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="emailConfigs") def email_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverEmailConfigArgs']]]]: """ @@ -2620,7 +2768,7 @@ def email_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Observab def email_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverEmailConfigArgs']]]]): pulumi.set(self, "email_configs", value) - @property + @_builtins.property @pulumi.getter(name="opsgenieConfigs") def opsgenie_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs']]]]: """ @@ -2632,7 +2780,7 @@ def opsgenie_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Obser def opsgenie_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs']]]]): pulumi.set(self, "opsgenie_configs", value) - @property + @_builtins.property @pulumi.getter(name="webhooksConfigs") def webhooks_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs']]]]: """ @@ -2647,27 +2795,31 @@ def webhooks_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['O if not MYPY: class ObservabilityInstanceAlertConfigReceiverEmailConfigArgsDict(TypedDict): - auth_identity: NotRequired[pulumi.Input[builtins.str]] + auth_identity: NotRequired[pulumi.Input[_builtins.str]] """ SMTP authentication information. Must be a valid email address """ - auth_password: NotRequired[pulumi.Input[builtins.str]] + auth_password: NotRequired[pulumi.Input[_builtins.str]] """ SMTP authentication password. """ - auth_username: NotRequired[pulumi.Input[builtins.str]] + auth_username: NotRequired[pulumi.Input[_builtins.str]] """ SMTP authentication username. """ - from_: NotRequired[pulumi.Input[builtins.str]] + from_: NotRequired[pulumi.Input[_builtins.str]] """ The sender email address. Must be a valid email address """ - smart_host: NotRequired[pulumi.Input[builtins.str]] + send_resolved: NotRequired[pulumi.Input[_builtins.bool]] + """ + Whether to notify about resolved alerts. + """ + smart_host: NotRequired[pulumi.Input[_builtins.str]] """ The SMTP host through which emails are sent. """ - to: NotRequired[pulumi.Input[builtins.str]] + to: NotRequired[pulumi.Input[_builtins.str]] """ The email address to send notifications to. Must be a valid email address """ @@ -2677,19 +2829,21 @@ class ObservabilityInstanceAlertConfigReceiverEmailConfigArgsDict(TypedDict): @pulumi.input_type class ObservabilityInstanceAlertConfigReceiverEmailConfigArgs: def __init__(__self__, *, - auth_identity: Optional[pulumi.Input[builtins.str]] = None, - auth_password: Optional[pulumi.Input[builtins.str]] = None, - auth_username: Optional[pulumi.Input[builtins.str]] = None, - from_: Optional[pulumi.Input[builtins.str]] = None, - smart_host: Optional[pulumi.Input[builtins.str]] = None, - to: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.str] auth_identity: SMTP authentication information. Must be a valid email address - :param pulumi.Input[builtins.str] auth_password: SMTP authentication password. - :param pulumi.Input[builtins.str] auth_username: SMTP authentication username. - :param pulumi.Input[builtins.str] from_: The sender email address. Must be a valid email address - :param pulumi.Input[builtins.str] smart_host: The SMTP host through which emails are sent. - :param pulumi.Input[builtins.str] to: The email address to send notifications to. Must be a valid email address + auth_identity: Optional[pulumi.Input[_builtins.str]] = None, + auth_password: Optional[pulumi.Input[_builtins.str]] = None, + auth_username: Optional[pulumi.Input[_builtins.str]] = None, + from_: Optional[pulumi.Input[_builtins.str]] = None, + send_resolved: Optional[pulumi.Input[_builtins.bool]] = None, + smart_host: Optional[pulumi.Input[_builtins.str]] = None, + to: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] auth_identity: SMTP authentication information. Must be a valid email address + :param pulumi.Input[_builtins.str] auth_password: SMTP authentication password. + :param pulumi.Input[_builtins.str] auth_username: SMTP authentication username. + :param pulumi.Input[_builtins.str] from_: The sender email address. Must be a valid email address + :param pulumi.Input[_builtins.bool] send_resolved: Whether to notify about resolved alerts. + :param pulumi.Input[_builtins.str] smart_host: The SMTP host through which emails are sent. + :param pulumi.Input[_builtins.str] to: The email address to send notifications to. Must be a valid email address """ if auth_identity is not None: pulumi.set(__self__, "auth_identity", auth_identity) @@ -2699,95 +2853,117 @@ def __init__(__self__, *, pulumi.set(__self__, "auth_username", auth_username) if from_ is not None: pulumi.set(__self__, "from_", from_) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) if smart_host is not None: pulumi.set(__self__, "smart_host", smart_host) if to is not None: pulumi.set(__self__, "to", to) - @property + @_builtins.property @pulumi.getter(name="authIdentity") - def auth_identity(self) -> Optional[pulumi.Input[builtins.str]]: + def auth_identity(self) -> Optional[pulumi.Input[_builtins.str]]: """ SMTP authentication information. Must be a valid email address """ return pulumi.get(self, "auth_identity") @auth_identity.setter - def auth_identity(self, value: Optional[pulumi.Input[builtins.str]]): + def auth_identity(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "auth_identity", value) - @property + @_builtins.property @pulumi.getter(name="authPassword") - def auth_password(self) -> Optional[pulumi.Input[builtins.str]]: + def auth_password(self) -> Optional[pulumi.Input[_builtins.str]]: """ SMTP authentication password. """ return pulumi.get(self, "auth_password") @auth_password.setter - def auth_password(self, value: Optional[pulumi.Input[builtins.str]]): + def auth_password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "auth_password", value) - @property + @_builtins.property @pulumi.getter(name="authUsername") - def auth_username(self) -> Optional[pulumi.Input[builtins.str]]: + def auth_username(self) -> Optional[pulumi.Input[_builtins.str]]: """ SMTP authentication username. """ return pulumi.get(self, "auth_username") @auth_username.setter - def auth_username(self, value: Optional[pulumi.Input[builtins.str]]): + def auth_username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "auth_username", value) - @property + @_builtins.property @pulumi.getter(name="from") - def from_(self) -> Optional[pulumi.Input[builtins.str]]: + def from_(self) -> Optional[pulumi.Input[_builtins.str]]: """ The sender email address. Must be a valid email address """ return pulumi.get(self, "from_") @from_.setter - def from_(self, value: Optional[pulumi.Input[builtins.str]]): + def from_(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "from_", value) - @property + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "send_resolved", value) + + @_builtins.property @pulumi.getter(name="smartHost") - def smart_host(self) -> Optional[pulumi.Input[builtins.str]]: + def smart_host(self) -> Optional[pulumi.Input[_builtins.str]]: """ The SMTP host through which emails are sent. """ return pulumi.get(self, "smart_host") @smart_host.setter - def smart_host(self, value: Optional[pulumi.Input[builtins.str]]): + def smart_host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "smart_host", value) - @property + @_builtins.property @pulumi.getter - def to(self) -> Optional[pulumi.Input[builtins.str]]: + def to(self) -> Optional[pulumi.Input[_builtins.str]]: """ The email address to send notifications to. Must be a valid email address """ return pulumi.get(self, "to") @to.setter - def to(self, value: Optional[pulumi.Input[builtins.str]]): + def to(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "to", value) if not MYPY: class ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgsDict(TypedDict): - api_key: NotRequired[pulumi.Input[builtins.str]] + api_key: NotRequired[pulumi.Input[_builtins.str]] """ The API key for OpsGenie. """ - api_url: NotRequired[pulumi.Input[builtins.str]] + api_url: NotRequired[pulumi.Input[_builtins.str]] """ The host to send OpsGenie API requests to. Must be a valid URL """ - tags: NotRequired[pulumi.Input[builtins.str]] + priority: NotRequired[pulumi.Input[_builtins.str]] + """ + Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + """ + send_resolved: NotRequired[pulumi.Input[_builtins.bool]] + """ + Whether to notify about resolved alerts. + """ + tags: NotRequired[pulumi.Input[_builtins.str]] """ Comma separated list of tags attached to the notifications. """ @@ -2797,65 +2973,105 @@ class ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgsDict(TypedDict): @pulumi.input_type class ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs: def __init__(__self__, *, - api_key: Optional[pulumi.Input[builtins.str]] = None, - api_url: Optional[pulumi.Input[builtins.str]] = None, - tags: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.str] api_key: The API key for OpsGenie. - :param pulumi.Input[builtins.str] api_url: The host to send OpsGenie API requests to. Must be a valid URL - :param pulumi.Input[builtins.str] tags: Comma separated list of tags attached to the notifications. + api_key: Optional[pulumi.Input[_builtins.str]] = None, + api_url: Optional[pulumi.Input[_builtins.str]] = None, + priority: Optional[pulumi.Input[_builtins.str]] = None, + send_resolved: Optional[pulumi.Input[_builtins.bool]] = None, + tags: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] api_key: The API key for OpsGenie. + :param pulumi.Input[_builtins.str] api_url: The host to send OpsGenie API requests to. Must be a valid URL + :param pulumi.Input[_builtins.str] priority: Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + :param pulumi.Input[_builtins.bool] send_resolved: Whether to notify about resolved alerts. + :param pulumi.Input[_builtins.str] tags: Comma separated list of tags attached to the notifications. """ if api_key is not None: pulumi.set(__self__, "api_key", api_key) if api_url is not None: pulumi.set(__self__, "api_url", api_url) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) if tags is not None: pulumi.set(__self__, "tags", tags) - @property + @_builtins.property @pulumi.getter(name="apiKey") - def api_key(self) -> Optional[pulumi.Input[builtins.str]]: + def api_key(self) -> Optional[pulumi.Input[_builtins.str]]: """ The API key for OpsGenie. """ return pulumi.get(self, "api_key") @api_key.setter - def api_key(self, value: Optional[pulumi.Input[builtins.str]]): + def api_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "api_key", value) - @property + @_builtins.property @pulumi.getter(name="apiUrl") - def api_url(self) -> Optional[pulumi.Input[builtins.str]]: + def api_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ The host to send OpsGenie API requests to. Must be a valid URL """ return pulumi.get(self, "api_url") @api_url.setter - def api_url(self, value: Optional[pulumi.Input[builtins.str]]): + def api_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "api_url", value) - @property + @_builtins.property + @pulumi.getter + def priority(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + """ + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "priority", value) + + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "send_resolved", value) + + @_builtins.property @pulumi.getter - def tags(self) -> Optional[pulumi.Input[builtins.str]]: + def tags(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comma separated list of tags attached to the notifications. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[pulumi.Input[builtins.str]]): + def tags(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "tags", value) if not MYPY: class ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgsDict(TypedDict): - ms_teams: NotRequired[pulumi.Input[builtins.bool]] + google_chat: NotRequired[pulumi.Input[_builtins.bool]] + """ + Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + """ + ms_teams: NotRequired[pulumi.Input[_builtins.bool]] """ Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. """ - url: NotRequired[pulumi.Input[builtins.str]] + send_resolved: NotRequired[pulumi.Input[_builtins.bool]] + """ + Whether to notify about resolved alerts. + """ + url: NotRequired[pulumi.Input[_builtins.str]] """ The endpoint to send HTTP POST requests to. Must be a valid URL """ @@ -2865,69 +3081,93 @@ class ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgsDict(TypedDict): @pulumi.input_type class ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs: def __init__(__self__, *, - ms_teams: Optional[pulumi.Input[builtins.bool]] = None, - url: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.bool] ms_teams: Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. - :param pulumi.Input[builtins.str] url: The endpoint to send HTTP POST requests to. Must be a valid URL - """ + google_chat: Optional[pulumi.Input[_builtins.bool]] = None, + ms_teams: Optional[pulumi.Input[_builtins.bool]] = None, + send_resolved: Optional[pulumi.Input[_builtins.bool]] = None, + url: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.bool] google_chat: Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + :param pulumi.Input[_builtins.bool] ms_teams: Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. + :param pulumi.Input[_builtins.bool] send_resolved: Whether to notify about resolved alerts. + :param pulumi.Input[_builtins.str] url: The endpoint to send HTTP POST requests to. Must be a valid URL + """ + if google_chat is not None: + pulumi.set(__self__, "google_chat", google_chat) if ms_teams is not None: pulumi.set(__self__, "ms_teams", ms_teams) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) if url is not None: pulumi.set(__self__, "url", url) - @property + @_builtins.property + @pulumi.getter(name="googleChat") + def google_chat(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + """ + return pulumi.get(self, "google_chat") + + @google_chat.setter + def google_chat(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "google_chat", value) + + @_builtins.property @pulumi.getter(name="msTeams") - def ms_teams(self) -> Optional[pulumi.Input[builtins.bool]]: + def ms_teams(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. """ return pulumi.get(self, "ms_teams") @ms_teams.setter - def ms_teams(self, value: Optional[pulumi.Input[builtins.bool]]): + def ms_teams(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "ms_teams", value) - @property + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @send_resolved.setter + def send_resolved(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "send_resolved", value) + + @_builtins.property @pulumi.getter - def url(self) -> Optional[pulumi.Input[builtins.str]]: + def url(self) -> Optional[pulumi.Input[_builtins.str]]: """ The endpoint to send HTTP POST requests to. Must be a valid URL """ return pulumi.get(self, "url") @url.setter - def url(self, value: Optional[pulumi.Input[builtins.str]]): + def url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "url", value) if not MYPY: class ObservabilityInstanceAlertConfigRouteArgsDict(TypedDict): - receiver: pulumi.Input[builtins.str] + receiver: pulumi.Input[_builtins.str] """ The name of the receiver to route the alerts to. """ - group_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + group_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ - group_interval: NotRequired[pulumi.Input[builtins.str]] + group_interval: NotRequired[pulumi.Input[_builtins.str]] """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ - group_wait: NotRequired[pulumi.Input[builtins.str]] + group_wait: NotRequired[pulumi.Input[_builtins.str]] """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) """ - match: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] - """ - A set of equality matchers an alert has to fulfill to match the node. - """ - match_regex: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] - """ - A set of regex-matchers an alert has to fulfill to match the node. - """ - repeat_interval: NotRequired[pulumi.Input[builtins.str]] + repeat_interval: NotRequired[pulumi.Input[_builtins.str]] """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ @@ -2941,22 +3181,18 @@ class ObservabilityInstanceAlertConfigRouteArgsDict(TypedDict): @pulumi.input_type class ObservabilityInstanceAlertConfigRouteArgs: def __init__(__self__, *, - receiver: pulumi.Input[builtins.str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - group_interval: Optional[pulumi.Input[builtins.str]] = None, - group_wait: Optional[pulumi.Input[builtins.str]] = None, - match: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - match_regex: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - repeat_interval: Optional[pulumi.Input[builtins.str]] = None, + receiver: pulumi.Input[_builtins.str], + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + group_interval: Optional[pulumi.Input[_builtins.str]] = None, + group_wait: Optional[pulumi.Input[_builtins.str]] = None, + repeat_interval: Optional[pulumi.Input[_builtins.str]] = None, routes: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigRouteRouteArgs']]]] = None): """ - :param pulumi.Input[builtins.str] receiver: The name of the receiver to route the alerts to. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - :param pulumi.Input[builtins.str] group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - :param pulumi.Input[builtins.str] group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] match: A set of equality matchers an alert has to fulfill to match the node. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] match_regex: A set of regex-matchers an alert has to fulfill to match the node. - :param pulumi.Input[builtins.str] repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + :param pulumi.Input[_builtins.str] receiver: The name of the receiver to route the alerts to. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + :param pulumi.Input[_builtins.str] group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + :param pulumi.Input[_builtins.str] group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) + :param pulumi.Input[_builtins.str] repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). :param pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigRouteRouteArgs']]] routes: List of child routes. """ pulumi.set(__self__, "receiver", receiver) @@ -2966,100 +3202,72 @@ def __init__(__self__, *, pulumi.set(__self__, "group_interval", group_interval) if group_wait is not None: pulumi.set(__self__, "group_wait", group_wait) - if match is not None: - pulumi.set(__self__, "match", match) - if match_regex is not None: - pulumi.set(__self__, "match_regex", match_regex) if repeat_interval is not None: pulumi.set(__self__, "repeat_interval", repeat_interval) if routes is not None: pulumi.set(__self__, "routes", routes) - @property + @_builtins.property @pulumi.getter - def receiver(self) -> pulumi.Input[builtins.str]: + def receiver(self) -> pulumi.Input[_builtins.str]: """ The name of the receiver to route the alerts to. """ return pulumi.get(self, "receiver") @receiver.setter - def receiver(self, value: pulumi.Input[builtins.str]): + def receiver(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "receiver", value) - @property + @_builtins.property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "group_bies", value) - @property + @_builtins.property @pulumi.getter(name="groupInterval") - def group_interval(self) -> Optional[pulumi.Input[builtins.str]]: + def group_interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ return pulumi.get(self, "group_interval") @group_interval.setter - def group_interval(self, value: Optional[pulumi.Input[builtins.str]]): + def group_interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "group_interval", value) - @property + @_builtins.property @pulumi.getter(name="groupWait") - def group_wait(self) -> Optional[pulumi.Input[builtins.str]]: + def group_wait(self) -> Optional[pulumi.Input[_builtins.str]]: """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) """ return pulumi.get(self, "group_wait") @group_wait.setter - def group_wait(self, value: Optional[pulumi.Input[builtins.str]]): + def group_wait(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "group_wait", value) - @property - @pulumi.getter - def match(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: - """ - A set of equality matchers an alert has to fulfill to match the node. - """ - return pulumi.get(self, "match") - - @match.setter - def match(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): - pulumi.set(self, "match", value) - - @property - @pulumi.getter(name="matchRegex") - def match_regex(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: - """ - A set of regex-matchers an alert has to fulfill to match the node. - """ - return pulumi.get(self, "match_regex") - - @match_regex.setter - def match_regex(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): - pulumi.set(self, "match_regex", value) - - @property + @_builtins.property @pulumi.getter(name="repeatInterval") - def repeat_interval(self) -> Optional[pulumi.Input[builtins.str]]: + def repeat_interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ return pulumi.get(self, "repeat_interval") @repeat_interval.setter - def repeat_interval(self, value: Optional[pulumi.Input[builtins.str]]): + def repeat_interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "repeat_interval", value) - @property + @_builtins.property @pulumi.getter def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityInstanceAlertConfigRouteRouteArgs']]]]: """ @@ -3074,31 +3282,39 @@ def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Observabili if not MYPY: class ObservabilityInstanceAlertConfigRouteRouteArgsDict(TypedDict): - receiver: pulumi.Input[builtins.str] + receiver: pulumi.Input[_builtins.str] """ The name of the receiver to route the alerts to. """ - group_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + continue_: NotRequired[pulumi.Input[_builtins.bool]] + """ + Whether an alert should continue matching subsequent sibling nodes. + """ + group_bies: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ - group_interval: NotRequired[pulumi.Input[builtins.str]] + group_interval: NotRequired[pulumi.Input[_builtins.str]] """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ - group_wait: NotRequired[pulumi.Input[builtins.str]] + group_wait: NotRequired[pulumi.Input[_builtins.str]] """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) """ - match: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + match: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] + """ + A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + """ + match_regex: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ - A set of equality matchers an alert has to fulfill to match the node. + A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead """ - match_regex: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + matchers: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ - A set of regex-matchers an alert has to fulfill to match the node. + A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. """ - repeat_interval: NotRequired[pulumi.Input[builtins.str]] + repeat_interval: NotRequired[pulumi.Input[_builtins.str]] """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ @@ -3108,140 +3324,180 @@ class ObservabilityInstanceAlertConfigRouteRouteArgsDict(TypedDict): @pulumi.input_type class ObservabilityInstanceAlertConfigRouteRouteArgs: def __init__(__self__, *, - receiver: pulumi.Input[builtins.str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - group_interval: Optional[pulumi.Input[builtins.str]] = None, - group_wait: Optional[pulumi.Input[builtins.str]] = None, - match: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - match_regex: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - repeat_interval: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.str] receiver: The name of the receiver to route the alerts to. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - :param pulumi.Input[builtins.str] group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - :param pulumi.Input[builtins.str] group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] match: A set of equality matchers an alert has to fulfill to match the node. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] match_regex: A set of regex-matchers an alert has to fulfill to match the node. - :param pulumi.Input[builtins.str] repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + receiver: pulumi.Input[_builtins.str], + continue_: Optional[pulumi.Input[_builtins.bool]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + group_interval: Optional[pulumi.Input[_builtins.str]] = None, + group_wait: Optional[pulumi.Input[_builtins.str]] = None, + match: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + match_regex: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + matchers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + repeat_interval: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] receiver: The name of the receiver to route the alerts to. + :param pulumi.Input[_builtins.bool] continue_: Whether an alert should continue matching subsequent sibling nodes. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + :param pulumi.Input[_builtins.str] group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + :param pulumi.Input[_builtins.str] group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] match: A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] match_regex: A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] matchers: A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + :param pulumi.Input[_builtins.str] repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ pulumi.set(__self__, "receiver", receiver) + if continue_ is not None: + pulumi.set(__self__, "continue_", continue_) if group_bies is not None: pulumi.set(__self__, "group_bies", group_bies) if group_interval is not None: pulumi.set(__self__, "group_interval", group_interval) if group_wait is not None: pulumi.set(__self__, "group_wait", group_wait) + if match is not None: + warnings.warn("""Use `matchers` in the `routes` instead.""", DeprecationWarning) + pulumi.log.warn("""match is deprecated: Use `matchers` in the `routes` instead.""") if match is not None: pulumi.set(__self__, "match", match) + if match_regex is not None: + warnings.warn("""Use `matchers` in the `routes` instead.""", DeprecationWarning) + pulumi.log.warn("""match_regex is deprecated: Use `matchers` in the `routes` instead.""") if match_regex is not None: pulumi.set(__self__, "match_regex", match_regex) + if matchers is not None: + pulumi.set(__self__, "matchers", matchers) if repeat_interval is not None: pulumi.set(__self__, "repeat_interval", repeat_interval) - @property + @_builtins.property @pulumi.getter - def receiver(self) -> pulumi.Input[builtins.str]: + def receiver(self) -> pulumi.Input[_builtins.str]: """ The name of the receiver to route the alerts to. """ return pulumi.get(self, "receiver") @receiver.setter - def receiver(self, value: pulumi.Input[builtins.str]): + def receiver(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "receiver", value) - @property + @_builtins.property + @pulumi.getter(name="continue") + def continue_(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + Whether an alert should continue matching subsequent sibling nodes. + """ + return pulumi.get(self, "continue_") + + @continue_.setter + def continue_(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "continue_", value) + + @_builtins.property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "group_bies", value) - @property + @_builtins.property @pulumi.getter(name="groupInterval") - def group_interval(self) -> Optional[pulumi.Input[builtins.str]]: + def group_interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ return pulumi.get(self, "group_interval") @group_interval.setter - def group_interval(self, value: Optional[pulumi.Input[builtins.str]]): + def group_interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "group_interval", value) - @property + @_builtins.property @pulumi.getter(name="groupWait") - def group_wait(self) -> Optional[pulumi.Input[builtins.str]]: + def group_wait(self) -> Optional[pulumi.Input[_builtins.str]]: """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) """ return pulumi.get(self, "group_wait") @group_wait.setter - def group_wait(self, value: Optional[pulumi.Input[builtins.str]]): + def group_wait(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "group_wait", value) - @property + @_builtins.property @pulumi.getter - def match(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + @_utilities.deprecated("""Use `matchers` in the `routes` instead.""") + def match(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ - A set of equality matchers an alert has to fulfill to match the node. + A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead """ return pulumi.get(self, "match") @match.setter - def match(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def match(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "match", value) - @property + @_builtins.property @pulumi.getter(name="matchRegex") - def match_regex(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + @_utilities.deprecated("""Use `matchers` in the `routes` instead.""") + def match_regex(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ - A set of regex-matchers an alert has to fulfill to match the node. + A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead """ return pulumi.get(self, "match_regex") @match_regex.setter - def match_regex(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def match_regex(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "match_regex", value) - @property + @_builtins.property + @pulumi.getter + def matchers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: + """ + A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + """ + return pulumi.get(self, "matchers") + + @matchers.setter + def matchers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "matchers", value) + + @_builtins.property @pulumi.getter(name="repeatInterval") - def repeat_interval(self) -> Optional[pulumi.Input[builtins.str]]: + def repeat_interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ return pulumi.get(self, "repeat_interval") @repeat_interval.setter - def repeat_interval(self, value: Optional[pulumi.Input[builtins.str]]): + def repeat_interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "repeat_interval", value) if not MYPY: class ObservabilityLogalertgroupRuleArgsDict(TypedDict): - alert: pulumi.Input[builtins.str] + alert: pulumi.Input[_builtins.str] """ The name of the alert rule. Is the identifier and must be unique in the group. """ - expression: pulumi.Input[builtins.str] + expression: pulumi.Input[_builtins.str] """ The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ - annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ A map of key:value. Annotations to add or overwrite for each alert """ - for_: NotRequired[pulumi.Input[builtins.str]] + for_: NotRequired[pulumi.Input[_builtins.str]] """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ - labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ A map of key:value. Labels to add or overwrite for each alert """ @@ -3251,17 +3507,17 @@ class ObservabilityLogalertgroupRuleArgsDict(TypedDict): @pulumi.input_type class ObservabilityLogalertgroupRuleArgs: def __init__(__self__, *, - alert: pulumi.Input[builtins.str], - expression: pulumi.Input[builtins.str], - annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - for_: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None): - """ - :param pulumi.Input[builtins.str] alert: The name of the alert rule. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] expression: The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: A map of key:value. Annotations to add or overwrite for each alert - :param pulumi.Input[builtins.str] for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key:value. Labels to add or overwrite for each alert + alert: pulumi.Input[_builtins.str], + expression: pulumi.Input[_builtins.str], + annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + for_: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.str] alert: The name of the alert rule. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] expression: The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: A map of key:value. Annotations to add or overwrite for each alert + :param pulumi.Input[_builtins.str] for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of key:value. Labels to add or overwrite for each alert """ pulumi.set(__self__, "alert", alert) pulumi.set(__self__, "expression", expression) @@ -3272,74 +3528,74 @@ def __init__(__self__, *, if labels is not None: pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def alert(self) -> pulumi.Input[builtins.str]: + def alert(self) -> pulumi.Input[_builtins.str]: """ The name of the alert rule. Is the identifier and must be unique in the group. """ return pulumi.get(self, "alert") @alert.setter - def alert(self, value: pulumi.Input[builtins.str]): + def alert(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "alert", value) - @property + @_builtins.property @pulumi.getter - def expression(self) -> pulumi.Input[builtins.str]: + def expression(self) -> pulumi.Input[_builtins.str]: """ The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ return pulumi.get(self, "expression") @expression.setter - def expression(self, value: pulumi.Input[builtins.str]): + def expression(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "expression", value) - @property + @_builtins.property @pulumi.getter - def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of key:value. Annotations to add or overwrite for each alert """ return pulumi.get(self, "annotations") @annotations.setter - def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "annotations", value) - @property + @_builtins.property @pulumi.getter(name="for") - def for_(self) -> Optional[pulumi.Input[builtins.str]]: + def for_(self) -> Optional[pulumi.Input[_builtins.str]]: """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ return pulumi.get(self, "for_") @for_.setter - def for_(self, value: Optional[pulumi.Input[builtins.str]]): + def for_(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "for_", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of key:value. Labels to add or overwrite for each alert """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) if not MYPY: class ObservabilityScrapeconfigBasicAuthArgsDict(TypedDict): - password: pulumi.Input[builtins.str] + password: pulumi.Input[_builtins.str] """ Specifies basic auth password. """ - username: pulumi.Input[builtins.str] + username: pulumi.Input[_builtins.str] """ Specifies basic auth username. """ @@ -3349,43 +3605,43 @@ class ObservabilityScrapeconfigBasicAuthArgsDict(TypedDict): @pulumi.input_type class ObservabilityScrapeconfigBasicAuthArgs: def __init__(__self__, *, - password: pulumi.Input[builtins.str], - username: pulumi.Input[builtins.str]): + password: pulumi.Input[_builtins.str], + username: pulumi.Input[_builtins.str]): """ - :param pulumi.Input[builtins.str] password: Specifies basic auth password. - :param pulumi.Input[builtins.str] username: Specifies basic auth username. + :param pulumi.Input[_builtins.str] password: Specifies basic auth password. + :param pulumi.Input[_builtins.str] username: Specifies basic auth username. """ pulumi.set(__self__, "password", password) pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Input[builtins.str]: + def password(self) -> pulumi.Input[_builtins.str]: """ Specifies basic auth password. """ return pulumi.get(self, "password") @password.setter - def password(self, value: pulumi.Input[builtins.str]): + def password(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Input[builtins.str]: + def username(self) -> pulumi.Input[_builtins.str]: """ Specifies basic auth username. """ return pulumi.get(self, "username") @username.setter - def username(self, value: pulumi.Input[builtins.str]): + def username(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "username", value) if not MYPY: class ObservabilityScrapeconfigSaml2ArgsDict(TypedDict): - enable_url_parameters: NotRequired[pulumi.Input[builtins.bool]] + enable_url_parameters: NotRequired[pulumi.Input[_builtins.bool]] """ Specifies if URL parameters are enabled. Defaults to `true` """ @@ -3395,33 +3651,33 @@ class ObservabilityScrapeconfigSaml2ArgsDict(TypedDict): @pulumi.input_type class ObservabilityScrapeconfigSaml2Args: def __init__(__self__, *, - enable_url_parameters: Optional[pulumi.Input[builtins.bool]] = None): + enable_url_parameters: Optional[pulumi.Input[_builtins.bool]] = None): """ - :param pulumi.Input[builtins.bool] enable_url_parameters: Specifies if URL parameters are enabled. Defaults to `true` + :param pulumi.Input[_builtins.bool] enable_url_parameters: Specifies if URL parameters are enabled. Defaults to `true` """ if enable_url_parameters is not None: pulumi.set(__self__, "enable_url_parameters", enable_url_parameters) - @property + @_builtins.property @pulumi.getter(name="enableUrlParameters") - def enable_url_parameters(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_url_parameters(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Specifies if URL parameters are enabled. Defaults to `true` """ return pulumi.get(self, "enable_url_parameters") @enable_url_parameters.setter - def enable_url_parameters(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_url_parameters(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_url_parameters", value) if not MYPY: class ObservabilityScrapeconfigTargetArgsDict(TypedDict): - urls: pulumi.Input[Sequence[pulumi.Input[builtins.str]]] + urls: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] """ Specifies target URLs. """ - labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ Specifies labels. """ @@ -3431,96 +3687,96 @@ class ObservabilityScrapeconfigTargetArgsDict(TypedDict): @pulumi.input_type class ObservabilityScrapeconfigTargetArgs: def __init__(__self__, *, - urls: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None): + urls: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] urls: Specifies target URLs. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Specifies labels. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] urls: Specifies target URLs. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Specifies labels. """ pulumi.set(__self__, "urls", urls) if labels is not None: pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def urls(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def urls(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ Specifies target URLs. """ return pulumi.get(self, "urls") @urls.setter - def urls(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def urls(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "urls", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Specifies labels. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) if not MYPY: class OpensearchInstanceParametersArgsDict(TypedDict): - enable_monitoring: NotRequired[pulumi.Input[builtins.bool]] + enable_monitoring: NotRequired[pulumi.Input[_builtins.bool]] """ Enable monitoring. """ - graphite: NotRequired[pulumi.Input[builtins.str]] + graphite: NotRequired[pulumi.Input[_builtins.str]] """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ - java_garbage_collector: NotRequired[pulumi.Input[builtins.str]] + java_garbage_collector: NotRequired[pulumi.Input[_builtins.str]] """ The garbage collector to use for OpenSearch. """ - java_heapspace: NotRequired[pulumi.Input[builtins.int]] + java_heapspace: NotRequired[pulumi.Input[_builtins.int]] """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ - java_maxmetaspace: NotRequired[pulumi.Input[builtins.int]] + java_maxmetaspace: NotRequired[pulumi.Input[_builtins.int]] """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ - max_disk_threshold: NotRequired[pulumi.Input[builtins.int]] + max_disk_threshold: NotRequired[pulumi.Input[_builtins.int]] """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ - metrics_frequency: NotRequired[pulumi.Input[builtins.int]] + metrics_frequency: NotRequired[pulumi.Input[_builtins.int]] """ The frequency in seconds at which metrics are emitted (in seconds). """ - metrics_prefix: NotRequired[pulumi.Input[builtins.str]] + metrics_prefix: NotRequired[pulumi.Input[_builtins.str]] """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ - monitoring_instance_id: NotRequired[pulumi.Input[builtins.str]] + monitoring_instance_id: NotRequired[pulumi.Input[_builtins.str]] """ The ID of the STACKIT monitoring instance. """ - plugins: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + plugins: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. """ - sgw_acl: NotRequired[pulumi.Input[builtins.str]] + sgw_acl: NotRequired[pulumi.Input[_builtins.str]] """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ - syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of syslog servers to send logs to. """ - tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of TLS ciphers to use. """ - tls_protocols: NotRequired[pulumi.Input[builtins.str]] + tls_protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ The TLS protocol to use. """ @@ -3530,35 +3786,35 @@ class OpensearchInstanceParametersArgsDict(TypedDict): @pulumi.input_type class OpensearchInstanceParametersArgs: def __init__(__self__, *, - enable_monitoring: Optional[pulumi.Input[builtins.bool]] = None, - graphite: Optional[pulumi.Input[builtins.str]] = None, - java_garbage_collector: Optional[pulumi.Input[builtins.str]] = None, - java_heapspace: Optional[pulumi.Input[builtins.int]] = None, - java_maxmetaspace: Optional[pulumi.Input[builtins.int]] = None, - max_disk_threshold: Optional[pulumi.Input[builtins.int]] = None, - metrics_frequency: Optional[pulumi.Input[builtins.int]] = None, - metrics_prefix: Optional[pulumi.Input[builtins.str]] = None, - monitoring_instance_id: Optional[pulumi.Input[builtins.str]] = None, - plugins: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - sgw_acl: Optional[pulumi.Input[builtins.str]] = None, - syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - tls_protocols: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.bool] enable_monitoring: Enable monitoring. - :param pulumi.Input[builtins.str] graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - :param pulumi.Input[builtins.str] java_garbage_collector: The garbage collector to use for OpenSearch. - :param pulumi.Input[builtins.int] java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - :param pulumi.Input[builtins.int] java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - :param pulumi.Input[builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param pulumi.Input[builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). - :param pulumi.Input[builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - :param pulumi.Input[builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] plugins: List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. - :param pulumi.Input[builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] syslogs: List of syslog servers to send logs to. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tls_ciphers: List of TLS ciphers to use. - :param pulumi.Input[builtins.str] tls_protocols: The TLS protocol to use. + enable_monitoring: Optional[pulumi.Input[_builtins.bool]] = None, + graphite: Optional[pulumi.Input[_builtins.str]] = None, + java_garbage_collector: Optional[pulumi.Input[_builtins.str]] = None, + java_heapspace: Optional[pulumi.Input[_builtins.int]] = None, + java_maxmetaspace: Optional[pulumi.Input[_builtins.int]] = None, + max_disk_threshold: Optional[pulumi.Input[_builtins.int]] = None, + metrics_frequency: Optional[pulumi.Input[_builtins.int]] = None, + metrics_prefix: Optional[pulumi.Input[_builtins.str]] = None, + monitoring_instance_id: Optional[pulumi.Input[_builtins.str]] = None, + plugins: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + sgw_acl: Optional[pulumi.Input[_builtins.str]] = None, + syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + tls_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.bool] enable_monitoring: Enable monitoring. + :param pulumi.Input[_builtins.str] graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + :param pulumi.Input[_builtins.str] java_garbage_collector: The garbage collector to use for OpenSearch. + :param pulumi.Input[_builtins.int] java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + :param pulumi.Input[_builtins.int] java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + :param pulumi.Input[_builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param pulumi.Input[_builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). + :param pulumi.Input[_builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + :param pulumi.Input[_builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] plugins: List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. + :param pulumi.Input[_builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] syslogs: List of syslog servers to send logs to. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tls_ciphers: List of TLS ciphers to use. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tls_protocols: The TLS protocol to use. """ if enable_monitoring is not None: pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -3589,191 +3845,191 @@ def __init__(__self__, *, if tls_protocols is not None: pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") @enable_monitoring.setter - def enable_monitoring(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_monitoring", value) - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[pulumi.Input[builtins.str]]: + def graphite(self) -> Optional[pulumi.Input[_builtins.str]]: """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ return pulumi.get(self, "graphite") @graphite.setter - def graphite(self, value: Optional[pulumi.Input[builtins.str]]): + def graphite(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "graphite", value) - @property + @_builtins.property @pulumi.getter(name="javaGarbageCollector") - def java_garbage_collector(self) -> Optional[pulumi.Input[builtins.str]]: + def java_garbage_collector(self) -> Optional[pulumi.Input[_builtins.str]]: """ The garbage collector to use for OpenSearch. """ return pulumi.get(self, "java_garbage_collector") @java_garbage_collector.setter - def java_garbage_collector(self, value: Optional[pulumi.Input[builtins.str]]): + def java_garbage_collector(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "java_garbage_collector", value) - @property + @_builtins.property @pulumi.getter(name="javaHeapspace") - def java_heapspace(self) -> Optional[pulumi.Input[builtins.int]]: + def java_heapspace(self) -> Optional[pulumi.Input[_builtins.int]]: """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ return pulumi.get(self, "java_heapspace") @java_heapspace.setter - def java_heapspace(self, value: Optional[pulumi.Input[builtins.int]]): + def java_heapspace(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "java_heapspace", value) - @property + @_builtins.property @pulumi.getter(name="javaMaxmetaspace") - def java_maxmetaspace(self) -> Optional[pulumi.Input[builtins.int]]: + def java_maxmetaspace(self) -> Optional[pulumi.Input[_builtins.int]]: """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ return pulumi.get(self, "java_maxmetaspace") @java_maxmetaspace.setter - def java_maxmetaspace(self, value: Optional[pulumi.Input[builtins.int]]): + def java_maxmetaspace(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "java_maxmetaspace", value) - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[pulumi.Input[builtins.int]]: + def max_disk_threshold(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") @max_disk_threshold.setter - def max_disk_threshold(self, value: Optional[pulumi.Input[builtins.int]]): + def max_disk_threshold(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_disk_threshold", value) - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_frequency(self) -> Optional[pulumi.Input[_builtins.int]]: """ The frequency in seconds at which metrics are emitted (in seconds). """ return pulumi.get(self, "metrics_frequency") @metrics_frequency.setter - def metrics_frequency(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_frequency(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_frequency", value) - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ return pulumi.get(self, "metrics_prefix") @metrics_prefix.setter - def metrics_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_prefix", value) - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def monitoring_instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") @monitoring_instance_id.setter - def monitoring_instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def monitoring_instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "monitoring_instance_id", value) - @property + @_builtins.property @pulumi.getter - def plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. """ return pulumi.get(self, "plugins") @plugins.setter - def plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "plugins", value) - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[pulumi.Input[builtins.str]]: + def sgw_acl(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") @sgw_acl.setter - def sgw_acl(self, value: Optional[pulumi.Input[builtins.str]]): + def sgw_acl(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "sgw_acl", value) - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") @syslogs.setter - def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "syslogs", value) - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") @tls_ciphers.setter - def tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "tls_ciphers", value) - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> Optional[pulumi.Input[builtins.str]]: + def tls_protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The TLS protocol to use. """ return pulumi.get(self, "tls_protocols") @tls_protocols.setter - def tls_protocols(self, value: Optional[pulumi.Input[builtins.str]]): + def tls_protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "tls_protocols", value) if not MYPY: class PostgresflexInstanceFlavorArgsDict(TypedDict): - cpu: pulumi.Input[builtins.int] - ram: pulumi.Input[builtins.int] - description: NotRequired[pulumi.Input[builtins.str]] - id: NotRequired[pulumi.Input[builtins.str]] + cpu: pulumi.Input[_builtins.int] + ram: pulumi.Input[_builtins.int] + description: NotRequired[pulumi.Input[_builtins.str]] + id: NotRequired[pulumi.Input[_builtins.str]] elif False: PostgresflexInstanceFlavorArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class PostgresflexInstanceFlavorArgs: def __init__(__self__, *, - cpu: pulumi.Input[builtins.int], - ram: pulumi.Input[builtins.int], - description: Optional[pulumi.Input[builtins.str]] = None, - id: Optional[pulumi.Input[builtins.str]] = None): + cpu: pulumi.Input[_builtins.int], + ram: pulumi.Input[_builtins.int], + description: Optional[pulumi.Input[_builtins.str]] = None, + id: Optional[pulumi.Input[_builtins.str]] = None): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "ram", ram) if description is not None: @@ -3781,128 +4037,128 @@ def __init__(__self__, *, if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> pulumi.Input[builtins.int]: + def cpu(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "cpu") @cpu.setter - def cpu(self, value: pulumi.Input[builtins.int]): + def cpu(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "cpu", value) - @property + @_builtins.property @pulumi.getter - def ram(self) -> pulumi.Input[builtins.int]: + def ram(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "ram") @ram.setter - def ram(self, value: pulumi.Input[builtins.int]): + def ram(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "ram", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[pulumi.Input[builtins.str]]: + def id(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[builtins.str]]): + def id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "id", value) if not MYPY: class PostgresflexInstanceStorageArgsDict(TypedDict): - class_: pulumi.Input[builtins.str] - size: pulumi.Input[builtins.int] + class_: pulumi.Input[_builtins.str] + size: pulumi.Input[_builtins.int] elif False: PostgresflexInstanceStorageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class PostgresflexInstanceStorageArgs: def __init__(__self__, *, - class_: pulumi.Input[builtins.str], - size: pulumi.Input[builtins.int]): + class_: pulumi.Input[_builtins.str], + size: pulumi.Input[_builtins.int]): pulumi.set(__self__, "class_", class_) pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> pulumi.Input[builtins.str]: + def class_(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "class_") @class_.setter - def class_(self, value: pulumi.Input[builtins.str]): + def class_(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "class_", value) - @property + @_builtins.property @pulumi.getter - def size(self) -> pulumi.Input[builtins.int]: + def size(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "size") @size.setter - def size(self, value: pulumi.Input[builtins.int]): + def size(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "size", value) if not MYPY: class RabbitmqInstanceParametersArgsDict(TypedDict): - consumer_timeout: NotRequired[pulumi.Input[builtins.int]] + consumer_timeout: NotRequired[pulumi.Input[_builtins.int]] """ The timeout in milliseconds for the consumer. """ - enable_monitoring: NotRequired[pulumi.Input[builtins.bool]] + enable_monitoring: NotRequired[pulumi.Input[_builtins.bool]] """ Enable monitoring. """ - graphite: NotRequired[pulumi.Input[builtins.str]] + graphite: NotRequired[pulumi.Input[_builtins.str]] """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ - max_disk_threshold: NotRequired[pulumi.Input[builtins.int]] + max_disk_threshold: NotRequired[pulumi.Input[_builtins.int]] """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ - metrics_frequency: NotRequired[pulumi.Input[builtins.int]] + metrics_frequency: NotRequired[pulumi.Input[_builtins.int]] """ The frequency in seconds at which metrics are emitted. """ - metrics_prefix: NotRequired[pulumi.Input[builtins.str]] + metrics_prefix: NotRequired[pulumi.Input[_builtins.str]] """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ - monitoring_instance_id: NotRequired[pulumi.Input[builtins.str]] + monitoring_instance_id: NotRequired[pulumi.Input[_builtins.str]] """ The ID of the STACKIT monitoring instance. """ - plugins: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + plugins: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of plugins to install. Must be a supported plugin name. """ - roles: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + roles: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of roles to assign to the instance. """ - sgw_acl: NotRequired[pulumi.Input[builtins.str]] + sgw_acl: NotRequired[pulumi.Input[_builtins.str]] """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ - syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of syslog servers to send logs to. """ - tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of TLS ciphers to use. """ - tls_protocols: NotRequired[pulumi.Input[builtins.str]] + tls_protocols: NotRequired[pulumi.Input[_builtins.str]] """ TLS protocol to use. """ @@ -3912,33 +4168,33 @@ class RabbitmqInstanceParametersArgsDict(TypedDict): @pulumi.input_type class RabbitmqInstanceParametersArgs: def __init__(__self__, *, - consumer_timeout: Optional[pulumi.Input[builtins.int]] = None, - enable_monitoring: Optional[pulumi.Input[builtins.bool]] = None, - graphite: Optional[pulumi.Input[builtins.str]] = None, - max_disk_threshold: Optional[pulumi.Input[builtins.int]] = None, - metrics_frequency: Optional[pulumi.Input[builtins.int]] = None, - metrics_prefix: Optional[pulumi.Input[builtins.str]] = None, - monitoring_instance_id: Optional[pulumi.Input[builtins.str]] = None, - plugins: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - sgw_acl: Optional[pulumi.Input[builtins.str]] = None, - syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - tls_protocols: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.int] consumer_timeout: The timeout in milliseconds for the consumer. - :param pulumi.Input[builtins.bool] enable_monitoring: Enable monitoring. - :param pulumi.Input[builtins.str] graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param pulumi.Input[builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param pulumi.Input[builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted. - :param pulumi.Input[builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param pulumi.Input[builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] plugins: List of plugins to install. Must be a supported plugin name. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: List of roles to assign to the instance. - :param pulumi.Input[builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] syslogs: List of syslog servers to send logs to. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tls_ciphers: List of TLS ciphers to use. - :param pulumi.Input[builtins.str] tls_protocols: TLS protocol to use. + consumer_timeout: Optional[pulumi.Input[_builtins.int]] = None, + enable_monitoring: Optional[pulumi.Input[_builtins.bool]] = None, + graphite: Optional[pulumi.Input[_builtins.str]] = None, + max_disk_threshold: Optional[pulumi.Input[_builtins.int]] = None, + metrics_frequency: Optional[pulumi.Input[_builtins.int]] = None, + metrics_prefix: Optional[pulumi.Input[_builtins.str]] = None, + monitoring_instance_id: Optional[pulumi.Input[_builtins.str]] = None, + plugins: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + sgw_acl: Optional[pulumi.Input[_builtins.str]] = None, + syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + tls_protocols: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.int] consumer_timeout: The timeout in milliseconds for the consumer. + :param pulumi.Input[_builtins.bool] enable_monitoring: Enable monitoring. + :param pulumi.Input[_builtins.str] graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param pulumi.Input[_builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param pulumi.Input[_builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted. + :param pulumi.Input[_builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param pulumi.Input[_builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] plugins: List of plugins to install. Must be a supported plugin name. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: List of roles to assign to the instance. + :param pulumi.Input[_builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] syslogs: List of syslog servers to send logs to. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tls_ciphers: List of TLS ciphers to use. + :param pulumi.Input[_builtins.str] tls_protocols: TLS protocol to use. """ if consumer_timeout is not None: pulumi.set(__self__, "consumer_timeout", consumer_timeout) @@ -3967,250 +4223,250 @@ def __init__(__self__, *, if tls_protocols is not None: pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="consumerTimeout") - def consumer_timeout(self) -> Optional[pulumi.Input[builtins.int]]: + def consumer_timeout(self) -> Optional[pulumi.Input[_builtins.int]]: """ The timeout in milliseconds for the consumer. """ return pulumi.get(self, "consumer_timeout") @consumer_timeout.setter - def consumer_timeout(self, value: Optional[pulumi.Input[builtins.int]]): + def consumer_timeout(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "consumer_timeout", value) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") @enable_monitoring.setter - def enable_monitoring(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_monitoring", value) - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[pulumi.Input[builtins.str]]: + def graphite(self) -> Optional[pulumi.Input[_builtins.str]]: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") @graphite.setter - def graphite(self, value: Optional[pulumi.Input[builtins.str]]): + def graphite(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "graphite", value) - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[pulumi.Input[builtins.int]]: + def max_disk_threshold(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") @max_disk_threshold.setter - def max_disk_threshold(self, value: Optional[pulumi.Input[builtins.int]]): + def max_disk_threshold(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_disk_threshold", value) - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_frequency(self) -> Optional[pulumi.Input[_builtins.int]]: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") @metrics_frequency.setter - def metrics_frequency(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_frequency(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_frequency", value) - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") @metrics_prefix.setter - def metrics_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_prefix", value) - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def monitoring_instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") @monitoring_instance_id.setter - def monitoring_instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def monitoring_instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "monitoring_instance_id", value) - @property + @_builtins.property @pulumi.getter - def plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def plugins(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of plugins to install. Must be a supported plugin name. """ return pulumi.get(self, "plugins") @plugins.setter - def plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def plugins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "plugins", value) - @property + @_builtins.property @pulumi.getter - def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of roles to assign to the instance. """ return pulumi.get(self, "roles") @roles.setter - def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "roles", value) - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[pulumi.Input[builtins.str]]: + def sgw_acl(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") @sgw_acl.setter - def sgw_acl(self, value: Optional[pulumi.Input[builtins.str]]): + def sgw_acl(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "sgw_acl", value) - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") @syslogs.setter - def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "syslogs", value) - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") @tls_ciphers.setter - def tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "tls_ciphers", value) - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> Optional[pulumi.Input[builtins.str]]: + def tls_protocols(self) -> Optional[pulumi.Input[_builtins.str]]: """ TLS protocol to use. """ return pulumi.get(self, "tls_protocols") @tls_protocols.setter - def tls_protocols(self, value: Optional[pulumi.Input[builtins.str]]): + def tls_protocols(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "tls_protocols", value) if not MYPY: class RedisInstanceParametersArgsDict(TypedDict): - down_after_milliseconds: NotRequired[pulumi.Input[builtins.int]] + down_after_milliseconds: NotRequired[pulumi.Input[_builtins.int]] """ The number of milliseconds after which the instance is considered down. """ - enable_monitoring: NotRequired[pulumi.Input[builtins.bool]] + enable_monitoring: NotRequired[pulumi.Input[_builtins.bool]] """ Enable monitoring. """ - failover_timeout: NotRequired[pulumi.Input[builtins.int]] + failover_timeout: NotRequired[pulumi.Input[_builtins.int]] """ The failover timeout in milliseconds. """ - graphite: NotRequired[pulumi.Input[builtins.str]] + graphite: NotRequired[pulumi.Input[_builtins.str]] """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ - lazyfree_lazy_eviction: NotRequired[pulumi.Input[builtins.str]] + lazyfree_lazy_eviction: NotRequired[pulumi.Input[_builtins.str]] """ The lazy eviction enablement (yes or no). """ - lazyfree_lazy_expire: NotRequired[pulumi.Input[builtins.str]] + lazyfree_lazy_expire: NotRequired[pulumi.Input[_builtins.str]] """ The lazy expire enablement (yes or no). """ - lua_time_limit: NotRequired[pulumi.Input[builtins.int]] + lua_time_limit: NotRequired[pulumi.Input[_builtins.int]] """ The Lua time limit. """ - max_disk_threshold: NotRequired[pulumi.Input[builtins.int]] + max_disk_threshold: NotRequired[pulumi.Input[_builtins.int]] """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ - maxclients: NotRequired[pulumi.Input[builtins.int]] + maxclients: NotRequired[pulumi.Input[_builtins.int]] """ The maximum number of clients. """ - maxmemory_policy: NotRequired[pulumi.Input[builtins.str]] + maxmemory_policy: NotRequired[pulumi.Input[_builtins.str]] """ The policy to handle the maximum memory (volatile-lru, noeviction, etc). """ - maxmemory_samples: NotRequired[pulumi.Input[builtins.int]] + maxmemory_samples: NotRequired[pulumi.Input[_builtins.int]] """ The maximum memory samples. """ - metrics_frequency: NotRequired[pulumi.Input[builtins.int]] + metrics_frequency: NotRequired[pulumi.Input[_builtins.int]] """ The frequency in seconds at which metrics are emitted. """ - metrics_prefix: NotRequired[pulumi.Input[builtins.str]] + metrics_prefix: NotRequired[pulumi.Input[_builtins.str]] """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ - min_replicas_max_lag: NotRequired[pulumi.Input[builtins.int]] + min_replicas_max_lag: NotRequired[pulumi.Input[_builtins.int]] """ The minimum replicas maximum lag. """ - monitoring_instance_id: NotRequired[pulumi.Input[builtins.str]] + monitoring_instance_id: NotRequired[pulumi.Input[_builtins.str]] """ The ID of the STACKIT monitoring instance. """ - notify_keyspace_events: NotRequired[pulumi.Input[builtins.str]] + notify_keyspace_events: NotRequired[pulumi.Input[_builtins.str]] """ The notify keyspace events. """ - sgw_acl: NotRequired[pulumi.Input[builtins.str]] + sgw_acl: NotRequired[pulumi.Input[_builtins.str]] """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ - snapshot: NotRequired[pulumi.Input[builtins.str]] + snapshot: NotRequired[pulumi.Input[_builtins.str]] """ The snapshot configuration. """ - syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + syslogs: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of syslog servers to send logs to. """ - tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + tls_ciphers: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ List of TLS ciphers to use. """ - tls_ciphersuites: NotRequired[pulumi.Input[builtins.str]] + tls_ciphersuites: NotRequired[pulumi.Input[_builtins.str]] """ TLS cipher suites to use. """ - tls_protocols: NotRequired[pulumi.Input[builtins.str]] + tls_protocols: NotRequired[pulumi.Input[_builtins.str]] """ TLS protocol to use. """ @@ -4220,51 +4476,51 @@ class RedisInstanceParametersArgsDict(TypedDict): @pulumi.input_type class RedisInstanceParametersArgs: def __init__(__self__, *, - down_after_milliseconds: Optional[pulumi.Input[builtins.int]] = None, - enable_monitoring: Optional[pulumi.Input[builtins.bool]] = None, - failover_timeout: Optional[pulumi.Input[builtins.int]] = None, - graphite: Optional[pulumi.Input[builtins.str]] = None, - lazyfree_lazy_eviction: Optional[pulumi.Input[builtins.str]] = None, - lazyfree_lazy_expire: Optional[pulumi.Input[builtins.str]] = None, - lua_time_limit: Optional[pulumi.Input[builtins.int]] = None, - max_disk_threshold: Optional[pulumi.Input[builtins.int]] = None, - maxclients: Optional[pulumi.Input[builtins.int]] = None, - maxmemory_policy: Optional[pulumi.Input[builtins.str]] = None, - maxmemory_samples: Optional[pulumi.Input[builtins.int]] = None, - metrics_frequency: Optional[pulumi.Input[builtins.int]] = None, - metrics_prefix: Optional[pulumi.Input[builtins.str]] = None, - min_replicas_max_lag: Optional[pulumi.Input[builtins.int]] = None, - monitoring_instance_id: Optional[pulumi.Input[builtins.str]] = None, - notify_keyspace_events: Optional[pulumi.Input[builtins.str]] = None, - sgw_acl: Optional[pulumi.Input[builtins.str]] = None, - snapshot: Optional[pulumi.Input[builtins.str]] = None, - syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - tls_ciphersuites: Optional[pulumi.Input[builtins.str]] = None, - tls_protocols: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[builtins.int] down_after_milliseconds: The number of milliseconds after which the instance is considered down. - :param pulumi.Input[builtins.bool] enable_monitoring: Enable monitoring. - :param pulumi.Input[builtins.int] failover_timeout: The failover timeout in milliseconds. - :param pulumi.Input[builtins.str] graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param pulumi.Input[builtins.str] lazyfree_lazy_eviction: The lazy eviction enablement (yes or no). - :param pulumi.Input[builtins.str] lazyfree_lazy_expire: The lazy expire enablement (yes or no). - :param pulumi.Input[builtins.int] lua_time_limit: The Lua time limit. - :param pulumi.Input[builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param pulumi.Input[builtins.int] maxclients: The maximum number of clients. - :param pulumi.Input[builtins.str] maxmemory_policy: The policy to handle the maximum memory (volatile-lru, noeviction, etc). - :param pulumi.Input[builtins.int] maxmemory_samples: The maximum memory samples. - :param pulumi.Input[builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted. - :param pulumi.Input[builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param pulumi.Input[builtins.int] min_replicas_max_lag: The minimum replicas maximum lag. - :param pulumi.Input[builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param pulumi.Input[builtins.str] notify_keyspace_events: The notify keyspace events. - :param pulumi.Input[builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param pulumi.Input[builtins.str] snapshot: The snapshot configuration. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] syslogs: List of syslog servers to send logs to. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tls_ciphers: List of TLS ciphers to use. - :param pulumi.Input[builtins.str] tls_ciphersuites: TLS cipher suites to use. - :param pulumi.Input[builtins.str] tls_protocols: TLS protocol to use. + down_after_milliseconds: Optional[pulumi.Input[_builtins.int]] = None, + enable_monitoring: Optional[pulumi.Input[_builtins.bool]] = None, + failover_timeout: Optional[pulumi.Input[_builtins.int]] = None, + graphite: Optional[pulumi.Input[_builtins.str]] = None, + lazyfree_lazy_eviction: Optional[pulumi.Input[_builtins.str]] = None, + lazyfree_lazy_expire: Optional[pulumi.Input[_builtins.str]] = None, + lua_time_limit: Optional[pulumi.Input[_builtins.int]] = None, + max_disk_threshold: Optional[pulumi.Input[_builtins.int]] = None, + maxclients: Optional[pulumi.Input[_builtins.int]] = None, + maxmemory_policy: Optional[pulumi.Input[_builtins.str]] = None, + maxmemory_samples: Optional[pulumi.Input[_builtins.int]] = None, + metrics_frequency: Optional[pulumi.Input[_builtins.int]] = None, + metrics_prefix: Optional[pulumi.Input[_builtins.str]] = None, + min_replicas_max_lag: Optional[pulumi.Input[_builtins.int]] = None, + monitoring_instance_id: Optional[pulumi.Input[_builtins.str]] = None, + notify_keyspace_events: Optional[pulumi.Input[_builtins.str]] = None, + sgw_acl: Optional[pulumi.Input[_builtins.str]] = None, + snapshot: Optional[pulumi.Input[_builtins.str]] = None, + syslogs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + tls_ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + tls_ciphersuites: Optional[pulumi.Input[_builtins.str]] = None, + tls_protocols: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.int] down_after_milliseconds: The number of milliseconds after which the instance is considered down. + :param pulumi.Input[_builtins.bool] enable_monitoring: Enable monitoring. + :param pulumi.Input[_builtins.int] failover_timeout: The failover timeout in milliseconds. + :param pulumi.Input[_builtins.str] graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param pulumi.Input[_builtins.str] lazyfree_lazy_eviction: The lazy eviction enablement (yes or no). + :param pulumi.Input[_builtins.str] lazyfree_lazy_expire: The lazy expire enablement (yes or no). + :param pulumi.Input[_builtins.int] lua_time_limit: The Lua time limit. + :param pulumi.Input[_builtins.int] max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param pulumi.Input[_builtins.int] maxclients: The maximum number of clients. + :param pulumi.Input[_builtins.str] maxmemory_policy: The policy to handle the maximum memory (volatile-lru, noeviction, etc). + :param pulumi.Input[_builtins.int] maxmemory_samples: The maximum memory samples. + :param pulumi.Input[_builtins.int] metrics_frequency: The frequency in seconds at which metrics are emitted. + :param pulumi.Input[_builtins.str] metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param pulumi.Input[_builtins.int] min_replicas_max_lag: The minimum replicas maximum lag. + :param pulumi.Input[_builtins.str] monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param pulumi.Input[_builtins.str] notify_keyspace_events: The notify keyspace events. + :param pulumi.Input[_builtins.str] sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param pulumi.Input[_builtins.str] snapshot: The snapshot configuration. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] syslogs: List of syslog servers to send logs to. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tls_ciphers: List of TLS ciphers to use. + :param pulumi.Input[_builtins.str] tls_ciphersuites: TLS cipher suites to use. + :param pulumi.Input[_builtins.str] tls_protocols: TLS protocol to use. """ if down_after_milliseconds is not None: pulumi.set(__self__, "down_after_milliseconds", down_after_milliseconds) @@ -4311,278 +4567,379 @@ def __init__(__self__, *, if tls_protocols is not None: pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="downAfterMilliseconds") - def down_after_milliseconds(self) -> Optional[pulumi.Input[builtins.int]]: + def down_after_milliseconds(self) -> Optional[pulumi.Input[_builtins.int]]: """ The number of milliseconds after which the instance is considered down. """ return pulumi.get(self, "down_after_milliseconds") @down_after_milliseconds.setter - def down_after_milliseconds(self, value: Optional[pulumi.Input[builtins.int]]): + def down_after_milliseconds(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "down_after_milliseconds", value) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_monitoring(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") @enable_monitoring.setter - def enable_monitoring(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_monitoring(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_monitoring", value) - @property + @_builtins.property @pulumi.getter(name="failoverTimeout") - def failover_timeout(self) -> Optional[pulumi.Input[builtins.int]]: + def failover_timeout(self) -> Optional[pulumi.Input[_builtins.int]]: """ The failover timeout in milliseconds. """ return pulumi.get(self, "failover_timeout") @failover_timeout.setter - def failover_timeout(self, value: Optional[pulumi.Input[builtins.int]]): + def failover_timeout(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "failover_timeout", value) - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[pulumi.Input[builtins.str]]: + def graphite(self) -> Optional[pulumi.Input[_builtins.str]]: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") @graphite.setter - def graphite(self, value: Optional[pulumi.Input[builtins.str]]): + def graphite(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "graphite", value) - @property + @_builtins.property @pulumi.getter(name="lazyfreeLazyEviction") - def lazyfree_lazy_eviction(self) -> Optional[pulumi.Input[builtins.str]]: + def lazyfree_lazy_eviction(self) -> Optional[pulumi.Input[_builtins.str]]: """ The lazy eviction enablement (yes or no). """ return pulumi.get(self, "lazyfree_lazy_eviction") @lazyfree_lazy_eviction.setter - def lazyfree_lazy_eviction(self, value: Optional[pulumi.Input[builtins.str]]): + def lazyfree_lazy_eviction(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "lazyfree_lazy_eviction", value) - @property + @_builtins.property @pulumi.getter(name="lazyfreeLazyExpire") - def lazyfree_lazy_expire(self) -> Optional[pulumi.Input[builtins.str]]: + def lazyfree_lazy_expire(self) -> Optional[pulumi.Input[_builtins.str]]: """ The lazy expire enablement (yes or no). """ return pulumi.get(self, "lazyfree_lazy_expire") @lazyfree_lazy_expire.setter - def lazyfree_lazy_expire(self, value: Optional[pulumi.Input[builtins.str]]): + def lazyfree_lazy_expire(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "lazyfree_lazy_expire", value) - @property + @_builtins.property @pulumi.getter(name="luaTimeLimit") - def lua_time_limit(self) -> Optional[pulumi.Input[builtins.int]]: + def lua_time_limit(self) -> Optional[pulumi.Input[_builtins.int]]: """ The Lua time limit. """ return pulumi.get(self, "lua_time_limit") @lua_time_limit.setter - def lua_time_limit(self, value: Optional[pulumi.Input[builtins.int]]): + def lua_time_limit(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "lua_time_limit", value) - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[pulumi.Input[builtins.int]]: + def max_disk_threshold(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") @max_disk_threshold.setter - def max_disk_threshold(self, value: Optional[pulumi.Input[builtins.int]]): + def max_disk_threshold(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_disk_threshold", value) - @property + @_builtins.property @pulumi.getter - def maxclients(self) -> Optional[pulumi.Input[builtins.int]]: + def maxclients(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximum number of clients. """ return pulumi.get(self, "maxclients") @maxclients.setter - def maxclients(self, value: Optional[pulumi.Input[builtins.int]]): + def maxclients(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "maxclients", value) - @property + @_builtins.property @pulumi.getter(name="maxmemoryPolicy") - def maxmemory_policy(self) -> Optional[pulumi.Input[builtins.str]]: + def maxmemory_policy(self) -> Optional[pulumi.Input[_builtins.str]]: """ The policy to handle the maximum memory (volatile-lru, noeviction, etc). """ return pulumi.get(self, "maxmemory_policy") @maxmemory_policy.setter - def maxmemory_policy(self, value: Optional[pulumi.Input[builtins.str]]): + def maxmemory_policy(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "maxmemory_policy", value) - @property + @_builtins.property @pulumi.getter(name="maxmemorySamples") - def maxmemory_samples(self) -> Optional[pulumi.Input[builtins.int]]: + def maxmemory_samples(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximum memory samples. """ return pulumi.get(self, "maxmemory_samples") @maxmemory_samples.setter - def maxmemory_samples(self, value: Optional[pulumi.Input[builtins.int]]): + def maxmemory_samples(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "maxmemory_samples", value) - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_frequency(self) -> Optional[pulumi.Input[_builtins.int]]: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") @metrics_frequency.setter - def metrics_frequency(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_frequency(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_frequency", value) - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") @metrics_prefix.setter - def metrics_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_prefix", value) - @property + @_builtins.property @pulumi.getter(name="minReplicasMaxLag") - def min_replicas_max_lag(self) -> Optional[pulumi.Input[builtins.int]]: + def min_replicas_max_lag(self) -> Optional[pulumi.Input[_builtins.int]]: """ The minimum replicas maximum lag. """ return pulumi.get(self, "min_replicas_max_lag") @min_replicas_max_lag.setter - def min_replicas_max_lag(self, value: Optional[pulumi.Input[builtins.int]]): + def min_replicas_max_lag(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "min_replicas_max_lag", value) - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def monitoring_instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") @monitoring_instance_id.setter - def monitoring_instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def monitoring_instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "monitoring_instance_id", value) - @property + @_builtins.property @pulumi.getter(name="notifyKeyspaceEvents") - def notify_keyspace_events(self) -> Optional[pulumi.Input[builtins.str]]: + def notify_keyspace_events(self) -> Optional[pulumi.Input[_builtins.str]]: """ The notify keyspace events. """ return pulumi.get(self, "notify_keyspace_events") @notify_keyspace_events.setter - def notify_keyspace_events(self, value: Optional[pulumi.Input[builtins.str]]): + def notify_keyspace_events(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "notify_keyspace_events", value) - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[pulumi.Input[builtins.str]]: + def sgw_acl(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") @sgw_acl.setter - def sgw_acl(self, value: Optional[pulumi.Input[builtins.str]]): + def sgw_acl(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "sgw_acl", value) - @property + @_builtins.property @pulumi.getter - def snapshot(self) -> Optional[pulumi.Input[builtins.str]]: + def snapshot(self) -> Optional[pulumi.Input[_builtins.str]]: """ The snapshot configuration. """ return pulumi.get(self, "snapshot") @snapshot.setter - def snapshot(self, value: Optional[pulumi.Input[builtins.str]]): + def snapshot(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "snapshot", value) - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def syslogs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") @syslogs.setter - def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def syslogs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "syslogs", value) - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def tls_ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") @tls_ciphers.setter - def tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def tls_ciphers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "tls_ciphers", value) - @property + @_builtins.property @pulumi.getter(name="tlsCiphersuites") - def tls_ciphersuites(self) -> Optional[pulumi.Input[builtins.str]]: + def tls_ciphersuites(self) -> Optional[pulumi.Input[_builtins.str]]: """ TLS cipher suites to use. """ return pulumi.get(self, "tls_ciphersuites") @tls_ciphersuites.setter - def tls_ciphersuites(self, value: Optional[pulumi.Input[builtins.str]]): + def tls_ciphersuites(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "tls_ciphersuites", value) - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> Optional[pulumi.Input[builtins.str]]: + def tls_protocols(self) -> Optional[pulumi.Input[_builtins.str]]: """ TLS protocol to use. """ return pulumi.get(self, "tls_protocols") @tls_protocols.setter - def tls_protocols(self, value: Optional[pulumi.Input[builtins.str]]): + def tls_protocols(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "tls_protocols", value) +if not MYPY: + class RoutingTableRouteDestinationArgsDict(TypedDict): + type: pulumi.Input[_builtins.str] + """ + CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + """ + value: pulumi.Input[_builtins.str] + """ + An CIDR string. + """ +elif False: + RoutingTableRouteDestinationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class RoutingTableRouteDestinationArgs: + def __init__(__self__, *, + type: pulumi.Input[_builtins.str], + value: pulumi.Input[_builtins.str]): + """ + :param pulumi.Input[_builtins.str] type: CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + :param pulumi.Input[_builtins.str] value: An CIDR string. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[_builtins.str]: + """ + CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "type", value) + + @_builtins.property + @pulumi.getter + def value(self) -> pulumi.Input[_builtins.str]: + """ + An CIDR string. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "value", value) + + +if not MYPY: + class RoutingTableRouteNextHopArgsDict(TypedDict): + type: pulumi.Input[_builtins.str] + """ + Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + """ + value: NotRequired[pulumi.Input[_builtins.str]] + """ + Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ +elif False: + RoutingTableRouteNextHopArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class RoutingTableRouteNextHopArgs: + def __init__(__self__, *, + type: pulumi.Input[_builtins.str], + value: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] type: Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + :param pulumi.Input[_builtins.str] value: Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[_builtins.str]: + """ + Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "type", value) + + @_builtins.property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "value", value) + + if not MYPY: class SecurityGroupRuleIcmpParametersArgsDict(TypedDict): - code: pulumi.Input[builtins.int] + code: pulumi.Input[_builtins.int] """ ICMP code. Can be set if the protocol is ICMP. """ - type: pulumi.Input[builtins.int] + type: pulumi.Input[_builtins.int] """ ICMP type. Can be set if the protocol is ICMP. """ @@ -4592,47 +4949,47 @@ class SecurityGroupRuleIcmpParametersArgsDict(TypedDict): @pulumi.input_type class SecurityGroupRuleIcmpParametersArgs: def __init__(__self__, *, - code: pulumi.Input[builtins.int], - type: pulumi.Input[builtins.int]): + code: pulumi.Input[_builtins.int], + type: pulumi.Input[_builtins.int]): """ - :param pulumi.Input[builtins.int] code: ICMP code. Can be set if the protocol is ICMP. - :param pulumi.Input[builtins.int] type: ICMP type. Can be set if the protocol is ICMP. + :param pulumi.Input[_builtins.int] code: ICMP code. Can be set if the protocol is ICMP. + :param pulumi.Input[_builtins.int] type: ICMP type. Can be set if the protocol is ICMP. """ pulumi.set(__self__, "code", code) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def code(self) -> pulumi.Input[builtins.int]: + def code(self) -> pulumi.Input[_builtins.int]: """ ICMP code. Can be set if the protocol is ICMP. """ return pulumi.get(self, "code") @code.setter - def code(self, value: pulumi.Input[builtins.int]): + def code(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "code", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[builtins.int]: + def type(self) -> pulumi.Input[_builtins.int]: """ ICMP type. Can be set if the protocol is ICMP. """ return pulumi.get(self, "type") @type.setter - def type(self, value: pulumi.Input[builtins.int]): + def type(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "type", value) if not MYPY: class SecurityGroupRulePortRangeArgsDict(TypedDict): - max: pulumi.Input[builtins.int] + max: pulumi.Input[_builtins.int] """ The maximum port number. Should be greater or equal to the minimum. """ - min: pulumi.Input[builtins.int] + min: pulumi.Input[_builtins.int] """ The minimum port number. Should be less or equal to the maximum. """ @@ -4642,47 +4999,47 @@ class SecurityGroupRulePortRangeArgsDict(TypedDict): @pulumi.input_type class SecurityGroupRulePortRangeArgs: def __init__(__self__, *, - max: pulumi.Input[builtins.int], - min: pulumi.Input[builtins.int]): + max: pulumi.Input[_builtins.int], + min: pulumi.Input[_builtins.int]): """ - :param pulumi.Input[builtins.int] max: The maximum port number. Should be greater or equal to the minimum. - :param pulumi.Input[builtins.int] min: The minimum port number. Should be less or equal to the maximum. + :param pulumi.Input[_builtins.int] max: The maximum port number. Should be greater or equal to the minimum. + :param pulumi.Input[_builtins.int] min: The minimum port number. Should be less or equal to the maximum. """ pulumi.set(__self__, "max", max) pulumi.set(__self__, "min", min) - @property + @_builtins.property @pulumi.getter - def max(self) -> pulumi.Input[builtins.int]: + def max(self) -> pulumi.Input[_builtins.int]: """ The maximum port number. Should be greater or equal to the minimum. """ return pulumi.get(self, "max") @max.setter - def max(self, value: pulumi.Input[builtins.int]): + def max(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "max", value) - @property + @_builtins.property @pulumi.getter - def min(self) -> pulumi.Input[builtins.int]: + def min(self) -> pulumi.Input[_builtins.int]: """ The minimum port number. Should be less or equal to the maximum. """ return pulumi.get(self, "min") @min.setter - def min(self, value: pulumi.Input[builtins.int]): + def min(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "min", value) if not MYPY: class SecurityGroupRuleProtocolArgsDict(TypedDict): - name: NotRequired[pulumi.Input[builtins.str]] + name: NotRequired[pulumi.Input[_builtins.str]] """ The protocol name which the rule should match. Either `name` or `number` must be provided. Possible values are: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`. """ - number: NotRequired[pulumi.Input[builtins.int]] + number: NotRequired[pulumi.Input[_builtins.int]] """ The protocol number which the rule should match. Either `name` or `number` must be provided. """ @@ -4692,112 +5049,112 @@ class SecurityGroupRuleProtocolArgsDict(TypedDict): @pulumi.input_type class SecurityGroupRuleProtocolArgs: def __init__(__self__, *, - name: Optional[pulumi.Input[builtins.str]] = None, - number: Optional[pulumi.Input[builtins.int]] = None): + name: Optional[pulumi.Input[_builtins.str]] = None, + number: Optional[pulumi.Input[_builtins.int]] = None): """ - :param pulumi.Input[builtins.str] name: The protocol name which the rule should match. Either `name` or `number` must be provided. Possible values are: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`. - :param pulumi.Input[builtins.int] number: The protocol number which the rule should match. Either `name` or `number` must be provided. + :param pulumi.Input[_builtins.str] name: The protocol name which the rule should match. Either `name` or `number` must be provided. Possible values are: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`. + :param pulumi.Input[_builtins.int] number: The protocol number which the rule should match. Either `name` or `number` must be provided. """ if name is not None: pulumi.set(__self__, "name", name) if number is not None: pulumi.set(__self__, "number", number) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The protocol name which the rule should match. Either `name` or `number` must be provided. Possible values are: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def number(self) -> Optional[pulumi.Input[builtins.int]]: + def number(self) -> Optional[pulumi.Input[_builtins.int]]: """ The protocol number which the rule should match. Either `name` or `number` must be provided. """ return pulumi.get(self, "number") @number.setter - def number(self, value: Optional[pulumi.Input[builtins.int]]): + def number(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "number", value) if not MYPY: class ServerBackupScheduleBackupPropertiesArgsDict(TypedDict): - name: pulumi.Input[builtins.str] - retention_period: pulumi.Input[builtins.int] - volume_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + name: pulumi.Input[_builtins.str] + retention_period: pulumi.Input[_builtins.int] + volume_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] elif False: ServerBackupScheduleBackupPropertiesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class ServerBackupScheduleBackupPropertiesArgs: def __init__(__self__, *, - name: pulumi.Input[builtins.str], - retention_period: pulumi.Input[builtins.int], - volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None): + name: pulumi.Input[_builtins.str], + retention_period: pulumi.Input[_builtins.int], + volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None): pulumi.set(__self__, "name", name) pulumi.set(__self__, "retention_period", retention_period) if volume_ids is not None: pulumi.set(__self__, "volume_ids", volume_ids) - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Input[builtins.str]: + def name(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "name") @name.setter - def name(self, value: pulumi.Input[builtins.str]): + def name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="retentionPeriod") - def retention_period(self) -> pulumi.Input[builtins.int]: + def retention_period(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "retention_period") @retention_period.setter - def retention_period(self, value: pulumi.Input[builtins.int]): + def retention_period(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "retention_period", value) - @property + @_builtins.property @pulumi.getter(name="volumeIds") - def volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "volume_ids") @volume_ids.setter - def volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "volume_ids", value) if not MYPY: class ServerBootVolumeArgsDict(TypedDict): - source_id: pulumi.Input[builtins.str] + source_id: pulumi.Input[_builtins.str] """ The ID of the source, either image ID or volume ID """ - source_type: pulumi.Input[builtins.str] + source_type: pulumi.Input[_builtins.str] """ The type of the source. Supported values are: `volume`, `image`. """ - delete_on_termination: NotRequired[pulumi.Input[builtins.bool]] + delete_on_termination: NotRequired[pulumi.Input[_builtins.bool]] """ Delete the volume during the termination of the server. Only allowed when `source_type` is `image`. """ - id: NotRequired[pulumi.Input[builtins.str]] + id: NotRequired[pulumi.Input[_builtins.str]] """ The ID of the boot volume """ - performance_class: NotRequired[pulumi.Input[builtins.str]] + performance_class: NotRequired[pulumi.Input[_builtins.str]] """ The performance class of the server. """ - size: NotRequired[pulumi.Input[builtins.int]] + size: NotRequired[pulumi.Input[_builtins.int]] """ The size of the boot volume in GB. Must be provided when `source_type` is `image`. """ @@ -4807,19 +5164,19 @@ class ServerBootVolumeArgsDict(TypedDict): @pulumi.input_type class ServerBootVolumeArgs: def __init__(__self__, *, - source_id: pulumi.Input[builtins.str], - source_type: pulumi.Input[builtins.str], - delete_on_termination: Optional[pulumi.Input[builtins.bool]] = None, - id: Optional[pulumi.Input[builtins.str]] = None, - performance_class: Optional[pulumi.Input[builtins.str]] = None, - size: Optional[pulumi.Input[builtins.int]] = None): - """ - :param pulumi.Input[builtins.str] source_id: The ID of the source, either image ID or volume ID - :param pulumi.Input[builtins.str] source_type: The type of the source. Supported values are: `volume`, `image`. - :param pulumi.Input[builtins.bool] delete_on_termination: Delete the volume during the termination of the server. Only allowed when `source_type` is `image`. - :param pulumi.Input[builtins.str] id: The ID of the boot volume - :param pulumi.Input[builtins.str] performance_class: The performance class of the server. - :param pulumi.Input[builtins.int] size: The size of the boot volume in GB. Must be provided when `source_type` is `image`. + source_id: pulumi.Input[_builtins.str], + source_type: pulumi.Input[_builtins.str], + delete_on_termination: Optional[pulumi.Input[_builtins.bool]] = None, + id: Optional[pulumi.Input[_builtins.str]] = None, + performance_class: Optional[pulumi.Input[_builtins.str]] = None, + size: Optional[pulumi.Input[_builtins.int]] = None): + """ + :param pulumi.Input[_builtins.str] source_id: The ID of the source, either image ID or volume ID + :param pulumi.Input[_builtins.str] source_type: The type of the source. Supported values are: `volume`, `image`. + :param pulumi.Input[_builtins.bool] delete_on_termination: Delete the volume during the termination of the server. Only allowed when `source_type` is `image`. + :param pulumi.Input[_builtins.str] id: The ID of the boot volume + :param pulumi.Input[_builtins.str] performance_class: The performance class of the server. + :param pulumi.Input[_builtins.int] size: The size of the boot volume in GB. Must be provided when `source_type` is `image`. """ pulumi.set(__self__, "source_id", source_id) pulumi.set(__self__, "source_type", source_type) @@ -4832,76 +5189,76 @@ def __init__(__self__, *, if size is not None: pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="sourceId") - def source_id(self) -> pulumi.Input[builtins.str]: + def source_id(self) -> pulumi.Input[_builtins.str]: """ The ID of the source, either image ID or volume ID """ return pulumi.get(self, "source_id") @source_id.setter - def source_id(self, value: pulumi.Input[builtins.str]): + def source_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "source_id", value) - @property + @_builtins.property @pulumi.getter(name="sourceType") - def source_type(self) -> pulumi.Input[builtins.str]: + def source_type(self) -> pulumi.Input[_builtins.str]: """ The type of the source. Supported values are: `volume`, `image`. """ return pulumi.get(self, "source_type") @source_type.setter - def source_type(self, value: pulumi.Input[builtins.str]): + def source_type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "source_type", value) - @property + @_builtins.property @pulumi.getter(name="deleteOnTermination") - def delete_on_termination(self) -> Optional[pulumi.Input[builtins.bool]]: + def delete_on_termination(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Delete the volume during the termination of the server. Only allowed when `source_type` is `image`. """ return pulumi.get(self, "delete_on_termination") @delete_on_termination.setter - def delete_on_termination(self, value: Optional[pulumi.Input[builtins.bool]]): + def delete_on_termination(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "delete_on_termination", value) - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[pulumi.Input[builtins.str]]: + def id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ID of the boot volume """ return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[builtins.str]]): + def id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "id", value) - @property + @_builtins.property @pulumi.getter(name="performanceClass") - def performance_class(self) -> Optional[pulumi.Input[builtins.str]]: + def performance_class(self) -> Optional[pulumi.Input[_builtins.str]]: """ The performance class of the server. """ return pulumi.get(self, "performance_class") @performance_class.setter - def performance_class(self, value: Optional[pulumi.Input[builtins.str]]): + def performance_class(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "performance_class", value) - @property + @_builtins.property @pulumi.getter - def size(self) -> Optional[pulumi.Input[builtins.int]]: + def size(self) -> Optional[pulumi.Input[_builtins.int]]: """ The size of the boot volume in GB. Must be provided when `source_type` is `image`. """ return pulumi.get(self, "size") @size.setter - def size(self, value: Optional[pulumi.Input[builtins.int]]): + def size(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "size", value) @@ -4913,12 +5270,16 @@ class SkeClusterExtensionsArgsDict(TypedDict): """ argus: NotRequired[pulumi.Input['SkeClusterExtensionsArgusArgsDict']] """ - A single argus block as defined below. + A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. """ dns: NotRequired[pulumi.Input['SkeClusterExtensionsDnsArgsDict']] """ DNS extension configuration """ + observability: NotRequired[pulumi.Input['SkeClusterExtensionsObservabilityArgsDict']] + """ + A single observability block as defined below. + """ elif False: SkeClusterExtensionsArgsDict: TypeAlias = Mapping[str, Any] @@ -4927,20 +5288,27 @@ class SkeClusterExtensionsArgs: def __init__(__self__, *, acl: Optional[pulumi.Input['SkeClusterExtensionsAclArgs']] = None, argus: Optional[pulumi.Input['SkeClusterExtensionsArgusArgs']] = None, - dns: Optional[pulumi.Input['SkeClusterExtensionsDnsArgs']] = None): + dns: Optional[pulumi.Input['SkeClusterExtensionsDnsArgs']] = None, + observability: Optional[pulumi.Input['SkeClusterExtensionsObservabilityArgs']] = None): """ :param pulumi.Input['SkeClusterExtensionsAclArgs'] acl: Cluster access control configuration. - :param pulumi.Input['SkeClusterExtensionsArgusArgs'] argus: A single argus block as defined below. + :param pulumi.Input['SkeClusterExtensionsArgusArgs'] argus: A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. :param pulumi.Input['SkeClusterExtensionsDnsArgs'] dns: DNS extension configuration + :param pulumi.Input['SkeClusterExtensionsObservabilityArgs'] observability: A single observability block as defined below. """ if acl is not None: pulumi.set(__self__, "acl", acl) + if argus is not None: + warnings.warn("""Use observability instead.""", DeprecationWarning) + pulumi.log.warn("""argus is deprecated: Use observability instead.""") if argus is not None: pulumi.set(__self__, "argus", argus) if dns is not None: pulumi.set(__self__, "dns", dns) + if observability is not None: + pulumi.set(__self__, "observability", observability) - @property + @_builtins.property @pulumi.getter def acl(self) -> Optional[pulumi.Input['SkeClusterExtensionsAclArgs']]: """ @@ -4952,11 +5320,12 @@ def acl(self) -> Optional[pulumi.Input['SkeClusterExtensionsAclArgs']]: def acl(self, value: Optional[pulumi.Input['SkeClusterExtensionsAclArgs']]): pulumi.set(self, "acl", value) - @property + @_builtins.property @pulumi.getter + @_utilities.deprecated("""Use observability instead.""") def argus(self) -> Optional[pulumi.Input['SkeClusterExtensionsArgusArgs']]: """ - A single argus block as defined below. + A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. """ return pulumi.get(self, "argus") @@ -4964,7 +5333,7 @@ def argus(self) -> Optional[pulumi.Input['SkeClusterExtensionsArgusArgs']]: def argus(self, value: Optional[pulumi.Input['SkeClusterExtensionsArgusArgs']]): pulumi.set(self, "argus", value) - @property + @_builtins.property @pulumi.getter def dns(self) -> Optional[pulumi.Input['SkeClusterExtensionsDnsArgs']]: """ @@ -4976,14 +5345,26 @@ def dns(self) -> Optional[pulumi.Input['SkeClusterExtensionsDnsArgs']]: def dns(self, value: Optional[pulumi.Input['SkeClusterExtensionsDnsArgs']]): pulumi.set(self, "dns", value) + @_builtins.property + @pulumi.getter + def observability(self) -> Optional[pulumi.Input['SkeClusterExtensionsObservabilityArgs']]: + """ + A single observability block as defined below. + """ + return pulumi.get(self, "observability") + + @observability.setter + def observability(self, value: Optional[pulumi.Input['SkeClusterExtensionsObservabilityArgs']]): + pulumi.set(self, "observability", value) + if not MYPY: class SkeClusterExtensionsAclArgsDict(TypedDict): - allowed_cidrs: pulumi.Input[Sequence[pulumi.Input[builtins.str]]] + allowed_cidrs: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] """ Specify a list of CIDRs to whitelist. """ - enabled: pulumi.Input[builtins.bool] + enabled: pulumi.Input[_builtins.bool] """ Is ACL enabled? """ @@ -4993,47 +5374,47 @@ class SkeClusterExtensionsAclArgsDict(TypedDict): @pulumi.input_type class SkeClusterExtensionsAclArgs: def __init__(__self__, *, - allowed_cidrs: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - enabled: pulumi.Input[builtins.bool]): + allowed_cidrs: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + enabled: pulumi.Input[_builtins.bool]): """ - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_cidrs: Specify a list of CIDRs to whitelist. - :param pulumi.Input[builtins.bool] enabled: Is ACL enabled? + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_cidrs: Specify a list of CIDRs to whitelist. + :param pulumi.Input[_builtins.bool] enabled: Is ACL enabled? """ pulumi.set(__self__, "allowed_cidrs", allowed_cidrs) pulumi.set(__self__, "enabled", enabled) - @property + @_builtins.property @pulumi.getter(name="allowedCidrs") - def allowed_cidrs(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def allowed_cidrs(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ Specify a list of CIDRs to whitelist. """ return pulumi.get(self, "allowed_cidrs") @allowed_cidrs.setter - def allowed_cidrs(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def allowed_cidrs(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "allowed_cidrs", value) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> pulumi.Input[builtins.bool]: + def enabled(self) -> pulumi.Input[_builtins.bool]: """ Is ACL enabled? """ return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: pulumi.Input[builtins.bool]): + def enabled(self, value: pulumi.Input[_builtins.bool]): pulumi.set(self, "enabled", value) if not MYPY: class SkeClusterExtensionsArgusArgsDict(TypedDict): - enabled: pulumi.Input[builtins.bool] + enabled: pulumi.Input[_builtins.bool] """ Flag to enable/disable Argus extensions. """ - argus_instance_id: NotRequired[pulumi.Input[builtins.str]] + argus_instance_id: NotRequired[pulumi.Input[_builtins.str]] """ Argus instance ID to choose which Argus instance is used. Required when enabled is set to `true`. """ @@ -5043,48 +5424,48 @@ class SkeClusterExtensionsArgusArgsDict(TypedDict): @pulumi.input_type class SkeClusterExtensionsArgusArgs: def __init__(__self__, *, - enabled: pulumi.Input[builtins.bool], - argus_instance_id: Optional[pulumi.Input[builtins.str]] = None): + enabled: pulumi.Input[_builtins.bool], + argus_instance_id: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.bool] enabled: Flag to enable/disable Argus extensions. - :param pulumi.Input[builtins.str] argus_instance_id: Argus instance ID to choose which Argus instance is used. Required when enabled is set to `true`. + :param pulumi.Input[_builtins.bool] enabled: Flag to enable/disable Argus extensions. + :param pulumi.Input[_builtins.str] argus_instance_id: Argus instance ID to choose which Argus instance is used. Required when enabled is set to `true`. """ pulumi.set(__self__, "enabled", enabled) if argus_instance_id is not None: pulumi.set(__self__, "argus_instance_id", argus_instance_id) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> pulumi.Input[builtins.bool]: + def enabled(self) -> pulumi.Input[_builtins.bool]: """ Flag to enable/disable Argus extensions. """ return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: pulumi.Input[builtins.bool]): + def enabled(self, value: pulumi.Input[_builtins.bool]): pulumi.set(self, "enabled", value) - @property + @_builtins.property @pulumi.getter(name="argusInstanceId") - def argus_instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def argus_instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Argus instance ID to choose which Argus instance is used. Required when enabled is set to `true`. """ return pulumi.get(self, "argus_instance_id") @argus_instance_id.setter - def argus_instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def argus_instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "argus_instance_id", value) if not MYPY: class SkeClusterExtensionsDnsArgsDict(TypedDict): - enabled: pulumi.Input[builtins.bool] + enabled: pulumi.Input[_builtins.bool] """ Flag to enable/disable DNS extensions """ - zones: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] + zones: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] """ Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) """ @@ -5094,52 +5475,103 @@ class SkeClusterExtensionsDnsArgsDict(TypedDict): @pulumi.input_type class SkeClusterExtensionsDnsArgs: def __init__(__self__, *, - enabled: pulumi.Input[builtins.bool], - zones: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None): + enabled: pulumi.Input[_builtins.bool], + zones: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None): """ - :param pulumi.Input[builtins.bool] enabled: Flag to enable/disable DNS extensions - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] zones: Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) + :param pulumi.Input[_builtins.bool] enabled: Flag to enable/disable DNS extensions + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] zones: Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) """ pulumi.set(__self__, "enabled", enabled) if zones is not None: pulumi.set(__self__, "zones", zones) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> pulumi.Input[builtins.bool]: + def enabled(self) -> pulumi.Input[_builtins.bool]: """ Flag to enable/disable DNS extensions """ return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: pulumi.Input[builtins.bool]): + def enabled(self, value: pulumi.Input[_builtins.bool]): pulumi.set(self, "enabled", value) - @property + @_builtins.property @pulumi.getter - def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) """ return pulumi.get(self, "zones") @zones.setter - def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "zones", value) +if not MYPY: + class SkeClusterExtensionsObservabilityArgsDict(TypedDict): + enabled: pulumi.Input[_builtins.bool] + """ + Flag to enable/disable Observability extensions. + """ + instance_id: NotRequired[pulumi.Input[_builtins.str]] + """ + Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + """ +elif False: + SkeClusterExtensionsObservabilityArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SkeClusterExtensionsObservabilityArgs: + def __init__(__self__, *, + enabled: pulumi.Input[_builtins.bool], + instance_id: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.bool] enabled: Flag to enable/disable Observability extensions. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + """ + pulumi.set(__self__, "enabled", enabled) + if instance_id is not None: + pulumi.set(__self__, "instance_id", instance_id) + + @_builtins.property + @pulumi.getter + def enabled(self) -> pulumi.Input[_builtins.bool]: + """ + Flag to enable/disable Observability extensions. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[_builtins.bool]): + pulumi.set(self, "enabled", value) + + @_builtins.property + @pulumi.getter(name="instanceId") + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + """ + return pulumi.get(self, "instance_id") + + @instance_id.setter + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "instance_id", value) + + if not MYPY: class SkeClusterHibernationArgsDict(TypedDict): - end: pulumi.Input[builtins.str] + end: pulumi.Input[_builtins.str] """ End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. """ - start: pulumi.Input[builtins.str] + start: pulumi.Input[_builtins.str] """ Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. """ - timezone: NotRequired[pulumi.Input[builtins.str]] + timezone: NotRequired[pulumi.Input[_builtins.str]] """ Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. """ @@ -5149,71 +5581,71 @@ class SkeClusterHibernationArgsDict(TypedDict): @pulumi.input_type class SkeClusterHibernationArgs: def __init__(__self__, *, - end: pulumi.Input[builtins.str], - start: pulumi.Input[builtins.str], - timezone: Optional[pulumi.Input[builtins.str]] = None): + end: pulumi.Input[_builtins.str], + start: pulumi.Input[_builtins.str], + timezone: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] end: End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. - :param pulumi.Input[builtins.str] start: Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. - :param pulumi.Input[builtins.str] timezone: Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. + :param pulumi.Input[_builtins.str] end: End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. + :param pulumi.Input[_builtins.str] start: Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. + :param pulumi.Input[_builtins.str] timezone: Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. """ pulumi.set(__self__, "end", end) pulumi.set(__self__, "start", start) if timezone is not None: pulumi.set(__self__, "timezone", timezone) - @property + @_builtins.property @pulumi.getter - def end(self) -> pulumi.Input[builtins.str]: + def end(self) -> pulumi.Input[_builtins.str]: """ End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. """ return pulumi.get(self, "end") @end.setter - def end(self, value: pulumi.Input[builtins.str]): + def end(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "end", value) - @property + @_builtins.property @pulumi.getter - def start(self) -> pulumi.Input[builtins.str]: + def start(self) -> pulumi.Input[_builtins.str]: """ Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. """ return pulumi.get(self, "start") @start.setter - def start(self, value: pulumi.Input[builtins.str]): + def start(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "start", value) - @property + @_builtins.property @pulumi.getter - def timezone(self) -> Optional[pulumi.Input[builtins.str]]: + def timezone(self) -> Optional[pulumi.Input[_builtins.str]]: """ Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. """ return pulumi.get(self, "timezone") @timezone.setter - def timezone(self, value: Optional[pulumi.Input[builtins.str]]): + def timezone(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "timezone", value) if not MYPY: class SkeClusterMaintenanceArgsDict(TypedDict): - end: pulumi.Input[builtins.str] + end: pulumi.Input[_builtins.str] """ Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`. """ - start: pulumi.Input[builtins.str] + start: pulumi.Input[_builtins.str] """ Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`. """ - enable_kubernetes_version_updates: NotRequired[pulumi.Input[builtins.bool]] + enable_kubernetes_version_updates: NotRequired[pulumi.Input[_builtins.bool]] """ Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ - enable_machine_image_version_updates: NotRequired[pulumi.Input[builtins.bool]] + enable_machine_image_version_updates: NotRequired[pulumi.Input[_builtins.bool]] """ Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ @@ -5223,15 +5655,15 @@ class SkeClusterMaintenanceArgsDict(TypedDict): @pulumi.input_type class SkeClusterMaintenanceArgs: def __init__(__self__, *, - end: pulumi.Input[builtins.str], - start: pulumi.Input[builtins.str], - enable_kubernetes_version_updates: Optional[pulumi.Input[builtins.bool]] = None, - enable_machine_image_version_updates: Optional[pulumi.Input[builtins.bool]] = None): + end: pulumi.Input[_builtins.str], + start: pulumi.Input[_builtins.str], + enable_kubernetes_version_updates: Optional[pulumi.Input[_builtins.bool]] = None, + enable_machine_image_version_updates: Optional[pulumi.Input[_builtins.bool]] = None): """ - :param pulumi.Input[builtins.str] end: Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`. - :param pulumi.Input[builtins.str] start: Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`. - :param pulumi.Input[builtins.bool] enable_kubernetes_version_updates: Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). - :param pulumi.Input[builtins.bool] enable_machine_image_version_updates: Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + :param pulumi.Input[_builtins.str] end: Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`. + :param pulumi.Input[_builtins.str] start: Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`. + :param pulumi.Input[_builtins.bool] enable_kubernetes_version_updates: Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + :param pulumi.Input[_builtins.bool] enable_machine_image_version_updates: Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ pulumi.set(__self__, "end", end) pulumi.set(__self__, "start", start) @@ -5240,58 +5672,58 @@ def __init__(__self__, *, if enable_machine_image_version_updates is not None: pulumi.set(__self__, "enable_machine_image_version_updates", enable_machine_image_version_updates) - @property + @_builtins.property @pulumi.getter - def end(self) -> pulumi.Input[builtins.str]: + def end(self) -> pulumi.Input[_builtins.str]: """ Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`. """ return pulumi.get(self, "end") @end.setter - def end(self, value: pulumi.Input[builtins.str]): + def end(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "end", value) - @property + @_builtins.property @pulumi.getter - def start(self) -> pulumi.Input[builtins.str]: + def start(self) -> pulumi.Input[_builtins.str]: """ Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`. """ return pulumi.get(self, "start") @start.setter - def start(self, value: pulumi.Input[builtins.str]): + def start(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "start", value) - @property + @_builtins.property @pulumi.getter(name="enableKubernetesVersionUpdates") - def enable_kubernetes_version_updates(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_kubernetes_version_updates(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "enable_kubernetes_version_updates") @enable_kubernetes_version_updates.setter - def enable_kubernetes_version_updates(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_kubernetes_version_updates(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_kubernetes_version_updates", value) - @property + @_builtins.property @pulumi.getter(name="enableMachineImageVersionUpdates") - def enable_machine_image_version_updates(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_machine_image_version_updates(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "enable_machine_image_version_updates") @enable_machine_image_version_updates.setter - def enable_machine_image_version_updates(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_machine_image_version_updates(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_machine_image_version_updates", value) if not MYPY: class SkeClusterNetworkArgsDict(TypedDict): - id: NotRequired[pulumi.Input[builtins.str]] + id: NotRequired[pulumi.Input[_builtins.str]] """ ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. """ @@ -5301,81 +5733,81 @@ class SkeClusterNetworkArgsDict(TypedDict): @pulumi.input_type class SkeClusterNetworkArgs: def __init__(__self__, *, - id: Optional[pulumi.Input[builtins.str]] = None): + id: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] id: ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. + :param pulumi.Input[_builtins.str] id: ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. """ if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[pulumi.Input[builtins.str]]: + def id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. """ return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[builtins.str]]): + def id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "id", value) if not MYPY: class SkeClusterNodePoolArgsDict(TypedDict): - availability_zones: pulumi.Input[Sequence[pulumi.Input[builtins.str]]] + availability_zones: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] """ Specify a list of availability zones. E.g. `eu01-m` """ - machine_type: pulumi.Input[builtins.str] + machine_type: pulumi.Input[_builtins.str] """ The machine type. """ - maximum: pulumi.Input[builtins.int] + maximum: pulumi.Input[_builtins.int] """ Maximum number of nodes in the pool. """ - minimum: pulumi.Input[builtins.int] + minimum: pulumi.Input[_builtins.int] """ Minimum number of nodes in the pool. """ - name: pulumi.Input[builtins.str] + name: pulumi.Input[_builtins.str] """ Specifies the name of the node pool. """ - allow_system_components: NotRequired[pulumi.Input[builtins.bool]] + allow_system_components: NotRequired[pulumi.Input[_builtins.bool]] """ Allow system components to run on this node pool. """ - cri: NotRequired[pulumi.Input[builtins.str]] + cri: NotRequired[pulumi.Input[_builtins.str]] """ Specifies the container runtime. Defaults to `containerd` """ - labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] + labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] """ Labels to add to each node. """ - max_surge: NotRequired[pulumi.Input[builtins.int]] + max_surge: NotRequired[pulumi.Input[_builtins.int]] """ Maximum number of additional VMs that are created during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. """ - max_unavailable: NotRequired[pulumi.Input[builtins.int]] + max_unavailable: NotRequired[pulumi.Input[_builtins.int]] """ Maximum number of VMs that that can be unavailable during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. """ - os_name: NotRequired[pulumi.Input[builtins.str]] + os_name: NotRequired[pulumi.Input[_builtins.str]] """ The name of the OS image. Defaults to `flatcar`. """ - os_version: NotRequired[pulumi.Input[builtins.str]] + os_version: NotRequired[pulumi.Input[_builtins.str]] """ This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. """ - os_version_min: NotRequired[pulumi.Input[builtins.str]] + os_version_min: NotRequired[pulumi.Input[_builtins.str]] """ The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. """ - os_version_used: NotRequired[pulumi.Input[builtins.str]] + os_version_used: NotRequired[pulumi.Input[_builtins.str]] """ Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ @@ -5383,11 +5815,11 @@ class SkeClusterNodePoolArgsDict(TypedDict): """ Specifies a taint list as defined below. """ - volume_size: NotRequired[pulumi.Input[builtins.int]] + volume_size: NotRequired[pulumi.Input[_builtins.int]] """ The volume size in GB. Defaults to `20` """ - volume_type: NotRequired[pulumi.Input[builtins.str]] + volume_type: NotRequired[pulumi.Input[_builtins.str]] """ Specifies the volume type. Defaults to `storage_premium_perf1`. """ @@ -5397,41 +5829,41 @@ class SkeClusterNodePoolArgsDict(TypedDict): @pulumi.input_type class SkeClusterNodePoolArgs: def __init__(__self__, *, - availability_zones: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - machine_type: pulumi.Input[builtins.str], - maximum: pulumi.Input[builtins.int], - minimum: pulumi.Input[builtins.int], - name: pulumi.Input[builtins.str], - allow_system_components: Optional[pulumi.Input[builtins.bool]] = None, - cri: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - max_surge: Optional[pulumi.Input[builtins.int]] = None, - max_unavailable: Optional[pulumi.Input[builtins.int]] = None, - os_name: Optional[pulumi.Input[builtins.str]] = None, - os_version: Optional[pulumi.Input[builtins.str]] = None, - os_version_min: Optional[pulumi.Input[builtins.str]] = None, - os_version_used: Optional[pulumi.Input[builtins.str]] = None, + availability_zones: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + machine_type: pulumi.Input[_builtins.str], + maximum: pulumi.Input[_builtins.int], + minimum: pulumi.Input[_builtins.int], + name: pulumi.Input[_builtins.str], + allow_system_components: Optional[pulumi.Input[_builtins.bool]] = None, + cri: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + max_surge: Optional[pulumi.Input[_builtins.int]] = None, + max_unavailable: Optional[pulumi.Input[_builtins.int]] = None, + os_name: Optional[pulumi.Input[_builtins.str]] = None, + os_version: Optional[pulumi.Input[_builtins.str]] = None, + os_version_min: Optional[pulumi.Input[_builtins.str]] = None, + os_version_used: Optional[pulumi.Input[_builtins.str]] = None, taints: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolTaintArgs']]]] = None, - volume_size: Optional[pulumi.Input[builtins.int]] = None, - volume_type: Optional[pulumi.Input[builtins.str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] availability_zones: Specify a list of availability zones. E.g. `eu01-m` - :param pulumi.Input[builtins.str] machine_type: The machine type. - :param pulumi.Input[builtins.int] maximum: Maximum number of nodes in the pool. - :param pulumi.Input[builtins.int] minimum: Minimum number of nodes in the pool. - :param pulumi.Input[builtins.str] name: Specifies the name of the node pool. - :param pulumi.Input[builtins.bool] allow_system_components: Allow system components to run on this node pool. - :param pulumi.Input[builtins.str] cri: Specifies the container runtime. Defaults to `containerd` - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels to add to each node. - :param pulumi.Input[builtins.int] max_surge: Maximum number of additional VMs that are created during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. - :param pulumi.Input[builtins.int] max_unavailable: Maximum number of VMs that that can be unavailable during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. - :param pulumi.Input[builtins.str] os_name: The name of the OS image. Defaults to `flatcar`. - :param pulumi.Input[builtins.str] os_version: This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. - :param pulumi.Input[builtins.str] os_version_min: The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. - :param pulumi.Input[builtins.str] os_version_used: Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + volume_size: Optional[pulumi.Input[_builtins.int]] = None, + volume_type: Optional[pulumi.Input[_builtins.str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] availability_zones: Specify a list of availability zones. E.g. `eu01-m` + :param pulumi.Input[_builtins.str] machine_type: The machine type. + :param pulumi.Input[_builtins.int] maximum: Maximum number of nodes in the pool. + :param pulumi.Input[_builtins.int] minimum: Minimum number of nodes in the pool. + :param pulumi.Input[_builtins.str] name: Specifies the name of the node pool. + :param pulumi.Input[_builtins.bool] allow_system_components: Allow system components to run on this node pool. + :param pulumi.Input[_builtins.str] cri: Specifies the container runtime. Defaults to `containerd` + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels to add to each node. + :param pulumi.Input[_builtins.int] max_surge: Maximum number of additional VMs that are created during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. + :param pulumi.Input[_builtins.int] max_unavailable: Maximum number of VMs that that can be unavailable during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. + :param pulumi.Input[_builtins.str] os_name: The name of the OS image. Defaults to `flatcar`. + :param pulumi.Input[_builtins.str] os_version: This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. + :param pulumi.Input[_builtins.str] os_version_min: The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. + :param pulumi.Input[_builtins.str] os_version_used: Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). :param pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolTaintArgs']]] taints: Specifies a taint list as defined below. - :param pulumi.Input[builtins.int] volume_size: The volume size in GB. Defaults to `20` - :param pulumi.Input[builtins.str] volume_type: Specifies the volume type. Defaults to `storage_premium_perf1`. + :param pulumi.Input[_builtins.int] volume_size: The volume size in GB. Defaults to `20` + :param pulumi.Input[_builtins.str] volume_type: Specifies the volume type. Defaults to `storage_premium_perf1`. """ pulumi.set(__self__, "availability_zones", availability_zones) pulumi.set(__self__, "machine_type", machine_type) @@ -5466,176 +5898,176 @@ def __init__(__self__, *, if volume_type is not None: pulumi.set(__self__, "volume_type", volume_type) - @property + @_builtins.property @pulumi.getter(name="availabilityZones") - def availability_zones(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def availability_zones(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ Specify a list of availability zones. E.g. `eu01-m` """ return pulumi.get(self, "availability_zones") @availability_zones.setter - def availability_zones(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def availability_zones(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "availability_zones", value) - @property + @_builtins.property @pulumi.getter(name="machineType") - def machine_type(self) -> pulumi.Input[builtins.str]: + def machine_type(self) -> pulumi.Input[_builtins.str]: """ The machine type. """ return pulumi.get(self, "machine_type") @machine_type.setter - def machine_type(self, value: pulumi.Input[builtins.str]): + def machine_type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "machine_type", value) - @property + @_builtins.property @pulumi.getter - def maximum(self) -> pulumi.Input[builtins.int]: + def maximum(self) -> pulumi.Input[_builtins.int]: """ Maximum number of nodes in the pool. """ return pulumi.get(self, "maximum") @maximum.setter - def maximum(self, value: pulumi.Input[builtins.int]): + def maximum(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "maximum", value) - @property + @_builtins.property @pulumi.getter - def minimum(self) -> pulumi.Input[builtins.int]: + def minimum(self) -> pulumi.Input[_builtins.int]: """ Minimum number of nodes in the pool. """ return pulumi.get(self, "minimum") @minimum.setter - def minimum(self, value: pulumi.Input[builtins.int]): + def minimum(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "minimum", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Input[builtins.str]: + def name(self) -> pulumi.Input[_builtins.str]: """ Specifies the name of the node pool. """ return pulumi.get(self, "name") @name.setter - def name(self, value: pulumi.Input[builtins.str]): + def name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="allowSystemComponents") - def allow_system_components(self) -> Optional[pulumi.Input[builtins.bool]]: + def allow_system_components(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Allow system components to run on this node pool. """ return pulumi.get(self, "allow_system_components") @allow_system_components.setter - def allow_system_components(self, value: Optional[pulumi.Input[builtins.bool]]): + def allow_system_components(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "allow_system_components", value) - @property + @_builtins.property @pulumi.getter - def cri(self) -> Optional[pulumi.Input[builtins.str]]: + def cri(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the container runtime. Defaults to `containerd` """ return pulumi.get(self, "cri") @cri.setter - def cri(self, value: Optional[pulumi.Input[builtins.str]]): + def cri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cri", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels to add to each node. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="maxSurge") - def max_surge(self) -> Optional[pulumi.Input[builtins.int]]: + def max_surge(self) -> Optional[pulumi.Input[_builtins.int]]: """ Maximum number of additional VMs that are created during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. """ return pulumi.get(self, "max_surge") @max_surge.setter - def max_surge(self, value: Optional[pulumi.Input[builtins.int]]): + def max_surge(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_surge", value) - @property + @_builtins.property @pulumi.getter(name="maxUnavailable") - def max_unavailable(self) -> Optional[pulumi.Input[builtins.int]]: + def max_unavailable(self) -> Optional[pulumi.Input[_builtins.int]]: """ Maximum number of VMs that that can be unavailable during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. """ return pulumi.get(self, "max_unavailable") @max_unavailable.setter - def max_unavailable(self, value: Optional[pulumi.Input[builtins.int]]): + def max_unavailable(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_unavailable", value) - @property + @_builtins.property @pulumi.getter(name="osName") - def os_name(self) -> Optional[pulumi.Input[builtins.str]]: + def os_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the OS image. Defaults to `flatcar`. """ return pulumi.get(self, "os_name") @os_name.setter - def os_name(self, value: Optional[pulumi.Input[builtins.str]]): + def os_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "os_name", value) - @property + @_builtins.property @pulumi.getter(name="osVersion") @_utilities.deprecated("""Use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. Setting a specific OS image version will cause errors during minor OS upgrades due to forced updates.""") - def os_version(self) -> Optional[pulumi.Input[builtins.str]]: + def os_version(self) -> Optional[pulumi.Input[_builtins.str]]: """ This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. """ return pulumi.get(self, "os_version") @os_version.setter - def os_version(self, value: Optional[pulumi.Input[builtins.str]]): + def os_version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "os_version", value) - @property + @_builtins.property @pulumi.getter(name="osVersionMin") - def os_version_min(self) -> Optional[pulumi.Input[builtins.str]]: + def os_version_min(self) -> Optional[pulumi.Input[_builtins.str]]: """ The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. """ return pulumi.get(self, "os_version_min") @os_version_min.setter - def os_version_min(self, value: Optional[pulumi.Input[builtins.str]]): + def os_version_min(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "os_version_min", value) - @property + @_builtins.property @pulumi.getter(name="osVersionUsed") - def os_version_used(self) -> Optional[pulumi.Input[builtins.str]]: + def os_version_used(self) -> Optional[pulumi.Input[_builtins.str]]: """ Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "os_version_used") @os_version_used.setter - def os_version_used(self, value: Optional[pulumi.Input[builtins.str]]): + def os_version_used(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "os_version_used", value) - @property + @_builtins.property @pulumi.getter def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolTaintArgs']]]]: """ @@ -5647,42 +6079,42 @@ def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterNodeP def taints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolTaintArgs']]]]): pulumi.set(self, "taints", value) - @property + @_builtins.property @pulumi.getter(name="volumeSize") - def volume_size(self) -> Optional[pulumi.Input[builtins.int]]: + def volume_size(self) -> Optional[pulumi.Input[_builtins.int]]: """ The volume size in GB. Defaults to `20` """ return pulumi.get(self, "volume_size") @volume_size.setter - def volume_size(self, value: Optional[pulumi.Input[builtins.int]]): + def volume_size(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "volume_size", value) - @property + @_builtins.property @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[pulumi.Input[builtins.str]]: + def volume_type(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the volume type. Defaults to `storage_premium_perf1`. """ return pulumi.get(self, "volume_type") @volume_type.setter - def volume_type(self, value: Optional[pulumi.Input[builtins.str]]): + def volume_type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "volume_type", value) if not MYPY: class SkeClusterNodePoolTaintArgsDict(TypedDict): - effect: pulumi.Input[builtins.str] + effect: pulumi.Input[_builtins.str] """ The taint effect. E.g `PreferNoSchedule`. """ - key: pulumi.Input[builtins.str] + key: pulumi.Input[_builtins.str] """ Taint key to be applied to a node. """ - value: NotRequired[pulumi.Input[builtins.str]] + value: NotRequired[pulumi.Input[_builtins.str]] """ Taint value corresponding to the taint key. """ @@ -5692,72 +6124,72 @@ class SkeClusterNodePoolTaintArgsDict(TypedDict): @pulumi.input_type class SkeClusterNodePoolTaintArgs: def __init__(__self__, *, - effect: pulumi.Input[builtins.str], - key: pulumi.Input[builtins.str], - value: Optional[pulumi.Input[builtins.str]] = None): + effect: pulumi.Input[_builtins.str], + key: pulumi.Input[_builtins.str], + value: Optional[pulumi.Input[_builtins.str]] = None): """ - :param pulumi.Input[builtins.str] effect: The taint effect. E.g `PreferNoSchedule`. - :param pulumi.Input[builtins.str] key: Taint key to be applied to a node. - :param pulumi.Input[builtins.str] value: Taint value corresponding to the taint key. + :param pulumi.Input[_builtins.str] effect: The taint effect. E.g `PreferNoSchedule`. + :param pulumi.Input[_builtins.str] key: Taint key to be applied to a node. + :param pulumi.Input[_builtins.str] value: Taint value corresponding to the taint key. """ pulumi.set(__self__, "effect", effect) pulumi.set(__self__, "key", key) if value is not None: pulumi.set(__self__, "value", value) - @property + @_builtins.property @pulumi.getter - def effect(self) -> pulumi.Input[builtins.str]: + def effect(self) -> pulumi.Input[_builtins.str]: """ The taint effect. E.g `PreferNoSchedule`. """ return pulumi.get(self, "effect") @effect.setter - def effect(self, value: pulumi.Input[builtins.str]): + def effect(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "effect", value) - @property + @_builtins.property @pulumi.getter - def key(self) -> pulumi.Input[builtins.str]: + def key(self) -> pulumi.Input[_builtins.str]: """ Taint key to be applied to a node. """ return pulumi.get(self, "key") @key.setter - def key(self, value: pulumi.Input[builtins.str]): + def key(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "key", value) - @property + @_builtins.property @pulumi.getter - def value(self) -> Optional[pulumi.Input[builtins.str]]: + def value(self) -> Optional[pulumi.Input[_builtins.str]]: """ Taint value corresponding to the taint key. """ return pulumi.get(self, "value") @value.setter - def value(self, value: Optional[pulumi.Input[builtins.str]]): + def value(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "value", value) if not MYPY: class SqlserverflexInstanceFlavorArgsDict(TypedDict): - cpu: pulumi.Input[builtins.int] - ram: pulumi.Input[builtins.int] - description: NotRequired[pulumi.Input[builtins.str]] - id: NotRequired[pulumi.Input[builtins.str]] + cpu: pulumi.Input[_builtins.int] + ram: pulumi.Input[_builtins.int] + description: NotRequired[pulumi.Input[_builtins.str]] + id: NotRequired[pulumi.Input[_builtins.str]] elif False: SqlserverflexInstanceFlavorArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class SqlserverflexInstanceFlavorArgs: def __init__(__self__, *, - cpu: pulumi.Input[builtins.int], - ram: pulumi.Input[builtins.int], - description: Optional[pulumi.Input[builtins.str]] = None, - id: Optional[pulumi.Input[builtins.str]] = None): + cpu: pulumi.Input[_builtins.int], + ram: pulumi.Input[_builtins.int], + description: Optional[pulumi.Input[_builtins.str]] = None, + id: Optional[pulumi.Input[_builtins.str]] = None): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "ram", ram) if description is not None: @@ -5765,122 +6197,122 @@ def __init__(__self__, *, if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> pulumi.Input[builtins.int]: + def cpu(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "cpu") @cpu.setter - def cpu(self, value: pulumi.Input[builtins.int]): + def cpu(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "cpu", value) - @property + @_builtins.property @pulumi.getter - def ram(self) -> pulumi.Input[builtins.int]: + def ram(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "ram") @ram.setter - def ram(self, value: pulumi.Input[builtins.int]): + def ram(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "ram", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[pulumi.Input[builtins.str]]: + def id(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "id") @id.setter - def id(self, value: Optional[pulumi.Input[builtins.str]]): + def id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "id", value) if not MYPY: class SqlserverflexInstanceOptionsArgsDict(TypedDict): - edition: NotRequired[pulumi.Input[builtins.str]] - retention_days: NotRequired[pulumi.Input[builtins.int]] + edition: NotRequired[pulumi.Input[_builtins.str]] + retention_days: NotRequired[pulumi.Input[_builtins.int]] elif False: SqlserverflexInstanceOptionsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class SqlserverflexInstanceOptionsArgs: def __init__(__self__, *, - edition: Optional[pulumi.Input[builtins.str]] = None, - retention_days: Optional[pulumi.Input[builtins.int]] = None): + edition: Optional[pulumi.Input[_builtins.str]] = None, + retention_days: Optional[pulumi.Input[_builtins.int]] = None): if edition is not None: pulumi.set(__self__, "edition", edition) if retention_days is not None: pulumi.set(__self__, "retention_days", retention_days) - @property + @_builtins.property @pulumi.getter - def edition(self) -> Optional[pulumi.Input[builtins.str]]: + def edition(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "edition") @edition.setter - def edition(self, value: Optional[pulumi.Input[builtins.str]]): + def edition(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "edition", value) - @property + @_builtins.property @pulumi.getter(name="retentionDays") - def retention_days(self) -> Optional[pulumi.Input[builtins.int]]: + def retention_days(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "retention_days") @retention_days.setter - def retention_days(self, value: Optional[pulumi.Input[builtins.int]]): + def retention_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "retention_days", value) if not MYPY: class SqlserverflexInstanceStorageArgsDict(TypedDict): - class_: NotRequired[pulumi.Input[builtins.str]] - size: NotRequired[pulumi.Input[builtins.int]] + class_: NotRequired[pulumi.Input[_builtins.str]] + size: NotRequired[pulumi.Input[_builtins.int]] elif False: SqlserverflexInstanceStorageArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class SqlserverflexInstanceStorageArgs: def __init__(__self__, *, - class_: Optional[pulumi.Input[builtins.str]] = None, - size: Optional[pulumi.Input[builtins.int]] = None): + class_: Optional[pulumi.Input[_builtins.str]] = None, + size: Optional[pulumi.Input[_builtins.int]] = None): if class_ is not None: pulumi.set(__self__, "class_", class_) if size is not None: pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> Optional[pulumi.Input[builtins.str]]: + def class_(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "class_") @class_.setter - def class_(self, value: Optional[pulumi.Input[builtins.str]]): + def class_(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "class_", value) - @property + @_builtins.property @pulumi.getter - def size(self) -> Optional[pulumi.Input[builtins.int]]: + def size(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "size") @size.setter - def size(self, value: Optional[pulumi.Input[builtins.int]]): + def size(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "size", value) if not MYPY: class VolumeSourceArgsDict(TypedDict): - id: pulumi.Input[builtins.str] + id: pulumi.Input[_builtins.str] """ The ID of the source, e.g. image ID """ - type: pulumi.Input[builtins.str] + type: pulumi.Input[_builtins.str] """ The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. """ @@ -5890,37 +6322,180 @@ class VolumeSourceArgsDict(TypedDict): @pulumi.input_type class VolumeSourceArgs: def __init__(__self__, *, - id: pulumi.Input[builtins.str], - type: pulumi.Input[builtins.str]): + id: pulumi.Input[_builtins.str], + type: pulumi.Input[_builtins.str]): """ - :param pulumi.Input[builtins.str] id: The ID of the source, e.g. image ID - :param pulumi.Input[builtins.str] type: The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. + :param pulumi.Input[_builtins.str] id: The ID of the source, e.g. image ID + :param pulumi.Input[_builtins.str] type: The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. """ pulumi.set(__self__, "id", id) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def id(self) -> pulumi.Input[builtins.str]: + def id(self) -> pulumi.Input[_builtins.str]: """ The ID of the source, e.g. image ID """ return pulumi.get(self, "id") @id.setter - def id(self, value: pulumi.Input[builtins.str]): + def id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "id", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[builtins.str]: + def type(self) -> pulumi.Input[_builtins.str]: """ The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. """ return pulumi.get(self, "type") @type.setter - def type(self, value: pulumi.Input[builtins.str]): + def type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "type", value) +if not MYPY: + class GetCdnCustomDomainCertificateArgsDict(TypedDict): + version: _builtins.int + """ + A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ +elif False: + GetCdnCustomDomainCertificateArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetCdnCustomDomainCertificateArgs: + def __init__(__self__, *, + version: _builtins.int): + """ + :param _builtins.int version: A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def version(self) -> _builtins.int: + """ + A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: _builtins.int): + pulumi.set(self, "version", value) + + +if not MYPY: + class GetImageV2FilterArgsDict(TypedDict): + distro: NotRequired[_builtins.str] + """ + Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + """ + os: NotRequired[_builtins.str] + """ + Filter images by operating system type, such as `linux` or `windows`. + """ + secure_boot: NotRequired[_builtins.bool] + """ + Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + """ + uefi: NotRequired[_builtins.bool] + """ + Filter images based on UEFI support. Set to `true` to match images that support UEFI. + """ + version: NotRequired[_builtins.str] + """ + Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + """ +elif False: + GetImageV2FilterArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetImageV2FilterArgs: + def __init__(__self__, *, + distro: Optional[_builtins.str] = None, + os: Optional[_builtins.str] = None, + secure_boot: Optional[_builtins.bool] = None, + uefi: Optional[_builtins.bool] = None, + version: Optional[_builtins.str] = None): + """ + :param _builtins.str distro: Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + :param _builtins.str os: Filter images by operating system type, such as `linux` or `windows`. + :param _builtins.bool secure_boot: Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + :param _builtins.bool uefi: Filter images based on UEFI support. Set to `true` to match images that support UEFI. + :param _builtins.str version: Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + """ + if distro is not None: + pulumi.set(__self__, "distro", distro) + if os is not None: + pulumi.set(__self__, "os", os) + if secure_boot is not None: + pulumi.set(__self__, "secure_boot", secure_boot) + if uefi is not None: + pulumi.set(__self__, "uefi", uefi) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def distro(self) -> Optional[_builtins.str]: + """ + Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + """ + return pulumi.get(self, "distro") + + @distro.setter + def distro(self, value: Optional[_builtins.str]): + pulumi.set(self, "distro", value) + + @_builtins.property + @pulumi.getter + def os(self) -> Optional[_builtins.str]: + """ + Filter images by operating system type, such as `linux` or `windows`. + """ + return pulumi.get(self, "os") + + @os.setter + def os(self, value: Optional[_builtins.str]): + pulumi.set(self, "os", value) + + @_builtins.property + @pulumi.getter(name="secureBoot") + def secure_boot(self) -> Optional[_builtins.bool]: + """ + Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + """ + return pulumi.get(self, "secure_boot") + + @secure_boot.setter + def secure_boot(self, value: Optional[_builtins.bool]): + pulumi.set(self, "secure_boot", value) + + @_builtins.property + @pulumi.getter + def uefi(self) -> Optional[_builtins.bool]: + """ + Filter images based on UEFI support. Set to `true` to match images that support UEFI. + """ + return pulumi.get(self, "uefi") + + @uefi.setter + def uefi(self, value: Optional[_builtins.bool]): + pulumi.set(self, "uefi", value) + + @_builtins.property + @pulumi.getter + def version(self) -> Optional[_builtins.str]: + """ + Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[_builtins.str]): + pulumi.set(self, "version", value) + + diff --git a/sdk/python/pulumi_stackit/affinity_group.py b/sdk/python/pulumi_stackit/affinity_group.py index 5adac3b7..46a8d497 100644 --- a/sdk/python/pulumi_stackit/affinity_group.py +++ b/sdk/python/pulumi_stackit/affinity_group.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,72 +19,72 @@ @pulumi.input_type class AffinityGroupArgs: def __init__(__self__, *, - policy: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None): + policy: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a AffinityGroup resource. - :param pulumi.Input[builtins.str] policy: The policy of the affinity group. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. - :param pulumi.Input[builtins.str] name: The name of the affinity group. + :param pulumi.Input[_builtins.str] policy: The policy of the affinity group. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. + :param pulumi.Input[_builtins.str] name: The name of the affinity group. """ pulumi.set(__self__, "policy", policy) pulumi.set(__self__, "project_id", project_id) if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter - def policy(self) -> pulumi.Input[builtins.str]: + def policy(self) -> pulumi.Input[_builtins.str]: """ The policy of the affinity group. """ return pulumi.get(self, "policy") @policy.setter - def policy(self, value: pulumi.Input[builtins.str]): + def policy(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "policy", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the affinity group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the affinity group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _AffinityGroupState: def __init__(__self__, *, - affinity_group_id: Optional[pulumi.Input[builtins.str]] = None, - members: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - policy: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None): + affinity_group_id: Optional[pulumi.Input[_builtins.str]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + policy: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering AffinityGroup resources. - :param pulumi.Input[builtins.str] affinity_group_id: The affinity group ID. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] members: The servers that are part of the affinity group. - :param pulumi.Input[builtins.str] name: The name of the affinity group. - :param pulumi.Input[builtins.str] policy: The policy of the affinity group. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. + :param pulumi.Input[_builtins.str] affinity_group_id: The affinity group ID. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] members: The servers that are part of the affinity group. + :param pulumi.Input[_builtins.str] name: The name of the affinity group. + :param pulumi.Input[_builtins.str] policy: The policy of the affinity group. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. """ if affinity_group_id is not None: pulumi.set(__self__, "affinity_group_id", affinity_group_id) @@ -98,64 +97,64 @@ def __init__(__self__, *, if project_id is not None: pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter(name="affinityGroupId") - def affinity_group_id(self) -> Optional[pulumi.Input[builtins.str]]: + def affinity_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The affinity group ID. """ return pulumi.get(self, "affinity_group_id") @affinity_group_id.setter - def affinity_group_id(self, value: Optional[pulumi.Input[builtins.str]]): + def affinity_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "affinity_group_id", value) - @property + @_builtins.property @pulumi.getter - def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The servers that are part of the affinity group. """ return pulumi.get(self, "members") @members.setter - def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "members", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the affinity group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def policy(self) -> Optional[pulumi.Input[builtins.str]]: + def policy(self) -> Optional[pulumi.Input[_builtins.str]]: """ The policy of the affinity group. """ return pulumi.get(self, "policy") @policy.setter - def policy(self, value: Optional[pulumi.Input[builtins.str]]): + def policy(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "policy", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the affinity group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) @@ -165,9 +164,9 @@ class AffinityGroup(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - policy: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + policy: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Affinity Group schema. Must have a `region` specified in the provider configuration. @@ -176,9 +175,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: The name of the affinity group. - :param pulumi.Input[builtins.str] policy: The policy of the affinity group. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. + :param pulumi.Input[_builtins.str] name: The name of the affinity group. + :param pulumi.Input[_builtins.str] policy: The policy of the affinity group. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. """ ... @overload @@ -206,9 +205,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - policy: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + policy: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -237,11 +236,11 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - affinity_group_id: Optional[pulumi.Input[builtins.str]] = None, - members: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - policy: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None) -> 'AffinityGroup': + affinity_group_id: Optional[pulumi.Input[_builtins.str]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + policy: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'AffinityGroup': """ Get an existing AffinityGroup resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -249,11 +248,11 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] affinity_group_id: The affinity group ID. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] members: The servers that are part of the affinity group. - :param pulumi.Input[builtins.str] name: The name of the affinity group. - :param pulumi.Input[builtins.str] policy: The policy of the affinity group. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. + :param pulumi.Input[_builtins.str] affinity_group_id: The affinity group ID. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] members: The servers that are part of the affinity group. + :param pulumi.Input[_builtins.str] name: The name of the affinity group. + :param pulumi.Input[_builtins.str] policy: The policy of the affinity group. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the affinity group is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -266,41 +265,41 @@ def get(resource_name: str, __props__.__dict__["project_id"] = project_id return AffinityGroup(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="affinityGroupId") - def affinity_group_id(self) -> pulumi.Output[builtins.str]: + def affinity_group_id(self) -> pulumi.Output[_builtins.str]: """ The affinity group ID. """ return pulumi.get(self, "affinity_group_id") - @property + @_builtins.property @pulumi.getter - def members(self) -> pulumi.Output[Sequence[builtins.str]]: + def members(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The servers that are part of the affinity group. """ return pulumi.get(self, "members") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the affinity group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def policy(self) -> pulumi.Output[builtins.str]: + def policy(self) -> pulumi.Output[_builtins.str]: """ The policy of the affinity group. """ return pulumi.get(self, "policy") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the affinity group is associated. """ diff --git a/sdk/python/pulumi_stackit/authorization_organization_role_assignment.py b/sdk/python/pulumi_stackit/authorization_organization_role_assignment.py index 608718db..a0557749 100644 --- a/sdk/python/pulumi_stackit/authorization_organization_role_assignment.py +++ b/sdk/python/pulumi_stackit/authorization_organization_role_assignment.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,67 +19,67 @@ @pulumi.input_type class AuthorizationOrganizationRoleAssignmentArgs: def __init__(__self__, *, - resource_id: pulumi.Input[builtins.str], - role: pulumi.Input[builtins.str], - subject: pulumi.Input[builtins.str]): + resource_id: pulumi.Input[_builtins.str], + role: pulumi.Input[_builtins.str], + subject: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a AuthorizationOrganizationRoleAssignment resource. - :param pulumi.Input[builtins.str] resource_id: organization Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: organization Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ pulumi.set(__self__, "resource_id", resource_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "subject", subject) - @property + @_builtins.property @pulumi.getter(name="resourceId") - def resource_id(self) -> pulumi.Input[builtins.str]: + def resource_id(self) -> pulumi.Input[_builtins.str]: """ organization Resource to assign the role to. """ return pulumi.get(self, "resource_id") @resource_id.setter - def resource_id(self, value: pulumi.Input[builtins.str]): + def resource_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "resource_id", value) - @property + @_builtins.property @pulumi.getter - def role(self) -> pulumi.Input[builtins.str]: + def role(self) -> pulumi.Input[_builtins.str]: """ Role to be assigned """ return pulumi.get(self, "role") @role.setter - def role(self, value: pulumi.Input[builtins.str]): + def role(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "role", value) - @property + @_builtins.property @pulumi.getter - def subject(self) -> pulumi.Input[builtins.str]: + def subject(self) -> pulumi.Input[_builtins.str]: """ Identifier of user, service account or client. Usually email address or name in case of clients """ return pulumi.get(self, "subject") @subject.setter - def subject(self, value: pulumi.Input[builtins.str]): + def subject(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "subject", value) @pulumi.input_type class _AuthorizationOrganizationRoleAssignmentState: def __init__(__self__, *, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None): + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering AuthorizationOrganizationRoleAssignment resources. - :param pulumi.Input[builtins.str] resource_id: organization Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: organization Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ if resource_id is not None: pulumi.set(__self__, "resource_id", resource_id) @@ -89,40 +88,40 @@ def __init__(__self__, *, if subject is not None: pulumi.set(__self__, "subject", subject) - @property + @_builtins.property @pulumi.getter(name="resourceId") - def resource_id(self) -> Optional[pulumi.Input[builtins.str]]: + def resource_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ organization Resource to assign the role to. """ return pulumi.get(self, "resource_id") @resource_id.setter - def resource_id(self, value: Optional[pulumi.Input[builtins.str]]): + def resource_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "resource_id", value) - @property + @_builtins.property @pulumi.getter - def role(self) -> Optional[pulumi.Input[builtins.str]]: + def role(self) -> Optional[pulumi.Input[_builtins.str]]: """ Role to be assigned """ return pulumi.get(self, "role") @role.setter - def role(self, value: Optional[pulumi.Input[builtins.str]]): + def role(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "role", value) - @property + @_builtins.property @pulumi.getter - def subject(self) -> Optional[pulumi.Input[builtins.str]]: + def subject(self) -> Optional[pulumi.Input[_builtins.str]]: """ Identifier of user, service account or client. Usually email address or name in case of clients """ return pulumi.get(self, "subject") @subject.setter - def subject(self, value: Optional[pulumi.Input[builtins.str]]): + def subject(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "subject", value) @@ -132,9 +131,9 @@ class AuthorizationOrganizationRoleAssignment(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None, + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ organization Role Assignment resource schema. @@ -145,9 +144,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] resource_id: organization Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: organization Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ ... @overload @@ -177,9 +176,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None, + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -208,9 +207,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None) -> 'AuthorizationOrganizationRoleAssignment': + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None) -> 'AuthorizationOrganizationRoleAssignment': """ Get an existing AuthorizationOrganizationRoleAssignment resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -218,9 +217,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] resource_id: organization Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: organization Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -231,25 +230,25 @@ def get(resource_name: str, __props__.__dict__["subject"] = subject return AuthorizationOrganizationRoleAssignment(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="resourceId") - def resource_id(self) -> pulumi.Output[builtins.str]: + def resource_id(self) -> pulumi.Output[_builtins.str]: """ organization Resource to assign the role to. """ return pulumi.get(self, "resource_id") - @property + @_builtins.property @pulumi.getter - def role(self) -> pulumi.Output[builtins.str]: + def role(self) -> pulumi.Output[_builtins.str]: """ Role to be assigned """ return pulumi.get(self, "role") - @property + @_builtins.property @pulumi.getter - def subject(self) -> pulumi.Output[builtins.str]: + def subject(self) -> pulumi.Output[_builtins.str]: """ Identifier of user, service account or client. Usually email address or name in case of clients """ diff --git a/sdk/python/pulumi_stackit/authorization_project_role_assignment.py b/sdk/python/pulumi_stackit/authorization_project_role_assignment.py index ffdc63dd..bd7046f5 100644 --- a/sdk/python/pulumi_stackit/authorization_project_role_assignment.py +++ b/sdk/python/pulumi_stackit/authorization_project_role_assignment.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,67 +19,67 @@ @pulumi.input_type class AuthorizationProjectRoleAssignmentArgs: def __init__(__self__, *, - resource_id: pulumi.Input[builtins.str], - role: pulumi.Input[builtins.str], - subject: pulumi.Input[builtins.str]): + resource_id: pulumi.Input[_builtins.str], + role: pulumi.Input[_builtins.str], + subject: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a AuthorizationProjectRoleAssignment resource. - :param pulumi.Input[builtins.str] resource_id: project Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: project Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ pulumi.set(__self__, "resource_id", resource_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "subject", subject) - @property + @_builtins.property @pulumi.getter(name="resourceId") - def resource_id(self) -> pulumi.Input[builtins.str]: + def resource_id(self) -> pulumi.Input[_builtins.str]: """ project Resource to assign the role to. """ return pulumi.get(self, "resource_id") @resource_id.setter - def resource_id(self, value: pulumi.Input[builtins.str]): + def resource_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "resource_id", value) - @property + @_builtins.property @pulumi.getter - def role(self) -> pulumi.Input[builtins.str]: + def role(self) -> pulumi.Input[_builtins.str]: """ Role to be assigned """ return pulumi.get(self, "role") @role.setter - def role(self, value: pulumi.Input[builtins.str]): + def role(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "role", value) - @property + @_builtins.property @pulumi.getter - def subject(self) -> pulumi.Input[builtins.str]: + def subject(self) -> pulumi.Input[_builtins.str]: """ Identifier of user, service account or client. Usually email address or name in case of clients """ return pulumi.get(self, "subject") @subject.setter - def subject(self, value: pulumi.Input[builtins.str]): + def subject(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "subject", value) @pulumi.input_type class _AuthorizationProjectRoleAssignmentState: def __init__(__self__, *, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None): + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering AuthorizationProjectRoleAssignment resources. - :param pulumi.Input[builtins.str] resource_id: project Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: project Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ if resource_id is not None: pulumi.set(__self__, "resource_id", resource_id) @@ -89,40 +88,40 @@ def __init__(__self__, *, if subject is not None: pulumi.set(__self__, "subject", subject) - @property + @_builtins.property @pulumi.getter(name="resourceId") - def resource_id(self) -> Optional[pulumi.Input[builtins.str]]: + def resource_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ project Resource to assign the role to. """ return pulumi.get(self, "resource_id") @resource_id.setter - def resource_id(self, value: Optional[pulumi.Input[builtins.str]]): + def resource_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "resource_id", value) - @property + @_builtins.property @pulumi.getter - def role(self) -> Optional[pulumi.Input[builtins.str]]: + def role(self) -> Optional[pulumi.Input[_builtins.str]]: """ Role to be assigned """ return pulumi.get(self, "role") @role.setter - def role(self, value: Optional[pulumi.Input[builtins.str]]): + def role(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "role", value) - @property + @_builtins.property @pulumi.getter - def subject(self) -> Optional[pulumi.Input[builtins.str]]: + def subject(self) -> Optional[pulumi.Input[_builtins.str]]: """ Identifier of user, service account or client. Usually email address or name in case of clients """ return pulumi.get(self, "subject") @subject.setter - def subject(self, value: Optional[pulumi.Input[builtins.str]]): + def subject(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "subject", value) @@ -132,9 +131,9 @@ class AuthorizationProjectRoleAssignment(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None, + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ project Role Assignment resource schema. @@ -145,9 +144,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] resource_id: project Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: project Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ ... @overload @@ -177,9 +176,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None, + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -208,9 +207,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - resource_id: Optional[pulumi.Input[builtins.str]] = None, - role: Optional[pulumi.Input[builtins.str]] = None, - subject: Optional[pulumi.Input[builtins.str]] = None) -> 'AuthorizationProjectRoleAssignment': + resource_id: Optional[pulumi.Input[_builtins.str]] = None, + role: Optional[pulumi.Input[_builtins.str]] = None, + subject: Optional[pulumi.Input[_builtins.str]] = None) -> 'AuthorizationProjectRoleAssignment': """ Get an existing AuthorizationProjectRoleAssignment resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -218,9 +217,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] resource_id: project Resource to assign the role to. - :param pulumi.Input[builtins.str] role: Role to be assigned - :param pulumi.Input[builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients + :param pulumi.Input[_builtins.str] resource_id: project Resource to assign the role to. + :param pulumi.Input[_builtins.str] role: Role to be assigned + :param pulumi.Input[_builtins.str] subject: Identifier of user, service account or client. Usually email address or name in case of clients """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -231,25 +230,25 @@ def get(resource_name: str, __props__.__dict__["subject"] = subject return AuthorizationProjectRoleAssignment(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="resourceId") - def resource_id(self) -> pulumi.Output[builtins.str]: + def resource_id(self) -> pulumi.Output[_builtins.str]: """ project Resource to assign the role to. """ return pulumi.get(self, "resource_id") - @property + @_builtins.property @pulumi.getter - def role(self) -> pulumi.Output[builtins.str]: + def role(self) -> pulumi.Output[_builtins.str]: """ Role to be assigned """ return pulumi.get(self, "role") - @property + @_builtins.property @pulumi.getter - def subject(self) -> pulumi.Output[builtins.str]: + def subject(self) -> pulumi.Output[_builtins.str]: """ Identifier of user, service account or client. Usually email address or name in case of clients """ diff --git a/sdk/python/pulumi_stackit/cdn_custom_domain.py b/sdk/python/pulumi_stackit/cdn_custom_domain.py index 46c01f1e..ff4a8e12 100644 --- a/sdk/python/pulumi_stackit/cdn_custom_domain.py +++ b/sdk/python/pulumi_stackit/cdn_custom_domain.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -14,74 +13,96 @@ else: from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities +from . import outputs +from ._inputs import * __all__ = ['CdnCustomDomainArgs', 'CdnCustomDomain'] @pulumi.input_type class CdnCustomDomainArgs: def __init__(__self__, *, - distribution_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None): + distribution_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + certificate: Optional[pulumi.Input['CdnCustomDomainCertificateArgs']] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a CdnCustomDomain resource. - :param pulumi.Input[builtins.str] distribution_id: CDN distribution ID - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[_builtins.str] distribution_id: CDN distribution ID + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input['CdnCustomDomainCertificateArgs'] certificate: The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. """ pulumi.set(__self__, "distribution_id", distribution_id) pulumi.set(__self__, "project_id", project_id) + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="distributionId") - def distribution_id(self) -> pulumi.Input[builtins.str]: + def distribution_id(self) -> pulumi.Input[_builtins.str]: """ CDN distribution ID """ return pulumi.get(self, "distribution_id") @distribution_id.setter - def distribution_id(self, value: pulumi.Input[builtins.str]): + def distribution_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "distribution_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def certificate(self) -> Optional[pulumi.Input['CdnCustomDomainCertificateArgs']]: + """ + The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + """ + return pulumi.get(self, "certificate") + + @certificate.setter + def certificate(self, value: Optional[pulumi.Input['CdnCustomDomainCertificateArgs']]): + pulumi.set(self, "certificate", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _CdnCustomDomainState: def __init__(__self__, *, - distribution_id: Optional[pulumi.Input[builtins.str]] = None, - errors: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - status: Optional[pulumi.Input[builtins.str]] = None): + certificate: Optional[pulumi.Input['CdnCustomDomainCertificateArgs']] = None, + distribution_id: Optional[pulumi.Input[_builtins.str]] = None, + errors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + status: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering CdnCustomDomain resources. - :param pulumi.Input[builtins.str] distribution_id: CDN distribution ID - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] errors: List of distribution errors - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution - :param pulumi.Input[builtins.str] status: Status of the distribution + :param pulumi.Input['CdnCustomDomainCertificateArgs'] certificate: The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + :param pulumi.Input[_builtins.str] distribution_id: CDN distribution ID + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] errors: List of distribution errors + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[_builtins.str] status: Status of the distribution """ + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) if distribution_id is not None: pulumi.set(__self__, "distribution_id", distribution_id) if errors is not None: @@ -93,61 +114,73 @@ def __init__(__self__, *, if status is not None: pulumi.set(__self__, "status", status) - @property + @_builtins.property + @pulumi.getter + def certificate(self) -> Optional[pulumi.Input['CdnCustomDomainCertificateArgs']]: + """ + The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + """ + return pulumi.get(self, "certificate") + + @certificate.setter + def certificate(self, value: Optional[pulumi.Input['CdnCustomDomainCertificateArgs']]): + pulumi.set(self, "certificate", value) + + @_builtins.property @pulumi.getter(name="distributionId") - def distribution_id(self) -> Optional[pulumi.Input[builtins.str]]: + def distribution_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ CDN distribution ID """ return pulumi.get(self, "distribution_id") @distribution_id.setter - def distribution_id(self, value: Optional[pulumi.Input[builtins.str]]): + def distribution_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "distribution_id", value) - @property + @_builtins.property @pulumi.getter - def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of distribution errors """ return pulumi.get(self, "errors") @errors.setter - def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "errors", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def status(self) -> Optional[pulumi.Input[builtins.str]]: + def status(self) -> Optional[pulumi.Input[_builtins.str]]: """ Status of the distribution """ return pulumi.get(self, "status") @status.setter - def status(self, value: Optional[pulumi.Input[builtins.str]]): + def status(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "status", value) @@ -157,9 +190,10 @@ class CdnCustomDomain(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - distribution_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + certificate: Optional[pulumi.Input[Union['CdnCustomDomainCertificateArgs', 'CdnCustomDomainCertificateArgsDict']]] = None, + distribution_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ CDN distribution data source schema. @@ -170,8 +204,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] distribution_id: CDN distribution ID - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[Union['CdnCustomDomainCertificateArgs', 'CdnCustomDomainCertificateArgsDict']] certificate: The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + :param pulumi.Input[_builtins.str] distribution_id: CDN distribution ID + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution """ ... @overload @@ -201,9 +236,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - distribution_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + certificate: Optional[pulumi.Input[Union['CdnCustomDomainCertificateArgs', 'CdnCustomDomainCertificateArgsDict']]] = None, + distribution_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -213,6 +249,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = CdnCustomDomainArgs.__new__(CdnCustomDomainArgs) + __props__.__dict__["certificate"] = certificate if distribution_id is None and not opts.urn: raise TypeError("Missing required property 'distribution_id'") __props__.__dict__["distribution_id"] = distribution_id @@ -232,11 +269,12 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - distribution_id: Optional[pulumi.Input[builtins.str]] = None, - errors: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - status: Optional[pulumi.Input[builtins.str]] = None) -> 'CdnCustomDomain': + certificate: Optional[pulumi.Input[Union['CdnCustomDomainCertificateArgs', 'CdnCustomDomainCertificateArgsDict']]] = None, + distribution_id: Optional[pulumi.Input[_builtins.str]] = None, + errors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + status: Optional[pulumi.Input[_builtins.str]] = None) -> 'CdnCustomDomain': """ Get an existing CdnCustomDomain resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -244,15 +282,17 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] distribution_id: CDN distribution ID - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] errors: List of distribution errors - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution - :param pulumi.Input[builtins.str] status: Status of the distribution + :param pulumi.Input[Union['CdnCustomDomainCertificateArgs', 'CdnCustomDomainCertificateArgsDict']] certificate: The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + :param pulumi.Input[_builtins.str] distribution_id: CDN distribution ID + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] errors: List of distribution errors + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[_builtins.str] status: Status of the distribution """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _CdnCustomDomainState.__new__(_CdnCustomDomainState) + __props__.__dict__["certificate"] = certificate __props__.__dict__["distribution_id"] = distribution_id __props__.__dict__["errors"] = errors __props__.__dict__["name"] = name @@ -260,38 +300,46 @@ def get(resource_name: str, __props__.__dict__["status"] = status return CdnCustomDomain(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property + @pulumi.getter + def certificate(self) -> pulumi.Output[Optional['outputs.CdnCustomDomainCertificate']]: + """ + The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + """ + return pulumi.get(self, "certificate") + + @_builtins.property @pulumi.getter(name="distributionId") - def distribution_id(self) -> pulumi.Output[builtins.str]: + def distribution_id(self) -> pulumi.Output[_builtins.str]: """ CDN distribution ID """ return pulumi.get(self, "distribution_id") - @property + @_builtins.property @pulumi.getter - def errors(self) -> pulumi.Output[Sequence[builtins.str]]: + def errors(self) -> pulumi.Output[Sequence[_builtins.str]]: """ List of distribution errors """ return pulumi.get(self, "errors") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def status(self) -> pulumi.Output[builtins.str]: + def status(self) -> pulumi.Output[_builtins.str]: """ Status of the distribution """ diff --git a/sdk/python/pulumi_stackit/cdn_distribution.py b/sdk/python/pulumi_stackit/cdn_distribution.py index e30daeae..0f505feb 100644 --- a/sdk/python/pulumi_stackit/cdn_distribution.py +++ b/sdk/python/pulumi_stackit/cdn_distribution.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -23,16 +22,16 @@ class CdnDistributionArgs: def __init__(__self__, *, config: pulumi.Input['CdnDistributionConfigArgs'], - project_id: pulumi.Input[builtins.str]): + project_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a CdnDistribution resource. :param pulumi.Input['CdnDistributionConfigArgs'] config: The distribution configuration - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution """ pulumi.set(__self__, "config", config) pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter def config(self) -> pulumi.Input['CdnDistributionConfigArgs']: """ @@ -44,16 +43,16 @@ def config(self) -> pulumi.Input['CdnDistributionConfigArgs']: def config(self, value: pulumi.Input['CdnDistributionConfigArgs']): pulumi.set(self, "config", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) @@ -61,23 +60,23 @@ def project_id(self, value: pulumi.Input[builtins.str]): class _CdnDistributionState: def __init__(__self__, *, config: Optional[pulumi.Input['CdnDistributionConfigArgs']] = None, - created_at: Optional[pulumi.Input[builtins.str]] = None, - distribution_id: Optional[pulumi.Input[builtins.str]] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + distribution_id: Optional[pulumi.Input[_builtins.str]] = None, domains: Optional[pulumi.Input[Sequence[pulumi.Input['CdnDistributionDomainArgs']]]] = None, - errors: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - status: Optional[pulumi.Input[builtins.str]] = None, - updated_at: Optional[pulumi.Input[builtins.str]] = None): + errors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + status: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering CdnDistribution resources. :param pulumi.Input['CdnDistributionConfigArgs'] config: The distribution configuration - :param pulumi.Input[builtins.str] created_at: Time when the distribution was created - :param pulumi.Input[builtins.str] distribution_id: CDN distribution ID + :param pulumi.Input[_builtins.str] created_at: Time when the distribution was created + :param pulumi.Input[_builtins.str] distribution_id: CDN distribution ID :param pulumi.Input[Sequence[pulumi.Input['CdnDistributionDomainArgs']]] domains: List of configured domains for the distribution - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] errors: List of distribution errors - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution - :param pulumi.Input[builtins.str] status: Status of the distribution - :param pulumi.Input[builtins.str] updated_at: Time when the distribution was last updated + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] errors: List of distribution errors + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[_builtins.str] status: Status of the distribution + :param pulumi.Input[_builtins.str] updated_at: Time when the distribution was last updated """ if config is not None: pulumi.set(__self__, "config", config) @@ -96,7 +95,7 @@ def __init__(__self__, *, if updated_at is not None: pulumi.set(__self__, "updated_at", updated_at) - @property + @_builtins.property @pulumi.getter def config(self) -> Optional[pulumi.Input['CdnDistributionConfigArgs']]: """ @@ -108,31 +107,31 @@ def config(self) -> Optional[pulumi.Input['CdnDistributionConfigArgs']]: def config(self, value: Optional[pulumi.Input['CdnDistributionConfigArgs']]): pulumi.set(self, "config", value) - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[pulumi.Input[builtins.str]]: + def created_at(self) -> Optional[pulumi.Input[_builtins.str]]: """ Time when the distribution was created """ return pulumi.get(self, "created_at") @created_at.setter - def created_at(self, value: Optional[pulumi.Input[builtins.str]]): + def created_at(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "created_at", value) - @property + @_builtins.property @pulumi.getter(name="distributionId") - def distribution_id(self) -> Optional[pulumi.Input[builtins.str]]: + def distribution_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ CDN distribution ID """ return pulumi.get(self, "distribution_id") @distribution_id.setter - def distribution_id(self, value: Optional[pulumi.Input[builtins.str]]): + def distribution_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "distribution_id", value) - @property + @_builtins.property @pulumi.getter def domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CdnDistributionDomainArgs']]]]: """ @@ -144,52 +143,52 @@ def domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CdnDistributio def domains(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CdnDistributionDomainArgs']]]]): pulumi.set(self, "domains", value) - @property + @_builtins.property @pulumi.getter - def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of distribution errors """ return pulumi.get(self, "errors") @errors.setter - def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "errors", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def status(self) -> Optional[pulumi.Input[builtins.str]]: + def status(self) -> Optional[pulumi.Input[_builtins.str]]: """ Status of the distribution """ return pulumi.get(self, "status") @status.setter - def status(self, value: Optional[pulumi.Input[builtins.str]]): + def status(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "status", value) - @property + @_builtins.property @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[pulumi.Input[builtins.str]]: + def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]: """ Time when the distribution was last updated """ return pulumi.get(self, "updated_at") @updated_at.setter - def updated_at(self, value: Optional[pulumi.Input[builtins.str]]): + def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "updated_at", value) @@ -200,7 +199,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, config: Optional[pulumi.Input[Union['CdnDistributionConfigArgs', 'CdnDistributionConfigArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ CDN distribution data source schema. @@ -212,7 +211,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['CdnDistributionConfigArgs', 'CdnDistributionConfigArgsDict']] config: The distribution configuration - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution """ ... @overload @@ -243,7 +242,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, config: Optional[pulumi.Input[Union['CdnDistributionConfigArgs', 'CdnDistributionConfigArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -276,13 +275,13 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, config: Optional[pulumi.Input[Union['CdnDistributionConfigArgs', 'CdnDistributionConfigArgsDict']]] = None, - created_at: Optional[pulumi.Input[builtins.str]] = None, - distribution_id: Optional[pulumi.Input[builtins.str]] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + distribution_id: Optional[pulumi.Input[_builtins.str]] = None, domains: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CdnDistributionDomainArgs', 'CdnDistributionDomainArgsDict']]]]] = None, - errors: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - status: Optional[pulumi.Input[builtins.str]] = None, - updated_at: Optional[pulumi.Input[builtins.str]] = None) -> 'CdnDistribution': + errors: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + status: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'CdnDistribution': """ Get an existing CdnDistribution resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -291,13 +290,13 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['CdnDistributionConfigArgs', 'CdnDistributionConfigArgsDict']] config: The distribution configuration - :param pulumi.Input[builtins.str] created_at: Time when the distribution was created - :param pulumi.Input[builtins.str] distribution_id: CDN distribution ID + :param pulumi.Input[_builtins.str] created_at: Time when the distribution was created + :param pulumi.Input[_builtins.str] distribution_id: CDN distribution ID :param pulumi.Input[Sequence[pulumi.Input[Union['CdnDistributionDomainArgs', 'CdnDistributionDomainArgsDict']]]] domains: List of configured domains for the distribution - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] errors: List of distribution errors - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the distribution - :param pulumi.Input[builtins.str] status: Status of the distribution - :param pulumi.Input[builtins.str] updated_at: Time when the distribution was last updated + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] errors: List of distribution errors + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the distribution + :param pulumi.Input[_builtins.str] status: Status of the distribution + :param pulumi.Input[_builtins.str] updated_at: Time when the distribution was last updated """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -313,7 +312,7 @@ def get(resource_name: str, __props__.__dict__["updated_at"] = updated_at return CdnDistribution(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter def config(self) -> pulumi.Output['outputs.CdnDistributionConfig']: """ @@ -321,23 +320,23 @@ def config(self) -> pulumi.Output['outputs.CdnDistributionConfig']: """ return pulumi.get(self, "config") - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> pulumi.Output[builtins.str]: + def created_at(self) -> pulumi.Output[_builtins.str]: """ Time when the distribution was created """ return pulumi.get(self, "created_at") - @property + @_builtins.property @pulumi.getter(name="distributionId") - def distribution_id(self) -> pulumi.Output[builtins.str]: + def distribution_id(self) -> pulumi.Output[_builtins.str]: """ CDN distribution ID """ return pulumi.get(self, "distribution_id") - @property + @_builtins.property @pulumi.getter def domains(self) -> pulumi.Output[Sequence['outputs.CdnDistributionDomain']]: """ @@ -345,33 +344,33 @@ def domains(self) -> pulumi.Output[Sequence['outputs.CdnDistributionDomain']]: """ return pulumi.get(self, "domains") - @property + @_builtins.property @pulumi.getter - def errors(self) -> pulumi.Output[Sequence[builtins.str]]: + def errors(self) -> pulumi.Output[Sequence[_builtins.str]]: """ List of distribution errors """ return pulumi.get(self, "errors") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def status(self) -> pulumi.Output[builtins.str]: + def status(self) -> pulumi.Output[_builtins.str]: """ Status of the distribution """ return pulumi.get(self, "status") - @property + @_builtins.property @pulumi.getter(name="updatedAt") - def updated_at(self) -> pulumi.Output[builtins.str]: + def updated_at(self) -> pulumi.Output[_builtins.str]: """ Time when the distribution was last updated """ diff --git a/sdk/python/pulumi_stackit/config/__init__.py b/sdk/python/pulumi_stackit/config/__init__.py index 76a596c9..43ec6e26 100644 --- a/sdk/python/pulumi_stackit/config/__init__.py +++ b/sdk/python/pulumi_stackit/config/__init__.py @@ -2,7 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins +import builtins as _builtins import sys from .vars import _ExportableConfig diff --git a/sdk/python/pulumi_stackit/config/__init__.pyi b/sdk/python/pulumi_stackit/config/__init__.pyi index ab1aa88f..c740be5e 100644 --- a/sdk/python/pulumi_stackit/config/__init__.pyi +++ b/sdk/python/pulumi_stackit/config/__init__.pyi @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -15,11 +14,6 @@ else: from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities -argusCustomEndpoint: Optional[str] -""" -Custom endpoint for the Argus service -""" - authorizationCustomEndpoint: Optional[str] """ Custom endpoint for the Membership service @@ -32,8 +26,7 @@ Custom endpoint for the CDN service credentialsPath: Optional[str] """ -Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default -value is `~/.stackit/credentials.json`. +Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. """ defaultRegion: Optional[str] @@ -53,8 +46,7 @@ Enable beta resources. Default is false. experiments: Optional[str] """ -Enables experiments. These are unstable features without official support. More information can be found in the README. -Available Experiments: [iam] +Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network """ gitCustomEndpoint: Optional[str] @@ -114,14 +106,12 @@ Custom endpoint for the PostgresFlex service privateKey: Optional[str] """ -Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is -included in the service account key. +Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ privateKeyPath: Optional[str] """ -Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private -key that is included in the service account key. +Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ rabbitmqCustomEndpoint: Optional[str] @@ -144,6 +134,11 @@ resourcemanagerCustomEndpoint: Optional[str] Custom endpoint for the Resource Manager service """ +scfCustomEndpoint: Optional[str] +""" +Custom endpoint for the Cloud Foundry (SCF) service +""" + secretsmanagerCustomEndpoint: Optional[str] """ Custom endpoint for the Secrets Manager service @@ -166,8 +161,7 @@ Custom endpoint for the Service Account service serviceAccountEmail: Optional[str] """ -Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required -if you want to use the resource manager project resource. +Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. """ serviceAccountKey: Optional[str] @@ -177,8 +171,7 @@ Service account key used for authentication. If set, the key flow will be used t serviceAccountKeyPath: Optional[str] """ -Path for the service account key used for authentication. If set, the key flow will be used to authenticate all -operations. +Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. """ serviceAccountToken: Optional[str] diff --git a/sdk/python/pulumi_stackit/config/vars.py b/sdk/python/pulumi_stackit/config/vars.py index 425114dc..6fce86e9 100644 --- a/sdk/python/pulumi_stackit/config/vars.py +++ b/sdk/python/pulumi_stackit/config/vars.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -21,265 +20,259 @@ class _ExportableConfig(types.ModuleType): - @property - def argus_custom_endpoint(self) -> Optional[str]: - """ - Custom endpoint for the Argus service - """ - return __config__.get('argusCustomEndpoint') - - @property + @_builtins.property def authorization_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Membership service """ return __config__.get('authorizationCustomEndpoint') - @property + @_builtins.property def cdn_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the CDN service """ return __config__.get('cdnCustomEndpoint') - @property + @_builtins.property def credentials_path(self) -> Optional[str]: """ - Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - value is `~/.stackit/credentials.json`. + Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. """ return __config__.get('credentialsPath') - @property + @_builtins.property def default_region(self) -> Optional[str]: """ Region will be used as the default location for regional services. Not all services require a region, some are global """ return __config__.get('defaultRegion') - @property + @_builtins.property def dns_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the DNS service """ return __config__.get('dnsCustomEndpoint') - @property + @_builtins.property def enable_beta_resources(self) -> Optional[bool]: """ Enable beta resources. Default is false. """ return __config__.get_bool('enableBetaResources') - @property + @_builtins.property def experiments(self) -> Optional[str]: """ - Enables experiments. These are unstable features without official support. More information can be found in the README. - Available Experiments: [iam] + Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network """ return __config__.get('experiments') - @property + @_builtins.property def git_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Git service """ return __config__.get('gitCustomEndpoint') - @property + @_builtins.property def iaas_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the IaaS service """ return __config__.get('iaasCustomEndpoint') - @property + @_builtins.property def loadbalancer_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Load Balancer service """ return __config__.get('loadbalancerCustomEndpoint') - @property + @_builtins.property def logme_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the LogMe service """ return __config__.get('logmeCustomEndpoint') - @property + @_builtins.property def mariadb_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the MariaDB service """ return __config__.get('mariadbCustomEndpoint') - @property + @_builtins.property def modelserving_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the AI Model Serving service """ return __config__.get('modelservingCustomEndpoint') - @property + @_builtins.property def mongodbflex_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the MongoDB Flex service """ return __config__.get('mongodbflexCustomEndpoint') - @property + @_builtins.property def objectstorage_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Object Storage service """ return __config__.get('objectstorageCustomEndpoint') - @property + @_builtins.property def observability_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Observability service """ return __config__.get('observabilityCustomEndpoint') - @property + @_builtins.property def opensearch_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the OpenSearch service """ return __config__.get('opensearchCustomEndpoint') - @property + @_builtins.property def postgresflex_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the PostgresFlex service """ return __config__.get('postgresflexCustomEndpoint') - @property + @_builtins.property def private_key(self) -> Optional[str]: """ - Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - included in the service account key. + Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ return __config__.get('privateKey') - @property + @_builtins.property def private_key_path(self) -> Optional[str]: """ - Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - key that is included in the service account key. + Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ return __config__.get('privateKeyPath') - @property + @_builtins.property def rabbitmq_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the RabbitMQ service """ return __config__.get('rabbitmqCustomEndpoint') - @property + @_builtins.property def redis_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Redis service """ return __config__.get('redisCustomEndpoint') - @property + @_builtins.property def region(self) -> Optional[str]: """ Region will be used as the default location for regional services. Not all services require a region, some are global """ return __config__.get('region') - @property + @_builtins.property def resourcemanager_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Resource Manager service """ return __config__.get('resourcemanagerCustomEndpoint') - @property + @_builtins.property + def scf_custom_endpoint(self) -> Optional[str]: + """ + Custom endpoint for the Cloud Foundry (SCF) service + """ + return __config__.get('scfCustomEndpoint') + + @_builtins.property def secretsmanager_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Secrets Manager service """ return __config__.get('secretsmanagerCustomEndpoint') - @property + @_builtins.property def server_backup_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Server Backup service """ return __config__.get('serverBackupCustomEndpoint') - @property + @_builtins.property def server_update_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Server Update service """ return __config__.get('serverUpdateCustomEndpoint') - @property + @_builtins.property def service_account_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Service Account service """ return __config__.get('serviceAccountCustomEndpoint') - @property + @_builtins.property def service_account_email(self) -> Optional[str]: """ - Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - if you want to use the resource manager project resource. + Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. """ return __config__.get('serviceAccountEmail') - @property + @_builtins.property def service_account_key(self) -> Optional[str]: """ Service account key used for authentication. If set, the key flow will be used to authenticate all operations. """ return __config__.get('serviceAccountKey') - @property + @_builtins.property def service_account_key_path(self) -> Optional[str]: """ - Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - operations. + Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. """ return __config__.get('serviceAccountKeyPath') - @property + @_builtins.property def service_account_token(self) -> Optional[str]: """ Token used for authentication. If set, the token flow will be used to authenticate all operations. """ return __config__.get('serviceAccountToken') - @property + @_builtins.property def service_enablement_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Service Enablement API """ return __config__.get('serviceEnablementCustomEndpoint') - @property + @_builtins.property def ske_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the Kubernetes Engine (SKE) service """ return __config__.get('skeCustomEndpoint') - @property + @_builtins.property def sqlserverflex_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the SQL Server Flex service """ return __config__.get('sqlserverflexCustomEndpoint') - @property + @_builtins.property def token_custom_endpoint(self) -> Optional[str]: """ Custom endpoint for the token API, which is used to request access tokens when using the key flow diff --git a/sdk/python/pulumi_stackit/dns_record_set.py b/sdk/python/pulumi_stackit/dns_record_set.py index 9f067f19..ca5509d2 100644 --- a/sdk/python/pulumi_stackit/dns_record_set.py +++ b/sdk/python/pulumi_stackit/dns_record_set.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,24 +19,24 @@ @pulumi.input_type class DnsRecordSetArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - records: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - type: pulumi.Input[builtins.str], - zone_id: pulumi.Input[builtins.str], - active: Optional[pulumi.Input[builtins.bool]] = None, - comment: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - ttl: Optional[pulumi.Input[builtins.int]] = None): + project_id: pulumi.Input[_builtins.str], + records: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + type: pulumi.Input[_builtins.str], + zone_id: pulumi.Input[_builtins.str], + active: Optional[pulumi.Input[_builtins.bool]] = None, + comment: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + ttl: Optional[pulumi.Input[_builtins.int]] = None): """ The set of arguments for constructing a DnsRecordSet resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns record set is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] records: Records. - :param pulumi.Input[builtins.str] type: The record set type. E.g. `A` or `CNAME` - :param pulumi.Input[builtins.str] zone_id: The zone ID to which is dns record set is associated. - :param pulumi.Input[builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` - :param pulumi.Input[builtins.str] comment: Comment. - :param pulumi.Input[builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` - :param pulumi.Input[builtins.int] ttl: Time to live. E.g. 3600 + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns record set is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] records: Records. + :param pulumi.Input[_builtins.str] type: The record set type. E.g. `A` or `CNAME` + :param pulumi.Input[_builtins.str] zone_id: The zone ID to which is dns record set is associated. + :param pulumi.Input[_builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` + :param pulumi.Input[_builtins.str] comment: Comment. + :param pulumi.Input[_builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` + :param pulumi.Input[_builtins.int] ttl: Time to live. E.g. 3600 """ pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "records", records) @@ -52,132 +51,132 @@ def __init__(__self__, *, if ttl is not None: pulumi.set(__self__, "ttl", ttl) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the dns record set is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def records(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def records(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ Records. """ return pulumi.get(self, "records") @records.setter - def records(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def records(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "records", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[builtins.str]: + def type(self) -> pulumi.Input[_builtins.str]: """ The record set type. E.g. `A` or `CNAME` """ return pulumi.get(self, "type") @type.setter - def type(self, value: pulumi.Input[builtins.str]): + def type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "type", value) - @property + @_builtins.property @pulumi.getter(name="zoneId") - def zone_id(self) -> pulumi.Input[builtins.str]: + def zone_id(self) -> pulumi.Input[_builtins.str]: """ The zone ID to which is dns record set is associated. """ return pulumi.get(self, "zone_id") @zone_id.setter - def zone_id(self, value: pulumi.Input[builtins.str]): + def zone_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "zone_id", value) - @property + @_builtins.property @pulumi.getter - def active(self) -> Optional[pulumi.Input[builtins.bool]]: + def active(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Specifies if the record set is active or not. Defaults to `true` """ return pulumi.get(self, "active") @active.setter - def active(self, value: Optional[pulumi.Input[builtins.bool]]): + def active(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "active", value) - @property + @_builtins.property @pulumi.getter - def comment(self) -> Optional[pulumi.Input[builtins.str]]: + def comment(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comment. """ return pulumi.get(self, "comment") @comment.setter - def comment(self, value: Optional[pulumi.Input[builtins.str]]): + def comment(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "comment", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def ttl(self) -> Optional[pulumi.Input[builtins.int]]: + def ttl(self) -> Optional[pulumi.Input[_builtins.int]]: """ Time to live. E.g. 3600 """ return pulumi.get(self, "ttl") @ttl.setter - def ttl(self, value: Optional[pulumi.Input[builtins.int]]): + def ttl(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ttl", value) @pulumi.input_type class _DnsRecordSetState: def __init__(__self__, *, - active: Optional[pulumi.Input[builtins.bool]] = None, - comment: Optional[pulumi.Input[builtins.str]] = None, - error: Optional[pulumi.Input[builtins.str]] = None, - fqdn: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - record_set_id: Optional[pulumi.Input[builtins.str]] = None, - records: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - state: Optional[pulumi.Input[builtins.str]] = None, - ttl: Optional[pulumi.Input[builtins.int]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[builtins.str]] = None): + active: Optional[pulumi.Input[_builtins.bool]] = None, + comment: Optional[pulumi.Input[_builtins.str]] = None, + error: Optional[pulumi.Input[_builtins.str]] = None, + fqdn: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + record_set_id: Optional[pulumi.Input[_builtins.str]] = None, + records: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + state: Optional[pulumi.Input[_builtins.str]] = None, + ttl: Optional[pulumi.Input[_builtins.int]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering DnsRecordSet resources. - :param pulumi.Input[builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` - :param pulumi.Input[builtins.str] comment: Comment. - :param pulumi.Input[builtins.str] error: Error shows error in case create/update/delete failed. - :param pulumi.Input[builtins.str] fqdn: Fully qualified domain name (FQDN) of the record set. - :param pulumi.Input[builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns record set is associated. - :param pulumi.Input[builtins.str] record_set_id: The rr set id. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] records: Records. - :param pulumi.Input[builtins.str] state: Record set state. - :param pulumi.Input[builtins.int] ttl: Time to live. E.g. 3600 - :param pulumi.Input[builtins.str] type: The record set type. E.g. `A` or `CNAME` - :param pulumi.Input[builtins.str] zone_id: The zone ID to which is dns record set is associated. + :param pulumi.Input[_builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` + :param pulumi.Input[_builtins.str] comment: Comment. + :param pulumi.Input[_builtins.str] error: Error shows error in case create/update/delete failed. + :param pulumi.Input[_builtins.str] fqdn: Fully qualified domain name (FQDN) of the record set. + :param pulumi.Input[_builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns record set is associated. + :param pulumi.Input[_builtins.str] record_set_id: The rr set id. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] records: Records. + :param pulumi.Input[_builtins.str] state: Record set state. + :param pulumi.Input[_builtins.int] ttl: Time to live. E.g. 3600 + :param pulumi.Input[_builtins.str] type: The record set type. E.g. `A` or `CNAME` + :param pulumi.Input[_builtins.str] zone_id: The zone ID to which is dns record set is associated. """ if active is not None: pulumi.set(__self__, "active", active) @@ -204,148 +203,148 @@ def __init__(__self__, *, if zone_id is not None: pulumi.set(__self__, "zone_id", zone_id) - @property + @_builtins.property @pulumi.getter - def active(self) -> Optional[pulumi.Input[builtins.bool]]: + def active(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Specifies if the record set is active or not. Defaults to `true` """ return pulumi.get(self, "active") @active.setter - def active(self, value: Optional[pulumi.Input[builtins.bool]]): + def active(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "active", value) - @property + @_builtins.property @pulumi.getter - def comment(self) -> Optional[pulumi.Input[builtins.str]]: + def comment(self) -> Optional[pulumi.Input[_builtins.str]]: """ Comment. """ return pulumi.get(self, "comment") @comment.setter - def comment(self, value: Optional[pulumi.Input[builtins.str]]): + def comment(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "comment", value) - @property + @_builtins.property @pulumi.getter - def error(self) -> Optional[pulumi.Input[builtins.str]]: + def error(self) -> Optional[pulumi.Input[_builtins.str]]: """ Error shows error in case create/update/delete failed. """ return pulumi.get(self, "error") @error.setter - def error(self, value: Optional[pulumi.Input[builtins.str]]): + def error(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "error", value) - @property + @_builtins.property @pulumi.getter - def fqdn(self) -> Optional[pulumi.Input[builtins.str]]: + def fqdn(self) -> Optional[pulumi.Input[_builtins.str]]: """ Fully qualified domain name (FQDN) of the record set. """ return pulumi.get(self, "fqdn") @fqdn.setter - def fqdn(self, value: Optional[pulumi.Input[builtins.str]]): + def fqdn(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "fqdn", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the dns record set is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="recordSetId") - def record_set_id(self) -> Optional[pulumi.Input[builtins.str]]: + def record_set_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The rr set id. """ return pulumi.get(self, "record_set_id") @record_set_id.setter - def record_set_id(self, value: Optional[pulumi.Input[builtins.str]]): + def record_set_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "record_set_id", value) - @property + @_builtins.property @pulumi.getter - def records(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def records(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Records. """ return pulumi.get(self, "records") @records.setter - def records(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def records(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "records", value) - @property + @_builtins.property @pulumi.getter - def state(self) -> Optional[pulumi.Input[builtins.str]]: + def state(self) -> Optional[pulumi.Input[_builtins.str]]: """ Record set state. """ return pulumi.get(self, "state") @state.setter - def state(self, value: Optional[pulumi.Input[builtins.str]]): + def state(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "state", value) - @property + @_builtins.property @pulumi.getter - def ttl(self) -> Optional[pulumi.Input[builtins.int]]: + def ttl(self) -> Optional[pulumi.Input[_builtins.int]]: """ Time to live. E.g. 3600 """ return pulumi.get(self, "ttl") @ttl.setter - def ttl(self, value: Optional[pulumi.Input[builtins.int]]): + def ttl(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ttl", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> Optional[pulumi.Input[builtins.str]]: + def type(self) -> Optional[pulumi.Input[_builtins.str]]: """ The record set type. E.g. `A` or `CNAME` """ return pulumi.get(self, "type") @type.setter - def type(self, value: Optional[pulumi.Input[builtins.str]]): + def type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "type", value) - @property + @_builtins.property @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[builtins.str]]: + def zone_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The zone ID to which is dns record set is associated. """ return pulumi.get(self, "zone_id") @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[builtins.str]]): + def zone_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "zone_id", value) @@ -355,14 +354,14 @@ class DnsRecordSet(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - comment: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - records: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ttl: Optional[pulumi.Input[builtins.int]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + comment: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + records: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ttl: Optional[pulumi.Input[_builtins.int]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ DNS Record Set Resource schema. @@ -371,14 +370,14 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` - :param pulumi.Input[builtins.str] comment: Comment. - :param pulumi.Input[builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns record set is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] records: Records. - :param pulumi.Input[builtins.int] ttl: Time to live. E.g. 3600 - :param pulumi.Input[builtins.str] type: The record set type. E.g. `A` or `CNAME` - :param pulumi.Input[builtins.str] zone_id: The zone ID to which is dns record set is associated. + :param pulumi.Input[_builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` + :param pulumi.Input[_builtins.str] comment: Comment. + :param pulumi.Input[_builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns record set is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] records: Records. + :param pulumi.Input[_builtins.int] ttl: Time to live. E.g. 3600 + :param pulumi.Input[_builtins.str] type: The record set type. E.g. `A` or `CNAME` + :param pulumi.Input[_builtins.str] zone_id: The zone ID to which is dns record set is associated. """ ... @overload @@ -406,14 +405,14 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - comment: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - records: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ttl: Optional[pulumi.Input[builtins.int]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + comment: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + records: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ttl: Optional[pulumi.Input[_builtins.int]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -453,18 +452,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - comment: Optional[pulumi.Input[builtins.str]] = None, - error: Optional[pulumi.Input[builtins.str]] = None, - fqdn: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - record_set_id: Optional[pulumi.Input[builtins.str]] = None, - records: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - state: Optional[pulumi.Input[builtins.str]] = None, - ttl: Optional[pulumi.Input[builtins.int]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DnsRecordSet': + active: Optional[pulumi.Input[_builtins.bool]] = None, + comment: Optional[pulumi.Input[_builtins.str]] = None, + error: Optional[pulumi.Input[_builtins.str]] = None, + fqdn: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + record_set_id: Optional[pulumi.Input[_builtins.str]] = None, + records: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + state: Optional[pulumi.Input[_builtins.str]] = None, + ttl: Optional[pulumi.Input[_builtins.int]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DnsRecordSet': """ Get an existing DnsRecordSet resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -472,18 +471,18 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` - :param pulumi.Input[builtins.str] comment: Comment. - :param pulumi.Input[builtins.str] error: Error shows error in case create/update/delete failed. - :param pulumi.Input[builtins.str] fqdn: Fully qualified domain name (FQDN) of the record set. - :param pulumi.Input[builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns record set is associated. - :param pulumi.Input[builtins.str] record_set_id: The rr set id. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] records: Records. - :param pulumi.Input[builtins.str] state: Record set state. - :param pulumi.Input[builtins.int] ttl: Time to live. E.g. 3600 - :param pulumi.Input[builtins.str] type: The record set type. E.g. `A` or `CNAME` - :param pulumi.Input[builtins.str] zone_id: The zone ID to which is dns record set is associated. + :param pulumi.Input[_builtins.bool] active: Specifies if the record set is active or not. Defaults to `true` + :param pulumi.Input[_builtins.str] comment: Comment. + :param pulumi.Input[_builtins.str] error: Error shows error in case create/update/delete failed. + :param pulumi.Input[_builtins.str] fqdn: Fully qualified domain name (FQDN) of the record set. + :param pulumi.Input[_builtins.str] name: Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns record set is associated. + :param pulumi.Input[_builtins.str] record_set_id: The rr set id. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] records: Records. + :param pulumi.Input[_builtins.str] state: Record set state. + :param pulumi.Input[_builtins.int] ttl: Time to live. E.g. 3600 + :param pulumi.Input[_builtins.str] type: The record set type. E.g. `A` or `CNAME` + :param pulumi.Input[_builtins.str] zone_id: The zone ID to which is dns record set is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -503,97 +502,97 @@ def get(resource_name: str, __props__.__dict__["zone_id"] = zone_id return DnsRecordSet(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def active(self) -> pulumi.Output[builtins.bool]: + def active(self) -> pulumi.Output[_builtins.bool]: """ Specifies if the record set is active or not. Defaults to `true` """ return pulumi.get(self, "active") - @property + @_builtins.property @pulumi.getter - def comment(self) -> pulumi.Output[builtins.str]: + def comment(self) -> pulumi.Output[_builtins.str]: """ Comment. """ return pulumi.get(self, "comment") - @property + @_builtins.property @pulumi.getter - def error(self) -> pulumi.Output[builtins.str]: + def error(self) -> pulumi.Output[_builtins.str]: """ Error shows error in case create/update/delete failed. """ return pulumi.get(self, "error") - @property + @_builtins.property @pulumi.getter - def fqdn(self) -> pulumi.Output[builtins.str]: + def fqdn(self) -> pulumi.Output[_builtins.str]: """ Fully qualified domain name (FQDN) of the record set. """ return pulumi.get(self, "fqdn") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the dns record set is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="recordSetId") - def record_set_id(self) -> pulumi.Output[builtins.str]: + def record_set_id(self) -> pulumi.Output[_builtins.str]: """ The rr set id. """ return pulumi.get(self, "record_set_id") - @property + @_builtins.property @pulumi.getter - def records(self) -> pulumi.Output[Sequence[builtins.str]]: + def records(self) -> pulumi.Output[Sequence[_builtins.str]]: """ Records. """ return pulumi.get(self, "records") - @property + @_builtins.property @pulumi.getter - def state(self) -> pulumi.Output[builtins.str]: + def state(self) -> pulumi.Output[_builtins.str]: """ Record set state. """ return pulumi.get(self, "state") - @property + @_builtins.property @pulumi.getter - def ttl(self) -> pulumi.Output[builtins.int]: + def ttl(self) -> pulumi.Output[_builtins.int]: """ Time to live. E.g. 3600 """ return pulumi.get(self, "ttl") - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Output[builtins.str]: + def type(self) -> pulumi.Output[_builtins.str]: """ The record set type. E.g. `A` or `CNAME` """ return pulumi.get(self, "type") - @property + @_builtins.property @pulumi.getter(name="zoneId") - def zone_id(self) -> pulumi.Output[builtins.str]: + def zone_id(self) -> pulumi.Output[_builtins.str]: """ The zone ID to which is dns record set is associated. """ diff --git a/sdk/python/pulumi_stackit/dns_zone.py b/sdk/python/pulumi_stackit/dns_zone.py index dc1641e9..e93b4b1b 100644 --- a/sdk/python/pulumi_stackit/dns_zone.py +++ b/sdk/python/pulumi_stackit/dns_zone.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,37 +19,37 @@ @pulumi.input_type class DnsZoneArgs: def __init__(__self__, *, - dns_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - acl: Optional[pulumi.Input[builtins.str]] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - contact_email: Optional[pulumi.Input[builtins.str]] = None, - default_ttl: Optional[pulumi.Input[builtins.int]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - expire_time: Optional[pulumi.Input[builtins.int]] = None, - is_reverse_zone: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - negative_cache: Optional[pulumi.Input[builtins.int]] = None, - primaries: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - refresh_time: Optional[pulumi.Input[builtins.int]] = None, - retry_time: Optional[pulumi.Input[builtins.int]] = None, - type: Optional[pulumi.Input[builtins.str]] = None): + dns_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + acl: Optional[pulumi.Input[_builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + contact_email: Optional[pulumi.Input[_builtins.str]] = None, + default_ttl: Optional[pulumi.Input[_builtins.int]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + expire_time: Optional[pulumi.Input[_builtins.int]] = None, + is_reverse_zone: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + negative_cache: Optional[pulumi.Input[_builtins.int]] = None, + primaries: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + refresh_time: Optional[pulumi.Input[_builtins.int]] = None, + retry_time: Optional[pulumi.Input[_builtins.int]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a DnsZone resource. - :param pulumi.Input[builtins.str] dns_name: The zone name. E.g. `example.com` - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns zone is associated. - :param pulumi.Input[builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` - :param pulumi.Input[builtins.str] contact_email: A contact e-mail for the zone. - :param pulumi.Input[builtins.int] default_ttl: Default time to live. E.g. 3600. - :param pulumi.Input[builtins.str] description: Description of the zone. - :param pulumi.Input[builtins.int] expire_time: Expire time. E.g. 1209600. - :param pulumi.Input[builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` - :param pulumi.Input[builtins.str] name: The user given name of the zone. - :param pulumi.Input[builtins.int] negative_cache: Negative caching. E.g. 60 - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] - :param pulumi.Input[builtins.int] refresh_time: Refresh time. E.g. 3600 - :param pulumi.Input[builtins.int] retry_time: Retry time. E.g. 600 - :param pulumi.Input[builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. + :param pulumi.Input[_builtins.str] dns_name: The zone name. E.g. `example.com` + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns zone is associated. + :param pulumi.Input[_builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` + :param pulumi.Input[_builtins.str] contact_email: A contact e-mail for the zone. + :param pulumi.Input[_builtins.int] default_ttl: Default time to live. E.g. 3600. + :param pulumi.Input[_builtins.str] description: Description of the zone. + :param pulumi.Input[_builtins.int] expire_time: Expire time. E.g. 1209600. + :param pulumi.Input[_builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` + :param pulumi.Input[_builtins.str] name: The user given name of the zone. + :param pulumi.Input[_builtins.int] negative_cache: Negative caching. E.g. 60 + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] + :param pulumi.Input[_builtins.int] refresh_time: Refresh time. E.g. 3600 + :param pulumi.Input[_builtins.int] retry_time: Retry time. E.g. 600 + :param pulumi.Input[_builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. """ pulumi.set(__self__, "dns_name", dns_name) pulumi.set(__self__, "project_id", project_id) @@ -81,230 +80,230 @@ def __init__(__self__, *, if type is not None: pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter(name="dnsName") - def dns_name(self) -> pulumi.Input[builtins.str]: + def dns_name(self) -> pulumi.Input[_builtins.str]: """ The zone name. E.g. `example.com` """ return pulumi.get(self, "dns_name") @dns_name.setter - def dns_name(self, value: pulumi.Input[builtins.str]): + def dns_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "dns_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the dns zone is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def acl(self) -> Optional[pulumi.Input[builtins.str]]: + def acl(self) -> Optional[pulumi.Input[_builtins.str]]: """ The access control list. E.g. `0.0.0.0/0,::/0` """ return pulumi.get(self, "acl") @acl.setter - def acl(self, value: Optional[pulumi.Input[builtins.str]]): + def acl(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "acl", value) - @property + @_builtins.property @pulumi.getter - def active(self) -> Optional[pulumi.Input[builtins.bool]]: + def active(self) -> Optional[pulumi.Input[_builtins.bool]]: return pulumi.get(self, "active") @active.setter - def active(self, value: Optional[pulumi.Input[builtins.bool]]): + def active(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "active", value) - @property + @_builtins.property @pulumi.getter(name="contactEmail") - def contact_email(self) -> Optional[pulumi.Input[builtins.str]]: + def contact_email(self) -> Optional[pulumi.Input[_builtins.str]]: """ A contact e-mail for the zone. """ return pulumi.get(self, "contact_email") @contact_email.setter - def contact_email(self, value: Optional[pulumi.Input[builtins.str]]): + def contact_email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "contact_email", value) - @property + @_builtins.property @pulumi.getter(name="defaultTtl") - def default_ttl(self) -> Optional[pulumi.Input[builtins.int]]: + def default_ttl(self) -> Optional[pulumi.Input[_builtins.int]]: """ Default time to live. E.g. 3600. """ return pulumi.get(self, "default_ttl") @default_ttl.setter - def default_ttl(self, value: Optional[pulumi.Input[builtins.int]]): + def default_ttl(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "default_ttl", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ Description of the zone. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter(name="expireTime") - def expire_time(self) -> Optional[pulumi.Input[builtins.int]]: + def expire_time(self) -> Optional[pulumi.Input[_builtins.int]]: """ Expire time. E.g. 1209600. """ return pulumi.get(self, "expire_time") @expire_time.setter - def expire_time(self, value: Optional[pulumi.Input[builtins.int]]): + def expire_time(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "expire_time", value) - @property + @_builtins.property @pulumi.getter(name="isReverseZone") - def is_reverse_zone(self) -> Optional[pulumi.Input[builtins.bool]]: + def is_reverse_zone(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Specifies, if the zone is a reverse zone or not. Defaults to `false` """ return pulumi.get(self, "is_reverse_zone") @is_reverse_zone.setter - def is_reverse_zone(self, value: Optional[pulumi.Input[builtins.bool]]): + def is_reverse_zone(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "is_reverse_zone", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The user given name of the zone. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="negativeCache") - def negative_cache(self) -> Optional[pulumi.Input[builtins.int]]: + def negative_cache(self) -> Optional[pulumi.Input[_builtins.int]]: """ Negative caching. E.g. 60 """ return pulumi.get(self, "negative_cache") @negative_cache.setter - def negative_cache(self, value: Optional[pulumi.Input[builtins.int]]): + def negative_cache(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "negative_cache", value) - @property + @_builtins.property @pulumi.getter - def primaries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def primaries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Primary name server for secondary zone. E.g. ["1.2.3.4"] """ return pulumi.get(self, "primaries") @primaries.setter - def primaries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def primaries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "primaries", value) - @property + @_builtins.property @pulumi.getter(name="refreshTime") - def refresh_time(self) -> Optional[pulumi.Input[builtins.int]]: + def refresh_time(self) -> Optional[pulumi.Input[_builtins.int]]: """ Refresh time. E.g. 3600 """ return pulumi.get(self, "refresh_time") @refresh_time.setter - def refresh_time(self, value: Optional[pulumi.Input[builtins.int]]): + def refresh_time(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "refresh_time", value) - @property + @_builtins.property @pulumi.getter(name="retryTime") - def retry_time(self) -> Optional[pulumi.Input[builtins.int]]: + def retry_time(self) -> Optional[pulumi.Input[_builtins.int]]: """ Retry time. E.g. 600 """ return pulumi.get(self, "retry_time") @retry_time.setter - def retry_time(self, value: Optional[pulumi.Input[builtins.int]]): + def retry_time(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "retry_time", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> Optional[pulumi.Input[builtins.str]]: + def type(self) -> Optional[pulumi.Input[_builtins.str]]: """ Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. """ return pulumi.get(self, "type") @type.setter - def type(self, value: Optional[pulumi.Input[builtins.str]]): + def type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "type", value) @pulumi.input_type class _DnsZoneState: def __init__(__self__, *, - acl: Optional[pulumi.Input[builtins.str]] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - contact_email: Optional[pulumi.Input[builtins.str]] = None, - default_ttl: Optional[pulumi.Input[builtins.int]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - dns_name: Optional[pulumi.Input[builtins.str]] = None, - expire_time: Optional[pulumi.Input[builtins.int]] = None, - is_reverse_zone: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - negative_cache: Optional[pulumi.Input[builtins.int]] = None, - primaries: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - primary_name_server: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - record_count: Optional[pulumi.Input[builtins.int]] = None, - refresh_time: Optional[pulumi.Input[builtins.int]] = None, - retry_time: Optional[pulumi.Input[builtins.int]] = None, - serial_number: Optional[pulumi.Input[builtins.int]] = None, - state: Optional[pulumi.Input[builtins.str]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, - visibility: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[builtins.str]] = None): + acl: Optional[pulumi.Input[_builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + contact_email: Optional[pulumi.Input[_builtins.str]] = None, + default_ttl: Optional[pulumi.Input[_builtins.int]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + dns_name: Optional[pulumi.Input[_builtins.str]] = None, + expire_time: Optional[pulumi.Input[_builtins.int]] = None, + is_reverse_zone: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + negative_cache: Optional[pulumi.Input[_builtins.int]] = None, + primaries: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + primary_name_server: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + record_count: Optional[pulumi.Input[_builtins.int]] = None, + refresh_time: Optional[pulumi.Input[_builtins.int]] = None, + retry_time: Optional[pulumi.Input[_builtins.int]] = None, + serial_number: Optional[pulumi.Input[_builtins.int]] = None, + state: Optional[pulumi.Input[_builtins.str]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, + visibility: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering DnsZone resources. - :param pulumi.Input[builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` - :param pulumi.Input[builtins.str] contact_email: A contact e-mail for the zone. - :param pulumi.Input[builtins.int] default_ttl: Default time to live. E.g. 3600. - :param pulumi.Input[builtins.str] description: Description of the zone. - :param pulumi.Input[builtins.str] dns_name: The zone name. E.g. `example.com` - :param pulumi.Input[builtins.int] expire_time: Expire time. E.g. 1209600. - :param pulumi.Input[builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` - :param pulumi.Input[builtins.str] name: The user given name of the zone. - :param pulumi.Input[builtins.int] negative_cache: Negative caching. E.g. 60 - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] - :param pulumi.Input[builtins.str] primary_name_server: Primary name server. FQDN. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns zone is associated. - :param pulumi.Input[builtins.int] record_count: Record count how many records are in the zone. - :param pulumi.Input[builtins.int] refresh_time: Refresh time. E.g. 3600 - :param pulumi.Input[builtins.int] retry_time: Retry time. E.g. 600 - :param pulumi.Input[builtins.int] serial_number: Serial number. E.g. `2022111400`. - :param pulumi.Input[builtins.str] state: Zone state. E.g. `CREATE_SUCCEEDED`. - :param pulumi.Input[builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. - :param pulumi.Input[builtins.str] visibility: Visibility of the zone. E.g. `public`. - :param pulumi.Input[builtins.str] zone_id: The zone ID. + :param pulumi.Input[_builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` + :param pulumi.Input[_builtins.str] contact_email: A contact e-mail for the zone. + :param pulumi.Input[_builtins.int] default_ttl: Default time to live. E.g. 3600. + :param pulumi.Input[_builtins.str] description: Description of the zone. + :param pulumi.Input[_builtins.str] dns_name: The zone name. E.g. `example.com` + :param pulumi.Input[_builtins.int] expire_time: Expire time. E.g. 1209600. + :param pulumi.Input[_builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` + :param pulumi.Input[_builtins.str] name: The user given name of the zone. + :param pulumi.Input[_builtins.int] negative_cache: Negative caching. E.g. 60 + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] + :param pulumi.Input[_builtins.str] primary_name_server: Primary name server. FQDN. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns zone is associated. + :param pulumi.Input[_builtins.int] record_count: Record count how many records are in the zone. + :param pulumi.Input[_builtins.int] refresh_time: Refresh time. E.g. 3600 + :param pulumi.Input[_builtins.int] retry_time: Retry time. E.g. 600 + :param pulumi.Input[_builtins.int] serial_number: Serial number. E.g. `2022111400`. + :param pulumi.Input[_builtins.str] state: Zone state. E.g. `CREATE_SUCCEEDED`. + :param pulumi.Input[_builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. + :param pulumi.Input[_builtins.str] visibility: Visibility of the zone. E.g. `public`. + :param pulumi.Input[_builtins.str] zone_id: The zone ID. """ if acl is not None: pulumi.set(__self__, "acl", acl) @@ -349,253 +348,253 @@ def __init__(__self__, *, if zone_id is not None: pulumi.set(__self__, "zone_id", zone_id) - @property + @_builtins.property @pulumi.getter - def acl(self) -> Optional[pulumi.Input[builtins.str]]: + def acl(self) -> Optional[pulumi.Input[_builtins.str]]: """ The access control list. E.g. `0.0.0.0/0,::/0` """ return pulumi.get(self, "acl") @acl.setter - def acl(self, value: Optional[pulumi.Input[builtins.str]]): + def acl(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "acl", value) - @property + @_builtins.property @pulumi.getter - def active(self) -> Optional[pulumi.Input[builtins.bool]]: + def active(self) -> Optional[pulumi.Input[_builtins.bool]]: return pulumi.get(self, "active") @active.setter - def active(self, value: Optional[pulumi.Input[builtins.bool]]): + def active(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "active", value) - @property + @_builtins.property @pulumi.getter(name="contactEmail") - def contact_email(self) -> Optional[pulumi.Input[builtins.str]]: + def contact_email(self) -> Optional[pulumi.Input[_builtins.str]]: """ A contact e-mail for the zone. """ return pulumi.get(self, "contact_email") @contact_email.setter - def contact_email(self, value: Optional[pulumi.Input[builtins.str]]): + def contact_email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "contact_email", value) - @property + @_builtins.property @pulumi.getter(name="defaultTtl") - def default_ttl(self) -> Optional[pulumi.Input[builtins.int]]: + def default_ttl(self) -> Optional[pulumi.Input[_builtins.int]]: """ Default time to live. E.g. 3600. """ return pulumi.get(self, "default_ttl") @default_ttl.setter - def default_ttl(self, value: Optional[pulumi.Input[builtins.int]]): + def default_ttl(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "default_ttl", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ Description of the zone. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter(name="dnsName") - def dns_name(self) -> Optional[pulumi.Input[builtins.str]]: + def dns_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The zone name. E.g. `example.com` """ return pulumi.get(self, "dns_name") @dns_name.setter - def dns_name(self, value: Optional[pulumi.Input[builtins.str]]): + def dns_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dns_name", value) - @property + @_builtins.property @pulumi.getter(name="expireTime") - def expire_time(self) -> Optional[pulumi.Input[builtins.int]]: + def expire_time(self) -> Optional[pulumi.Input[_builtins.int]]: """ Expire time. E.g. 1209600. """ return pulumi.get(self, "expire_time") @expire_time.setter - def expire_time(self, value: Optional[pulumi.Input[builtins.int]]): + def expire_time(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "expire_time", value) - @property + @_builtins.property @pulumi.getter(name="isReverseZone") - def is_reverse_zone(self) -> Optional[pulumi.Input[builtins.bool]]: + def is_reverse_zone(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Specifies, if the zone is a reverse zone or not. Defaults to `false` """ return pulumi.get(self, "is_reverse_zone") @is_reverse_zone.setter - def is_reverse_zone(self, value: Optional[pulumi.Input[builtins.bool]]): + def is_reverse_zone(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "is_reverse_zone", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The user given name of the zone. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="negativeCache") - def negative_cache(self) -> Optional[pulumi.Input[builtins.int]]: + def negative_cache(self) -> Optional[pulumi.Input[_builtins.int]]: """ Negative caching. E.g. 60 """ return pulumi.get(self, "negative_cache") @negative_cache.setter - def negative_cache(self, value: Optional[pulumi.Input[builtins.int]]): + def negative_cache(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "negative_cache", value) - @property + @_builtins.property @pulumi.getter - def primaries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def primaries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Primary name server for secondary zone. E.g. ["1.2.3.4"] """ return pulumi.get(self, "primaries") @primaries.setter - def primaries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def primaries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "primaries", value) - @property + @_builtins.property @pulumi.getter(name="primaryNameServer") - def primary_name_server(self) -> Optional[pulumi.Input[builtins.str]]: + def primary_name_server(self) -> Optional[pulumi.Input[_builtins.str]]: """ Primary name server. FQDN. """ return pulumi.get(self, "primary_name_server") @primary_name_server.setter - def primary_name_server(self, value: Optional[pulumi.Input[builtins.str]]): + def primary_name_server(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "primary_name_server", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the dns zone is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="recordCount") - def record_count(self) -> Optional[pulumi.Input[builtins.int]]: + def record_count(self) -> Optional[pulumi.Input[_builtins.int]]: """ Record count how many records are in the zone. """ return pulumi.get(self, "record_count") @record_count.setter - def record_count(self, value: Optional[pulumi.Input[builtins.int]]): + def record_count(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "record_count", value) - @property + @_builtins.property @pulumi.getter(name="refreshTime") - def refresh_time(self) -> Optional[pulumi.Input[builtins.int]]: + def refresh_time(self) -> Optional[pulumi.Input[_builtins.int]]: """ Refresh time. E.g. 3600 """ return pulumi.get(self, "refresh_time") @refresh_time.setter - def refresh_time(self, value: Optional[pulumi.Input[builtins.int]]): + def refresh_time(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "refresh_time", value) - @property + @_builtins.property @pulumi.getter(name="retryTime") - def retry_time(self) -> Optional[pulumi.Input[builtins.int]]: + def retry_time(self) -> Optional[pulumi.Input[_builtins.int]]: """ Retry time. E.g. 600 """ return pulumi.get(self, "retry_time") @retry_time.setter - def retry_time(self, value: Optional[pulumi.Input[builtins.int]]): + def retry_time(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "retry_time", value) - @property + @_builtins.property @pulumi.getter(name="serialNumber") - def serial_number(self) -> Optional[pulumi.Input[builtins.int]]: + def serial_number(self) -> Optional[pulumi.Input[_builtins.int]]: """ Serial number. E.g. `2022111400`. """ return pulumi.get(self, "serial_number") @serial_number.setter - def serial_number(self, value: Optional[pulumi.Input[builtins.int]]): + def serial_number(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "serial_number", value) - @property + @_builtins.property @pulumi.getter - def state(self) -> Optional[pulumi.Input[builtins.str]]: + def state(self) -> Optional[pulumi.Input[_builtins.str]]: """ Zone state. E.g. `CREATE_SUCCEEDED`. """ return pulumi.get(self, "state") @state.setter - def state(self, value: Optional[pulumi.Input[builtins.str]]): + def state(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "state", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> Optional[pulumi.Input[builtins.str]]: + def type(self) -> Optional[pulumi.Input[_builtins.str]]: """ Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. """ return pulumi.get(self, "type") @type.setter - def type(self, value: Optional[pulumi.Input[builtins.str]]): + def type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "type", value) - @property + @_builtins.property @pulumi.getter - def visibility(self) -> Optional[pulumi.Input[builtins.str]]: + def visibility(self) -> Optional[pulumi.Input[_builtins.str]]: """ Visibility of the zone. E.g. `public`. """ return pulumi.get(self, "visibility") @visibility.setter - def visibility(self, value: Optional[pulumi.Input[builtins.str]]): + def visibility(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "visibility", value) - @property + @_builtins.property @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[pulumi.Input[builtins.str]]: + def zone_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The zone ID. """ return pulumi.get(self, "zone_id") @zone_id.setter - def zone_id(self, value: Optional[pulumi.Input[builtins.str]]): + def zone_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "zone_id", value) @@ -605,21 +604,21 @@ class DnsZone(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acl: Optional[pulumi.Input[builtins.str]] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - contact_email: Optional[pulumi.Input[builtins.str]] = None, - default_ttl: Optional[pulumi.Input[builtins.int]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - dns_name: Optional[pulumi.Input[builtins.str]] = None, - expire_time: Optional[pulumi.Input[builtins.int]] = None, - is_reverse_zone: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - negative_cache: Optional[pulumi.Input[builtins.int]] = None, - primaries: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - refresh_time: Optional[pulumi.Input[builtins.int]] = None, - retry_time: Optional[pulumi.Input[builtins.int]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, + acl: Optional[pulumi.Input[_builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + contact_email: Optional[pulumi.Input[_builtins.str]] = None, + default_ttl: Optional[pulumi.Input[_builtins.int]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + dns_name: Optional[pulumi.Input[_builtins.str]] = None, + expire_time: Optional[pulumi.Input[_builtins.int]] = None, + is_reverse_zone: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + negative_cache: Optional[pulumi.Input[_builtins.int]] = None, + primaries: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + refresh_time: Optional[pulumi.Input[_builtins.int]] = None, + retry_time: Optional[pulumi.Input[_builtins.int]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ DNS Zone resource schema. @@ -628,20 +627,20 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` - :param pulumi.Input[builtins.str] contact_email: A contact e-mail for the zone. - :param pulumi.Input[builtins.int] default_ttl: Default time to live. E.g. 3600. - :param pulumi.Input[builtins.str] description: Description of the zone. - :param pulumi.Input[builtins.str] dns_name: The zone name. E.g. `example.com` - :param pulumi.Input[builtins.int] expire_time: Expire time. E.g. 1209600. - :param pulumi.Input[builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` - :param pulumi.Input[builtins.str] name: The user given name of the zone. - :param pulumi.Input[builtins.int] negative_cache: Negative caching. E.g. 60 - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns zone is associated. - :param pulumi.Input[builtins.int] refresh_time: Refresh time. E.g. 3600 - :param pulumi.Input[builtins.int] retry_time: Retry time. E.g. 600 - :param pulumi.Input[builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. + :param pulumi.Input[_builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` + :param pulumi.Input[_builtins.str] contact_email: A contact e-mail for the zone. + :param pulumi.Input[_builtins.int] default_ttl: Default time to live. E.g. 3600. + :param pulumi.Input[_builtins.str] description: Description of the zone. + :param pulumi.Input[_builtins.str] dns_name: The zone name. E.g. `example.com` + :param pulumi.Input[_builtins.int] expire_time: Expire time. E.g. 1209600. + :param pulumi.Input[_builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` + :param pulumi.Input[_builtins.str] name: The user given name of the zone. + :param pulumi.Input[_builtins.int] negative_cache: Negative caching. E.g. 60 + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns zone is associated. + :param pulumi.Input[_builtins.int] refresh_time: Refresh time. E.g. 3600 + :param pulumi.Input[_builtins.int] retry_time: Retry time. E.g. 600 + :param pulumi.Input[_builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. """ ... @overload @@ -669,21 +668,21 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acl: Optional[pulumi.Input[builtins.str]] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - contact_email: Optional[pulumi.Input[builtins.str]] = None, - default_ttl: Optional[pulumi.Input[builtins.int]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - dns_name: Optional[pulumi.Input[builtins.str]] = None, - expire_time: Optional[pulumi.Input[builtins.int]] = None, - is_reverse_zone: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - negative_cache: Optional[pulumi.Input[builtins.int]] = None, - primaries: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - refresh_time: Optional[pulumi.Input[builtins.int]] = None, - retry_time: Optional[pulumi.Input[builtins.int]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, + acl: Optional[pulumi.Input[_builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + contact_email: Optional[pulumi.Input[_builtins.str]] = None, + default_ttl: Optional[pulumi.Input[_builtins.int]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + dns_name: Optional[pulumi.Input[_builtins.str]] = None, + expire_time: Optional[pulumi.Input[_builtins.int]] = None, + is_reverse_zone: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + negative_cache: Optional[pulumi.Input[_builtins.int]] = None, + primaries: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + refresh_time: Optional[pulumi.Input[_builtins.int]] = None, + retry_time: Optional[pulumi.Input[_builtins.int]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -728,27 +727,27 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - acl: Optional[pulumi.Input[builtins.str]] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - contact_email: Optional[pulumi.Input[builtins.str]] = None, - default_ttl: Optional[pulumi.Input[builtins.int]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - dns_name: Optional[pulumi.Input[builtins.str]] = None, - expire_time: Optional[pulumi.Input[builtins.int]] = None, - is_reverse_zone: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - negative_cache: Optional[pulumi.Input[builtins.int]] = None, - primaries: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - primary_name_server: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - record_count: Optional[pulumi.Input[builtins.int]] = None, - refresh_time: Optional[pulumi.Input[builtins.int]] = None, - retry_time: Optional[pulumi.Input[builtins.int]] = None, - serial_number: Optional[pulumi.Input[builtins.int]] = None, - state: Optional[pulumi.Input[builtins.str]] = None, - type: Optional[pulumi.Input[builtins.str]] = None, - visibility: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[builtins.str]] = None) -> 'DnsZone': + acl: Optional[pulumi.Input[_builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + contact_email: Optional[pulumi.Input[_builtins.str]] = None, + default_ttl: Optional[pulumi.Input[_builtins.int]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + dns_name: Optional[pulumi.Input[_builtins.str]] = None, + expire_time: Optional[pulumi.Input[_builtins.int]] = None, + is_reverse_zone: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + negative_cache: Optional[pulumi.Input[_builtins.int]] = None, + primaries: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + primary_name_server: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + record_count: Optional[pulumi.Input[_builtins.int]] = None, + refresh_time: Optional[pulumi.Input[_builtins.int]] = None, + retry_time: Optional[pulumi.Input[_builtins.int]] = None, + serial_number: Optional[pulumi.Input[_builtins.int]] = None, + state: Optional[pulumi.Input[_builtins.str]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None, + visibility: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DnsZone': """ Get an existing DnsZone resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -756,26 +755,26 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` - :param pulumi.Input[builtins.str] contact_email: A contact e-mail for the zone. - :param pulumi.Input[builtins.int] default_ttl: Default time to live. E.g. 3600. - :param pulumi.Input[builtins.str] description: Description of the zone. - :param pulumi.Input[builtins.str] dns_name: The zone name. E.g. `example.com` - :param pulumi.Input[builtins.int] expire_time: Expire time. E.g. 1209600. - :param pulumi.Input[builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` - :param pulumi.Input[builtins.str] name: The user given name of the zone. - :param pulumi.Input[builtins.int] negative_cache: Negative caching. E.g. 60 - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] - :param pulumi.Input[builtins.str] primary_name_server: Primary name server. FQDN. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the dns zone is associated. - :param pulumi.Input[builtins.int] record_count: Record count how many records are in the zone. - :param pulumi.Input[builtins.int] refresh_time: Refresh time. E.g. 3600 - :param pulumi.Input[builtins.int] retry_time: Retry time. E.g. 600 - :param pulumi.Input[builtins.int] serial_number: Serial number. E.g. `2022111400`. - :param pulumi.Input[builtins.str] state: Zone state. E.g. `CREATE_SUCCEEDED`. - :param pulumi.Input[builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. - :param pulumi.Input[builtins.str] visibility: Visibility of the zone. E.g. `public`. - :param pulumi.Input[builtins.str] zone_id: The zone ID. + :param pulumi.Input[_builtins.str] acl: The access control list. E.g. `0.0.0.0/0,::/0` + :param pulumi.Input[_builtins.str] contact_email: A contact e-mail for the zone. + :param pulumi.Input[_builtins.int] default_ttl: Default time to live. E.g. 3600. + :param pulumi.Input[_builtins.str] description: Description of the zone. + :param pulumi.Input[_builtins.str] dns_name: The zone name. E.g. `example.com` + :param pulumi.Input[_builtins.int] expire_time: Expire time. E.g. 1209600. + :param pulumi.Input[_builtins.bool] is_reverse_zone: Specifies, if the zone is a reverse zone or not. Defaults to `false` + :param pulumi.Input[_builtins.str] name: The user given name of the zone. + :param pulumi.Input[_builtins.int] negative_cache: Negative caching. E.g. 60 + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] primaries: Primary name server for secondary zone. E.g. ["1.2.3.4"] + :param pulumi.Input[_builtins.str] primary_name_server: Primary name server. FQDN. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the dns zone is associated. + :param pulumi.Input[_builtins.int] record_count: Record count how many records are in the zone. + :param pulumi.Input[_builtins.int] refresh_time: Refresh time. E.g. 3600 + :param pulumi.Input[_builtins.int] retry_time: Retry time. E.g. 600 + :param pulumi.Input[_builtins.int] serial_number: Serial number. E.g. `2022111400`. + :param pulumi.Input[_builtins.str] state: Zone state. E.g. `CREATE_SUCCEEDED`. + :param pulumi.Input[_builtins.str] type: Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. + :param pulumi.Input[_builtins.str] visibility: Visibility of the zone. E.g. `public`. + :param pulumi.Input[_builtins.str] zone_id: The zone ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -804,166 +803,166 @@ def get(resource_name: str, __props__.__dict__["zone_id"] = zone_id return DnsZone(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def acl(self) -> pulumi.Output[builtins.str]: + def acl(self) -> pulumi.Output[_builtins.str]: """ The access control list. E.g. `0.0.0.0/0,::/0` """ return pulumi.get(self, "acl") - @property + @_builtins.property @pulumi.getter - def active(self) -> pulumi.Output[builtins.bool]: + def active(self) -> pulumi.Output[_builtins.bool]: return pulumi.get(self, "active") - @property + @_builtins.property @pulumi.getter(name="contactEmail") - def contact_email(self) -> pulumi.Output[builtins.str]: + def contact_email(self) -> pulumi.Output[_builtins.str]: """ A contact e-mail for the zone. """ return pulumi.get(self, "contact_email") - @property + @_builtins.property @pulumi.getter(name="defaultTtl") - def default_ttl(self) -> pulumi.Output[builtins.int]: + def default_ttl(self) -> pulumi.Output[_builtins.int]: """ Default time to live. E.g. 3600. """ return pulumi.get(self, "default_ttl") - @property + @_builtins.property @pulumi.getter - def description(self) -> pulumi.Output[builtins.str]: + def description(self) -> pulumi.Output[_builtins.str]: """ Description of the zone. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter(name="dnsName") - def dns_name(self) -> pulumi.Output[builtins.str]: + def dns_name(self) -> pulumi.Output[_builtins.str]: """ The zone name. E.g. `example.com` """ return pulumi.get(self, "dns_name") - @property + @_builtins.property @pulumi.getter(name="expireTime") - def expire_time(self) -> pulumi.Output[builtins.int]: + def expire_time(self) -> pulumi.Output[_builtins.int]: """ Expire time. E.g. 1209600. """ return pulumi.get(self, "expire_time") - @property + @_builtins.property @pulumi.getter(name="isReverseZone") - def is_reverse_zone(self) -> pulumi.Output[builtins.bool]: + def is_reverse_zone(self) -> pulumi.Output[_builtins.bool]: """ Specifies, if the zone is a reverse zone or not. Defaults to `false` """ return pulumi.get(self, "is_reverse_zone") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The user given name of the zone. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="negativeCache") - def negative_cache(self) -> pulumi.Output[builtins.int]: + def negative_cache(self) -> pulumi.Output[_builtins.int]: """ Negative caching. E.g. 60 """ return pulumi.get(self, "negative_cache") - @property + @_builtins.property @pulumi.getter - def primaries(self) -> pulumi.Output[Sequence[builtins.str]]: + def primaries(self) -> pulumi.Output[Sequence[_builtins.str]]: """ Primary name server for secondary zone. E.g. ["1.2.3.4"] """ return pulumi.get(self, "primaries") - @property + @_builtins.property @pulumi.getter(name="primaryNameServer") - def primary_name_server(self) -> pulumi.Output[builtins.str]: + def primary_name_server(self) -> pulumi.Output[_builtins.str]: """ Primary name server. FQDN. """ return pulumi.get(self, "primary_name_server") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the dns zone is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="recordCount") - def record_count(self) -> pulumi.Output[builtins.int]: + def record_count(self) -> pulumi.Output[_builtins.int]: """ Record count how many records are in the zone. """ return pulumi.get(self, "record_count") - @property + @_builtins.property @pulumi.getter(name="refreshTime") - def refresh_time(self) -> pulumi.Output[builtins.int]: + def refresh_time(self) -> pulumi.Output[_builtins.int]: """ Refresh time. E.g. 3600 """ return pulumi.get(self, "refresh_time") - @property + @_builtins.property @pulumi.getter(name="retryTime") - def retry_time(self) -> pulumi.Output[builtins.int]: + def retry_time(self) -> pulumi.Output[_builtins.int]: """ Retry time. E.g. 600 """ return pulumi.get(self, "retry_time") - @property + @_builtins.property @pulumi.getter(name="serialNumber") - def serial_number(self) -> pulumi.Output[builtins.int]: + def serial_number(self) -> pulumi.Output[_builtins.int]: """ Serial number. E.g. `2022111400`. """ return pulumi.get(self, "serial_number") - @property + @_builtins.property @pulumi.getter - def state(self) -> pulumi.Output[builtins.str]: + def state(self) -> pulumi.Output[_builtins.str]: """ Zone state. E.g. `CREATE_SUCCEEDED`. """ return pulumi.get(self, "state") - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Output[builtins.str]: + def type(self) -> pulumi.Output[_builtins.str]: """ Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`. """ return pulumi.get(self, "type") - @property + @_builtins.property @pulumi.getter - def visibility(self) -> pulumi.Output[builtins.str]: + def visibility(self) -> pulumi.Output[_builtins.str]: """ Visibility of the zone. E.g. `public`. """ return pulumi.get(self, "visibility") - @property + @_builtins.property @pulumi.getter(name="zoneId") - def zone_id(self) -> pulumi.Output[builtins.str]: + def zone_id(self) -> pulumi.Output[_builtins.str]: """ The zone ID. """ diff --git a/sdk/python/pulumi_stackit/get_affinity_group.py b/sdk/python/pulumi_stackit/get_affinity_group.py index 0d05f56e..d20064b0 100644 --- a/sdk/python/pulumi_stackit/get_affinity_group.py +++ b/sdk/python/pulumi_stackit/get_affinity_group.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -47,46 +46,46 @@ def __init__(__self__, affinity_group_id=None, id=None, members=None, name=None, raise TypeError("Expected argument 'project_id' to be a str") pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter(name="affinityGroupId") - def affinity_group_id(self) -> builtins.str: + def affinity_group_id(self) -> _builtins.str: """ The affinity group ID. """ return pulumi.get(self, "affinity_group_id") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def members(self) -> Sequence[builtins.str]: + def members(self) -> Sequence[_builtins.str]: """ Affinity Group schema. Must have a `region` specified in the provider configuration. """ return pulumi.get(self, "members") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the affinity group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def policy(self) -> builtins.str: + def policy(self) -> _builtins.str: """ The policy of the affinity group. """ return pulumi.get(self, "policy") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the affinity group is associated. """ @@ -107,8 +106,8 @@ def __await__(self): project_id=self.project_id) -def get_affinity_group(affinity_group_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_affinity_group(affinity_group_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAffinityGroupResult: """ Affinity Group schema. Must have a `region` specified in the provider configuration. @@ -116,8 +115,8 @@ def get_affinity_group(affinity_group_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str affinity_group_id: The affinity group ID. - :param builtins.str project_id: STACKIT Project ID to which the affinity group is associated. + :param _builtins.str affinity_group_id: The affinity group ID. + :param _builtins.str project_id: STACKIT Project ID to which the affinity group is associated. """ __args__ = dict() __args__['affinityGroupId'] = affinity_group_id @@ -132,8 +131,8 @@ def get_affinity_group(affinity_group_id: Optional[builtins.str] = None, name=pulumi.get(__ret__, 'name'), policy=pulumi.get(__ret__, 'policy'), project_id=pulumi.get(__ret__, 'project_id')) -def get_affinity_group_output(affinity_group_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_affinity_group_output(affinity_group_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAffinityGroupResult]: """ Affinity Group schema. Must have a `region` specified in the provider configuration. @@ -141,8 +140,8 @@ def get_affinity_group_output(affinity_group_id: Optional[pulumi.Input[builtins. ## Example Usage - :param builtins.str affinity_group_id: The affinity group ID. - :param builtins.str project_id: STACKIT Project ID to which the affinity group is associated. + :param _builtins.str affinity_group_id: The affinity group ID. + :param _builtins.str project_id: STACKIT Project ID to which the affinity group is associated. """ __args__ = dict() __args__['affinityGroupId'] = affinity_group_id diff --git a/sdk/python/pulumi_stackit/get_cdn_custom_domain.py b/sdk/python/pulumi_stackit/get_cdn_custom_domain.py index 3cc45aad..20e7d1af 100644 --- a/sdk/python/pulumi_stackit/get_cdn_custom_domain.py +++ b/sdk/python/pulumi_stackit/get_cdn_custom_domain.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -14,6 +13,8 @@ else: from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities +from . import outputs +from ._inputs import * __all__ = [ 'GetCdnCustomDomainResult', @@ -27,7 +28,10 @@ class GetCdnCustomDomainResult: """ A collection of values returned by getCdnCustomDomain. """ - def __init__(__self__, distribution_id=None, errors=None, id=None, name=None, project_id=None, status=None): + def __init__(__self__, certificate=None, distribution_id=None, errors=None, id=None, name=None, project_id=None, status=None): + if certificate and not isinstance(certificate, dict): + raise TypeError("Expected argument 'certificate' to be a dict") + pulumi.set(__self__, "certificate", certificate) if distribution_id and not isinstance(distribution_id, str): raise TypeError("Expected argument 'distribution_id' to be a str") pulumi.set(__self__, "distribution_id", distribution_id) @@ -47,43 +51,51 @@ def __init__(__self__, distribution_id=None, errors=None, id=None, name=None, pr raise TypeError("Expected argument 'status' to be a str") pulumi.set(__self__, "status", status) - @property + @_builtins.property + @pulumi.getter + def certificate(self) -> Optional['outputs.GetCdnCustomDomainCertificateResult']: + """ + The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + """ + return pulumi.get(self, "certificate") + + @_builtins.property @pulumi.getter(name="distributionId") - def distribution_id(self) -> builtins.str: + def distribution_id(self) -> _builtins.str: """ CDN distribution ID """ return pulumi.get(self, "distribution_id") - @property + @_builtins.property @pulumi.getter - def errors(self) -> Sequence[builtins.str]: + def errors(self) -> Sequence[_builtins.str]: """ List of distribution errors """ return pulumi.get(self, "errors") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def status(self) -> builtins.str: + def status(self) -> _builtins.str: """ Status of the distribution """ @@ -96,6 +108,7 @@ def __await__(self): if False: yield self return GetCdnCustomDomainResult( + certificate=self.certificate, distribution_id=self.distribution_id, errors=self.errors, id=self.id, @@ -104,22 +117,25 @@ def __await__(self): status=self.status) -def get_cdn_custom_domain(distribution_id: Optional[builtins.str] = None, - name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_cdn_custom_domain(certificate: Optional[Union['GetCdnCustomDomainCertificateArgs', 'GetCdnCustomDomainCertificateArgsDict']] = None, + distribution_id: Optional[_builtins.str] = None, + name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCdnCustomDomainResult: """ CDN distribution data source schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str distribution_id: CDN distribution ID - :param builtins.str project_id: STACKIT project ID associated with the distribution + :param Union['GetCdnCustomDomainCertificateArgs', 'GetCdnCustomDomainCertificateArgsDict'] certificate: The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + :param _builtins.str distribution_id: CDN distribution ID + :param _builtins.str project_id: STACKIT project ID associated with the distribution """ __args__ = dict() + __args__['certificate'] = certificate __args__['distributionId'] = distribution_id __args__['name'] = name __args__['projectId'] = project_id @@ -127,34 +143,39 @@ def get_cdn_custom_domain(distribution_id: Optional[builtins.str] = None, __ret__ = pulumi.runtime.invoke('stackit:index/getCdnCustomDomain:getCdnCustomDomain', __args__, opts=opts, typ=GetCdnCustomDomainResult).value return AwaitableGetCdnCustomDomainResult( + certificate=pulumi.get(__ret__, 'certificate'), distribution_id=pulumi.get(__ret__, 'distribution_id'), errors=pulumi.get(__ret__, 'errors'), id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id'), status=pulumi.get(__ret__, 'status')) -def get_cdn_custom_domain_output(distribution_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_cdn_custom_domain_output(certificate: Optional[pulumi.Input[Optional[Union['GetCdnCustomDomainCertificateArgs', 'GetCdnCustomDomainCertificateArgsDict']]]] = None, + distribution_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCdnCustomDomainResult]: """ CDN distribution data source schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str distribution_id: CDN distribution ID - :param builtins.str project_id: STACKIT project ID associated with the distribution + :param Union['GetCdnCustomDomainCertificateArgs', 'GetCdnCustomDomainCertificateArgsDict'] certificate: The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. + :param _builtins.str distribution_id: CDN distribution ID + :param _builtins.str project_id: STACKIT project ID associated with the distribution """ __args__ = dict() + __args__['certificate'] = certificate __args__['distributionId'] = distribution_id __args__['name'] = name __args__['projectId'] = project_id opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getCdnCustomDomain:getCdnCustomDomain', __args__, opts=opts, typ=GetCdnCustomDomainResult) return __ret__.apply(lambda __response__: GetCdnCustomDomainResult( + certificate=pulumi.get(__response__, 'certificate'), distribution_id=pulumi.get(__response__, 'distribution_id'), errors=pulumi.get(__response__, 'errors'), id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_stackit/get_cdn_distribution.py b/sdk/python/pulumi_stackit/get_cdn_distribution.py index 0e04a1cb..cfaef536 100644 --- a/sdk/python/pulumi_stackit/get_cdn_distribution.py +++ b/sdk/python/pulumi_stackit/get_cdn_distribution.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -57,7 +56,7 @@ def __init__(__self__, config=None, created_at=None, distribution_id=None, domai raise TypeError("Expected argument 'updated_at' to be a str") pulumi.set(__self__, "updated_at", updated_at) - @property + @_builtins.property @pulumi.getter def config(self) -> 'outputs.GetCdnDistributionConfigResult': """ @@ -65,23 +64,23 @@ def config(self) -> 'outputs.GetCdnDistributionConfigResult': """ return pulumi.get(self, "config") - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> builtins.str: + def created_at(self) -> _builtins.str: """ Time when the distribution was created """ return pulumi.get(self, "created_at") - @property + @_builtins.property @pulumi.getter(name="distributionId") - def distribution_id(self) -> builtins.str: + def distribution_id(self) -> _builtins.str: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "distribution_id") - @property + @_builtins.property @pulumi.getter def domains(self) -> Sequence['outputs.GetCdnDistributionDomainResult']: """ @@ -89,38 +88,38 @@ def domains(self) -> Sequence['outputs.GetCdnDistributionDomainResult']: """ return pulumi.get(self, "domains") - @property + @_builtins.property @pulumi.getter - def errors(self) -> Sequence[builtins.str]: + def errors(self) -> Sequence[_builtins.str]: """ List of distribution errors """ return pulumi.get(self, "errors") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID associated with the distribution """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def status(self) -> builtins.str: + def status(self) -> _builtins.str: """ Status of the distribution """ return pulumi.get(self, "status") - @property + @_builtins.property @pulumi.getter(name="updatedAt") - def updated_at(self) -> builtins.str: + def updated_at(self) -> _builtins.str: """ Time when the distribution was last updated """ @@ -144,19 +143,19 @@ def __await__(self): updated_at=self.updated_at) -def get_cdn_distribution(distribution_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_cdn_distribution(distribution_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCdnDistributionResult: """ CDN distribution data source schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str distribution_id: STACKIT project ID associated with the distribution - :param builtins.str project_id: STACKIT project ID associated with the distribution + :param _builtins.str distribution_id: STACKIT project ID associated with the distribution + :param _builtins.str project_id: STACKIT project ID associated with the distribution """ __args__ = dict() __args__['distributionId'] = distribution_id @@ -174,19 +173,19 @@ def get_cdn_distribution(distribution_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), status=pulumi.get(__ret__, 'status'), updated_at=pulumi.get(__ret__, 'updated_at')) -def get_cdn_distribution_output(distribution_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_cdn_distribution_output(distribution_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCdnDistributionResult]: """ CDN distribution data source schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str distribution_id: STACKIT project ID associated with the distribution - :param builtins.str project_id: STACKIT project ID associated with the distribution + :param _builtins.str distribution_id: STACKIT project ID associated with the distribution + :param _builtins.str project_id: STACKIT project ID associated with the distribution """ __args__ = dict() __args__['distributionId'] = distribution_id diff --git a/sdk/python/pulumi_stackit/get_dns_record_set.py b/sdk/python/pulumi_stackit/get_dns_record_set.py index de9ce4b2..cee44adb 100644 --- a/sdk/python/pulumi_stackit/get_dns_record_set.py +++ b/sdk/python/pulumi_stackit/get_dns_record_set.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -68,102 +67,102 @@ def __init__(__self__, active=None, comment=None, error=None, fqdn=None, id=None raise TypeError("Expected argument 'zone_id' to be a str") pulumi.set(__self__, "zone_id", zone_id) - @property + @_builtins.property @pulumi.getter - def active(self) -> builtins.bool: + def active(self) -> _builtins.bool: """ Specifies if the record set is active or not. """ return pulumi.get(self, "active") - @property + @_builtins.property @pulumi.getter - def comment(self) -> builtins.str: + def comment(self) -> _builtins.str: """ Comment. """ return pulumi.get(self, "comment") - @property + @_builtins.property @pulumi.getter - def error(self) -> builtins.str: + def error(self) -> _builtins.str: """ Error shows error in case create/update/delete failed. """ return pulumi.get(self, "error") - @property + @_builtins.property @pulumi.getter - def fqdn(self) -> builtins.str: + def fqdn(self) -> _builtins.str: """ Fully qualified domain name (FQDN) of the record set. """ return pulumi.get(self, "fqdn") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Name of the record which should be a valid domain according to rfc1035 Section 2.3.4. E.g. `example.com` """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the dns record set is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="recordSetId") - def record_set_id(self) -> builtins.str: + def record_set_id(self) -> _builtins.str: """ The rr set id. """ return pulumi.get(self, "record_set_id") - @property + @_builtins.property @pulumi.getter - def records(self) -> Sequence[builtins.str]: + def records(self) -> Sequence[_builtins.str]: """ Records. """ return pulumi.get(self, "records") - @property + @_builtins.property @pulumi.getter - def state(self) -> builtins.str: + def state(self) -> _builtins.str: """ Record set state. """ return pulumi.get(self, "state") - @property + @_builtins.property @pulumi.getter - def ttl(self) -> builtins.int: + def ttl(self) -> _builtins.int: """ Time to live. E.g. 3600 """ return pulumi.get(self, "ttl") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ The record set type. E.g. `A` or `CNAME` """ return pulumi.get(self, "type") - @property + @_builtins.property @pulumi.getter(name="zoneId") - def zone_id(self) -> builtins.str: + def zone_id(self) -> _builtins.str: """ The zone ID to which is dns record set is associated. """ @@ -191,9 +190,9 @@ def __await__(self): zone_id=self.zone_id) -def get_dns_record_set(project_id: Optional[builtins.str] = None, - record_set_id: Optional[builtins.str] = None, - zone_id: Optional[builtins.str] = None, +def get_dns_record_set(project_id: Optional[_builtins.str] = None, + record_set_id: Optional[_builtins.str] = None, + zone_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDnsRecordSetResult: """ DNS Record Set Resource schema. @@ -201,9 +200,9 @@ def get_dns_record_set(project_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the dns record set is associated. - :param builtins.str record_set_id: The rr set id. - :param builtins.str zone_id: The zone ID to which is dns record set is associated. + :param _builtins.str project_id: STACKIT project ID to which the dns record set is associated. + :param _builtins.str record_set_id: The rr set id. + :param _builtins.str zone_id: The zone ID to which is dns record set is associated. """ __args__ = dict() __args__['projectId'] = project_id @@ -226,9 +225,9 @@ def get_dns_record_set(project_id: Optional[builtins.str] = None, ttl=pulumi.get(__ret__, 'ttl'), type=pulumi.get(__ret__, 'type'), zone_id=pulumi.get(__ret__, 'zone_id')) -def get_dns_record_set_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - record_set_id: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[builtins.str]] = None, +def get_dns_record_set_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + record_set_id: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDnsRecordSetResult]: """ DNS Record Set Resource schema. @@ -236,9 +235,9 @@ def get_dns_record_set_output(project_id: Optional[pulumi.Input[builtins.str]] = ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the dns record set is associated. - :param builtins.str record_set_id: The rr set id. - :param builtins.str zone_id: The zone ID to which is dns record set is associated. + :param _builtins.str project_id: STACKIT project ID to which the dns record set is associated. + :param _builtins.str record_set_id: The rr set id. + :param _builtins.str zone_id: The zone ID to which is dns record set is associated. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_dns_zone.py b/sdk/python/pulumi_stackit/get_dns_zone.py index 2b9f64b2..5b67e61b 100644 --- a/sdk/python/pulumi_stackit/get_dns_zone.py +++ b/sdk/python/pulumi_stackit/get_dns_zone.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -95,171 +94,171 @@ def __init__(__self__, acl=None, active=None, contact_email=None, default_ttl=No raise TypeError("Expected argument 'zone_id' to be a str") pulumi.set(__self__, "zone_id", zone_id) - @property + @_builtins.property @pulumi.getter - def acl(self) -> builtins.str: + def acl(self) -> _builtins.str: """ The access control list. """ return pulumi.get(self, "acl") - @property + @_builtins.property @pulumi.getter - def active(self) -> builtins.bool: + def active(self) -> _builtins.bool: return pulumi.get(self, "active") - @property + @_builtins.property @pulumi.getter(name="contactEmail") - def contact_email(self) -> builtins.str: + def contact_email(self) -> _builtins.str: """ A contact e-mail for the zone. """ return pulumi.get(self, "contact_email") - @property + @_builtins.property @pulumi.getter(name="defaultTtl") - def default_ttl(self) -> builtins.int: + def default_ttl(self) -> _builtins.int: """ Default time to live. """ return pulumi.get(self, "default_ttl") - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: """ Description of the zone. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter(name="dnsName") - def dns_name(self) -> Optional[builtins.str]: + def dns_name(self) -> Optional[_builtins.str]: """ The zone name. E.g. `example.com` """ return pulumi.get(self, "dns_name") - @property + @_builtins.property @pulumi.getter(name="expireTime") - def expire_time(self) -> builtins.int: + def expire_time(self) -> _builtins.int: """ Expire time. """ return pulumi.get(self, "expire_time") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="isReverseZone") - def is_reverse_zone(self) -> builtins.bool: + def is_reverse_zone(self) -> _builtins.bool: """ Specifies, if the zone is a reverse zone or not. """ return pulumi.get(self, "is_reverse_zone") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The user given name of the zone. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="negativeCache") - def negative_cache(self) -> builtins.int: + def negative_cache(self) -> _builtins.int: """ Negative caching. """ return pulumi.get(self, "negative_cache") - @property + @_builtins.property @pulumi.getter - def primaries(self) -> Sequence[builtins.str]: + def primaries(self) -> Sequence[_builtins.str]: """ Primary name server for secondary zone. """ return pulumi.get(self, "primaries") - @property + @_builtins.property @pulumi.getter(name="primaryNameServer") - def primary_name_server(self) -> builtins.str: + def primary_name_server(self) -> _builtins.str: """ Primary name server. FQDN. """ return pulumi.get(self, "primary_name_server") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the dns zone is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="recordCount") - def record_count(self) -> builtins.int: + def record_count(self) -> _builtins.int: """ Record count how many records are in the zone. """ return pulumi.get(self, "record_count") - @property + @_builtins.property @pulumi.getter(name="refreshTime") - def refresh_time(self) -> builtins.int: + def refresh_time(self) -> _builtins.int: """ Refresh time. """ return pulumi.get(self, "refresh_time") - @property + @_builtins.property @pulumi.getter(name="retryTime") - def retry_time(self) -> builtins.int: + def retry_time(self) -> _builtins.int: """ Retry time. """ return pulumi.get(self, "retry_time") - @property + @_builtins.property @pulumi.getter(name="serialNumber") - def serial_number(self) -> builtins.int: + def serial_number(self) -> _builtins.int: """ Serial number. """ return pulumi.get(self, "serial_number") - @property + @_builtins.property @pulumi.getter - def state(self) -> builtins.str: + def state(self) -> _builtins.str: """ Zone state. """ return pulumi.get(self, "state") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ Zone type. """ return pulumi.get(self, "type") - @property + @_builtins.property @pulumi.getter - def visibility(self) -> builtins.str: + def visibility(self) -> _builtins.str: """ Visibility of the zone. """ return pulumi.get(self, "visibility") - @property + @_builtins.property @pulumi.getter(name="zoneId") - def zone_id(self) -> Optional[builtins.str]: + def zone_id(self) -> Optional[_builtins.str]: """ The zone ID. """ @@ -296,9 +295,9 @@ def __await__(self): zone_id=self.zone_id) -def get_dns_zone(dns_name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - zone_id: Optional[builtins.str] = None, +def get_dns_zone(dns_name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + zone_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDnsZoneResult: """ DNS Zone resource schema. @@ -306,9 +305,9 @@ def get_dns_zone(dns_name: Optional[builtins.str] = None, ## Example Usage - :param builtins.str dns_name: The zone name. E.g. `example.com` - :param builtins.str project_id: STACKIT project ID to which the dns zone is associated. - :param builtins.str zone_id: The zone ID. + :param _builtins.str dns_name: The zone name. E.g. `example.com` + :param _builtins.str project_id: STACKIT project ID to which the dns zone is associated. + :param _builtins.str zone_id: The zone ID. """ __args__ = dict() __args__['dnsName'] = dns_name @@ -340,9 +339,9 @@ def get_dns_zone(dns_name: Optional[builtins.str] = None, type=pulumi.get(__ret__, 'type'), visibility=pulumi.get(__ret__, 'visibility'), zone_id=pulumi.get(__ret__, 'zone_id')) -def get_dns_zone_output(dns_name: Optional[pulumi.Input[Optional[builtins.str]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - zone_id: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_dns_zone_output(dns_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + zone_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDnsZoneResult]: """ DNS Zone resource schema. @@ -350,9 +349,9 @@ def get_dns_zone_output(dns_name: Optional[pulumi.Input[Optional[builtins.str]]] ## Example Usage - :param builtins.str dns_name: The zone name. E.g. `example.com` - :param builtins.str project_id: STACKIT project ID to which the dns zone is associated. - :param builtins.str zone_id: The zone ID. + :param _builtins.str dns_name: The zone name. E.g. `example.com` + :param _builtins.str project_id: STACKIT project ID to which the dns zone is associated. + :param _builtins.str zone_id: The zone ID. """ __args__ = dict() __args__['dnsName'] = dns_name diff --git a/sdk/python/pulumi_stackit/get_git.py b/sdk/python/pulumi_stackit/get_git.py index 097d9f35..a7a8c3d3 100644 --- a/sdk/python/pulumi_stackit/get_git.py +++ b/sdk/python/pulumi_stackit/get_git.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -27,7 +26,22 @@ class GetGitResult: """ A collection of values returned by getGit. """ - def __init__(__self__, id=None, instance_id=None, name=None, project_id=None, url=None, version=None): + def __init__(__self__, acls=None, consumed_disk=None, consumed_object_storage=None, created=None, flavor=None, id=None, instance_id=None, name=None, project_id=None, url=None, version=None): + if acls and not isinstance(acls, list): + raise TypeError("Expected argument 'acls' to be a list") + pulumi.set(__self__, "acls", acls) + if consumed_disk and not isinstance(consumed_disk, str): + raise TypeError("Expected argument 'consumed_disk' to be a str") + pulumi.set(__self__, "consumed_disk", consumed_disk) + if consumed_object_storage and not isinstance(consumed_object_storage, str): + raise TypeError("Expected argument 'consumed_object_storage' to be a str") + pulumi.set(__self__, "consumed_object_storage", consumed_object_storage) + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if flavor and not isinstance(flavor, str): + raise TypeError("Expected argument 'flavor' to be a str") + pulumi.set(__self__, "flavor", flavor) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -47,46 +61,86 @@ def __init__(__self__, id=None, instance_id=None, name=None, project_id=None, ur raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def acls(self) -> Sequence[_builtins.str]: + """ + Restricted ACL for instance access. + """ + return pulumi.get(self, "acls") + + @_builtins.property + @pulumi.getter(name="consumedDisk") + def consumed_disk(self) -> _builtins.str: + """ + How many bytes of disk space is consumed. + """ + return pulumi.get(self, "consumed_disk") + + @_builtins.property + @pulumi.getter(name="consumedObjectStorage") + def consumed_object_storage(self) -> _builtins.str: + """ + How many bytes of Object Storage is consumed. + """ + return pulumi.get(self, "consumed_object_storage") + + @_builtins.property + @pulumi.getter + def created(self) -> _builtins.str: + """ + Instance creation timestamp in RFC3339 format. + """ + return pulumi.get(self, "created") + + @_builtins.property + @pulumi.getter + def flavor(self) -> _builtins.str: + """ + Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + """ + return pulumi.get(self, "flavor") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID linked to the git instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Unique name linked to the git instance. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the git instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def url(self) -> builtins.str: + def url(self) -> _builtins.str: """ Url linked to the git instance. """ return pulumi.get(self, "url") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: """ Version linked to the git instance. """ @@ -99,6 +153,11 @@ def __await__(self): if False: yield self return GetGitResult( + acls=self.acls, + consumed_disk=self.consumed_disk, + consumed_object_storage=self.consumed_object_storage, + created=self.created, + flavor=self.flavor, id=self.id, instance_id=self.instance_id, name=self.name, @@ -107,19 +166,19 @@ def __await__(self): version=self.version) -def get_git(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_git(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitResult: """ Git Instance datasource schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str instance_id: ID linked to the git instance. - :param builtins.str project_id: STACKIT project ID to which the git instance is associated. + :param _builtins.str instance_id: ID linked to the git instance. + :param _builtins.str project_id: STACKIT project ID to which the git instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -128,25 +187,30 @@ def get_git(instance_id: Optional[builtins.str] = None, __ret__ = pulumi.runtime.invoke('stackit:index/getGit:getGit', __args__, opts=opts, typ=GetGitResult).value return AwaitableGetGitResult( + acls=pulumi.get(__ret__, 'acls'), + consumed_disk=pulumi.get(__ret__, 'consumed_disk'), + consumed_object_storage=pulumi.get(__ret__, 'consumed_object_storage'), + created=pulumi.get(__ret__, 'created'), + flavor=pulumi.get(__ret__, 'flavor'), id=pulumi.get(__ret__, 'id'), instance_id=pulumi.get(__ret__, 'instance_id'), name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id'), url=pulumi.get(__ret__, 'url'), version=pulumi.get(__ret__, 'version')) -def get_git_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_git_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitResult]: """ Git Instance datasource schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str instance_id: ID linked to the git instance. - :param builtins.str project_id: STACKIT project ID to which the git instance is associated. + :param _builtins.str instance_id: ID linked to the git instance. + :param _builtins.str project_id: STACKIT project ID to which the git instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -154,6 +218,11 @@ def get_git_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getGit:getGit', __args__, opts=opts, typ=GetGitResult) return __ret__.apply(lambda __response__: GetGitResult( + acls=pulumi.get(__response__, 'acls'), + consumed_disk=pulumi.get(__response__, 'consumed_disk'), + consumed_object_storage=pulumi.get(__response__, 'consumed_object_storage'), + created=pulumi.get(__response__, 'created'), + flavor=pulumi.get(__response__, 'flavor'), id=pulumi.get(__response__, 'id'), instance_id=pulumi.get(__response__, 'instance_id'), name=pulumi.get(__response__, 'name'), diff --git a/sdk/python/pulumi_stackit/get_iaas_project.py b/sdk/python/pulumi_stackit/get_iaas_project.py new file mode 100644 index 00000000..2e74e1d0 --- /dev/null +++ b/sdk/python/pulumi_stackit/get_iaas_project.py @@ -0,0 +1,165 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetIaasProjectResult', + 'AwaitableGetIaasProjectResult', + 'get_iaas_project', + 'get_iaas_project_output', +] + +@pulumi.output_type +class GetIaasProjectResult: + """ + A collection of values returned by getIaasProject. + """ + def __init__(__self__, area_id=None, created_at=None, id=None, internet_access=None, project_id=None, state=None, updated_at=None): + if area_id and not isinstance(area_id, str): + raise TypeError("Expected argument 'area_id' to be a str") + pulumi.set(__self__, "area_id", area_id) + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if internet_access and not isinstance(internet_access, bool): + raise TypeError("Expected argument 'internet_access' to be a bool") + pulumi.set(__self__, "internet_access", internet_access) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="areaId") + def area_id(self) -> _builtins.str: + """ + The area ID to which the project belongs to. + """ + return pulumi.get(self, "area_id") + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> _builtins.str: + """ + Date-time when the project was created. + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="internetAccess") + def internet_access(self) -> _builtins.bool: + """ + Specifies if the project has internet_access + """ + return pulumi.get(self, "internet_access") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> _builtins.str: + """ + STACKIT project ID. + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter + def state(self) -> _builtins.str: + """ + Specifies the state of the project. + """ + return pulumi.get(self, "state") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> _builtins.str: + """ + Date-time when the project was last updated. + """ + return pulumi.get(self, "updated_at") + + +class AwaitableGetIaasProjectResult(GetIaasProjectResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIaasProjectResult( + area_id=self.area_id, + created_at=self.created_at, + id=self.id, + internet_access=self.internet_access, + project_id=self.project_id, + state=self.state, + updated_at=self.updated_at) + + +def get_iaas_project(project_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIaasProjectResult: + """ + Project details. Must have a `region` specified in the provider configuration. + + ## Example Usage + + + :param _builtins.str project_id: STACKIT project ID. + """ + __args__ = dict() + __args__['projectId'] = project_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getIaasProject:getIaasProject', __args__, opts=opts, typ=GetIaasProjectResult).value + + return AwaitableGetIaasProjectResult( + area_id=pulumi.get(__ret__, 'area_id'), + created_at=pulumi.get(__ret__, 'created_at'), + id=pulumi.get(__ret__, 'id'), + internet_access=pulumi.get(__ret__, 'internet_access'), + project_id=pulumi.get(__ret__, 'project_id'), + state=pulumi.get(__ret__, 'state'), + updated_at=pulumi.get(__ret__, 'updated_at')) +def get_iaas_project_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIaasProjectResult]: + """ + Project details. Must have a `region` specified in the provider configuration. + + ## Example Usage + + + :param _builtins.str project_id: STACKIT project ID. + """ + __args__ = dict() + __args__['projectId'] = project_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getIaasProject:getIaasProject', __args__, opts=opts, typ=GetIaasProjectResult) + return __ret__.apply(lambda __response__: GetIaasProjectResult( + area_id=pulumi.get(__response__, 'area_id'), + created_at=pulumi.get(__response__, 'created_at'), + id=pulumi.get(__response__, 'id'), + internet_access=pulumi.get(__response__, 'internet_access'), + project_id=pulumi.get(__response__, 'project_id'), + state=pulumi.get(__response__, 'state'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_stackit/get_image.py b/sdk/python/pulumi_stackit/get_image.py index d2c568d5..ace1c31f 100644 --- a/sdk/python/pulumi_stackit/get_image.py +++ b/sdk/python/pulumi_stackit/get_image.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -66,7 +65,7 @@ def __init__(__self__, checksum=None, config=None, disk_format=None, id=None, im raise TypeError("Expected argument 'scope' to be a str") pulumi.set(__self__, "scope", scope) - @property + @_builtins.property @pulumi.getter def checksum(self) -> 'outputs.GetImageChecksumResult': """ @@ -74,7 +73,7 @@ def checksum(self) -> 'outputs.GetImageChecksumResult': """ return pulumi.get(self, "checksum") - @property + @_builtins.property @pulumi.getter def config(self) -> 'outputs.GetImageConfigResult': """ @@ -82,78 +81,78 @@ def config(self) -> 'outputs.GetImageConfigResult': """ return pulumi.get(self, "config") - @property + @_builtins.property @pulumi.getter(name="diskFormat") - def disk_format(self) -> builtins.str: + def disk_format(self) -> _builtins.str: """ The disk format of the image. """ return pulumi.get(self, "disk_format") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="imageId") - def image_id(self) -> builtins.str: + def image_id(self) -> _builtins.str: """ The image ID. """ return pulumi.get(self, "image_id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="minDiskSize") - def min_disk_size(self) -> builtins.int: + def min_disk_size(self) -> _builtins.int: """ The minimum disk size of the image in GB. """ return pulumi.get(self, "min_disk_size") - @property + @_builtins.property @pulumi.getter(name="minRam") - def min_ram(self) -> builtins.int: + def min_ram(self) -> _builtins.int: """ The minimum RAM of the image in MB. """ return pulumi.get(self, "min_ram") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the image. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the image is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def protected(self) -> builtins.bool: + def protected(self) -> _builtins.bool: """ Whether the image is protected. """ return pulumi.get(self, "protected") - @property + @_builtins.property @pulumi.getter - def scope(self) -> builtins.str: + def scope(self) -> _builtins.str: """ The scope of the image. """ @@ -180,8 +179,8 @@ def __await__(self): scope=self.scope) -def get_image(image_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_image(image_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageResult: """ Image datasource schema. Must have a `region` specified in the provider configuration. @@ -189,8 +188,8 @@ def get_image(image_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str image_id: The image ID. - :param builtins.str project_id: STACKIT project ID to which the image is associated. + :param _builtins.str image_id: The image ID. + :param _builtins.str project_id: STACKIT project ID to which the image is associated. """ __args__ = dict() __args__['imageId'] = image_id @@ -211,8 +210,8 @@ def get_image(image_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), protected=pulumi.get(__ret__, 'protected'), scope=pulumi.get(__ret__, 'scope')) -def get_image_output(image_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_image_output(image_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImageResult]: """ Image datasource schema. Must have a `region` specified in the provider configuration. @@ -220,8 +219,8 @@ def get_image_output(image_id: Optional[pulumi.Input[builtins.str]] = None, ## Example Usage - :param builtins.str image_id: The image ID. - :param builtins.str project_id: STACKIT project ID to which the image is associated. + :param _builtins.str image_id: The image ID. + :param _builtins.str project_id: STACKIT project ID to which the image is associated. """ __args__ = dict() __args__['imageId'] = image_id diff --git a/sdk/python/pulumi_stackit/get_image_v2.py b/sdk/python/pulumi_stackit/get_image_v2.py new file mode 100644 index 00000000..6333fa8d --- /dev/null +++ b/sdk/python/pulumi_stackit/get_image_v2.py @@ -0,0 +1,305 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetImageV2Result', + 'AwaitableGetImageV2Result', + 'get_image_v2', + 'get_image_v2_output', +] + +@pulumi.output_type +class GetImageV2Result: + """ + A collection of values returned by getImageV2. + """ + def __init__(__self__, checksum=None, config=None, disk_format=None, filter=None, id=None, image_id=None, labels=None, min_disk_size=None, min_ram=None, name=None, name_regex=None, project_id=None, protected=None, scope=None, sort_ascending=None): + if checksum and not isinstance(checksum, dict): + raise TypeError("Expected argument 'checksum' to be a dict") + pulumi.set(__self__, "checksum", checksum) + if config and not isinstance(config, dict): + raise TypeError("Expected argument 'config' to be a dict") + pulumi.set(__self__, "config", config) + if disk_format and not isinstance(disk_format, str): + raise TypeError("Expected argument 'disk_format' to be a str") + pulumi.set(__self__, "disk_format", disk_format) + if filter and not isinstance(filter, dict): + raise TypeError("Expected argument 'filter' to be a dict") + pulumi.set(__self__, "filter", filter) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if image_id and not isinstance(image_id, str): + raise TypeError("Expected argument 'image_id' to be a str") + pulumi.set(__self__, "image_id", image_id) + if labels and not isinstance(labels, dict): + raise TypeError("Expected argument 'labels' to be a dict") + pulumi.set(__self__, "labels", labels) + if min_disk_size and not isinstance(min_disk_size, int): + raise TypeError("Expected argument 'min_disk_size' to be a int") + pulumi.set(__self__, "min_disk_size", min_disk_size) + if min_ram and not isinstance(min_ram, int): + raise TypeError("Expected argument 'min_ram' to be a int") + pulumi.set(__self__, "min_ram", min_ram) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if name_regex and not isinstance(name_regex, str): + raise TypeError("Expected argument 'name_regex' to be a str") + pulumi.set(__self__, "name_regex", name_regex) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if protected and not isinstance(protected, bool): + raise TypeError("Expected argument 'protected' to be a bool") + pulumi.set(__self__, "protected", protected) + if scope and not isinstance(scope, str): + raise TypeError("Expected argument 'scope' to be a str") + pulumi.set(__self__, "scope", scope) + if sort_ascending and not isinstance(sort_ascending, bool): + raise TypeError("Expected argument 'sort_ascending' to be a bool") + pulumi.set(__self__, "sort_ascending", sort_ascending) + + @_builtins.property + @pulumi.getter + def checksum(self) -> 'outputs.GetImageV2ChecksumResult': + """ + Representation of an image checksum. + """ + return pulumi.get(self, "checksum") + + @_builtins.property + @pulumi.getter + def config(self) -> 'outputs.GetImageV2ConfigResult': + """ + Properties to set hardware and scheduling settings for an image. + """ + return pulumi.get(self, "config") + + @_builtins.property + @pulumi.getter(name="diskFormat") + def disk_format(self) -> _builtins.str: + """ + The disk format of the image. + """ + return pulumi.get(self, "disk_format") + + @_builtins.property + @pulumi.getter + def filter(self) -> Optional['outputs.GetImageV2FilterResult']: + """ + Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`. + """ + return pulumi.get(self, "filter") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="imageId") + def image_id(self) -> Optional[_builtins.str]: + """ + Image ID to fetch directly + """ + return pulumi.get(self, "image_id") + + @_builtins.property + @pulumi.getter + def labels(self) -> Mapping[str, _builtins.str]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter(name="minDiskSize") + def min_disk_size(self) -> _builtins.int: + """ + The minimum disk size of the image in GB. + """ + return pulumi.get(self, "min_disk_size") + + @_builtins.property + @pulumi.getter(name="minRam") + def min_ram(self) -> _builtins.int: + """ + The minimum RAM of the image in MB. + """ + return pulumi.get(self, "min_ram") + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[_builtins.str]: + """ + Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="nameRegex") + def name_regex(self) -> Optional[_builtins.str]: + """ + Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + """ + return pulumi.get(self, "name_regex") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> _builtins.str: + """ + STACKIT project ID to which the image is associated. + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter + def protected(self) -> _builtins.bool: + """ + Whether the image is protected. + """ + return pulumi.get(self, "protected") + + @_builtins.property + @pulumi.getter + def scope(self) -> _builtins.str: + """ + The scope of the image. + """ + return pulumi.get(self, "scope") + + @_builtins.property + @pulumi.getter(name="sortAscending") + def sort_ascending(self) -> Optional[_builtins.bool]: + """ + If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + """ + return pulumi.get(self, "sort_ascending") + + +class AwaitableGetImageV2Result(GetImageV2Result): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetImageV2Result( + checksum=self.checksum, + config=self.config, + disk_format=self.disk_format, + filter=self.filter, + id=self.id, + image_id=self.image_id, + labels=self.labels, + min_disk_size=self.min_disk_size, + min_ram=self.min_ram, + name=self.name, + name_regex=self.name_regex, + project_id=self.project_id, + protected=self.protected, + scope=self.scope, + sort_ascending=self.sort_ascending) + + +def get_image_v2(filter: Optional[Union['GetImageV2FilterArgs', 'GetImageV2FilterArgsDict']] = None, + image_id: Optional[_builtins.str] = None, + name: Optional[_builtins.str] = None, + name_regex: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + sort_ascending: Optional[_builtins.bool] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageV2Result: + """ + ## Example Usage + + + :param Union['GetImageV2FilterArgs', 'GetImageV2FilterArgsDict'] filter: Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`. + :param _builtins.str image_id: Image ID to fetch directly + :param _builtins.str name: Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`. + :param _builtins.str name_regex: Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + :param _builtins.str project_id: STACKIT project ID to which the image is associated. + :param _builtins.bool sort_ascending: If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + """ + __args__ = dict() + __args__['filter'] = filter + __args__['imageId'] = image_id + __args__['name'] = name + __args__['nameRegex'] = name_regex + __args__['projectId'] = project_id + __args__['sortAscending'] = sort_ascending + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getImageV2:getImageV2', __args__, opts=opts, typ=GetImageV2Result).value + + return AwaitableGetImageV2Result( + checksum=pulumi.get(__ret__, 'checksum'), + config=pulumi.get(__ret__, 'config'), + disk_format=pulumi.get(__ret__, 'disk_format'), + filter=pulumi.get(__ret__, 'filter'), + id=pulumi.get(__ret__, 'id'), + image_id=pulumi.get(__ret__, 'image_id'), + labels=pulumi.get(__ret__, 'labels'), + min_disk_size=pulumi.get(__ret__, 'min_disk_size'), + min_ram=pulumi.get(__ret__, 'min_ram'), + name=pulumi.get(__ret__, 'name'), + name_regex=pulumi.get(__ret__, 'name_regex'), + project_id=pulumi.get(__ret__, 'project_id'), + protected=pulumi.get(__ret__, 'protected'), + scope=pulumi.get(__ret__, 'scope'), + sort_ascending=pulumi.get(__ret__, 'sort_ascending')) +def get_image_v2_output(filter: Optional[pulumi.Input[Optional[Union['GetImageV2FilterArgs', 'GetImageV2FilterArgsDict']]]] = None, + image_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + name: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + name_regex: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + sort_ascending: Optional[pulumi.Input[Optional[_builtins.bool]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImageV2Result]: + """ + ## Example Usage + + + :param Union['GetImageV2FilterArgs', 'GetImageV2FilterArgsDict'] filter: Additional filtering options based on image properties. Can be used independently or in conjunction with `name` or `name_regex`. + :param _builtins.str image_id: Image ID to fetch directly + :param _builtins.str name: Exact image name to match. Optionally applies a `filter` block to further refine results in case multiple images share the same name. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name_regex`. + :param _builtins.str name_regex: Regular expression to match against image names. Optionally applies a `filter` block to narrow down results when multiple image names match the regex. The first match is returned, optionally sorted by name in ascending order. Cannot be used together with `name`. + :param _builtins.str project_id: STACKIT project ID to which the image is associated. + :param _builtins.bool sort_ascending: If set to `true`, images are sorted in ascending lexicographical order by image name (such as `Ubuntu 18.04`, `Ubuntu 20.04`, `Ubuntu 22.04`) before selecting the first match. Defaults to `false` (descending such as `Ubuntu 22.04`, `Ubuntu 20.04`, `Ubuntu 18.04`). + """ + __args__ = dict() + __args__['filter'] = filter + __args__['imageId'] = image_id + __args__['name'] = name + __args__['nameRegex'] = name_regex + __args__['projectId'] = project_id + __args__['sortAscending'] = sort_ascending + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getImageV2:getImageV2', __args__, opts=opts, typ=GetImageV2Result) + return __ret__.apply(lambda __response__: GetImageV2Result( + checksum=pulumi.get(__response__, 'checksum'), + config=pulumi.get(__response__, 'config'), + disk_format=pulumi.get(__response__, 'disk_format'), + filter=pulumi.get(__response__, 'filter'), + id=pulumi.get(__response__, 'id'), + image_id=pulumi.get(__response__, 'image_id'), + labels=pulumi.get(__response__, 'labels'), + min_disk_size=pulumi.get(__response__, 'min_disk_size'), + min_ram=pulumi.get(__response__, 'min_ram'), + name=pulumi.get(__response__, 'name'), + name_regex=pulumi.get(__response__, 'name_regex'), + project_id=pulumi.get(__response__, 'project_id'), + protected=pulumi.get(__response__, 'protected'), + scope=pulumi.get(__response__, 'scope'), + sort_ascending=pulumi.get(__response__, 'sort_ascending'))) diff --git a/sdk/python/pulumi_stackit/get_key_pair.py b/sdk/python/pulumi_stackit/get_key_pair.py index 7a745e03..fdf44bd0 100644 --- a/sdk/python/pulumi_stackit/get_key_pair.py +++ b/sdk/python/pulumi_stackit/get_key_pair.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -44,38 +43,38 @@ def __init__(__self__, fingerprint=None, id=None, labels=None, name=None, public raise TypeError("Expected argument 'public_key' to be a str") pulumi.set(__self__, "public_key", public_key) - @property + @_builtins.property @pulumi.getter - def fingerprint(self) -> builtins.str: + def fingerprint(self) -> _builtins.str: """ The fingerprint of the public SSH key. """ return pulumi.get(self, "fingerprint") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the SSH key pair. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="publicKey") - def public_key(self) -> builtins.str: + def public_key(self) -> _builtins.str: """ A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. """ @@ -95,7 +94,7 @@ def __await__(self): public_key=self.public_key) -def get_key_pair(name: Optional[builtins.str] = None, +def get_key_pair(name: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyPairResult: """ Key pair resource schema. Must have a `region` specified in the provider configuration. @@ -103,7 +102,7 @@ def get_key_pair(name: Optional[builtins.str] = None, ## Example Usage - :param builtins.str name: The name of the SSH key pair. + :param _builtins.str name: The name of the SSH key pair. """ __args__ = dict() __args__['name'] = name @@ -116,7 +115,7 @@ def get_key_pair(name: Optional[builtins.str] = None, labels=pulumi.get(__ret__, 'labels'), name=pulumi.get(__ret__, 'name'), public_key=pulumi.get(__ret__, 'public_key')) -def get_key_pair_output(name: Optional[pulumi.Input[builtins.str]] = None, +def get_key_pair_output(name: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeyPairResult]: """ Key pair resource schema. Must have a `region` specified in the provider configuration. @@ -124,7 +123,7 @@ def get_key_pair_output(name: Optional[pulumi.Input[builtins.str]] = None, ## Example Usage - :param builtins.str name: The name of the SSH key pair. + :param _builtins.str name: The name of the SSH key pair. """ __args__ = dict() __args__['name'] = name diff --git a/sdk/python/pulumi_stackit/get_loadbalancer.py b/sdk/python/pulumi_stackit/get_loadbalancer.py index 1312e891..a659d33b 100644 --- a/sdk/python/pulumi_stackit/get_loadbalancer.py +++ b/sdk/python/pulumi_stackit/get_loadbalancer.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -28,7 +27,10 @@ class GetLoadbalancerResult: """ A collection of values returned by getLoadbalancer. """ - def __init__(__self__, external_address=None, id=None, listeners=None, name=None, networks=None, options=None, private_address=None, project_id=None, region=None, target_pools=None): + def __init__(__self__, disable_security_group_assignment=None, external_address=None, id=None, listeners=None, name=None, networks=None, options=None, plan_id=None, private_address=None, project_id=None, region=None, security_group_id=None, target_pools=None): + if disable_security_group_assignment and not isinstance(disable_security_group_assignment, bool): + raise TypeError("Expected argument 'disable_security_group_assignment' to be a bool") + pulumi.set(__self__, "disable_security_group_assignment", disable_security_group_assignment) if external_address and not isinstance(external_address, str): raise TypeError("Expected argument 'external_address' to be a str") pulumi.set(__self__, "external_address", external_address) @@ -47,6 +49,9 @@ def __init__(__self__, external_address=None, id=None, listeners=None, name=None if options and not isinstance(options, dict): raise TypeError("Expected argument 'options' to be a dict") pulumi.set(__self__, "options", options) + if plan_id and not isinstance(plan_id, str): + raise TypeError("Expected argument 'plan_id' to be a str") + pulumi.set(__self__, "plan_id", plan_id) if private_address and not isinstance(private_address, str): raise TypeError("Expected argument 'private_address' to be a str") pulumi.set(__self__, "private_address", private_address) @@ -56,24 +61,35 @@ def __init__(__self__, external_address=None, id=None, listeners=None, name=None if region and not isinstance(region, str): raise TypeError("Expected argument 'region' to be a str") pulumi.set(__self__, "region", region) + if security_group_id and not isinstance(security_group_id, str): + raise TypeError("Expected argument 'security_group_id' to be a str") + pulumi.set(__self__, "security_group_id", security_group_id) if target_pools and not isinstance(target_pools, list): raise TypeError("Expected argument 'target_pools' to be a list") pulumi.set(__self__, "target_pools", target_pools) - @property + @_builtins.property + @pulumi.getter(name="disableSecurityGroupAssignment") + def disable_security_group_assignment(self) -> _builtins.bool: + """ + If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT Network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + """ + return pulumi.get(self, "disable_security_group_assignment") + + @_builtins.property @pulumi.getter(name="externalAddress") - def external_address(self) -> builtins.str: + def external_address(self) -> _builtins.str: """ External Load Balancer IP address where this Load Balancer is exposed. """ return pulumi.get(self, "external_address") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter def listeners(self) -> Sequence['outputs.GetLoadbalancerListenerResult']: """ @@ -81,15 +97,15 @@ def listeners(self) -> Sequence['outputs.GetLoadbalancerListenerResult']: """ return pulumi.get(self, "listeners") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Load balancer name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def networks(self) -> Sequence['outputs.GetLoadbalancerNetworkResult']: """ @@ -97,7 +113,7 @@ def networks(self) -> Sequence['outputs.GetLoadbalancerNetworkResult']: """ return pulumi.get(self, "networks") - @property + @_builtins.property @pulumi.getter def options(self) -> 'outputs.GetLoadbalancerOptionsResult': """ @@ -105,31 +121,47 @@ def options(self) -> 'outputs.GetLoadbalancerOptionsResult': """ return pulumi.get(self, "options") - @property + @_builtins.property + @pulumi.getter(name="planId") + def plan_id(self) -> _builtins.str: + """ + The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + """ + return pulumi.get(self, "plan_id") + + @_builtins.property @pulumi.getter(name="privateAddress") - def private_address(self) -> builtins.str: + def private_address(self) -> _builtins.str: """ Transient private Load Balancer IP address. It can change any time. """ return pulumi.get(self, "private_address") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the Load Balancer is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property + @pulumi.getter(name="securityGroupId") + def security_group_id(self) -> _builtins.str: + """ + The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. + """ + return pulumi.get(self, "security_group_id") + + @_builtins.property @pulumi.getter(name="targetPools") def target_pools(self) -> Sequence['outputs.GetLoadbalancerTargetPoolResult']: """ @@ -144,21 +176,24 @@ def __await__(self): if False: yield self return GetLoadbalancerResult( + disable_security_group_assignment=self.disable_security_group_assignment, external_address=self.external_address, id=self.id, listeners=self.listeners, name=self.name, networks=self.networks, options=self.options, + plan_id=self.plan_id, private_address=self.private_address, project_id=self.project_id, region=self.region, + security_group_id=self.security_group_id, target_pools=self.target_pools) -def get_loadbalancer(name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_loadbalancer(name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadbalancerResult: """ Load Balancer data source schema. Must have a `region` specified in the provider configuration. @@ -166,9 +201,9 @@ def get_loadbalancer(name: Optional[builtins.str] = None, ## Example Usage - :param builtins.str name: Load balancer name. - :param builtins.str project_id: STACKIT project ID to which the Load Balancer is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str name: Load balancer name. + :param _builtins.str project_id: STACKIT project ID to which the Load Balancer is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['name'] = name @@ -178,19 +213,22 @@ def get_loadbalancer(name: Optional[builtins.str] = None, __ret__ = pulumi.runtime.invoke('stackit:index/getLoadbalancer:getLoadbalancer', __args__, opts=opts, typ=GetLoadbalancerResult).value return AwaitableGetLoadbalancerResult( + disable_security_group_assignment=pulumi.get(__ret__, 'disable_security_group_assignment'), external_address=pulumi.get(__ret__, 'external_address'), id=pulumi.get(__ret__, 'id'), listeners=pulumi.get(__ret__, 'listeners'), name=pulumi.get(__ret__, 'name'), networks=pulumi.get(__ret__, 'networks'), options=pulumi.get(__ret__, 'options'), + plan_id=pulumi.get(__ret__, 'plan_id'), private_address=pulumi.get(__ret__, 'private_address'), project_id=pulumi.get(__ret__, 'project_id'), region=pulumi.get(__ret__, 'region'), + security_group_id=pulumi.get(__ret__, 'security_group_id'), target_pools=pulumi.get(__ret__, 'target_pools')) -def get_loadbalancer_output(name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_loadbalancer_output(name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLoadbalancerResult]: """ Load Balancer data source schema. Must have a `region` specified in the provider configuration. @@ -198,9 +236,9 @@ def get_loadbalancer_output(name: Optional[pulumi.Input[builtins.str]] = None, ## Example Usage - :param builtins.str name: Load balancer name. - :param builtins.str project_id: STACKIT project ID to which the Load Balancer is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str name: Load balancer name. + :param _builtins.str project_id: STACKIT project ID to which the Load Balancer is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['name'] = name @@ -209,13 +247,16 @@ def get_loadbalancer_output(name: Optional[pulumi.Input[builtins.str]] = None, opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getLoadbalancer:getLoadbalancer', __args__, opts=opts, typ=GetLoadbalancerResult) return __ret__.apply(lambda __response__: GetLoadbalancerResult( + disable_security_group_assignment=pulumi.get(__response__, 'disable_security_group_assignment'), external_address=pulumi.get(__response__, 'external_address'), id=pulumi.get(__response__, 'id'), listeners=pulumi.get(__response__, 'listeners'), name=pulumi.get(__response__, 'name'), networks=pulumi.get(__response__, 'networks'), options=pulumi.get(__response__, 'options'), + plan_id=pulumi.get(__response__, 'plan_id'), private_address=pulumi.get(__response__, 'private_address'), project_id=pulumi.get(__response__, 'project_id'), region=pulumi.get(__response__, 'region'), + security_group_id=pulumi.get(__response__, 'security_group_id'), target_pools=pulumi.get(__response__, 'target_pools'))) diff --git a/sdk/python/pulumi_stackit/get_logme_credential.py b/sdk/python/pulumi_stackit/get_logme_credential.py index 5bcb63ec..d0b83960 100644 --- a/sdk/python/pulumi_stackit/get_logme_credential.py +++ b/sdk/python/pulumi_stackit/get_logme_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -56,58 +55,58 @@ def __init__(__self__, credential_id=None, host=None, id=None, instance_id=None, raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> builtins.str: + def credential_id(self) -> _builtins.str: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the LogMe instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> builtins.str: + def password(self) -> _builtins.str: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> builtins.str: + def uri(self) -> _builtins.str: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: return pulumi.get(self, "username") @@ -128,9 +127,9 @@ def __await__(self): username=self.username) -def get_logme_credential(credential_id: Optional[builtins.str] = None, - instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_logme_credential(credential_id: Optional[_builtins.str] = None, + instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogmeCredentialResult: """ LogMe credential data source schema. Must have a `region` specified in the provider configuration. @@ -138,9 +137,9 @@ def get_logme_credential(credential_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the LogMe instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the LogMe instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id @@ -159,9 +158,9 @@ def get_logme_credential(credential_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), uri=pulumi.get(__ret__, 'uri'), username=pulumi.get(__ret__, 'username')) -def get_logme_credential_output(credential_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_logme_credential_output(credential_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogmeCredentialResult]: """ LogMe credential data source schema. Must have a `region` specified in the provider configuration. @@ -169,9 +168,9 @@ def get_logme_credential_output(credential_id: Optional[pulumi.Input[builtins.st ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the LogMe instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the LogMe instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id diff --git a/sdk/python/pulumi_stackit/get_logme_instance.py b/sdk/python/pulumi_stackit/get_logme_instance.py index d2a76429..909323d5 100644 --- a/sdk/python/pulumi_stackit/get_logme_instance.py +++ b/sdk/python/pulumi_stackit/get_logme_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -69,84 +68,84 @@ def __init__(__self__, cf_guid=None, cf_organization_guid=None, cf_space_guid=No raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> builtins.str: + def cf_guid(self) -> _builtins.str: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> builtins.str: + def cf_organization_guid(self) -> _builtins.str: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> builtins.str: + def cf_space_guid(self) -> _builtins.str: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> builtins.str: + def dashboard_url(self) -> _builtins.str: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> builtins.str: + def image_url(self) -> _builtins.str: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the LogMe instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> 'outputs.GetLogmeInstanceParametersResult': return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> builtins.str: + def plan_id(self) -> _builtins.str: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> builtins.str: + def plan_name(self) -> _builtins.str: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: """ The service version. """ @@ -174,8 +173,8 @@ def __await__(self): version=self.version) -def get_logme_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_logme_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogmeInstanceResult: """ LogMe instance data source schema. Must have a `region` specified in the provider configuration. @@ -183,8 +182,8 @@ def get_logme_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the LogMe instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the LogMe instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -206,8 +205,8 @@ def get_logme_instance(instance_id: Optional[builtins.str] = None, plan_name=pulumi.get(__ret__, 'plan_name'), project_id=pulumi.get(__ret__, 'project_id'), version=pulumi.get(__ret__, 'version')) -def get_logme_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_logme_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogmeInstanceResult]: """ LogMe instance data source schema. Must have a `region` specified in the provider configuration. @@ -215,8 +214,8 @@ def get_logme_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] ## Example Usage - :param builtins.str instance_id: ID of the LogMe instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the LogMe instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_machine_type.py b/sdk/python/pulumi_stackit/get_machine_type.py new file mode 100644 index 00000000..ca3a2af0 --- /dev/null +++ b/sdk/python/pulumi_stackit/get_machine_type.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetMachineTypeResult', + 'AwaitableGetMachineTypeResult', + 'get_machine_type', + 'get_machine_type_output', +] + +@pulumi.output_type +class GetMachineTypeResult: + """ + A collection of values returned by getMachineType. + """ + def __init__(__self__, description=None, disk=None, extra_specs=None, filter=None, id=None, name=None, project_id=None, ram=None, sort_ascending=None, vcpus=None): + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if disk and not isinstance(disk, int): + raise TypeError("Expected argument 'disk' to be a int") + pulumi.set(__self__, "disk", disk) + if extra_specs and not isinstance(extra_specs, dict): + raise TypeError("Expected argument 'extra_specs' to be a dict") + pulumi.set(__self__, "extra_specs", extra_specs) + if filter and not isinstance(filter, str): + raise TypeError("Expected argument 'filter' to be a str") + pulumi.set(__self__, "filter", filter) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if ram and not isinstance(ram, int): + raise TypeError("Expected argument 'ram' to be a int") + pulumi.set(__self__, "ram", ram) + if sort_ascending and not isinstance(sort_ascending, bool): + raise TypeError("Expected argument 'sort_ascending' to be a bool") + pulumi.set(__self__, "sort_ascending", sort_ascending) + if vcpus and not isinstance(vcpus, int): + raise TypeError("Expected argument 'vcpus' to be a int") + pulumi.set(__self__, "vcpus", vcpus) + + @_builtins.property + @pulumi.getter + def description(self) -> _builtins.str: + return pulumi.get(self, "description") + + @_builtins.property + @pulumi.getter + def disk(self) -> _builtins.int: + return pulumi.get(self, "disk") + + @_builtins.property + @pulumi.getter(name="extraSpecs") + def extra_specs(self) -> Mapping[str, _builtins.str]: + return pulumi.get(self, "extra_specs") + + @_builtins.property + @pulumi.getter + def filter(self) -> _builtins.str: + """ + Expr-lang filter for filtering machine types. + """ + return pulumi.get(self, "filter") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> _builtins.str: + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter + def ram(self) -> _builtins.int: + return pulumi.get(self, "ram") + + @_builtins.property + @pulumi.getter(name="sortAscending") + def sort_ascending(self) -> Optional[_builtins.bool]: + return pulumi.get(self, "sort_ascending") + + @_builtins.property + @pulumi.getter + def vcpus(self) -> _builtins.int: + return pulumi.get(self, "vcpus") + + +class AwaitableGetMachineTypeResult(GetMachineTypeResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMachineTypeResult( + description=self.description, + disk=self.disk, + extra_specs=self.extra_specs, + filter=self.filter, + id=self.id, + name=self.name, + project_id=self.project_id, + ram=self.ram, + sort_ascending=self.sort_ascending, + vcpus=self.vcpus) + + +def get_machine_type(filter: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + sort_ascending: Optional[_builtins.bool] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMachineTypeResult: + """ + Machine type data source. + + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + + :param _builtins.str filter: Expr-lang filter for filtering machine types. + """ + __args__ = dict() + __args__['filter'] = filter + __args__['projectId'] = project_id + __args__['sortAscending'] = sort_ascending + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getMachineType:getMachineType', __args__, opts=opts, typ=GetMachineTypeResult).value + + return AwaitableGetMachineTypeResult( + description=pulumi.get(__ret__, 'description'), + disk=pulumi.get(__ret__, 'disk'), + extra_specs=pulumi.get(__ret__, 'extra_specs'), + filter=pulumi.get(__ret__, 'filter'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + project_id=pulumi.get(__ret__, 'project_id'), + ram=pulumi.get(__ret__, 'ram'), + sort_ascending=pulumi.get(__ret__, 'sort_ascending'), + vcpus=pulumi.get(__ret__, 'vcpus')) +def get_machine_type_output(filter: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + sort_ascending: Optional[pulumi.Input[Optional[_builtins.bool]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMachineTypeResult]: + """ + Machine type data source. + + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + + :param _builtins.str filter: Expr-lang filter for filtering machine types. + """ + __args__ = dict() + __args__['filter'] = filter + __args__['projectId'] = project_id + __args__['sortAscending'] = sort_ascending + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getMachineType:getMachineType', __args__, opts=opts, typ=GetMachineTypeResult) + return __ret__.apply(lambda __response__: GetMachineTypeResult( + description=pulumi.get(__response__, 'description'), + disk=pulumi.get(__response__, 'disk'), + extra_specs=pulumi.get(__response__, 'extra_specs'), + filter=pulumi.get(__response__, 'filter'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + project_id=pulumi.get(__response__, 'project_id'), + ram=pulumi.get(__response__, 'ram'), + sort_ascending=pulumi.get(__response__, 'sort_ascending'), + vcpus=pulumi.get(__response__, 'vcpus'))) diff --git a/sdk/python/pulumi_stackit/get_mariadb_credential.py b/sdk/python/pulumi_stackit/get_mariadb_credential.py index 3525a602..e6f2c70a 100644 --- a/sdk/python/pulumi_stackit/get_mariadb_credential.py +++ b/sdk/python/pulumi_stackit/get_mariadb_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -62,68 +61,68 @@ def __init__(__self__, credential_id=None, host=None, hosts=None, id=None, insta raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> builtins.str: + def credential_id(self) -> _builtins.str: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Sequence[builtins.str]: + def hosts(self) -> Sequence[_builtins.str]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the MariaDB instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def password(self) -> builtins.str: + def password(self) -> _builtins.str: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> builtins.str: + def uri(self) -> _builtins.str: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: return pulumi.get(self, "username") @@ -146,9 +145,9 @@ def __await__(self): username=self.username) -def get_mariadb_credential(credential_id: Optional[builtins.str] = None, - instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_mariadb_credential(credential_id: Optional[_builtins.str] = None, + instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMariadbCredentialResult: """ MariaDB credential data source schema. Must have a `region` specified in the provider configuration. @@ -156,9 +155,9 @@ def get_mariadb_credential(credential_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the MariaDB instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the MariaDB instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id @@ -179,9 +178,9 @@ def get_mariadb_credential(credential_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), uri=pulumi.get(__ret__, 'uri'), username=pulumi.get(__ret__, 'username')) -def get_mariadb_credential_output(credential_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_mariadb_credential_output(credential_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMariadbCredentialResult]: """ MariaDB credential data source schema. Must have a `region` specified in the provider configuration. @@ -189,9 +188,9 @@ def get_mariadb_credential_output(credential_id: Optional[pulumi.Input[builtins. ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the MariaDB instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the MariaDB instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id diff --git a/sdk/python/pulumi_stackit/get_mariadb_instance.py b/sdk/python/pulumi_stackit/get_mariadb_instance.py index 7f069fe1..53d77ac4 100644 --- a/sdk/python/pulumi_stackit/get_mariadb_instance.py +++ b/sdk/python/pulumi_stackit/get_mariadb_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -69,84 +68,84 @@ def __init__(__self__, cf_guid=None, cf_organization_guid=None, cf_space_guid=No raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> builtins.str: + def cf_guid(self) -> _builtins.str: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> builtins.str: + def cf_organization_guid(self) -> _builtins.str: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> builtins.str: + def cf_space_guid(self) -> _builtins.str: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> builtins.str: + def dashboard_url(self) -> _builtins.str: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> builtins.str: + def image_url(self) -> _builtins.str: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the MariaDB instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> 'outputs.GetMariadbInstanceParametersResult': return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> builtins.str: + def plan_id(self) -> _builtins.str: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> builtins.str: + def plan_name(self) -> _builtins.str: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: """ The service version. """ @@ -174,8 +173,8 @@ def __await__(self): version=self.version) -def get_mariadb_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_mariadb_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMariadbInstanceResult: """ MariaDB instance data source schema. Must have a `region` specified in the provider configuration. @@ -183,8 +182,8 @@ def get_mariadb_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the MariaDB instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the MariaDB instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -206,8 +205,8 @@ def get_mariadb_instance(instance_id: Optional[builtins.str] = None, plan_name=pulumi.get(__ret__, 'plan_name'), project_id=pulumi.get(__ret__, 'project_id'), version=pulumi.get(__ret__, 'version')) -def get_mariadb_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_mariadb_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMariadbInstanceResult]: """ MariaDB instance data source schema. Must have a `region` specified in the provider configuration. @@ -215,8 +214,8 @@ def get_mariadb_instance_output(instance_id: Optional[pulumi.Input[builtins.str] ## Example Usage - :param builtins.str instance_id: ID of the MariaDB instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the MariaDB instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_mongodbflex_instance.py b/sdk/python/pulumi_stackit/get_mongodbflex_instance.py index 49e62ee5..31453474 100644 --- a/sdk/python/pulumi_stackit/get_mongodbflex_instance.py +++ b/sdk/python/pulumi_stackit/get_mongodbflex_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -28,7 +27,7 @@ class GetMongodbflexInstanceResult: """ A collection of values returned by getMongodbflexInstance. """ - def __init__(__self__, acls=None, backup_schedule=None, flavor=None, id=None, instance_id=None, name=None, options=None, project_id=None, replicas=None, storage=None, version=None): + def __init__(__self__, acls=None, backup_schedule=None, flavor=None, id=None, instance_id=None, name=None, options=None, project_id=None, region=None, replicas=None, storage=None, version=None): if acls and not isinstance(acls, list): raise TypeError("Expected argument 'acls' to be a list") pulumi.set(__self__, "acls", acls) @@ -53,6 +52,9 @@ def __init__(__self__, acls=None, backup_schedule=None, flavor=None, id=None, in if project_id and not isinstance(project_id, str): raise TypeError("Expected argument 'project_id' to be a str") pulumi.set(__self__, "project_id", project_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) if replicas and not isinstance(replicas, int): raise TypeError("Expected argument 'replicas' to be a int") pulumi.set(__self__, "replicas", replicas) @@ -63,49 +65,49 @@ def __init__(__self__, acls=None, backup_schedule=None, flavor=None, id=None, in raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Sequence[builtins.str]: + def acls(self) -> Sequence[_builtins.str]: """ The Access Control List (ACL) for the MongoDB Flex instance. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> builtins.str: + def backup_schedule(self) -> _builtins.str: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). """ return pulumi.get(self, "backup_schedule") - @property + @_builtins.property @pulumi.getter def flavor(self) -> 'outputs.GetMongodbflexInstanceFlavorResult': return pulumi.get(self, "flavor") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the MongoDB Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def options(self) -> 'outputs.GetMongodbflexInstanceOptionsResult': """ @@ -113,27 +115,35 @@ def options(self) -> 'outputs.GetMongodbflexInstanceOptionsResult': """ return pulumi.get(self, "options") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def replicas(self) -> builtins.int: + def region(self) -> _builtins.str: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def replicas(self) -> _builtins.int: return pulumi.get(self, "replicas") - @property + @_builtins.property @pulumi.getter def storage(self) -> 'outputs.GetMongodbflexInstanceStorageResult': return pulumi.get(self, "storage") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: return pulumi.get(self, "version") @@ -151,13 +161,15 @@ def __await__(self): name=self.name, options=self.options, project_id=self.project_id, + region=self.region, replicas=self.replicas, storage=self.storage, version=self.version) -def get_mongodbflex_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_mongodbflex_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongodbflexInstanceResult: """ MongoDB Flex instance data source schema. Must have a `region` specified in the provider configuration. @@ -165,12 +177,14 @@ def get_mongodbflex_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the MongoDB Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the MongoDB Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['instanceId'] = instance_id __args__['projectId'] = project_id + __args__['region'] = region opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('stackit:index/getMongodbflexInstance:getMongodbflexInstance', __args__, opts=opts, typ=GetMongodbflexInstanceResult).value @@ -183,11 +197,13 @@ def get_mongodbflex_instance(instance_id: Optional[builtins.str] = None, name=pulumi.get(__ret__, 'name'), options=pulumi.get(__ret__, 'options'), project_id=pulumi.get(__ret__, 'project_id'), + region=pulumi.get(__ret__, 'region'), replicas=pulumi.get(__ret__, 'replicas'), storage=pulumi.get(__ret__, 'storage'), version=pulumi.get(__ret__, 'version')) -def get_mongodbflex_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_mongodbflex_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMongodbflexInstanceResult]: """ MongoDB Flex instance data source schema. Must have a `region` specified in the provider configuration. @@ -195,12 +211,14 @@ def get_mongodbflex_instance_output(instance_id: Optional[pulumi.Input[builtins. ## Example Usage - :param builtins.str instance_id: ID of the MongoDB Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the MongoDB Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['instanceId'] = instance_id __args__['projectId'] = project_id + __args__['region'] = region opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getMongodbflexInstance:getMongodbflexInstance', __args__, opts=opts, typ=GetMongodbflexInstanceResult) return __ret__.apply(lambda __response__: GetMongodbflexInstanceResult( @@ -212,6 +230,7 @@ def get_mongodbflex_instance_output(instance_id: Optional[pulumi.Input[builtins. name=pulumi.get(__response__, 'name'), options=pulumi.get(__response__, 'options'), project_id=pulumi.get(__response__, 'project_id'), + region=pulumi.get(__response__, 'region'), replicas=pulumi.get(__response__, 'replicas'), storage=pulumi.get(__response__, 'storage'), version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_stackit/get_mongodbflex_user.py b/sdk/python/pulumi_stackit/get_mongodbflex_user.py index bf2becc9..3b38e4f7 100644 --- a/sdk/python/pulumi_stackit/get_mongodbflex_user.py +++ b/sdk/python/pulumi_stackit/get_mongodbflex_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -27,7 +26,7 @@ class GetMongodbflexUserResult: """ A collection of values returned by getMongodbflexUser. """ - def __init__(__self__, database=None, host=None, id=None, instance_id=None, port=None, project_id=None, roles=None, user_id=None, username=None): + def __init__(__self__, database=None, host=None, id=None, instance_id=None, port=None, project_id=None, region=None, roles=None, user_id=None, username=None): if database and not isinstance(database, str): raise TypeError("Expected argument 'database' to be a str") pulumi.set(__self__, "database", database) @@ -46,6 +45,9 @@ def __init__(__self__, database=None, host=None, id=None, instance_id=None, port if project_id and not isinstance(project_id, str): raise TypeError("Expected argument 'project_id' to be a str") pulumi.set(__self__, "project_id", project_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) if roles and not isinstance(roles, list): raise TypeError("Expected argument 'roles' to be a list") pulumi.set(__self__, "roles", roles) @@ -56,58 +58,66 @@ def __init__(__self__, database=None, host=None, id=None, instance_id=None, port raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def database(self) -> builtins.str: + def database(self) -> _builtins.str: return pulumi.get(self, "database") - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the MongoDB Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def roles(self) -> Sequence[builtins.str]: + def region(self) -> _builtins.str: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def roles(self) -> Sequence[_builtins.str]: return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> builtins.str: + def user_id(self) -> _builtins.str: """ User ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: return pulumi.get(self, "username") @@ -123,14 +133,16 @@ def __await__(self): instance_id=self.instance_id, port=self.port, project_id=self.project_id, + region=self.region, roles=self.roles, user_id=self.user_id, username=self.username) -def get_mongodbflex_user(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - user_id: Optional[builtins.str] = None, +def get_mongodbflex_user(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + user_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongodbflexUserResult: """ MongoDB Flex user data source schema. Must have a `region` specified in the provider configuration. @@ -138,13 +150,15 @@ def get_mongodbflex_user(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the MongoDB Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str user_id: User ID. + :param _builtins.str instance_id: ID of the MongoDB Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str user_id: User ID. """ __args__ = dict() __args__['instanceId'] = instance_id __args__['projectId'] = project_id + __args__['region'] = region __args__['userId'] = user_id opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('stackit:index/getMongodbflexUser:getMongodbflexUser', __args__, opts=opts, typ=GetMongodbflexUserResult).value @@ -156,12 +170,14 @@ def get_mongodbflex_user(instance_id: Optional[builtins.str] = None, instance_id=pulumi.get(__ret__, 'instance_id'), port=pulumi.get(__ret__, 'port'), project_id=pulumi.get(__ret__, 'project_id'), + region=pulumi.get(__ret__, 'region'), roles=pulumi.get(__ret__, 'roles'), user_id=pulumi.get(__ret__, 'user_id'), username=pulumi.get(__ret__, 'username')) -def get_mongodbflex_user_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, +def get_mongodbflex_user_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMongodbflexUserResult]: """ MongoDB Flex user data source schema. Must have a `region` specified in the provider configuration. @@ -169,13 +185,15 @@ def get_mongodbflex_user_output(instance_id: Optional[pulumi.Input[builtins.str] ## Example Usage - :param builtins.str instance_id: ID of the MongoDB Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str user_id: User ID. + :param _builtins.str instance_id: ID of the MongoDB Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str user_id: User ID. """ __args__ = dict() __args__['instanceId'] = instance_id __args__['projectId'] = project_id + __args__['region'] = region __args__['userId'] = user_id opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getMongodbflexUser:getMongodbflexUser', __args__, opts=opts, typ=GetMongodbflexUserResult) @@ -186,6 +204,7 @@ def get_mongodbflex_user_output(instance_id: Optional[pulumi.Input[builtins.str] instance_id=pulumi.get(__response__, 'instance_id'), port=pulumi.get(__response__, 'port'), project_id=pulumi.get(__response__, 'project_id'), + region=pulumi.get(__response__, 'region'), roles=pulumi.get(__response__, 'roles'), user_id=pulumi.get(__response__, 'user_id'), username=pulumi.get(__response__, 'username'))) diff --git a/sdk/python/pulumi_stackit/get_network.py b/sdk/python/pulumi_stackit/get_network.py index e7d8698f..189ee344 100644 --- a/sdk/python/pulumi_stackit/get_network.py +++ b/sdk/python/pulumi_stackit/get_network.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -27,7 +26,7 @@ class GetNetworkResult: """ A collection of values returned by getNetwork. """ - def __init__(__self__, id=None, ipv4_gateway=None, ipv4_nameservers=None, ipv4_prefix=None, ipv4_prefix_length=None, ipv4_prefixes=None, ipv6_gateway=None, ipv6_nameservers=None, ipv6_prefix=None, ipv6_prefix_length=None, ipv6_prefixes=None, labels=None, name=None, nameservers=None, network_id=None, prefixes=None, project_id=None, public_ip=None, routed=None): + def __init__(__self__, id=None, ipv4_gateway=None, ipv4_nameservers=None, ipv4_prefix=None, ipv4_prefix_length=None, ipv4_prefixes=None, ipv6_gateway=None, ipv6_nameservers=None, ipv6_prefix=None, ipv6_prefix_length=None, ipv6_prefixes=None, labels=None, name=None, nameservers=None, network_id=None, prefixes=None, project_id=None, public_ip=None, region=None, routed=None, routing_table_id=None): if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -82,163 +81,187 @@ def __init__(__self__, id=None, ipv4_gateway=None, ipv4_nameservers=None, ipv4_p if public_ip and not isinstance(public_ip, str): raise TypeError("Expected argument 'public_ip' to be a str") pulumi.set(__self__, "public_ip", public_ip) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) if routed and not isinstance(routed, bool): raise TypeError("Expected argument 'routed' to be a bool") pulumi.set(__self__, "routed", routed) + if routing_table_id and not isinstance(routing_table_id, str): + raise TypeError("Expected argument 'routing_table_id' to be a str") + pulumi.set(__self__, "routing_table_id", routing_table_id) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="ipv4Gateway") - def ipv4_gateway(self) -> builtins.str: + def ipv4_gateway(self) -> _builtins.str: """ The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv4_gateway") - @property + @_builtins.property @pulumi.getter(name="ipv4Nameservers") - def ipv4_nameservers(self) -> Sequence[builtins.str]: + def ipv4_nameservers(self) -> Sequence[_builtins.str]: """ The IPv4 nameservers of the network. """ return pulumi.get(self, "ipv4_nameservers") - @property + @_builtins.property @pulumi.getter(name="ipv4Prefix") @_utilities.deprecated("""The API supports reading multiple prefixes. So using the attribute 'ipv4_prefixes` should be preferred. This attribute will be populated with the first element from the list""") - def ipv4_prefix(self) -> builtins.str: + def ipv4_prefix(self) -> _builtins.str: """ The IPv4 prefix of the network (CIDR). """ return pulumi.get(self, "ipv4_prefix") - @property + @_builtins.property @pulumi.getter(name="ipv4PrefixLength") - def ipv4_prefix_length(self) -> builtins.int: + def ipv4_prefix_length(self) -> _builtins.int: """ The IPv4 prefix length of the network. """ return pulumi.get(self, "ipv4_prefix_length") - @property + @_builtins.property @pulumi.getter(name="ipv4Prefixes") - def ipv4_prefixes(self) -> Sequence[builtins.str]: + def ipv4_prefixes(self) -> Sequence[_builtins.str]: """ The IPv4 prefixes of the network. """ return pulumi.get(self, "ipv4_prefixes") - @property + @_builtins.property @pulumi.getter(name="ipv6Gateway") - def ipv6_gateway(self) -> builtins.str: + def ipv6_gateway(self) -> _builtins.str: """ The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv6_gateway") - @property + @_builtins.property @pulumi.getter(name="ipv6Nameservers") - def ipv6_nameservers(self) -> Sequence[builtins.str]: + def ipv6_nameservers(self) -> Sequence[_builtins.str]: """ The IPv6 nameservers of the network. """ return pulumi.get(self, "ipv6_nameservers") - @property + @_builtins.property @pulumi.getter(name="ipv6Prefix") @_utilities.deprecated("""The API supports reading multiple prefixes. So using the attribute 'ipv6_prefixes` should be preferred. This attribute will be populated with the first element from the list""") - def ipv6_prefix(self) -> builtins.str: + def ipv6_prefix(self) -> _builtins.str: """ The IPv6 prefix of the network (CIDR). """ return pulumi.get(self, "ipv6_prefix") - @property + @_builtins.property @pulumi.getter(name="ipv6PrefixLength") - def ipv6_prefix_length(self) -> builtins.int: + def ipv6_prefix_length(self) -> _builtins.int: """ The IPv6 prefix length of the network. """ return pulumi.get(self, "ipv6_prefix_length") - @property + @_builtins.property @pulumi.getter(name="ipv6Prefixes") - def ipv6_prefixes(self) -> Sequence[builtins.str]: + def ipv6_prefixes(self) -> Sequence[_builtins.str]: """ The IPv6 prefixes of the network. """ return pulumi.get(self, "ipv6_prefixes") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the network. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""Use `ipv4_nameservers` to configure the nameservers for IPv4.""") - def nameservers(self) -> Sequence[builtins.str]: + def nameservers(self) -> Sequence[_builtins.str]: """ The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. """ return pulumi.get(self, "nameservers") - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> builtins.str: + def network_id(self) -> _builtins.str: """ The network ID. """ return pulumi.get(self, "network_id") - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""Use `ipv4_prefixes` to read the prefixes of the IPv4 networks.""") - def prefixes(self) -> Sequence[builtins.str]: + def prefixes(self) -> Sequence[_builtins.str]: """ The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks. """ return pulumi.get(self, "prefixes") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the network is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="publicIp") - def public_ip(self) -> builtins.str: + def public_ip(self) -> _builtins.str: """ The public IP of the network. """ return pulumi.get(self, "public_ip") - @property + @_builtins.property @pulumi.getter - def routed(self) -> builtins.bool: + def region(self) -> Optional[_builtins.str]: + """ + Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def routed(self) -> _builtins.bool: """ Shows if the network is routed and therefore accessible from other networks. """ return pulumi.get(self, "routed") + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> _builtins.str: + """ + Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + The ID of the routing table associated with the network. + """ + return pulumi.get(self, "routing_table_id") + class AwaitableGetNetworkResult(GetNetworkResult): # pylint: disable=using-constant-test @@ -264,11 +287,14 @@ def __await__(self): prefixes=self.prefixes, project_id=self.project_id, public_ip=self.public_ip, - routed=self.routed) + region=self.region, + routed=self.routed, + routing_table_id=self.routing_table_id) -def get_network(network_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_network(network_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult: """ Network resource schema. Must have a `region` specified in the provider configuration. @@ -276,12 +302,15 @@ def get_network(network_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str network_id: The network ID. - :param builtins.str project_id: STACKIT project ID to which the network is associated. + :param _builtins.str network_id: The network ID. + :param _builtins.str project_id: STACKIT project ID to which the network is associated. + :param _builtins.str region: Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['networkId'] = network_id __args__['projectId'] = project_id + __args__['region'] = region opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('stackit:index/getNetwork:getNetwork', __args__, opts=opts, typ=GetNetworkResult).value @@ -304,9 +333,12 @@ def get_network(network_id: Optional[builtins.str] = None, prefixes=pulumi.get(__ret__, 'prefixes'), project_id=pulumi.get(__ret__, 'project_id'), public_ip=pulumi.get(__ret__, 'public_ip'), - routed=pulumi.get(__ret__, 'routed')) -def get_network_output(network_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + region=pulumi.get(__ret__, 'region'), + routed=pulumi.get(__ret__, 'routed'), + routing_table_id=pulumi.get(__ret__, 'routing_table_id')) +def get_network_output(network_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkResult]: """ Network resource schema. Must have a `region` specified in the provider configuration. @@ -314,12 +346,15 @@ def get_network_output(network_id: Optional[pulumi.Input[builtins.str]] = None, ## Example Usage - :param builtins.str network_id: The network ID. - :param builtins.str project_id: STACKIT project ID to which the network is associated. + :param _builtins.str network_id: The network ID. + :param _builtins.str project_id: STACKIT project ID to which the network is associated. + :param _builtins.str region: Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. + The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['networkId'] = network_id __args__['projectId'] = project_id + __args__['region'] = region opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getNetwork:getNetwork', __args__, opts=opts, typ=GetNetworkResult) return __ret__.apply(lambda __response__: GetNetworkResult( @@ -341,4 +376,6 @@ def get_network_output(network_id: Optional[pulumi.Input[builtins.str]] = None, prefixes=pulumi.get(__response__, 'prefixes'), project_id=pulumi.get(__response__, 'project_id'), public_ip=pulumi.get(__response__, 'public_ip'), - routed=pulumi.get(__response__, 'routed'))) + region=pulumi.get(__response__, 'region'), + routed=pulumi.get(__response__, 'routed'), + routing_table_id=pulumi.get(__response__, 'routing_table_id'))) diff --git a/sdk/python/pulumi_stackit/get_network_area.py b/sdk/python/pulumi_stackit/get_network_area.py index fa952644..7c8e94aa 100644 --- a/sdk/python/pulumi_stackit/get_network_area.py +++ b/sdk/python/pulumi_stackit/get_network_area.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -66,68 +65,68 @@ def __init__(__self__, default_nameservers=None, default_prefix_length=None, id= raise TypeError("Expected argument 'transfer_network' to be a str") pulumi.set(__self__, "transfer_network", transfer_network) - @property + @_builtins.property @pulumi.getter(name="defaultNameservers") - def default_nameservers(self) -> Sequence[builtins.str]: + def default_nameservers(self) -> Sequence[_builtins.str]: """ List of DNS Servers/Nameservers. """ return pulumi.get(self, "default_nameservers") - @property + @_builtins.property @pulumi.getter(name="defaultPrefixLength") - def default_prefix_length(self) -> builtins.int: + def default_prefix_length(self) -> _builtins.int: """ The default prefix length for networks in the network area. """ return pulumi.get(self, "default_prefix_length") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="maxPrefixLength") - def max_prefix_length(self) -> builtins.int: + def max_prefix_length(self) -> _builtins.int: """ The maximal prefix length for networks in the network area. """ return pulumi.get(self, "max_prefix_length") - @property + @_builtins.property @pulumi.getter(name="minPrefixLength") - def min_prefix_length(self) -> builtins.int: + def min_prefix_length(self) -> _builtins.int: """ The minimal prefix length for networks in the network area. """ return pulumi.get(self, "min_prefix_length") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the network area. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="networkAreaId") - def network_area_id(self) -> builtins.str: + def network_area_id(self) -> _builtins.str: """ The network area ID. """ return pulumi.get(self, "network_area_id") - @property + @_builtins.property @pulumi.getter(name="networkRanges") def network_ranges(self) -> Sequence['outputs.GetNetworkAreaNetworkRangeResult']: """ @@ -135,25 +134,25 @@ def network_ranges(self) -> Sequence['outputs.GetNetworkAreaNetworkRangeResult'] """ return pulumi.get(self, "network_ranges") - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> builtins.str: + def organization_id(self) -> _builtins.str: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") - @property + @_builtins.property @pulumi.getter(name="projectCount") - def project_count(self) -> builtins.int: + def project_count(self) -> _builtins.int: """ The amount of projects currently referencing this area. """ return pulumi.get(self, "project_count") - @property + @_builtins.property @pulumi.getter(name="transferNetwork") - def transfer_network(self) -> builtins.str: + def transfer_network(self) -> _builtins.str: """ Classless Inter-Domain Routing (CIDR). """ @@ -180,8 +179,8 @@ def __await__(self): transfer_network=self.transfer_network) -def get_network_area(network_area_id: Optional[builtins.str] = None, - organization_id: Optional[builtins.str] = None, +def get_network_area(network_area_id: Optional[_builtins.str] = None, + organization_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkAreaResult: """ Network area datasource schema. Must have a `region` specified in the provider configuration. @@ -189,8 +188,8 @@ def get_network_area(network_area_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str network_area_id: The network area ID. - :param builtins.str organization_id: STACKIT organization ID to which the network area is associated. + :param _builtins.str network_area_id: The network area ID. + :param _builtins.str organization_id: STACKIT organization ID to which the network area is associated. """ __args__ = dict() __args__['networkAreaId'] = network_area_id @@ -211,8 +210,8 @@ def get_network_area(network_area_id: Optional[builtins.str] = None, organization_id=pulumi.get(__ret__, 'organization_id'), project_count=pulumi.get(__ret__, 'project_count'), transfer_network=pulumi.get(__ret__, 'transfer_network')) -def get_network_area_output(network_area_id: Optional[pulumi.Input[builtins.str]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, +def get_network_area_output(network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkAreaResult]: """ Network area datasource schema. Must have a `region` specified in the provider configuration. @@ -220,8 +219,8 @@ def get_network_area_output(network_area_id: Optional[pulumi.Input[builtins.str] ## Example Usage - :param builtins.str network_area_id: The network area ID. - :param builtins.str organization_id: STACKIT organization ID to which the network area is associated. + :param _builtins.str network_area_id: The network area ID. + :param _builtins.str organization_id: STACKIT organization ID to which the network area is associated. """ __args__ = dict() __args__['networkAreaId'] = network_area_id diff --git a/sdk/python/pulumi_stackit/get_network_area_route.py b/sdk/python/pulumi_stackit/get_network_area_route.py index 767b52d5..1cb7fae0 100644 --- a/sdk/python/pulumi_stackit/get_network_area_route.py +++ b/sdk/python/pulumi_stackit/get_network_area_route.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -50,54 +49,54 @@ def __init__(__self__, id=None, labels=None, network_area_id=None, network_area_ raise TypeError("Expected argument 'prefix' to be a str") pulumi.set(__self__, "prefix", prefix) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="networkAreaId") - def network_area_id(self) -> builtins.str: + def network_area_id(self) -> _builtins.str: """ The network area ID to which the network area route is associated. """ return pulumi.get(self, "network_area_id") - @property + @_builtins.property @pulumi.getter(name="networkAreaRouteId") - def network_area_route_id(self) -> builtins.str: + def network_area_route_id(self) -> _builtins.str: """ The network area route ID. """ return pulumi.get(self, "network_area_route_id") - @property + @_builtins.property @pulumi.getter(name="nextHop") - def next_hop(self) -> builtins.str: + def next_hop(self) -> _builtins.str: """ The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. """ return pulumi.get(self, "next_hop") - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> builtins.str: + def organization_id(self) -> _builtins.str: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") - @property + @_builtins.property @pulumi.getter - def prefix(self) -> builtins.str: + def prefix(self) -> _builtins.str: """ The network, that is reachable though the Next Hop. Should use CIDR notation. """ @@ -119,9 +118,9 @@ def __await__(self): prefix=self.prefix) -def get_network_area_route(network_area_id: Optional[builtins.str] = None, - network_area_route_id: Optional[builtins.str] = None, - organization_id: Optional[builtins.str] = None, +def get_network_area_route(network_area_id: Optional[_builtins.str] = None, + network_area_route_id: Optional[_builtins.str] = None, + organization_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkAreaRouteResult: """ Network area route data resource schema. Must have a `region` specified in the provider configuration. @@ -129,9 +128,9 @@ def get_network_area_route(network_area_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str network_area_id: The network area ID to which the network area route is associated. - :param builtins.str network_area_route_id: The network area route ID. - :param builtins.str organization_id: STACKIT organization ID to which the network area is associated. + :param _builtins.str network_area_id: The network area ID to which the network area route is associated. + :param _builtins.str network_area_route_id: The network area route ID. + :param _builtins.str organization_id: STACKIT organization ID to which the network area is associated. """ __args__ = dict() __args__['networkAreaId'] = network_area_id @@ -148,9 +147,9 @@ def get_network_area_route(network_area_id: Optional[builtins.str] = None, next_hop=pulumi.get(__ret__, 'next_hop'), organization_id=pulumi.get(__ret__, 'organization_id'), prefix=pulumi.get(__ret__, 'prefix')) -def get_network_area_route_output(network_area_id: Optional[pulumi.Input[builtins.str]] = None, - network_area_route_id: Optional[pulumi.Input[builtins.str]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, +def get_network_area_route_output(network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + network_area_route_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkAreaRouteResult]: """ Network area route data resource schema. Must have a `region` specified in the provider configuration. @@ -158,9 +157,9 @@ def get_network_area_route_output(network_area_id: Optional[pulumi.Input[builtin ## Example Usage - :param builtins.str network_area_id: The network area ID to which the network area route is associated. - :param builtins.str network_area_route_id: The network area route ID. - :param builtins.str organization_id: STACKIT organization ID to which the network area is associated. + :param _builtins.str network_area_id: The network area ID to which the network area route is associated. + :param _builtins.str network_area_route_id: The network area route ID. + :param _builtins.str organization_id: STACKIT organization ID to which the network area is associated. """ __args__ = dict() __args__['networkAreaId'] = network_area_id diff --git a/sdk/python/pulumi_stackit/get_network_interface.py b/sdk/python/pulumi_stackit/get_network_interface.py index 19e24647..78372269 100644 --- a/sdk/python/pulumi_stackit/get_network_interface.py +++ b/sdk/python/pulumi_stackit/get_network_interface.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -68,102 +67,102 @@ def __init__(__self__, allowed_addresses=None, device=None, id=None, ipv4=None, raise TypeError("Expected argument 'type' to be a str") pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter(name="allowedAddresses") - def allowed_addresses(self) -> Sequence[builtins.str]: + def allowed_addresses(self) -> Sequence[_builtins.str]: """ The list of CIDR (Classless Inter-Domain Routing) notations. """ return pulumi.get(self, "allowed_addresses") - @property + @_builtins.property @pulumi.getter - def device(self) -> builtins.str: + def device(self) -> _builtins.str: """ The device UUID of the network interface. """ return pulumi.get(self, "device") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def ipv4(self) -> builtins.str: + def ipv4(self) -> _builtins.str: """ The IPv4 address. """ return pulumi.get(self, "ipv4") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a network interface. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def mac(self) -> builtins.str: + def mac(self) -> _builtins.str: """ The MAC address of network interface. """ return pulumi.get(self, "mac") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the network interface. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> builtins.str: + def network_id(self) -> _builtins.str: """ The network ID to which the network interface is associated. """ return pulumi.get(self, "network_id") - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> builtins.str: + def network_interface_id(self) -> _builtins.str: """ The network interface ID. """ return pulumi.get(self, "network_interface_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the network interface is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def security(self) -> builtins.bool: + def security(self) -> _builtins.bool: """ The Network Interface Security. If set to false, then no security groups will apply to this network interface. """ return pulumi.get(self, "security") - @property + @_builtins.property @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[builtins.str]: + def security_group_ids(self) -> Sequence[_builtins.str]: """ The list of security group UUIDs. If security is set to false, setting this field will lead to an error. """ return pulumi.get(self, "security_group_ids") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. """ @@ -191,9 +190,9 @@ def __await__(self): type=self.type) -def get_network_interface(network_id: Optional[builtins.str] = None, - network_interface_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_network_interface(network_id: Optional[_builtins.str] = None, + network_interface_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkInterfaceResult: """ Network interface datasource schema. Must have a `region` specified in the provider configuration. @@ -201,9 +200,9 @@ def get_network_interface(network_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str network_id: The network ID to which the network interface is associated. - :param builtins.str network_interface_id: The network interface ID. - :param builtins.str project_id: STACKIT project ID to which the network interface is associated. + :param _builtins.str network_id: The network ID to which the network interface is associated. + :param _builtins.str network_interface_id: The network interface ID. + :param _builtins.str project_id: STACKIT project ID to which the network interface is associated. """ __args__ = dict() __args__['networkId'] = network_id @@ -226,9 +225,9 @@ def get_network_interface(network_id: Optional[builtins.str] = None, security=pulumi.get(__ret__, 'security'), security_group_ids=pulumi.get(__ret__, 'security_group_ids'), type=pulumi.get(__ret__, 'type')) -def get_network_interface_output(network_id: Optional[pulumi.Input[builtins.str]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_network_interface_output(network_id: Optional[pulumi.Input[_builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkInterfaceResult]: """ Network interface datasource schema. Must have a `region` specified in the provider configuration. @@ -236,9 +235,9 @@ def get_network_interface_output(network_id: Optional[pulumi.Input[builtins.str] ## Example Usage - :param builtins.str network_id: The network ID to which the network interface is associated. - :param builtins.str network_interface_id: The network interface ID. - :param builtins.str project_id: STACKIT project ID to which the network interface is associated. + :param _builtins.str network_id: The network ID to which the network interface is associated. + :param _builtins.str network_interface_id: The network interface ID. + :param _builtins.str project_id: STACKIT project ID to which the network interface is associated. """ __args__ = dict() __args__['networkId'] = network_id diff --git a/sdk/python/pulumi_stackit/get_objectstorage_bucket.py b/sdk/python/pulumi_stackit/get_objectstorage_bucket.py index fe616440..5b8cde04 100644 --- a/sdk/python/pulumi_stackit/get_objectstorage_bucket.py +++ b/sdk/python/pulumi_stackit/get_objectstorage_bucket.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -47,43 +46,43 @@ def __init__(__self__, id=None, name=None, project_id=None, region=None, url_pat raise TypeError("Expected argument 'url_virtual_hosted_style' to be a str") pulumi.set(__self__, "url_virtual_hosted_style", url_virtual_hosted_style) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The bucket name. It must be DNS conform. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the bucket is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter(name="urlPathStyle") - def url_path_style(self) -> builtins.str: + def url_path_style(self) -> _builtins.str: return pulumi.get(self, "url_path_style") - @property + @_builtins.property @pulumi.getter(name="urlVirtualHostedStyle") - def url_virtual_hosted_style(self) -> builtins.str: + def url_virtual_hosted_style(self) -> _builtins.str: return pulumi.get(self, "url_virtual_hosted_style") @@ -101,9 +100,9 @@ def __await__(self): url_virtual_hosted_style=self.url_virtual_hosted_style) -def get_objectstorage_bucket(name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_objectstorage_bucket(name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObjectstorageBucketResult: """ ObjectStorage bucket data source schema. Must have a `region` specified in the provider configuration. @@ -111,9 +110,9 @@ def get_objectstorage_bucket(name: Optional[builtins.str] = None, ## Example Usage - :param builtins.str name: The bucket name. It must be DNS conform. - :param builtins.str project_id: STACKIT Project ID to which the bucket is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str name: The bucket name. It must be DNS conform. + :param _builtins.str project_id: STACKIT Project ID to which the bucket is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['name'] = name @@ -129,9 +128,9 @@ def get_objectstorage_bucket(name: Optional[builtins.str] = None, region=pulumi.get(__ret__, 'region'), url_path_style=pulumi.get(__ret__, 'url_path_style'), url_virtual_hosted_style=pulumi.get(__ret__, 'url_virtual_hosted_style')) -def get_objectstorage_bucket_output(name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_objectstorage_bucket_output(name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObjectstorageBucketResult]: """ ObjectStorage bucket data source schema. Must have a `region` specified in the provider configuration. @@ -139,9 +138,9 @@ def get_objectstorage_bucket_output(name: Optional[pulumi.Input[builtins.str]] = ## Example Usage - :param builtins.str name: The bucket name. It must be DNS conform. - :param builtins.str project_id: STACKIT Project ID to which the bucket is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str name: The bucket name. It must be DNS conform. + :param _builtins.str project_id: STACKIT Project ID to which the bucket is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['name'] = name diff --git a/sdk/python/pulumi_stackit/get_objectstorage_credential.py b/sdk/python/pulumi_stackit/get_objectstorage_credential.py index f1c838e5..499c1d2d 100644 --- a/sdk/python/pulumi_stackit/get_objectstorage_credential.py +++ b/sdk/python/pulumi_stackit/get_objectstorage_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -50,48 +49,48 @@ def __init__(__self__, credential_id=None, credentials_group_id=None, expiration raise TypeError("Expected argument 'region' to be a str") pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> builtins.str: + def credential_id(self) -> _builtins.str: """ The credential ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter(name="credentialsGroupId") - def credentials_group_id(self) -> builtins.str: + def credentials_group_id(self) -> _builtins.str: """ The credential group ID. """ return pulumi.get(self, "credentials_group_id") - @property + @_builtins.property @pulumi.getter(name="expirationTimestamp") - def expiration_timestamp(self) -> builtins.str: + def expiration_timestamp(self) -> _builtins.str: return pulumi.get(self, "expiration_timestamp") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the credential group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ @@ -113,10 +112,10 @@ def __await__(self): region=self.region) -def get_objectstorage_credential(credential_id: Optional[builtins.str] = None, - credentials_group_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_objectstorage_credential(credential_id: Optional[_builtins.str] = None, + credentials_group_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObjectstorageCredentialResult: """ ObjectStorage credential data source schema. Must have a `region` specified in the provider configuration. @@ -124,10 +123,10 @@ def get_objectstorage_credential(credential_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str credential_id: The credential ID. - :param builtins.str credentials_group_id: The credential group ID. - :param builtins.str project_id: STACKIT Project ID to which the credential group is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str credential_id: The credential ID. + :param _builtins.str credentials_group_id: The credential group ID. + :param _builtins.str project_id: STACKIT Project ID to which the credential group is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['credentialId'] = credential_id @@ -145,10 +144,10 @@ def get_objectstorage_credential(credential_id: Optional[builtins.str] = None, name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id'), region=pulumi.get(__ret__, 'region')) -def get_objectstorage_credential_output(credential_id: Optional[pulumi.Input[builtins.str]] = None, - credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_objectstorage_credential_output(credential_id: Optional[pulumi.Input[_builtins.str]] = None, + credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObjectstorageCredentialResult]: """ ObjectStorage credential data source schema. Must have a `region` specified in the provider configuration. @@ -156,10 +155,10 @@ def get_objectstorage_credential_output(credential_id: Optional[pulumi.Input[bui ## Example Usage - :param builtins.str credential_id: The credential ID. - :param builtins.str credentials_group_id: The credential group ID. - :param builtins.str project_id: STACKIT Project ID to which the credential group is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str credential_id: The credential ID. + :param _builtins.str credentials_group_id: The credential group ID. + :param _builtins.str project_id: STACKIT Project ID to which the credential group is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['credentialId'] = credential_id diff --git a/sdk/python/pulumi_stackit/get_objectstorage_credentials_group.py b/sdk/python/pulumi_stackit/get_objectstorage_credentials_group.py index c5c22c13..c2f62b24 100644 --- a/sdk/python/pulumi_stackit/get_objectstorage_credentials_group.py +++ b/sdk/python/pulumi_stackit/get_objectstorage_credentials_group.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -47,46 +46,46 @@ def __init__(__self__, credentials_group_id=None, id=None, name=None, project_id raise TypeError("Expected argument 'urn' to be a str") pulumi.set(__self__, "urn", urn) - @property + @_builtins.property @pulumi.getter(name="credentialsGroupId") - def credentials_group_id(self) -> builtins.str: + def credentials_group_id(self) -> _builtins.str: """ The credentials group ID. """ return pulumi.get(self, "credentials_group_id") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The credentials group's display name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ Object Storage Project ID to which the credentials group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def urn(self) -> builtins.str: + def urn(self) -> _builtins.str: """ Credentials group uniform resource name (URN) """ @@ -107,9 +106,9 @@ def __await__(self): urn=self.urn) -def get_objectstorage_credentials_group(credentials_group_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_objectstorage_credentials_group(credentials_group_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObjectstorageCredentialsGroupResult: """ ObjectStorage credentials group data source schema. Must have a `region` specified in the provider configuration. @@ -117,9 +116,9 @@ def get_objectstorage_credentials_group(credentials_group_id: Optional[builtins. ## Example Usage - :param builtins.str credentials_group_id: The credentials group ID. - :param builtins.str project_id: Object Storage Project ID to which the credentials group is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str credentials_group_id: The credentials group ID. + :param _builtins.str project_id: Object Storage Project ID to which the credentials group is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['credentialsGroupId'] = credentials_group_id @@ -135,9 +134,9 @@ def get_objectstorage_credentials_group(credentials_group_id: Optional[builtins. project_id=pulumi.get(__ret__, 'project_id'), region=pulumi.get(__ret__, 'region'), urn=pulumi.get(__ret__, 'urn')) -def get_objectstorage_credentials_group_output(credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_objectstorage_credentials_group_output(credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObjectstorageCredentialsGroupResult]: """ ObjectStorage credentials group data source schema. Must have a `region` specified in the provider configuration. @@ -145,9 +144,9 @@ def get_objectstorage_credentials_group_output(credentials_group_id: Optional[pu ## Example Usage - :param builtins.str credentials_group_id: The credentials group ID. - :param builtins.str project_id: Object Storage Project ID to which the credentials group is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str credentials_group_id: The credentials group ID. + :param _builtins.str project_id: Object Storage Project ID to which the credentials group is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['credentialsGroupId'] = credentials_group_id diff --git a/sdk/python/pulumi_stackit/get_observability_alertgroup.py b/sdk/python/pulumi_stackit/get_observability_alertgroup.py index ab2d4d0b..7c878450 100644 --- a/sdk/python/pulumi_stackit/get_observability_alertgroup.py +++ b/sdk/python/pulumi_stackit/get_observability_alertgroup.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -48,44 +47,44 @@ def __init__(__self__, id=None, instance_id=None, interval=None, name=None, proj raise TypeError("Expected argument 'rules' to be a list") pulumi.set(__self__, "rules", rules) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ Observability instance ID to which the alert group is associated. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def interval(self) -> builtins.str: + def interval(self) -> _builtins.str: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the alert group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def rules(self) -> Sequence['outputs.GetObservabilityAlertgroupRuleResult']: return pulumi.get(self, "rules") @@ -105,9 +104,9 @@ def __await__(self): rules=self.rules) -def get_observability_alertgroup(instance_id: Optional[builtins.str] = None, - name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_observability_alertgroup(instance_id: Optional[_builtins.str] = None, + name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObservabilityAlertgroupResult: """ Observability alert group datasource schema. Used to create alerts based on metrics (Thanos). Must have a `region` specified in the provider configuration. @@ -115,9 +114,9 @@ def get_observability_alertgroup(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: Observability instance ID to which the alert group is associated. - :param builtins.str name: The name of the alert group. Is the identifier and must be unique in the group. - :param builtins.str project_id: STACKIT project ID to which the alert group is associated. + :param _builtins.str instance_id: Observability instance ID to which the alert group is associated. + :param _builtins.str name: The name of the alert group. Is the identifier and must be unique in the group. + :param _builtins.str project_id: STACKIT project ID to which the alert group is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -133,9 +132,9 @@ def get_observability_alertgroup(instance_id: Optional[builtins.str] = None, name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id'), rules=pulumi.get(__ret__, 'rules')) -def get_observability_alertgroup_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_observability_alertgroup_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObservabilityAlertgroupResult]: """ Observability alert group datasource schema. Used to create alerts based on metrics (Thanos). Must have a `region` specified in the provider configuration. @@ -143,9 +142,9 @@ def get_observability_alertgroup_output(instance_id: Optional[pulumi.Input[built ## Example Usage - :param builtins.str instance_id: Observability instance ID to which the alert group is associated. - :param builtins.str name: The name of the alert group. Is the identifier and must be unique in the group. - :param builtins.str project_id: STACKIT project ID to which the alert group is associated. + :param _builtins.str instance_id: Observability instance ID to which the alert group is associated. + :param _builtins.str name: The name of the alert group. Is the identifier and must be unique in the group. + :param _builtins.str project_id: STACKIT project ID to which the alert group is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_observability_instance.py b/sdk/python/pulumi_stackit/get_observability_instance.py index ab1f886a..f139d88e 100644 --- a/sdk/python/pulumi_stackit/get_observability_instance.py +++ b/sdk/python/pulumi_stackit/get_observability_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -114,15 +113,15 @@ def __init__(__self__, acls=None, alert_config=None, alerting_url=None, dashboar raise TypeError("Expected argument 'zipkin_spans_url' to be a str") pulumi.set(__self__, "zipkin_spans_url", zipkin_spans_url) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Sequence[builtins.str]: + def acls(self) -> Sequence[_builtins.str]: """ The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="alertConfig") def alert_config(self) -> 'outputs.GetObservabilityInstanceAlertConfigResult': """ @@ -130,197 +129,197 @@ def alert_config(self) -> 'outputs.GetObservabilityInstanceAlertConfigResult': """ return pulumi.get(self, "alert_config") - @property + @_builtins.property @pulumi.getter(name="alertingUrl") - def alerting_url(self) -> builtins.str: + def alerting_url(self) -> _builtins.str: """ Specifies Alerting URL. """ return pulumi.get(self, "alerting_url") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> builtins.str: + def dashboard_url(self) -> _builtins.str: """ Specifies Observability instance dashboard URL. """ return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter(name="grafanaInitialAdminPassword") - def grafana_initial_admin_password(self) -> builtins.str: + def grafana_initial_admin_password(self) -> _builtins.str: """ Specifies an initial Grafana admin password. """ return pulumi.get(self, "grafana_initial_admin_password") - @property + @_builtins.property @pulumi.getter(name="grafanaInitialAdminUser") - def grafana_initial_admin_user(self) -> builtins.str: + def grafana_initial_admin_user(self) -> _builtins.str: """ Specifies an initial Grafana admin username. """ return pulumi.get(self, "grafana_initial_admin_user") - @property + @_builtins.property @pulumi.getter(name="grafanaPublicReadAccess") - def grafana_public_read_access(self) -> builtins.bool: + def grafana_public_read_access(self) -> _builtins.bool: """ If true, anyone can access Grafana dashboards without logging in. """ return pulumi.get(self, "grafana_public_read_access") - @property + @_builtins.property @pulumi.getter(name="grafanaUrl") - def grafana_url(self) -> builtins.str: + def grafana_url(self) -> _builtins.str: """ Specifies Grafana URL. """ return pulumi.get(self, "grafana_url") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ The Observability instance ID. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter(name="isUpdatable") - def is_updatable(self) -> builtins.bool: + def is_updatable(self) -> _builtins.bool: """ Specifies if the instance can be updated. """ return pulumi.get(self, "is_updatable") - @property + @_builtins.property @pulumi.getter(name="jaegerTracesUrl") - def jaeger_traces_url(self) -> builtins.str: + def jaeger_traces_url(self) -> _builtins.str: return pulumi.get(self, "jaeger_traces_url") - @property + @_builtins.property @pulumi.getter(name="jaegerUiUrl") - def jaeger_ui_url(self) -> builtins.str: + def jaeger_ui_url(self) -> _builtins.str: return pulumi.get(self, "jaeger_ui_url") - @property + @_builtins.property @pulumi.getter(name="logsPushUrl") - def logs_push_url(self) -> builtins.str: + def logs_push_url(self) -> _builtins.str: """ Specifies URL for pushing logs. """ return pulumi.get(self, "logs_push_url") - @property + @_builtins.property @pulumi.getter(name="logsUrl") - def logs_url(self) -> builtins.str: + def logs_url(self) -> _builtins.str: """ Specifies Logs URL. """ return pulumi.get(self, "logs_url") - @property + @_builtins.property @pulumi.getter(name="metricsPushUrl") - def metrics_push_url(self) -> builtins.str: + def metrics_push_url(self) -> _builtins.str: """ Specifies URL for pushing metrics. """ return pulumi.get(self, "metrics_push_url") - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays") - def metrics_retention_days(self) -> builtins.int: + def metrics_retention_days(self) -> _builtins.int: """ - Specifies for how many days the raw metrics are kept. + Specifies for how many days the raw metrics are kept. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days") - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays1hDownsampling") - def metrics_retention_days1h_downsampling(self) -> builtins.int: + def metrics_retention_days1h_downsampling(self) -> _builtins.int: """ - Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days1h_downsampling") - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays5mDownsampling") - def metrics_retention_days5m_downsampling(self) -> builtins.int: + def metrics_retention_days5m_downsampling(self) -> _builtins.int: """ - Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days5m_downsampling") - @property + @_builtins.property @pulumi.getter(name="metricsUrl") - def metrics_url(self) -> builtins.str: + def metrics_url(self) -> _builtins.str: """ Specifies metrics URL. """ return pulumi.get(self, "metrics_url") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the Observability instance. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="otlpTracesUrl") - def otlp_traces_url(self) -> builtins.str: + def otlp_traces_url(self) -> _builtins.str: return pulumi.get(self, "otlp_traces_url") - @property + @_builtins.property @pulumi.getter - def parameters(self) -> Mapping[str, builtins.str]: + def parameters(self) -> Mapping[str, _builtins.str]: """ Additional parameters. """ return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> builtins.str: + def plan_id(self) -> _builtins.str: """ The Observability plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> builtins.str: + def plan_name(self) -> _builtins.str: """ Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="targetsUrl") - def targets_url(self) -> builtins.str: + def targets_url(self) -> _builtins.str: """ Specifies Targets URL. """ return pulumi.get(self, "targets_url") - @property + @_builtins.property @pulumi.getter(name="zipkinSpansUrl") - def zipkin_spans_url(self) -> builtins.str: + def zipkin_spans_url(self) -> _builtins.str: return pulumi.get(self, "zipkin_spans_url") @@ -360,8 +359,8 @@ def __await__(self): zipkin_spans_url=self.zipkin_spans_url) -def get_observability_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_observability_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObservabilityInstanceResult: """ Observability instance data source schema. Must have a `region` specified in the provider configuration. @@ -369,8 +368,8 @@ def get_observability_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: The Observability instance ID. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str instance_id: The Observability instance ID. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -407,8 +406,8 @@ def get_observability_instance(instance_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), targets_url=pulumi.get(__ret__, 'targets_url'), zipkin_spans_url=pulumi.get(__ret__, 'zipkin_spans_url')) -def get_observability_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_observability_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObservabilityInstanceResult]: """ Observability instance data source schema. Must have a `region` specified in the provider configuration. @@ -416,8 +415,8 @@ def get_observability_instance_output(instance_id: Optional[pulumi.Input[builtin ## Example Usage - :param builtins.str instance_id: The Observability instance ID. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str instance_id: The Observability instance ID. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_observability_logalertgroup.py b/sdk/python/pulumi_stackit/get_observability_logalertgroup.py index cbffe73f..3f6025f3 100644 --- a/sdk/python/pulumi_stackit/get_observability_logalertgroup.py +++ b/sdk/python/pulumi_stackit/get_observability_logalertgroup.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -48,44 +47,44 @@ def __init__(__self__, id=None, instance_id=None, interval=None, name=None, proj raise TypeError("Expected argument 'rules' to be a list") pulumi.set(__self__, "rules", rules) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ Observability instance ID to which the log alert group is associated. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def interval(self) -> builtins.str: + def interval(self) -> _builtins.str: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the log alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the log alert group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def rules(self) -> Sequence['outputs.GetObservabilityLogalertgroupRuleResult']: return pulumi.get(self, "rules") @@ -105,9 +104,9 @@ def __await__(self): rules=self.rules) -def get_observability_logalertgroup(instance_id: Optional[builtins.str] = None, - name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_observability_logalertgroup(instance_id: Optional[_builtins.str] = None, + name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObservabilityLogalertgroupResult: """ Observability log alert group datasource schema. Used to create alerts based on logs (Loki). Must have a `region` specified in the provider configuration. @@ -115,9 +114,9 @@ def get_observability_logalertgroup(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: Observability instance ID to which the log alert group is associated. - :param builtins.str name: The name of the log alert group. Is the identifier and must be unique in the group. - :param builtins.str project_id: STACKIT project ID to which the log alert group is associated. + :param _builtins.str instance_id: Observability instance ID to which the log alert group is associated. + :param _builtins.str name: The name of the log alert group. Is the identifier and must be unique in the group. + :param _builtins.str project_id: STACKIT project ID to which the log alert group is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -133,9 +132,9 @@ def get_observability_logalertgroup(instance_id: Optional[builtins.str] = None, name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id'), rules=pulumi.get(__ret__, 'rules')) -def get_observability_logalertgroup_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_observability_logalertgroup_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObservabilityLogalertgroupResult]: """ Observability log alert group datasource schema. Used to create alerts based on logs (Loki). Must have a `region` specified in the provider configuration. @@ -143,9 +142,9 @@ def get_observability_logalertgroup_output(instance_id: Optional[pulumi.Input[bu ## Example Usage - :param builtins.str instance_id: Observability instance ID to which the log alert group is associated. - :param builtins.str name: The name of the log alert group. Is the identifier and must be unique in the group. - :param builtins.str project_id: STACKIT project ID to which the log alert group is associated. + :param _builtins.str instance_id: Observability instance ID to which the log alert group is associated. + :param _builtins.str name: The name of the log alert group. Is the identifier and must be unique in the group. + :param _builtins.str project_id: STACKIT project ID to which the log alert group is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_observability_scrapeconfig.py b/sdk/python/pulumi_stackit/get_observability_scrapeconfig.py index cb6a8c2a..c88f5864 100644 --- a/sdk/python/pulumi_stackit/get_observability_scrapeconfig.py +++ b/sdk/python/pulumi_stackit/get_observability_scrapeconfig.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -66,7 +65,7 @@ def __init__(__self__, basic_auth=None, id=None, instance_id=None, metrics_path= raise TypeError("Expected argument 'targets' to be a list") pulumi.set(__self__, "targets", targets) - @property + @_builtins.property @pulumi.getter(name="basicAuth") def basic_auth(self) -> 'outputs.GetObservabilityScrapeconfigBasicAuthResult': """ @@ -74,44 +73,44 @@ def basic_auth(self) -> 'outputs.GetObservabilityScrapeconfigBasicAuthResult': """ return pulumi.get(self, "basic_auth") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ Observability instance ID to which the scraping job is associated. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter(name="metricsPath") - def metrics_path(self) -> builtins.str: + def metrics_path(self) -> _builtins.str: """ Specifies the job scraping url path. """ return pulumi.get(self, "metrics_path") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Specifies the name of the scraping job """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the scraping job is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def saml2(self) -> 'outputs.GetObservabilityScrapeconfigSaml2Result': """ @@ -119,39 +118,39 @@ def saml2(self) -> 'outputs.GetObservabilityScrapeconfigSaml2Result': """ return pulumi.get(self, "saml2") - @property + @_builtins.property @pulumi.getter(name="sampleLimit") - def sample_limit(self) -> builtins.int: + def sample_limit(self) -> _builtins.int: """ Specifies the scrape sample limit. """ return pulumi.get(self, "sample_limit") - @property + @_builtins.property @pulumi.getter - def scheme(self) -> builtins.str: + def scheme(self) -> _builtins.str: """ Specifies the http scheme. """ return pulumi.get(self, "scheme") - @property + @_builtins.property @pulumi.getter(name="scrapeInterval") - def scrape_interval(self) -> builtins.str: + def scrape_interval(self) -> _builtins.str: """ Specifies the scrape interval as duration string. """ return pulumi.get(self, "scrape_interval") - @property + @_builtins.property @pulumi.getter(name="scrapeTimeout") - def scrape_timeout(self) -> builtins.str: + def scrape_timeout(self) -> _builtins.str: """ Specifies the scrape timeout as duration string. """ return pulumi.get(self, "scrape_timeout") - @property + @_builtins.property @pulumi.getter def targets(self) -> Sequence['outputs.GetObservabilityScrapeconfigTargetResult']: """ @@ -180,9 +179,9 @@ def __await__(self): targets=self.targets) -def get_observability_scrapeconfig(instance_id: Optional[builtins.str] = None, - name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_observability_scrapeconfig(instance_id: Optional[_builtins.str] = None, + name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObservabilityScrapeconfigResult: """ Observability scrape config data source schema. Must have a `region` specified in the provider configuration. @@ -190,9 +189,9 @@ def get_observability_scrapeconfig(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: Observability instance ID to which the scraping job is associated. - :param builtins.str name: Specifies the name of the scraping job - :param builtins.str project_id: STACKIT project ID to which the scraping job is associated. + :param _builtins.str instance_id: Observability instance ID to which the scraping job is associated. + :param _builtins.str name: Specifies the name of the scraping job + :param _builtins.str project_id: STACKIT project ID to which the scraping job is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -214,9 +213,9 @@ def get_observability_scrapeconfig(instance_id: Optional[builtins.str] = None, scrape_interval=pulumi.get(__ret__, 'scrape_interval'), scrape_timeout=pulumi.get(__ret__, 'scrape_timeout'), targets=pulumi.get(__ret__, 'targets')) -def get_observability_scrapeconfig_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_observability_scrapeconfig_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObservabilityScrapeconfigResult]: """ Observability scrape config data source schema. Must have a `region` specified in the provider configuration. @@ -224,9 +223,9 @@ def get_observability_scrapeconfig_output(instance_id: Optional[pulumi.Input[bui ## Example Usage - :param builtins.str instance_id: Observability instance ID to which the scraping job is associated. - :param builtins.str name: Specifies the name of the scraping job - :param builtins.str project_id: STACKIT project ID to which the scraping job is associated. + :param _builtins.str instance_id: Observability instance ID to which the scraping job is associated. + :param _builtins.str name: Specifies the name of the scraping job + :param _builtins.str project_id: STACKIT project ID to which the scraping job is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_opensearch_credential.py b/sdk/python/pulumi_stackit/get_opensearch_credential.py index 07b9eb64..ba981a18 100644 --- a/sdk/python/pulumi_stackit/get_opensearch_credential.py +++ b/sdk/python/pulumi_stackit/get_opensearch_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -62,68 +61,68 @@ def __init__(__self__, credential_id=None, host=None, hosts=None, id=None, insta raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> builtins.str: + def credential_id(self) -> _builtins.str: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Sequence[builtins.str]: + def hosts(self) -> Sequence[_builtins.str]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the OpenSearch instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> builtins.str: + def password(self) -> _builtins.str: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def scheme(self) -> builtins.str: + def scheme(self) -> _builtins.str: return pulumi.get(self, "scheme") - @property + @_builtins.property @pulumi.getter - def uri(self) -> builtins.str: + def uri(self) -> _builtins.str: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: return pulumi.get(self, "username") @@ -146,9 +145,9 @@ def __await__(self): username=self.username) -def get_opensearch_credential(credential_id: Optional[builtins.str] = None, - instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_opensearch_credential(credential_id: Optional[_builtins.str] = None, + instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpensearchCredentialResult: """ OpenSearch credential data source schema. Must have a `region` specified in the provider configuration. @@ -156,9 +155,9 @@ def get_opensearch_credential(credential_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the OpenSearch instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the OpenSearch instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id @@ -179,9 +178,9 @@ def get_opensearch_credential(credential_id: Optional[builtins.str] = None, scheme=pulumi.get(__ret__, 'scheme'), uri=pulumi.get(__ret__, 'uri'), username=pulumi.get(__ret__, 'username')) -def get_opensearch_credential_output(credential_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_opensearch_credential_output(credential_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchCredentialResult]: """ OpenSearch credential data source schema. Must have a `region` specified in the provider configuration. @@ -189,9 +188,9 @@ def get_opensearch_credential_output(credential_id: Optional[pulumi.Input[builti ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the OpenSearch instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the OpenSearch instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id diff --git a/sdk/python/pulumi_stackit/get_opensearch_instance.py b/sdk/python/pulumi_stackit/get_opensearch_instance.py index e63f7eec..a965a8ab 100644 --- a/sdk/python/pulumi_stackit/get_opensearch_instance.py +++ b/sdk/python/pulumi_stackit/get_opensearch_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -69,84 +68,84 @@ def __init__(__self__, cf_guid=None, cf_organization_guid=None, cf_space_guid=No raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> builtins.str: + def cf_guid(self) -> _builtins.str: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> builtins.str: + def cf_organization_guid(self) -> _builtins.str: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> builtins.str: + def cf_space_guid(self) -> _builtins.str: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> builtins.str: + def dashboard_url(self) -> _builtins.str: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> builtins.str: + def image_url(self) -> _builtins.str: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the OpenSearch instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> 'outputs.GetOpensearchInstanceParametersResult': return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> builtins.str: + def plan_id(self) -> _builtins.str: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> builtins.str: + def plan_name(self) -> _builtins.str: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: """ The service version. """ @@ -174,8 +173,8 @@ def __await__(self): version=self.version) -def get_opensearch_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_opensearch_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpensearchInstanceResult: """ OpenSearch instance data source schema. Must have a `region` specified in the provider configuration. @@ -183,8 +182,8 @@ def get_opensearch_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the OpenSearch instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the OpenSearch instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -206,8 +205,8 @@ def get_opensearch_instance(instance_id: Optional[builtins.str] = None, plan_name=pulumi.get(__ret__, 'plan_name'), project_id=pulumi.get(__ret__, 'project_id'), version=pulumi.get(__ret__, 'version')) -def get_opensearch_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_opensearch_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchInstanceResult]: """ OpenSearch instance data source schema. Must have a `region` specified in the provider configuration. @@ -215,8 +214,8 @@ def get_opensearch_instance_output(instance_id: Optional[pulumi.Input[builtins.s ## Example Usage - :param builtins.str instance_id: ID of the OpenSearch instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the OpenSearch instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_postgresflex_database.py b/sdk/python/pulumi_stackit/get_postgresflex_database.py index b98fb275..bf441abe 100644 --- a/sdk/python/pulumi_stackit/get_postgresflex_database.py +++ b/sdk/python/pulumi_stackit/get_postgresflex_database.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -50,54 +49,54 @@ def __init__(__self__, database_id=None, id=None, instance_id=None, name=None, o raise TypeError("Expected argument 'region' to be a str") pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="databaseId") - def database_id(self) -> builtins.str: + def database_id(self) -> _builtins.str: """ Database ID. """ return pulumi.get(self, "database_id") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the Postgres Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Database name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def owner(self) -> builtins.str: + def owner(self) -> _builtins.str: """ Username of the database owner. """ return pulumi.get(self, "owner") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ @@ -119,10 +118,10 @@ def __await__(self): region=self.region) -def get_postgresflex_database(database_id: Optional[builtins.str] = None, - instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_postgresflex_database(database_id: Optional[_builtins.str] = None, + instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPostgresflexDatabaseResult: """ Postgres Flex database resource schema. Must have a `region` specified in the provider configuration. @@ -130,10 +129,10 @@ def get_postgresflex_database(database_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str database_id: Database ID. - :param builtins.str instance_id: ID of the Postgres Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str database_id: Database ID. + :param _builtins.str instance_id: ID of the Postgres Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['databaseId'] = database_id @@ -151,10 +150,10 @@ def get_postgresflex_database(database_id: Optional[builtins.str] = None, owner=pulumi.get(__ret__, 'owner'), project_id=pulumi.get(__ret__, 'project_id'), region=pulumi.get(__ret__, 'region')) -def get_postgresflex_database_output(database_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_postgresflex_database_output(database_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPostgresflexDatabaseResult]: """ Postgres Flex database resource schema. Must have a `region` specified in the provider configuration. @@ -162,10 +161,10 @@ def get_postgresflex_database_output(database_id: Optional[pulumi.Input[builtins ## Example Usage - :param builtins.str database_id: Database ID. - :param builtins.str instance_id: ID of the Postgres Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str database_id: Database ID. + :param _builtins.str instance_id: ID of the Postgres Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['databaseId'] = database_id diff --git a/sdk/python/pulumi_stackit/get_postgresflex_instance.py b/sdk/python/pulumi_stackit/get_postgresflex_instance.py index 614ebdcb..5afde5a0 100644 --- a/sdk/python/pulumi_stackit/get_postgresflex_instance.py +++ b/sdk/python/pulumi_stackit/get_postgresflex_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -63,74 +62,74 @@ def __init__(__self__, acls=None, backup_schedule=None, flavor=None, id=None, in raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Sequence[builtins.str]: + def acls(self) -> Sequence[_builtins.str]: """ The Access Control List (ACL) for the PostgresFlex instance. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> builtins.str: + def backup_schedule(self) -> _builtins.str: return pulumi.get(self, "backup_schedule") - @property + @_builtins.property @pulumi.getter def flavor(self) -> 'outputs.GetPostgresflexInstanceFlavorResult': return pulumi.get(self, "flavor") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the PostgresFlex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def replicas(self) -> builtins.int: + def replicas(self) -> _builtins.int: return pulumi.get(self, "replicas") - @property + @_builtins.property @pulumi.getter def storage(self) -> 'outputs.GetPostgresflexInstanceStorageResult': return pulumi.get(self, "storage") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: return pulumi.get(self, "version") @@ -153,9 +152,9 @@ def __await__(self): version=self.version) -def get_postgresflex_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_postgresflex_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPostgresflexInstanceResult: """ Postgres Flex instance data source schema. Must have a `region` specified in the provider configuration. @@ -163,9 +162,9 @@ def get_postgresflex_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the PostgresFlex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str instance_id: ID of the PostgresFlex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -186,9 +185,9 @@ def get_postgresflex_instance(instance_id: Optional[builtins.str] = None, replicas=pulumi.get(__ret__, 'replicas'), storage=pulumi.get(__ret__, 'storage'), version=pulumi.get(__ret__, 'version')) -def get_postgresflex_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_postgresflex_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPostgresflexInstanceResult]: """ Postgres Flex instance data source schema. Must have a `region` specified in the provider configuration. @@ -196,9 +195,9 @@ def get_postgresflex_instance_output(instance_id: Optional[pulumi.Input[builtins ## Example Usage - :param builtins.str instance_id: ID of the PostgresFlex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str instance_id: ID of the PostgresFlex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_postgresflex_user.py b/sdk/python/pulumi_stackit/get_postgresflex_user.py index 9d6a8c89..e548904f 100644 --- a/sdk/python/pulumi_stackit/get_postgresflex_user.py +++ b/sdk/python/pulumi_stackit/get_postgresflex_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -56,61 +55,61 @@ def __init__(__self__, host=None, id=None, instance_id=None, port=None, project_ raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the PostgresFlex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def roles(self) -> Sequence[builtins.str]: + def roles(self) -> Sequence[_builtins.str]: return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> builtins.str: + def user_id(self) -> _builtins.str: """ User ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: return pulumi.get(self, "username") @@ -131,10 +130,10 @@ def __await__(self): username=self.username) -def get_postgresflex_user(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, - user_id: Optional[builtins.str] = None, +def get_postgresflex_user(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + user_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPostgresflexUserResult: """ Postgres Flex user data source schema. Must have a `region` specified in the provider configuration. @@ -142,10 +141,10 @@ def get_postgresflex_user(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the PostgresFlex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str user_id: User ID. + :param _builtins.str instance_id: ID of the PostgresFlex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str user_id: User ID. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -165,10 +164,10 @@ def get_postgresflex_user(instance_id: Optional[builtins.str] = None, roles=pulumi.get(__ret__, 'roles'), user_id=pulumi.get(__ret__, 'user_id'), username=pulumi.get(__ret__, 'username')) -def get_postgresflex_user_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, +def get_postgresflex_user_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPostgresflexUserResult]: """ Postgres Flex user data source schema. Must have a `region` specified in the provider configuration. @@ -176,10 +175,10 @@ def get_postgresflex_user_output(instance_id: Optional[pulumi.Input[builtins.str ## Example Usage - :param builtins.str instance_id: ID of the PostgresFlex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str user_id: User ID. + :param _builtins.str instance_id: ID of the PostgresFlex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str user_id: User ID. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_public_ip.py b/sdk/python/pulumi_stackit/get_public_ip.py index 0c5f6036..54eb98e4 100644 --- a/sdk/python/pulumi_stackit/get_public_ip.py +++ b/sdk/python/pulumi_stackit/get_public_ip.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -47,46 +46,46 @@ def __init__(__self__, id=None, ip=None, labels=None, network_interface_id=None, raise TypeError("Expected argument 'public_ip_id' to be a str") pulumi.set(__self__, "public_ip_id", public_ip_id) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def ip(self) -> builtins.str: + def ip(self) -> _builtins.str: """ The IP address. """ return pulumi.get(self, "ip") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> builtins.str: + def network_interface_id(self) -> _builtins.str: """ Associates the public IP with a network interface or a virtual IP (ID). """ return pulumi.get(self, "network_interface_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the public IP is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> builtins.str: + def public_ip_id(self) -> _builtins.str: """ The public IP ID. """ @@ -107,8 +106,8 @@ def __await__(self): public_ip_id=self.public_ip_id) -def get_public_ip(project_id: Optional[builtins.str] = None, - public_ip_id: Optional[builtins.str] = None, +def get_public_ip(project_id: Optional[_builtins.str] = None, + public_ip_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPublicIpResult: """ Public IP resource schema. Must have a `region` specified in the provider configuration. @@ -116,8 +115,8 @@ def get_public_ip(project_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the public IP is associated. - :param builtins.str public_ip_id: The public IP ID. + :param _builtins.str project_id: STACKIT project ID to which the public IP is associated. + :param _builtins.str public_ip_id: The public IP ID. """ __args__ = dict() __args__['projectId'] = project_id @@ -132,8 +131,8 @@ def get_public_ip(project_id: Optional[builtins.str] = None, network_interface_id=pulumi.get(__ret__, 'network_interface_id'), project_id=pulumi.get(__ret__, 'project_id'), public_ip_id=pulumi.get(__ret__, 'public_ip_id')) -def get_public_ip_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip_id: Optional[pulumi.Input[builtins.str]] = None, +def get_public_ip_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPublicIpResult]: """ Public IP resource schema. Must have a `region` specified in the provider configuration. @@ -141,8 +140,8 @@ def get_public_ip_output(project_id: Optional[pulumi.Input[builtins.str]] = None ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the public IP is associated. - :param builtins.str public_ip_id: The public IP ID. + :param _builtins.str project_id: STACKIT project ID to which the public IP is associated. + :param _builtins.str public_ip_id: The public IP ID. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_public_ip_ranges.py b/sdk/python/pulumi_stackit/get_public_ip_ranges.py index 566cd980..6baebb96 100644 --- a/sdk/python/pulumi_stackit/get_public_ip_ranges.py +++ b/sdk/python/pulumi_stackit/get_public_ip_ranges.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -28,7 +27,10 @@ class GetPublicIpRangesResult: """ A collection of values returned by getPublicIpRanges. """ - def __init__(__self__, id=None, public_ip_ranges=None): + def __init__(__self__, cidr_lists=None, id=None, public_ip_ranges=None): + if cidr_lists and not isinstance(cidr_lists, list): + raise TypeError("Expected argument 'cidr_lists' to be a list") + pulumi.set(__self__, "cidr_lists", cidr_lists) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -36,12 +38,20 @@ def __init__(__self__, id=None, public_ip_ranges=None): raise TypeError("Expected argument 'public_ip_ranges' to be a list") pulumi.set(__self__, "public_ip_ranges", public_ip_ranges) - @property + @_builtins.property + @pulumi.getter(name="cidrLists") + def cidr_lists(self) -> Sequence[_builtins.str]: + """ + A list of IP range strings (CIDRs) extracted from the public*ip*ranges for easy consumption. + """ + return pulumi.get(self, "cidr_lists") + + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="publicIpRanges") def public_ip_ranges(self) -> Sequence['outputs.GetPublicIpRangesPublicIpRangeResult']: """ @@ -56,6 +66,7 @@ def __await__(self): if False: yield self return GetPublicIpRangesResult( + cidr_lists=self.cidr_lists, id=self.id, public_ip_ranges=self.public_ip_ranges) @@ -71,6 +82,7 @@ def get_public_ip_ranges(opts: Optional[pulumi.InvokeOptions] = None) -> Awaitab __ret__ = pulumi.runtime.invoke('stackit:index/getPublicIpRanges:getPublicIpRanges', __args__, opts=opts, typ=GetPublicIpRangesResult).value return AwaitableGetPublicIpRangesResult( + cidr_lists=pulumi.get(__ret__, 'cidr_lists'), id=pulumi.get(__ret__, 'id'), public_ip_ranges=pulumi.get(__ret__, 'public_ip_ranges')) def get_public_ip_ranges_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPublicIpRangesResult]: @@ -83,5 +95,6 @@ def get_public_ip_ranges_output(opts: Optional[Union[pulumi.InvokeOptions, pulum opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getPublicIpRanges:getPublicIpRanges', __args__, opts=opts, typ=GetPublicIpRangesResult) return __ret__.apply(lambda __response__: GetPublicIpRangesResult( + cidr_lists=pulumi.get(__response__, 'cidr_lists'), id=pulumi.get(__response__, 'id'), public_ip_ranges=pulumi.get(__response__, 'public_ip_ranges'))) diff --git a/sdk/python/pulumi_stackit/get_rabbitmq_credential.py b/sdk/python/pulumi_stackit/get_rabbitmq_credential.py index 445d9784..eb702c13 100644 --- a/sdk/python/pulumi_stackit/get_rabbitmq_credential.py +++ b/sdk/python/pulumi_stackit/get_rabbitmq_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -71,83 +70,83 @@ def __init__(__self__, credential_id=None, host=None, hosts=None, http_api_uri=N raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> builtins.str: + def credential_id(self) -> _builtins.str: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Sequence[builtins.str]: + def hosts(self) -> Sequence[_builtins.str]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter(name="httpApiUri") - def http_api_uri(self) -> builtins.str: + def http_api_uri(self) -> _builtins.str: return pulumi.get(self, "http_api_uri") - @property + @_builtins.property @pulumi.getter(name="httpApiUris") - def http_api_uris(self) -> Sequence[builtins.str]: + def http_api_uris(self) -> Sequence[_builtins.str]: return pulumi.get(self, "http_api_uris") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the RabbitMQ instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def management(self) -> builtins.str: + def management(self) -> _builtins.str: return pulumi.get(self, "management") - @property + @_builtins.property @pulumi.getter - def password(self) -> builtins.str: + def password(self) -> _builtins.str: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> builtins.str: + def uri(self) -> _builtins.str: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def uris(self) -> Sequence[builtins.str]: + def uris(self) -> Sequence[_builtins.str]: return pulumi.get(self, "uris") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: return pulumi.get(self, "username") @@ -173,9 +172,9 @@ def __await__(self): username=self.username) -def get_rabbitmq_credential(credential_id: Optional[builtins.str] = None, - instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_rabbitmq_credential(credential_id: Optional[_builtins.str] = None, + instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRabbitmqCredentialResult: """ RabbitMQ credential data source schema. Must have a `region` specified in the provider configuration. @@ -183,9 +182,9 @@ def get_rabbitmq_credential(credential_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the RabbitMQ instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the RabbitMQ instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id @@ -209,9 +208,9 @@ def get_rabbitmq_credential(credential_id: Optional[builtins.str] = None, uri=pulumi.get(__ret__, 'uri'), uris=pulumi.get(__ret__, 'uris'), username=pulumi.get(__ret__, 'username')) -def get_rabbitmq_credential_output(credential_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_rabbitmq_credential_output(credential_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRabbitmqCredentialResult]: """ RabbitMQ credential data source schema. Must have a `region` specified in the provider configuration. @@ -219,9 +218,9 @@ def get_rabbitmq_credential_output(credential_id: Optional[pulumi.Input[builtins ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the RabbitMQ instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the RabbitMQ instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id diff --git a/sdk/python/pulumi_stackit/get_rabbitmq_instance.py b/sdk/python/pulumi_stackit/get_rabbitmq_instance.py index 40a519ff..fefceea0 100644 --- a/sdk/python/pulumi_stackit/get_rabbitmq_instance.py +++ b/sdk/python/pulumi_stackit/get_rabbitmq_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -69,84 +68,84 @@ def __init__(__self__, cf_guid=None, cf_organization_guid=None, cf_space_guid=No raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> builtins.str: + def cf_guid(self) -> _builtins.str: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> builtins.str: + def cf_organization_guid(self) -> _builtins.str: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> builtins.str: + def cf_space_guid(self) -> _builtins.str: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> builtins.str: + def dashboard_url(self) -> _builtins.str: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> builtins.str: + def image_url(self) -> _builtins.str: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the RabbitMQ instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> 'outputs.GetRabbitmqInstanceParametersResult': return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> builtins.str: + def plan_id(self) -> _builtins.str: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> builtins.str: + def plan_name(self) -> _builtins.str: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: """ The service version. """ @@ -174,8 +173,8 @@ def __await__(self): version=self.version) -def get_rabbitmq_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_rabbitmq_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRabbitmqInstanceResult: """ RabbitMQ instance data source schema. Must have a `region` specified in the provider configuration. @@ -183,8 +182,8 @@ def get_rabbitmq_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the RabbitMQ instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the RabbitMQ instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -206,8 +205,8 @@ def get_rabbitmq_instance(instance_id: Optional[builtins.str] = None, plan_name=pulumi.get(__ret__, 'plan_name'), project_id=pulumi.get(__ret__, 'project_id'), version=pulumi.get(__ret__, 'version')) -def get_rabbitmq_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_rabbitmq_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRabbitmqInstanceResult]: """ RabbitMQ instance data source schema. Must have a `region` specified in the provider configuration. @@ -215,8 +214,8 @@ def get_rabbitmq_instance_output(instance_id: Optional[pulumi.Input[builtins.str ## Example Usage - :param builtins.str instance_id: ID of the RabbitMQ instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the RabbitMQ instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_redis_credential.py b/sdk/python/pulumi_stackit/get_redis_credential.py index 4d02dbd8..cada87fd 100644 --- a/sdk/python/pulumi_stackit/get_redis_credential.py +++ b/sdk/python/pulumi_stackit/get_redis_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -62,71 +61,71 @@ def __init__(__self__, credential_id=None, host=None, hosts=None, id=None, insta raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> builtins.str: + def credential_id(self) -> _builtins.str: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Sequence[builtins.str]: + def hosts(self) -> Sequence[_builtins.str]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the Redis instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter(name="loadBalancedHost") - def load_balanced_host(self) -> builtins.str: + def load_balanced_host(self) -> _builtins.str: return pulumi.get(self, "load_balanced_host") - @property + @_builtins.property @pulumi.getter - def password(self) -> builtins.str: + def password(self) -> _builtins.str: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> builtins.str: + def uri(self) -> _builtins.str: """ Connection URI. """ return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: return pulumi.get(self, "username") @@ -149,9 +148,9 @@ def __await__(self): username=self.username) -def get_redis_credential(credential_id: Optional[builtins.str] = None, - instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_redis_credential(credential_id: Optional[_builtins.str] = None, + instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisCredentialResult: """ Redis credential data source schema. Must have a `region` specified in the provider configuration. @@ -159,9 +158,9 @@ def get_redis_credential(credential_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the Redis instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the Redis instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id @@ -182,9 +181,9 @@ def get_redis_credential(credential_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), uri=pulumi.get(__ret__, 'uri'), username=pulumi.get(__ret__, 'username')) -def get_redis_credential_output(credential_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_redis_credential_output(credential_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisCredentialResult]: """ Redis credential data source schema. Must have a `region` specified in the provider configuration. @@ -192,9 +191,9 @@ def get_redis_credential_output(credential_id: Optional[pulumi.Input[builtins.st ## Example Usage - :param builtins.str credential_id: The credential's ID. - :param builtins.str instance_id: ID of the Redis instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str credential_id: The credential's ID. + :param _builtins.str instance_id: ID of the Redis instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['credentialId'] = credential_id diff --git a/sdk/python/pulumi_stackit/get_redis_instance.py b/sdk/python/pulumi_stackit/get_redis_instance.py index 317ce2fe..fefd9456 100644 --- a/sdk/python/pulumi_stackit/get_redis_instance.py +++ b/sdk/python/pulumi_stackit/get_redis_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -69,84 +68,84 @@ def __init__(__self__, cf_guid=None, cf_organization_guid=None, cf_space_guid=No raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> builtins.str: + def cf_guid(self) -> _builtins.str: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> builtins.str: + def cf_organization_guid(self) -> _builtins.str: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> builtins.str: + def cf_space_guid(self) -> _builtins.str: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> builtins.str: + def dashboard_url(self) -> _builtins.str: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> builtins.str: + def image_url(self) -> _builtins.str: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the Redis instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> 'outputs.GetRedisInstanceParametersResult': return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> builtins.str: + def plan_id(self) -> _builtins.str: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> builtins.str: + def plan_name(self) -> _builtins.str: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: """ The service version. """ @@ -174,8 +173,8 @@ def __await__(self): version=self.version) -def get_redis_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_redis_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisInstanceResult: """ Redis instance data source schema. Must have a `region` specified in the provider configuration. @@ -183,8 +182,8 @@ def get_redis_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the Redis instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the Redis instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -206,8 +205,8 @@ def get_redis_instance(instance_id: Optional[builtins.str] = None, plan_name=pulumi.get(__ret__, 'plan_name'), project_id=pulumi.get(__ret__, 'project_id'), version=pulumi.get(__ret__, 'version')) -def get_redis_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_redis_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisInstanceResult]: """ Redis instance data source schema. Must have a `region` specified in the provider configuration. @@ -215,8 +214,8 @@ def get_redis_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] ## Example Usage - :param builtins.str instance_id: ID of the Redis instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the Redis instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_resourcemanager_folder.py b/sdk/python/pulumi_stackit/get_resourcemanager_folder.py new file mode 100644 index 00000000..ecb30b8f --- /dev/null +++ b/sdk/python/pulumi_stackit/get_resourcemanager_folder.py @@ -0,0 +1,183 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetResourcemanagerFolderResult', + 'AwaitableGetResourcemanagerFolderResult', + 'get_resourcemanager_folder', + 'get_resourcemanager_folder_output', +] + +@pulumi.output_type +class GetResourcemanagerFolderResult: + """ + A collection of values returned by getResourcemanagerFolder. + """ + def __init__(__self__, container_id=None, creation_time=None, folder_id=None, id=None, labels=None, name=None, parent_container_id=None, update_time=None): + if container_id and not isinstance(container_id, str): + raise TypeError("Expected argument 'container_id' to be a str") + pulumi.set(__self__, "container_id", container_id) + if creation_time and not isinstance(creation_time, str): + raise TypeError("Expected argument 'creation_time' to be a str") + pulumi.set(__self__, "creation_time", creation_time) + if folder_id and not isinstance(folder_id, str): + raise TypeError("Expected argument 'folder_id' to be a str") + pulumi.set(__self__, "folder_id", folder_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if labels and not isinstance(labels, dict): + raise TypeError("Expected argument 'labels' to be a dict") + pulumi.set(__self__, "labels", labels) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if parent_container_id and not isinstance(parent_container_id, str): + raise TypeError("Expected argument 'parent_container_id' to be a str") + pulumi.set(__self__, "parent_container_id", parent_container_id) + if update_time and not isinstance(update_time, str): + raise TypeError("Expected argument 'update_time' to be a str") + pulumi.set(__self__, "update_time", update_time) + + @_builtins.property + @pulumi.getter(name="containerId") + def container_id(self) -> _builtins.str: + """ + Folder container ID. Globally unique, user-friendly identifier. + """ + return pulumi.get(self, "container_id") + + @_builtins.property + @pulumi.getter(name="creationTime") + def creation_time(self) -> _builtins.str: + """ + Date-time at which the folder was created. + """ + return pulumi.get(self, "creation_time") + + @_builtins.property + @pulumi.getter(name="folderId") + def folder_id(self) -> _builtins.str: + """ + Folder UUID identifier. Globally unique folder identifier + """ + return pulumi.get(self, "folder_id") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def labels(self) -> Mapping[str, _builtins.str]: + """ + Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + The name of the folder. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="parentContainerId") + def parent_container_id(self) -> _builtins.str: + """ + Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + """ + return pulumi.get(self, "parent_container_id") + + @_builtins.property + @pulumi.getter(name="updateTime") + def update_time(self) -> _builtins.str: + """ + Date-time at which the folder was last modified. + """ + return pulumi.get(self, "update_time") + + +class AwaitableGetResourcemanagerFolderResult(GetResourcemanagerFolderResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetResourcemanagerFolderResult( + container_id=self.container_id, + creation_time=self.creation_time, + folder_id=self.folder_id, + id=self.id, + labels=self.labels, + name=self.name, + parent_container_id=self.parent_container_id, + update_time=self.update_time) + + +def get_resourcemanager_folder(container_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourcemanagerFolderResult: + """ + Resource Manager folder data source schema. To identify the folder, you need to provide the container_id. + + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + + :param _builtins.str container_id: Folder container ID. Globally unique, user-friendly identifier. + """ + __args__ = dict() + __args__['containerId'] = container_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getResourcemanagerFolder:getResourcemanagerFolder', __args__, opts=opts, typ=GetResourcemanagerFolderResult).value + + return AwaitableGetResourcemanagerFolderResult( + container_id=pulumi.get(__ret__, 'container_id'), + creation_time=pulumi.get(__ret__, 'creation_time'), + folder_id=pulumi.get(__ret__, 'folder_id'), + id=pulumi.get(__ret__, 'id'), + labels=pulumi.get(__ret__, 'labels'), + name=pulumi.get(__ret__, 'name'), + parent_container_id=pulumi.get(__ret__, 'parent_container_id'), + update_time=pulumi.get(__ret__, 'update_time')) +def get_resourcemanager_folder_output(container_id: Optional[pulumi.Input[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetResourcemanagerFolderResult]: + """ + Resource Manager folder data source schema. To identify the folder, you need to provide the container_id. + + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + + :param _builtins.str container_id: Folder container ID. Globally unique, user-friendly identifier. + """ + __args__ = dict() + __args__['containerId'] = container_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getResourcemanagerFolder:getResourcemanagerFolder', __args__, opts=opts, typ=GetResourcemanagerFolderResult) + return __ret__.apply(lambda __response__: GetResourcemanagerFolderResult( + container_id=pulumi.get(__response__, 'container_id'), + creation_time=pulumi.get(__response__, 'creation_time'), + folder_id=pulumi.get(__response__, 'folder_id'), + id=pulumi.get(__response__, 'id'), + labels=pulumi.get(__response__, 'labels'), + name=pulumi.get(__response__, 'name'), + parent_container_id=pulumi.get(__response__, 'parent_container_id'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_stackit/get_resourcemanager_project.py b/sdk/python/pulumi_stackit/get_resourcemanager_project.py index b8b6adfc..e649c227 100644 --- a/sdk/python/pulumi_stackit/get_resourcemanager_project.py +++ b/sdk/python/pulumi_stackit/get_resourcemanager_project.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -27,10 +26,13 @@ class GetResourcemanagerProjectResult: """ A collection of values returned by getResourcemanagerProject. """ - def __init__(__self__, container_id=None, id=None, labels=None, name=None, parent_container_id=None, project_id=None): + def __init__(__self__, container_id=None, creation_time=None, id=None, labels=None, name=None, parent_container_id=None, project_id=None, update_time=None): if container_id and not isinstance(container_id, str): raise TypeError("Expected argument 'container_id' to be a str") pulumi.set(__self__, "container_id", container_id) + if creation_time and not isinstance(creation_time, str): + raise TypeError("Expected argument 'creation_time' to be a str") + pulumi.set(__self__, "creation_time", creation_time) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -46,52 +48,71 @@ def __init__(__self__, container_id=None, id=None, labels=None, name=None, paren if project_id and not isinstance(project_id, str): raise TypeError("Expected argument 'project_id' to be a str") pulumi.set(__self__, "project_id", project_id) + if update_time and not isinstance(update_time, str): + raise TypeError("Expected argument 'update_time' to be a str") + pulumi.set(__self__, "update_time", update_time) - @property + @_builtins.property @pulumi.getter(name="containerId") - def container_id(self) -> Optional[builtins.str]: + def container_id(self) -> Optional[_builtins.str]: """ Project container ID. Globally unique, user-friendly identifier. """ return pulumi.get(self, "container_id") - @property + @_builtins.property + @pulumi.getter(name="creationTime") + def creation_time(self) -> _builtins.str: + """ + Date-time at which the project was created. + """ + return pulumi.get(self, "creation_time") + + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64} """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Project name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="parentContainerId") - def parent_container_id(self) -> builtins.str: + def parent_container_id(self) -> _builtins.str: """ Parent resource identifier. Both container ID (user-friendly) and UUID are supported """ return pulumi.get(self, "parent_container_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[builtins.str]: + def project_id(self) -> Optional[_builtins.str]: """ Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. """ return pulumi.get(self, "project_id") + @_builtins.property + @pulumi.getter(name="updateTime") + def update_time(self) -> _builtins.str: + """ + Date-time at which the project was last modified. + """ + return pulumi.get(self, "update_time") + class AwaitableGetResourcemanagerProjectResult(GetResourcemanagerProjectResult): # pylint: disable=using-constant-test @@ -100,15 +121,17 @@ def __await__(self): yield self return GetResourcemanagerProjectResult( container_id=self.container_id, + creation_time=self.creation_time, id=self.id, labels=self.labels, name=self.name, parent_container_id=self.parent_container_id, - project_id=self.project_id) + project_id=self.project_id, + update_time=self.update_time) -def get_resourcemanager_project(container_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_resourcemanager_project(container_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourcemanagerProjectResult: """ Resource Manager project data source schema. To identify the project, you need to provider either project_id or container_id. If you provide both, project_id will be used. @@ -116,8 +139,8 @@ def get_resourcemanager_project(container_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str container_id: Project container ID. Globally unique, user-friendly identifier. - :param builtins.str project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. + :param _builtins.str container_id: Project container ID. Globally unique, user-friendly identifier. + :param _builtins.str project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. """ __args__ = dict() __args__['containerId'] = container_id @@ -127,13 +150,15 @@ def get_resourcemanager_project(container_id: Optional[builtins.str] = None, return AwaitableGetResourcemanagerProjectResult( container_id=pulumi.get(__ret__, 'container_id'), + creation_time=pulumi.get(__ret__, 'creation_time'), id=pulumi.get(__ret__, 'id'), labels=pulumi.get(__ret__, 'labels'), name=pulumi.get(__ret__, 'name'), parent_container_id=pulumi.get(__ret__, 'parent_container_id'), - project_id=pulumi.get(__ret__, 'project_id')) -def get_resourcemanager_project_output(container_id: Optional[pulumi.Input[Optional[builtins.str]]] = None, - project_id: Optional[pulumi.Input[Optional[builtins.str]]] = None, + project_id=pulumi.get(__ret__, 'project_id'), + update_time=pulumi.get(__ret__, 'update_time')) +def get_resourcemanager_project_output(container_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetResourcemanagerProjectResult]: """ Resource Manager project data source schema. To identify the project, you need to provider either project_id or container_id. If you provide both, project_id will be used. @@ -141,8 +166,8 @@ def get_resourcemanager_project_output(container_id: Optional[pulumi.Input[Optio ## Example Usage - :param builtins.str container_id: Project container ID. Globally unique, user-friendly identifier. - :param builtins.str project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. + :param _builtins.str container_id: Project container ID. Globally unique, user-friendly identifier. + :param _builtins.str project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. """ __args__ = dict() __args__['containerId'] = container_id @@ -151,8 +176,10 @@ def get_resourcemanager_project_output(container_id: Optional[pulumi.Input[Optio __ret__ = pulumi.runtime.invoke_output('stackit:index/getResourcemanagerProject:getResourcemanagerProject', __args__, opts=opts, typ=GetResourcemanagerProjectResult) return __ret__.apply(lambda __response__: GetResourcemanagerProjectResult( container_id=pulumi.get(__response__, 'container_id'), + creation_time=pulumi.get(__response__, 'creation_time'), id=pulumi.get(__response__, 'id'), labels=pulumi.get(__response__, 'labels'), name=pulumi.get(__response__, 'name'), parent_container_id=pulumi.get(__response__, 'parent_container_id'), - project_id=pulumi.get(__response__, 'project_id'))) + project_id=pulumi.get(__response__, 'project_id'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_stackit/get_routing_table.py b/sdk/python/pulumi_stackit/get_routing_table.py new file mode 100644 index 00000000..ef86c96d --- /dev/null +++ b/sdk/python/pulumi_stackit/get_routing_table.py @@ -0,0 +1,257 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetRoutingTableResult', + 'AwaitableGetRoutingTableResult', + 'get_routing_table', + 'get_routing_table_output', +] + +@pulumi.output_type +class GetRoutingTableResult: + """ + A collection of values returned by getRoutingTable. + """ + def __init__(__self__, created_at=None, default=None, description=None, id=None, labels=None, name=None, network_area_id=None, organization_id=None, region=None, routing_table_id=None, system_routes=None, updated_at=None): + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if default and not isinstance(default, bool): + raise TypeError("Expected argument 'default' to be a bool") + pulumi.set(__self__, "default", default) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if labels and not isinstance(labels, dict): + raise TypeError("Expected argument 'labels' to be a dict") + pulumi.set(__self__, "labels", labels) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_area_id and not isinstance(network_area_id, str): + raise TypeError("Expected argument 'network_area_id' to be a str") + pulumi.set(__self__, "network_area_id", network_area_id) + if organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if routing_table_id and not isinstance(routing_table_id, str): + raise TypeError("Expected argument 'routing_table_id' to be a str") + pulumi.set(__self__, "routing_table_id", routing_table_id) + if system_routes and not isinstance(system_routes, bool): + raise TypeError("Expected argument 'system_routes' to be a bool") + pulumi.set(__self__, "system_routes", system_routes) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> _builtins.str: + """ + Date-time when the routing table was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def default(self) -> _builtins.bool: + """ + When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + """ + return pulumi.get(self, "default") + + @_builtins.property + @pulumi.getter + def description(self) -> _builtins.str: + """ + Description of the routing table. + """ + return pulumi.get(self, "description") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def labels(self) -> Mapping[str, _builtins.str]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + The name of the routing table. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> _builtins.str: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> _builtins.str: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> _builtins.str: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @_builtins.property + @pulumi.getter(name="systemRoutes") + def system_routes(self) -> _builtins.bool: + """ + This controls whether the routes for project-to-project communication are created automatically or not. + """ + return pulumi.get(self, "system_routes") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> _builtins.str: + """ + Date-time when the routing table was updated + """ + return pulumi.get(self, "updated_at") + + +class AwaitableGetRoutingTableResult(GetRoutingTableResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRoutingTableResult( + created_at=self.created_at, + default=self.default, + description=self.description, + id=self.id, + labels=self.labels, + name=self.name, + network_area_id=self.network_area_id, + organization_id=self.organization_id, + region=self.region, + routing_table_id=self.routing_table_id, + system_routes=self.system_routes, + updated_at=self.updated_at) + + +def get_routing_table(network_area_id: Optional[_builtins.str] = None, + organization_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + routing_table_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoutingTableResult: + """ + Routing table datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str routing_table_id: The routing tables ID. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + __args__['routingTableId'] = routing_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getRoutingTable:getRoutingTable', __args__, opts=opts, typ=GetRoutingTableResult).value + + return AwaitableGetRoutingTableResult( + created_at=pulumi.get(__ret__, 'created_at'), + default=pulumi.get(__ret__, 'default'), + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + labels=pulumi.get(__ret__, 'labels'), + name=pulumi.get(__ret__, 'name'), + network_area_id=pulumi.get(__ret__, 'network_area_id'), + organization_id=pulumi.get(__ret__, 'organization_id'), + region=pulumi.get(__ret__, 'region'), + routing_table_id=pulumi.get(__ret__, 'routing_table_id'), + system_routes=pulumi.get(__ret__, 'system_routes'), + updated_at=pulumi.get(__ret__, 'updated_at')) +def get_routing_table_output(network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoutingTableResult]: + """ + Routing table datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str routing_table_id: The routing tables ID. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + __args__['routingTableId'] = routing_table_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getRoutingTable:getRoutingTable', __args__, opts=opts, typ=GetRoutingTableResult) + return __ret__.apply(lambda __response__: GetRoutingTableResult( + created_at=pulumi.get(__response__, 'created_at'), + default=pulumi.get(__response__, 'default'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + labels=pulumi.get(__response__, 'labels'), + name=pulumi.get(__response__, 'name'), + network_area_id=pulumi.get(__response__, 'network_area_id'), + organization_id=pulumi.get(__response__, 'organization_id'), + region=pulumi.get(__response__, 'region'), + routing_table_id=pulumi.get(__response__, 'routing_table_id'), + system_routes=pulumi.get(__response__, 'system_routes'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_stackit/get_routing_table_route.py b/sdk/python/pulumi_stackit/get_routing_table_route.py new file mode 100644 index 00000000..9dc1b25d --- /dev/null +++ b/sdk/python/pulumi_stackit/get_routing_table_route.py @@ -0,0 +1,250 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs + +__all__ = [ + 'GetRoutingTableRouteResult', + 'AwaitableGetRoutingTableRouteResult', + 'get_routing_table_route', + 'get_routing_table_route_output', +] + +@pulumi.output_type +class GetRoutingTableRouteResult: + """ + A collection of values returned by getRoutingTableRoute. + """ + def __init__(__self__, created_at=None, destination=None, id=None, labels=None, network_area_id=None, next_hop=None, organization_id=None, region=None, route_id=None, routing_table_id=None, updated_at=None): + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if destination and not isinstance(destination, dict): + raise TypeError("Expected argument 'destination' to be a dict") + pulumi.set(__self__, "destination", destination) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if labels and not isinstance(labels, dict): + raise TypeError("Expected argument 'labels' to be a dict") + pulumi.set(__self__, "labels", labels) + if network_area_id and not isinstance(network_area_id, str): + raise TypeError("Expected argument 'network_area_id' to be a str") + pulumi.set(__self__, "network_area_id", network_area_id) + if next_hop and not isinstance(next_hop, dict): + raise TypeError("Expected argument 'next_hop' to be a dict") + pulumi.set(__self__, "next_hop", next_hop) + if organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if route_id and not isinstance(route_id, str): + raise TypeError("Expected argument 'route_id' to be a str") + pulumi.set(__self__, "route_id", route_id) + if routing_table_id and not isinstance(routing_table_id, str): + raise TypeError("Expected argument 'routing_table_id' to be a str") + pulumi.set(__self__, "routing_table_id", routing_table_id) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> _builtins.str: + """ + Date-time when the route was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def destination(self) -> 'outputs.GetRoutingTableRouteDestinationResult': + """ + Destination of the route. + """ + return pulumi.get(self, "destination") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def labels(self) -> Mapping[str, _builtins.str]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> _builtins.str: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @_builtins.property + @pulumi.getter(name="nextHop") + def next_hop(self) -> 'outputs.GetRoutingTableRouteNextHopResult': + """ + Next hop destination. + """ + return pulumi.get(self, "next_hop") + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> _builtins.str: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter(name="routeId") + def route_id(self) -> _builtins.str: + """ + Route ID. + """ + return pulumi.get(self, "route_id") + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> _builtins.str: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> _builtins.str: + """ + Date-time when the route was updated + """ + return pulumi.get(self, "updated_at") + + +class AwaitableGetRoutingTableRouteResult(GetRoutingTableRouteResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRoutingTableRouteResult( + created_at=self.created_at, + destination=self.destination, + id=self.id, + labels=self.labels, + network_area_id=self.network_area_id, + next_hop=self.next_hop, + organization_id=self.organization_id, + region=self.region, + route_id=self.route_id, + routing_table_id=self.routing_table_id, + updated_at=self.updated_at) + + +def get_routing_table_route(network_area_id: Optional[_builtins.str] = None, + organization_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + route_id: Optional[_builtins.str] = None, + routing_table_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoutingTableRouteResult: + """ + Routing table route datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str route_id: Route ID. + :param _builtins.str routing_table_id: The routing tables ID. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + __args__['routeId'] = route_id + __args__['routingTableId'] = routing_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getRoutingTableRoute:getRoutingTableRoute', __args__, opts=opts, typ=GetRoutingTableRouteResult).value + + return AwaitableGetRoutingTableRouteResult( + created_at=pulumi.get(__ret__, 'created_at'), + destination=pulumi.get(__ret__, 'destination'), + id=pulumi.get(__ret__, 'id'), + labels=pulumi.get(__ret__, 'labels'), + network_area_id=pulumi.get(__ret__, 'network_area_id'), + next_hop=pulumi.get(__ret__, 'next_hop'), + organization_id=pulumi.get(__ret__, 'organization_id'), + region=pulumi.get(__ret__, 'region'), + route_id=pulumi.get(__ret__, 'route_id'), + routing_table_id=pulumi.get(__ret__, 'routing_table_id'), + updated_at=pulumi.get(__ret__, 'updated_at')) +def get_routing_table_route_output(network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + route_id: Optional[pulumi.Input[_builtins.str]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoutingTableRouteResult]: + """ + Routing table route datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str route_id: Route ID. + :param _builtins.str routing_table_id: The routing tables ID. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + __args__['routeId'] = route_id + __args__['routingTableId'] = routing_table_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getRoutingTableRoute:getRoutingTableRoute', __args__, opts=opts, typ=GetRoutingTableRouteResult) + return __ret__.apply(lambda __response__: GetRoutingTableRouteResult( + created_at=pulumi.get(__response__, 'created_at'), + destination=pulumi.get(__response__, 'destination'), + id=pulumi.get(__response__, 'id'), + labels=pulumi.get(__response__, 'labels'), + network_area_id=pulumi.get(__response__, 'network_area_id'), + next_hop=pulumi.get(__response__, 'next_hop'), + organization_id=pulumi.get(__response__, 'organization_id'), + region=pulumi.get(__response__, 'region'), + route_id=pulumi.get(__response__, 'route_id'), + routing_table_id=pulumi.get(__response__, 'routing_table_id'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_stackit/get_routing_table_routes.py b/sdk/python/pulumi_stackit/get_routing_table_routes.py new file mode 100644 index 00000000..f627044f --- /dev/null +++ b/sdk/python/pulumi_stackit/get_routing_table_routes.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs + +__all__ = [ + 'GetRoutingTableRoutesResult', + 'AwaitableGetRoutingTableRoutesResult', + 'get_routing_table_routes', + 'get_routing_table_routes_output', +] + +@pulumi.output_type +class GetRoutingTableRoutesResult: + """ + A collection of values returned by getRoutingTableRoutes. + """ + def __init__(__self__, id=None, network_area_id=None, organization_id=None, region=None, routes=None, routing_table_id=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if network_area_id and not isinstance(network_area_id, str): + raise TypeError("Expected argument 'network_area_id' to be a str") + pulumi.set(__self__, "network_area_id", network_area_id) + if organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if routes and not isinstance(routes, list): + raise TypeError("Expected argument 'routes' to be a list") + pulumi.set(__self__, "routes", routes) + if routing_table_id and not isinstance(routing_table_id, str): + raise TypeError("Expected argument 'routing_table_id' to be a str") + pulumi.set(__self__, "routing_table_id", routing_table_id) + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> _builtins.str: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> _builtins.str: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[_builtins.str]: + """ + The datasource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def routes(self) -> Sequence['outputs.GetRoutingTableRoutesRouteResult']: + """ + List of routes. + """ + return pulumi.get(self, "routes") + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> _builtins.str: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + +class AwaitableGetRoutingTableRoutesResult(GetRoutingTableRoutesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRoutingTableRoutesResult( + id=self.id, + network_area_id=self.network_area_id, + organization_id=self.organization_id, + region=self.region, + routes=self.routes, + routing_table_id=self.routing_table_id) + + +def get_routing_table_routes(network_area_id: Optional[_builtins.str] = None, + organization_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + routing_table_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoutingTableRoutesResult: + """ + Routing table routes datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The datasource region. If not defined, the provider region is used. + :param _builtins.str routing_table_id: The routing tables ID. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + __args__['routingTableId'] = routing_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getRoutingTableRoutes:getRoutingTableRoutes', __args__, opts=opts, typ=GetRoutingTableRoutesResult).value + + return AwaitableGetRoutingTableRoutesResult( + id=pulumi.get(__ret__, 'id'), + network_area_id=pulumi.get(__ret__, 'network_area_id'), + organization_id=pulumi.get(__ret__, 'organization_id'), + region=pulumi.get(__ret__, 'region'), + routes=pulumi.get(__ret__, 'routes'), + routing_table_id=pulumi.get(__ret__, 'routing_table_id')) +def get_routing_table_routes_output(network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoutingTableRoutesResult]: + """ + Routing table routes datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The datasource region. If not defined, the provider region is used. + :param _builtins.str routing_table_id: The routing tables ID. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + __args__['routingTableId'] = routing_table_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getRoutingTableRoutes:getRoutingTableRoutes', __args__, opts=opts, typ=GetRoutingTableRoutesResult) + return __ret__.apply(lambda __response__: GetRoutingTableRoutesResult( + id=pulumi.get(__response__, 'id'), + network_area_id=pulumi.get(__response__, 'network_area_id'), + organization_id=pulumi.get(__response__, 'organization_id'), + region=pulumi.get(__response__, 'region'), + routes=pulumi.get(__response__, 'routes'), + routing_table_id=pulumi.get(__response__, 'routing_table_id'))) diff --git a/sdk/python/pulumi_stackit/get_routing_tables.py b/sdk/python/pulumi_stackit/get_routing_tables.py new file mode 100644 index 00000000..40523492 --- /dev/null +++ b/sdk/python/pulumi_stackit/get_routing_tables.py @@ -0,0 +1,154 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs + +__all__ = [ + 'GetRoutingTablesResult', + 'AwaitableGetRoutingTablesResult', + 'get_routing_tables', + 'get_routing_tables_output', +] + +@pulumi.output_type +class GetRoutingTablesResult: + """ + A collection of values returned by getRoutingTables. + """ + def __init__(__self__, id=None, items=None, network_area_id=None, organization_id=None, region=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if items and not isinstance(items, list): + raise TypeError("Expected argument 'items' to be a list") + pulumi.set(__self__, "items", items) + if network_area_id and not isinstance(network_area_id, str): + raise TypeError("Expected argument 'network_area_id' to be a str") + pulumi.set(__self__, "network_area_id", network_area_id) + if organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def items(self) -> Sequence['outputs.GetRoutingTablesItemResult']: + """ + List of routing tables. + """ + return pulumi.get(self, "items") + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> _builtins.str: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> _builtins.str: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + +class AwaitableGetRoutingTablesResult(GetRoutingTablesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRoutingTablesResult( + id=self.id, + items=self.items, + network_area_id=self.network_area_id, + organization_id=self.organization_id, + region=self.region) + + +def get_routing_tables(network_area_id: Optional[_builtins.str] = None, + organization_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoutingTablesResult: + """ + Routing table datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getRoutingTables:getRoutingTables', __args__, opts=opts, typ=GetRoutingTablesResult).value + + return AwaitableGetRoutingTablesResult( + id=pulumi.get(__ret__, 'id'), + items=pulumi.get(__ret__, 'items'), + network_area_id=pulumi.get(__ret__, 'network_area_id'), + organization_id=pulumi.get(__ret__, 'organization_id'), + region=pulumi.get(__ret__, 'region')) +def get_routing_tables_output(network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoutingTablesResult]: + """ + Routing table datasource schema. Must have a `region` specified in the provider configuration. + + > This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + + :param _builtins.str network_area_id: The network area ID to which the routing table is associated. + :param _builtins.str organization_id: STACKIT organization ID to which the routing table is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + """ + __args__ = dict() + __args__['networkAreaId'] = network_area_id + __args__['organizationId'] = organization_id + __args__['region'] = region + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getRoutingTables:getRoutingTables', __args__, opts=opts, typ=GetRoutingTablesResult) + return __ret__.apply(lambda __response__: GetRoutingTablesResult( + id=pulumi.get(__response__, 'id'), + items=pulumi.get(__response__, 'items'), + network_area_id=pulumi.get(__response__, 'network_area_id'), + organization_id=pulumi.get(__response__, 'organization_id'), + region=pulumi.get(__response__, 'region'))) diff --git a/sdk/python/pulumi_stackit/get_scf_organization.py b/sdk/python/pulumi_stackit/get_scf_organization.py new file mode 100644 index 00000000..5e0ccc52 --- /dev/null +++ b/sdk/python/pulumi_stackit/get_scf_organization.py @@ -0,0 +1,233 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetScfOrganizationResult', + 'AwaitableGetScfOrganizationResult', + 'get_scf_organization', + 'get_scf_organization_output', +] + +@pulumi.output_type +class GetScfOrganizationResult: + """ + A collection of values returned by getScfOrganization. + """ + def __init__(__self__, created_at=None, id=None, name=None, org_id=None, platform_id=None, project_id=None, quota_id=None, region=None, status=None, suspended=None, updated_at=None): + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if org_id and not isinstance(org_id, str): + raise TypeError("Expected argument 'org_id' to be a str") + pulumi.set(__self__, "org_id", org_id) + if platform_id and not isinstance(platform_id, str): + raise TypeError("Expected argument 'platform_id' to be a str") + pulumi.set(__self__, "platform_id", platform_id) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if quota_id and not isinstance(quota_id, str): + raise TypeError("Expected argument 'quota_id' to be a str") + pulumi.set(__self__, "quota_id", quota_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if suspended and not isinstance(suspended, bool): + raise TypeError("Expected argument 'suspended' to be a bool") + pulumi.set(__self__, "suspended", suspended) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> _builtins.str: + """ + The time when the organization was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + The name of the organization + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="orgId") + def org_id(self) -> _builtins.str: + """ + The ID of the Cloud Foundry Organization + """ + return pulumi.get(self, "org_id") + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> _builtins.str: + """ + The ID of the platform associated with the organization + """ + return pulumi.get(self, "platform_id") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> _builtins.str: + """ + The ID of the project associated with the organization + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter(name="quotaId") + def quota_id(self) -> _builtins.str: + """ + The ID of the quota associated with the organization + """ + return pulumi.get(self, "quota_id") + + @_builtins.property + @pulumi.getter + def region(self) -> _builtins.str: + """ + The resource region. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def status(self) -> _builtins.str: + """ + The status of the organization (e.g., deleting, delete_failed) + """ + return pulumi.get(self, "status") + + @_builtins.property + @pulumi.getter + def suspended(self) -> _builtins.bool: + """ + A boolean indicating whether the organization is suspended + """ + return pulumi.get(self, "suspended") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> _builtins.str: + """ + The time when the organization was last updated + """ + return pulumi.get(self, "updated_at") + + +class AwaitableGetScfOrganizationResult(GetScfOrganizationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScfOrganizationResult( + created_at=self.created_at, + id=self.id, + name=self.name, + org_id=self.org_id, + platform_id=self.platform_id, + project_id=self.project_id, + quota_id=self.quota_id, + region=self.region, + status=self.status, + suspended=self.suspended, + updated_at=self.updated_at) + + +def get_scf_organization(org_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScfOrganizationResult: + """ + STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. + + ## Example Usage + + + :param _builtins.str org_id: The ID of the Cloud Foundry Organization + :param _builtins.str project_id: The ID of the project associated with the organization + :param _builtins.str region: The resource region. If not defined, the provider region is used + """ + __args__ = dict() + __args__['orgId'] = org_id + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getScfOrganization:getScfOrganization', __args__, opts=opts, typ=GetScfOrganizationResult).value + + return AwaitableGetScfOrganizationResult( + created_at=pulumi.get(__ret__, 'created_at'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + platform_id=pulumi.get(__ret__, 'platform_id'), + project_id=pulumi.get(__ret__, 'project_id'), + quota_id=pulumi.get(__ret__, 'quota_id'), + region=pulumi.get(__ret__, 'region'), + status=pulumi.get(__ret__, 'status'), + suspended=pulumi.get(__ret__, 'suspended'), + updated_at=pulumi.get(__ret__, 'updated_at')) +def get_scf_organization_output(org_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScfOrganizationResult]: + """ + STACKIT Cloud Foundry organization datasource schema. Must have a `region` specified in the provider configuration. + + ## Example Usage + + + :param _builtins.str org_id: The ID of the Cloud Foundry Organization + :param _builtins.str project_id: The ID of the project associated with the organization + :param _builtins.str region: The resource region. If not defined, the provider region is used + """ + __args__ = dict() + __args__['orgId'] = org_id + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getScfOrganization:getScfOrganization', __args__, opts=opts, typ=GetScfOrganizationResult) + return __ret__.apply(lambda __response__: GetScfOrganizationResult( + created_at=pulumi.get(__response__, 'created_at'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + org_id=pulumi.get(__response__, 'org_id'), + platform_id=pulumi.get(__response__, 'platform_id'), + project_id=pulumi.get(__response__, 'project_id'), + quota_id=pulumi.get(__response__, 'quota_id'), + region=pulumi.get(__response__, 'region'), + status=pulumi.get(__response__, 'status'), + suspended=pulumi.get(__response__, 'suspended'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_stackit/get_scf_organization_manager.py b/sdk/python/pulumi_stackit/get_scf_organization_manager.py new file mode 100644 index 00000000..5bb0e24a --- /dev/null +++ b/sdk/python/pulumi_stackit/get_scf_organization_manager.py @@ -0,0 +1,205 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetScfOrganizationManagerResult', + 'AwaitableGetScfOrganizationManagerResult', + 'get_scf_organization_manager', + 'get_scf_organization_manager_output', +] + +@pulumi.output_type +class GetScfOrganizationManagerResult: + """ + A collection of values returned by getScfOrganizationManager. + """ + def __init__(__self__, created_at=None, id=None, org_id=None, platform_id=None, project_id=None, region=None, updated_at=None, user_id=None, username=None): + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if org_id and not isinstance(org_id, str): + raise TypeError("Expected argument 'org_id' to be a str") + pulumi.set(__self__, "org_id", org_id) + if platform_id and not isinstance(platform_id, str): + raise TypeError("Expected argument 'platform_id' to be a str") + pulumi.set(__self__, "platform_id", platform_id) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + if user_id and not isinstance(user_id, str): + raise TypeError("Expected argument 'user_id' to be a str") + pulumi.set(__self__, "user_id", user_id) + if username and not isinstance(username, str): + raise TypeError("Expected argument 'username' to be a str") + pulumi.set(__self__, "username", username) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> _builtins.str: + """ + The time when the organization manager was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="orgId") + def org_id(self) -> _builtins.str: + """ + The ID of the Cloud Foundry Organization + """ + return pulumi.get(self, "org_id") + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> _builtins.str: + """ + The ID of the platform associated with the organization of the organization manager + """ + return pulumi.get(self, "platform_id") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> _builtins.str: + """ + The ID of the project associated with the organization of the organization manager + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter + def region(self) -> _builtins.str: + """ + The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> _builtins.str: + """ + The time when the organization manager was last updated + """ + return pulumi.get(self, "updated_at") + + @_builtins.property + @pulumi.getter(name="userId") + def user_id(self) -> _builtins.str: + """ + The ID of the organization manager user + """ + return pulumi.get(self, "user_id") + + @_builtins.property + @pulumi.getter + def username(self) -> _builtins.str: + """ + An auto-generated organization manager user name + """ + return pulumi.get(self, "username") + + +class AwaitableGetScfOrganizationManagerResult(GetScfOrganizationManagerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScfOrganizationManagerResult( + created_at=self.created_at, + id=self.id, + org_id=self.org_id, + platform_id=self.platform_id, + project_id=self.project_id, + region=self.region, + updated_at=self.updated_at, + user_id=self.user_id, + username=self.username) + + +def get_scf_organization_manager(org_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScfOrganizationManagerResult: + """ + STACKIT Cloud Foundry organization manager datasource schema. + + ## Example Usage + + + :param _builtins.str org_id: The ID of the Cloud Foundry Organization + :param _builtins.str project_id: The ID of the project associated with the organization of the organization manager + :param _builtins.str region: The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + __args__ = dict() + __args__['orgId'] = org_id + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getScfOrganizationManager:getScfOrganizationManager', __args__, opts=opts, typ=GetScfOrganizationManagerResult).value + + return AwaitableGetScfOrganizationManagerResult( + created_at=pulumi.get(__ret__, 'created_at'), + id=pulumi.get(__ret__, 'id'), + org_id=pulumi.get(__ret__, 'org_id'), + platform_id=pulumi.get(__ret__, 'platform_id'), + project_id=pulumi.get(__ret__, 'project_id'), + region=pulumi.get(__ret__, 'region'), + updated_at=pulumi.get(__ret__, 'updated_at'), + user_id=pulumi.get(__ret__, 'user_id'), + username=pulumi.get(__ret__, 'username')) +def get_scf_organization_manager_output(org_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScfOrganizationManagerResult]: + """ + STACKIT Cloud Foundry organization manager datasource schema. + + ## Example Usage + + + :param _builtins.str org_id: The ID of the Cloud Foundry Organization + :param _builtins.str project_id: The ID of the project associated with the organization of the organization manager + :param _builtins.str region: The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + __args__ = dict() + __args__['orgId'] = org_id + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getScfOrganizationManager:getScfOrganizationManager', __args__, opts=opts, typ=GetScfOrganizationManagerResult) + return __ret__.apply(lambda __response__: GetScfOrganizationManagerResult( + created_at=pulumi.get(__response__, 'created_at'), + id=pulumi.get(__response__, 'id'), + org_id=pulumi.get(__response__, 'org_id'), + platform_id=pulumi.get(__response__, 'platform_id'), + project_id=pulumi.get(__response__, 'project_id'), + region=pulumi.get(__response__, 'region'), + updated_at=pulumi.get(__response__, 'updated_at'), + user_id=pulumi.get(__response__, 'user_id'), + username=pulumi.get(__response__, 'username'))) diff --git a/sdk/python/pulumi_stackit/get_scf_platform.py b/sdk/python/pulumi_stackit/get_scf_platform.py new file mode 100644 index 00000000..db6da1e3 --- /dev/null +++ b/sdk/python/pulumi_stackit/get_scf_platform.py @@ -0,0 +1,191 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetScfPlatformResult', + 'AwaitableGetScfPlatformResult', + 'get_scf_platform', + 'get_scf_platform_output', +] + +@pulumi.output_type +class GetScfPlatformResult: + """ + A collection of values returned by getScfPlatform. + """ + def __init__(__self__, api_url=None, console_url=None, display_name=None, id=None, platform_id=None, project_id=None, region=None, system_id=None): + if api_url and not isinstance(api_url, str): + raise TypeError("Expected argument 'api_url' to be a str") + pulumi.set(__self__, "api_url", api_url) + if console_url and not isinstance(console_url, str): + raise TypeError("Expected argument 'console_url' to be a str") + pulumi.set(__self__, "console_url", console_url) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if platform_id and not isinstance(platform_id, str): + raise TypeError("Expected argument 'platform_id' to be a str") + pulumi.set(__self__, "platform_id", platform_id) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if system_id and not isinstance(system_id, str): + raise TypeError("Expected argument 'system_id' to be a str") + pulumi.set(__self__, "system_id", system_id) + + @_builtins.property + @pulumi.getter(name="apiUrl") + def api_url(self) -> _builtins.str: + """ + The CF API Url of the platform + """ + return pulumi.get(self, "api_url") + + @_builtins.property + @pulumi.getter(name="consoleUrl") + def console_url(self) -> _builtins.str: + """ + The Stratos URL of the platform + """ + return pulumi.get(self, "console_url") + + @_builtins.property + @pulumi.getter(name="displayName") + def display_name(self) -> _builtins.str: + """ + The name of the platform + """ + return pulumi.get(self, "display_name") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> _builtins.str: + """ + The unique id of the platform + """ + return pulumi.get(self, "platform_id") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> _builtins.str: + """ + The ID of the project associated with the platform + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter + def region(self) -> _builtins.str: + """ + The region where the platform is located. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter(name="systemId") + def system_id(self) -> _builtins.str: + """ + The ID of the platform System + """ + return pulumi.get(self, "system_id") + + +class AwaitableGetScfPlatformResult(GetScfPlatformResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetScfPlatformResult( + api_url=self.api_url, + console_url=self.console_url, + display_name=self.display_name, + id=self.id, + platform_id=self.platform_id, + project_id=self.project_id, + region=self.region, + system_id=self.system_id) + + +def get_scf_platform(platform_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScfPlatformResult: + """ + STACKIT Cloud Foundry Platform datasource schema. + + ## Example Usage + + + :param _builtins.str platform_id: The unique id of the platform + :param _builtins.str project_id: The ID of the project associated with the platform + :param _builtins.str region: The region where the platform is located. If not defined, the provider region is used + """ + __args__ = dict() + __args__['platformId'] = platform_id + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getScfPlatform:getScfPlatform', __args__, opts=opts, typ=GetScfPlatformResult).value + + return AwaitableGetScfPlatformResult( + api_url=pulumi.get(__ret__, 'api_url'), + console_url=pulumi.get(__ret__, 'console_url'), + display_name=pulumi.get(__ret__, 'display_name'), + id=pulumi.get(__ret__, 'id'), + platform_id=pulumi.get(__ret__, 'platform_id'), + project_id=pulumi.get(__ret__, 'project_id'), + region=pulumi.get(__ret__, 'region'), + system_id=pulumi.get(__ret__, 'system_id')) +def get_scf_platform_output(platform_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScfPlatformResult]: + """ + STACKIT Cloud Foundry Platform datasource schema. + + ## Example Usage + + + :param _builtins.str platform_id: The unique id of the platform + :param _builtins.str project_id: The ID of the project associated with the platform + :param _builtins.str region: The region where the platform is located. If not defined, the provider region is used + """ + __args__ = dict() + __args__['platformId'] = platform_id + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getScfPlatform:getScfPlatform', __args__, opts=opts, typ=GetScfPlatformResult) + return __ret__.apply(lambda __response__: GetScfPlatformResult( + api_url=pulumi.get(__response__, 'api_url'), + console_url=pulumi.get(__response__, 'console_url'), + display_name=pulumi.get(__response__, 'display_name'), + id=pulumi.get(__response__, 'id'), + platform_id=pulumi.get(__response__, 'platform_id'), + project_id=pulumi.get(__response__, 'project_id'), + region=pulumi.get(__response__, 'region'), + system_id=pulumi.get(__response__, 'system_id'))) diff --git a/sdk/python/pulumi_stackit/get_secretsmanager_instance.py b/sdk/python/pulumi_stackit/get_secretsmanager_instance.py index 609d5302..665e7be2 100644 --- a/sdk/python/pulumi_stackit/get_secretsmanager_instance.py +++ b/sdk/python/pulumi_stackit/get_secretsmanager_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -44,38 +43,38 @@ def __init__(__self__, acls=None, id=None, instance_id=None, name=None, project_ raise TypeError("Expected argument 'project_id' to be a str") pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Sequence[builtins.str]: + def acls(self) -> Sequence[_builtins.str]: """ The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the Secrets Manager instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ @@ -95,8 +94,8 @@ def __await__(self): project_id=self.project_id) -def get_secretsmanager_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_secretsmanager_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretsmanagerInstanceResult: """ Secrets Manager instance data source schema. Must have a `region` specified in the provider configuration. @@ -104,8 +103,8 @@ def get_secretsmanager_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the Secrets Manager instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the Secrets Manager instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -119,8 +118,8 @@ def get_secretsmanager_instance(instance_id: Optional[builtins.str] = None, instance_id=pulumi.get(__ret__, 'instance_id'), name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id')) -def get_secretsmanager_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_secretsmanager_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecretsmanagerInstanceResult]: """ Secrets Manager instance data source schema. Must have a `region` specified in the provider configuration. @@ -128,8 +127,8 @@ def get_secretsmanager_instance_output(instance_id: Optional[pulumi.Input[builti ## Example Usage - :param builtins.str instance_id: ID of the Secrets Manager instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str instance_id: ID of the Secrets Manager instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_secretsmanager_user.py b/sdk/python/pulumi_stackit/get_secretsmanager_user.py index ac46553c..fb510b12 100644 --- a/sdk/python/pulumi_stackit/get_secretsmanager_user.py +++ b/sdk/python/pulumi_stackit/get_secretsmanager_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -50,54 +49,54 @@ def __init__(__self__, description=None, id=None, instance_id=None, project_id=N raise TypeError("Expected argument 'write_enabled' to be a bool") pulumi.set(__self__, "write_enabled", write_enabled) - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: """ A user chosen description to differentiate between multiple users. Can't be changed after creation. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the Secrets Manager instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> builtins.str: + def user_id(self) -> _builtins.str: """ The user's ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: """ An auto-generated user name. """ return pulumi.get(self, "username") - @property + @_builtins.property @pulumi.getter(name="writeEnabled") - def write_enabled(self) -> builtins.bool: + def write_enabled(self) -> _builtins.bool: """ If true, the user has writeaccess to the secrets engine. """ @@ -119,9 +118,9 @@ def __await__(self): write_enabled=self.write_enabled) -def get_secretsmanager_user(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - user_id: Optional[builtins.str] = None, +def get_secretsmanager_user(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + user_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretsmanagerUserResult: """ Secrets Manager user data source schema. Must have a `region` specified in the provider configuration. @@ -129,9 +128,9 @@ def get_secretsmanager_user(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the Secrets Manager instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. - :param builtins.str user_id: The user's ID. + :param _builtins.str instance_id: ID of the Secrets Manager instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str user_id: The user's ID. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -148,9 +147,9 @@ def get_secretsmanager_user(instance_id: Optional[builtins.str] = None, user_id=pulumi.get(__ret__, 'user_id'), username=pulumi.get(__ret__, 'username'), write_enabled=pulumi.get(__ret__, 'write_enabled')) -def get_secretsmanager_user_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, +def get_secretsmanager_user_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecretsmanagerUserResult]: """ Secrets Manager user data source schema. Must have a `region` specified in the provider configuration. @@ -158,9 +157,9 @@ def get_secretsmanager_user_output(instance_id: Optional[pulumi.Input[builtins.s ## Example Usage - :param builtins.str instance_id: ID of the Secrets Manager instance. - :param builtins.str project_id: STACKIT Project ID to which the instance is associated. - :param builtins.str user_id: The user's ID. + :param _builtins.str instance_id: ID of the Secrets Manager instance. + :param _builtins.str project_id: STACKIT Project ID to which the instance is associated. + :param _builtins.str user_id: The user's ID. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_security_group.py b/sdk/python/pulumi_stackit/get_security_group.py index 4d11e3d9..99b1d52a 100644 --- a/sdk/python/pulumi_stackit/get_security_group.py +++ b/sdk/python/pulumi_stackit/get_security_group.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -50,54 +49,54 @@ def __init__(__self__, description=None, id=None, labels=None, name=None, projec raise TypeError("Expected argument 'stateful' to be a bool") pulumi.set(__self__, "stateful", stateful) - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: """ The description of the security group. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the security group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the security group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> builtins.str: + def security_group_id(self) -> _builtins.str: """ The security group ID. """ return pulumi.get(self, "security_group_id") - @property + @_builtins.property @pulumi.getter - def stateful(self) -> builtins.bool: + def stateful(self) -> _builtins.bool: """ Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ @@ -119,8 +118,8 @@ def __await__(self): stateful=self.stateful) -def get_security_group(project_id: Optional[builtins.str] = None, - security_group_id: Optional[builtins.str] = None, +def get_security_group(project_id: Optional[_builtins.str] = None, + security_group_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityGroupResult: """ Security group datasource schema. Must have a `region` specified in the provider configuration. @@ -128,8 +127,8 @@ def get_security_group(project_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the security group is associated. - :param builtins.str security_group_id: The security group ID. + :param _builtins.str project_id: STACKIT project ID to which the security group is associated. + :param _builtins.str security_group_id: The security group ID. """ __args__ = dict() __args__['projectId'] = project_id @@ -145,8 +144,8 @@ def get_security_group(project_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), security_group_id=pulumi.get(__ret__, 'security_group_id'), stateful=pulumi.get(__ret__, 'stateful')) -def get_security_group_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, +def get_security_group_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityGroupResult]: """ Security group datasource schema. Must have a `region` specified in the provider configuration. @@ -154,8 +153,8 @@ def get_security_group_output(project_id: Optional[pulumi.Input[builtins.str]] = ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the security group is associated. - :param builtins.str security_group_id: The security group ID. + :param _builtins.str project_id: STACKIT project ID to which the security group is associated. + :param _builtins.str security_group_id: The security group ID. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_security_group_rule.py b/sdk/python/pulumi_stackit/get_security_group_rule.py index c33372b9..861136d6 100644 --- a/sdk/python/pulumi_stackit/get_security_group_rule.py +++ b/sdk/python/pulumi_stackit/get_security_group_rule.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -66,31 +65,31 @@ def __init__(__self__, description=None, direction=None, ether_type=None, icmp_p raise TypeError("Expected argument 'security_group_rule_id' to be a str") pulumi.set(__self__, "security_group_rule_id", security_group_rule_id) - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: """ The description of the security group rule. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def direction(self) -> builtins.str: + def direction(self) -> _builtins.str: """ The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. """ return pulumi.get(self, "direction") - @property + @_builtins.property @pulumi.getter(name="etherType") - def ether_type(self) -> builtins.str: + def ether_type(self) -> _builtins.str: """ The ethertype which the rule should match. """ return pulumi.get(self, "ether_type") - @property + @_builtins.property @pulumi.getter(name="icmpParameters") def icmp_parameters(self) -> 'outputs.GetSecurityGroupRuleIcmpParametersResult': """ @@ -98,20 +97,20 @@ def icmp_parameters(self) -> 'outputs.GetSecurityGroupRuleIcmpParametersResult': """ return pulumi.get(self, "icmp_parameters") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="ipRange") - def ip_range(self) -> builtins.str: + def ip_range(self) -> _builtins.str: """ The remote IP range which the rule should match. """ return pulumi.get(self, "ip_range") - @property + @_builtins.property @pulumi.getter(name="portRange") def port_range(self) -> 'outputs.GetSecurityGroupRulePortRangeResult': """ @@ -119,15 +118,15 @@ def port_range(self) -> 'outputs.GetSecurityGroupRulePortRangeResult': """ return pulumi.get(self, "port_range") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the security group rule is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def protocol(self) -> 'outputs.GetSecurityGroupRuleProtocolResult': """ @@ -135,25 +134,25 @@ def protocol(self) -> 'outputs.GetSecurityGroupRuleProtocolResult': """ return pulumi.get(self, "protocol") - @property + @_builtins.property @pulumi.getter(name="remoteSecurityGroupId") - def remote_security_group_id(self) -> builtins.str: + def remote_security_group_id(self) -> _builtins.str: """ The remote security group which the rule should match. """ return pulumi.get(self, "remote_security_group_id") - @property + @_builtins.property @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> builtins.str: + def security_group_id(self) -> _builtins.str: """ The security group ID. """ return pulumi.get(self, "security_group_id") - @property + @_builtins.property @pulumi.getter(name="securityGroupRuleId") - def security_group_rule_id(self) -> builtins.str: + def security_group_rule_id(self) -> _builtins.str: """ The security group rule ID. """ @@ -180,9 +179,9 @@ def __await__(self): security_group_rule_id=self.security_group_rule_id) -def get_security_group_rule(project_id: Optional[builtins.str] = None, - security_group_id: Optional[builtins.str] = None, - security_group_rule_id: Optional[builtins.str] = None, +def get_security_group_rule(project_id: Optional[_builtins.str] = None, + security_group_id: Optional[_builtins.str] = None, + security_group_rule_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityGroupRuleResult: """ Security group datasource schema. Must have a `region` specified in the provider configuration. @@ -190,9 +189,9 @@ def get_security_group_rule(project_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the security group rule is associated. - :param builtins.str security_group_id: The security group ID. - :param builtins.str security_group_rule_id: The security group rule ID. + :param _builtins.str project_id: STACKIT project ID to which the security group rule is associated. + :param _builtins.str security_group_id: The security group ID. + :param _builtins.str security_group_rule_id: The security group rule ID. """ __args__ = dict() __args__['projectId'] = project_id @@ -214,9 +213,9 @@ def get_security_group_rule(project_id: Optional[builtins.str] = None, remote_security_group_id=pulumi.get(__ret__, 'remote_security_group_id'), security_group_id=pulumi.get(__ret__, 'security_group_id'), security_group_rule_id=pulumi.get(__ret__, 'security_group_rule_id')) -def get_security_group_rule_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_rule_id: Optional[pulumi.Input[builtins.str]] = None, +def get_security_group_rule_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_rule_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityGroupRuleResult]: """ Security group datasource schema. Must have a `region` specified in the provider configuration. @@ -224,9 +223,9 @@ def get_security_group_rule_output(project_id: Optional[pulumi.Input[builtins.st ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the security group rule is associated. - :param builtins.str security_group_id: The security group ID. - :param builtins.str security_group_rule_id: The security group rule ID. + :param _builtins.str project_id: STACKIT project ID to which the security group rule is associated. + :param _builtins.str security_group_id: The security group ID. + :param _builtins.str security_group_rule_id: The security group rule ID. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_server.py b/sdk/python/pulumi_stackit/get_server.py index 3b65c1cc..d1b896f9 100644 --- a/sdk/python/pulumi_stackit/get_server.py +++ b/sdk/python/pulumi_stackit/get_server.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -78,23 +77,23 @@ def __init__(__self__, affinity_group=None, availability_zone=None, boot_volume= raise TypeError("Expected argument 'user_data' to be a str") pulumi.set(__self__, "user_data", user_data) - @property + @_builtins.property @pulumi.getter(name="affinityGroup") - def affinity_group(self) -> builtins.str: + def affinity_group(self) -> _builtins.str: """ The affinity group the server is assigned to. """ return pulumi.get(self, "affinity_group") - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> builtins.str: + def availability_zone(self) -> _builtins.str: """ The availability zone of the server. """ return pulumi.get(self, "availability_zone") - @property + @_builtins.property @pulumi.getter(name="bootVolume") def boot_volume(self) -> 'outputs.GetServerBootVolumeResult': """ @@ -102,102 +101,102 @@ def boot_volume(self) -> 'outputs.GetServerBootVolumeResult': """ return pulumi.get(self, "boot_volume") - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> builtins.str: + def created_at(self) -> _builtins.str: """ Date-time when the server was created """ return pulumi.get(self, "created_at") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="imageId") - def image_id(self) -> builtins.str: + def image_id(self) -> _builtins.str: """ The image ID to be used for an ephemeral disk on the server. """ return pulumi.get(self, "image_id") - @property + @_builtins.property @pulumi.getter(name="keypairName") - def keypair_name(self) -> builtins.str: + def keypair_name(self) -> _builtins.str: """ The name of the keypair used during server creation. """ return pulumi.get(self, "keypair_name") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="launchedAt") - def launched_at(self) -> builtins.str: + def launched_at(self) -> _builtins.str: """ Date-time when the server was launched """ return pulumi.get(self, "launched_at") - @property + @_builtins.property @pulumi.getter(name="machineType") - def machine_type(self) -> builtins.str: + def machine_type(self) -> _builtins.str: """ Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) """ return pulumi.get(self, "machine_type") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the server. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="networkInterfaces") - def network_interfaces(self) -> Sequence[builtins.str]: + def network_interfaces(self) -> Sequence[_builtins.str]: """ The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. """ return pulumi.get(self, "network_interfaces") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> builtins.str: + def server_id(self) -> _builtins.str: """ The server ID. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter(name="updatedAt") - def updated_at(self) -> builtins.str: + def updated_at(self) -> _builtins.str: """ Date-time when the server was updated """ return pulumi.get(self, "updated_at") - @property + @_builtins.property @pulumi.getter(name="userData") - def user_data(self) -> builtins.str: + def user_data(self) -> _builtins.str: """ User data that is passed via cloud-init to the server. """ @@ -228,8 +227,8 @@ def __await__(self): user_data=self.user_data) -def get_server(project_id: Optional[builtins.str] = None, - server_id: Optional[builtins.str] = None, +def get_server(project_id: Optional[_builtins.str] = None, + server_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerResult: """ Server datasource schema. Must have a `region` specified in the provider configuration. @@ -237,8 +236,8 @@ def get_server(project_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the server is associated. - :param builtins.str server_id: The server ID. + :param _builtins.str project_id: STACKIT project ID to which the server is associated. + :param _builtins.str server_id: The server ID. """ __args__ = dict() __args__['projectId'] = project_id @@ -263,8 +262,8 @@ def get_server(project_id: Optional[builtins.str] = None, server_id=pulumi.get(__ret__, 'server_id'), updated_at=pulumi.get(__ret__, 'updated_at'), user_data=pulumi.get(__ret__, 'user_data')) -def get_server_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, +def get_server_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerResult]: """ Server datasource schema. Must have a `region` specified in the provider configuration. @@ -272,8 +271,8 @@ def get_server_output(project_id: Optional[pulumi.Input[builtins.str]] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the server is associated. - :param builtins.str server_id: The server ID. + :param _builtins.str project_id: STACKIT project ID to which the server is associated. + :param _builtins.str server_id: The server ID. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_server_backup_schedule.py b/sdk/python/pulumi_stackit/get_server_backup_schedule.py index fadcafc7..0ec08b10 100644 --- a/sdk/python/pulumi_stackit/get_server_backup_schedule.py +++ b/sdk/python/pulumi_stackit/get_server_backup_schedule.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -57,7 +56,7 @@ def __init__(__self__, backup_properties=None, backup_schedule_id=None, enabled= raise TypeError("Expected argument 'server_id' to be a str") pulumi.set(__self__, "server_id", server_id) - @property + @_builtins.property @pulumi.getter(name="backupProperties") def backup_properties(self) -> 'outputs.GetServerBackupScheduleBackupPropertiesResult': """ @@ -65,62 +64,62 @@ def backup_properties(self) -> 'outputs.GetServerBackupScheduleBackupPropertiesR """ return pulumi.get(self, "backup_properties") - @property + @_builtins.property @pulumi.getter(name="backupScheduleId") - def backup_schedule_id(self) -> builtins.int: + def backup_schedule_id(self) -> _builtins.int: """ Backup schedule ID. """ return pulumi.get(self, "backup_schedule_id") - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Is the backup schedule enabled or disabled. """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The schedule name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def rrule(self) -> builtins.str: + def rrule(self) -> _builtins.str: """ Backup schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> builtins.str: + def server_id(self) -> _builtins.str: """ Server ID for the backup schedule. """ @@ -144,23 +143,23 @@ def __await__(self): server_id=self.server_id) -def get_server_backup_schedule(backup_schedule_id: Optional[builtins.int] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, - server_id: Optional[builtins.str] = None, +def get_server_backup_schedule(backup_schedule_id: Optional[_builtins.int] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + server_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerBackupScheduleResult: """ Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.int backup_schedule_id: Backup schedule ID. - :param builtins.str project_id: STACKIT Project ID to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID for the backup schedule. + :param _builtins.int backup_schedule_id: Backup schedule ID. + :param _builtins.str project_id: STACKIT Project ID to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID for the backup schedule. """ __args__ = dict() __args__['backupScheduleId'] = backup_schedule_id @@ -180,23 +179,23 @@ def get_server_backup_schedule(backup_schedule_id: Optional[builtins.int] = None region=pulumi.get(__ret__, 'region'), rrule=pulumi.get(__ret__, 'rrule'), server_id=pulumi.get(__ret__, 'server_id')) -def get_server_backup_schedule_output(backup_schedule_id: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, +def get_server_backup_schedule_output(backup_schedule_id: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerBackupScheduleResult]: """ Server backup schedule datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.int backup_schedule_id: Backup schedule ID. - :param builtins.str project_id: STACKIT Project ID to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID for the backup schedule. + :param _builtins.int backup_schedule_id: Backup schedule ID. + :param _builtins.str project_id: STACKIT Project ID to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID for the backup schedule. """ __args__ = dict() __args__['backupScheduleId'] = backup_schedule_id diff --git a/sdk/python/pulumi_stackit/get_server_backup_schedules.py b/sdk/python/pulumi_stackit/get_server_backup_schedules.py index cd443235..e6da8824 100644 --- a/sdk/python/pulumi_stackit/get_server_backup_schedules.py +++ b/sdk/python/pulumi_stackit/get_server_backup_schedules.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -45,35 +44,35 @@ def __init__(__self__, id=None, items=None, project_id=None, region=None, server raise TypeError("Expected argument 'server_id' to be a str") pulumi.set(__self__, "server_id", server_id) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter def items(self) -> Sequence['outputs.GetServerBackupSchedulesItemResult']: return pulumi.get(self, "items") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID (UUID) to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> builtins.str: + def server_id(self) -> _builtins.str: """ Server ID (UUID) to which the backup schedule is associated. """ @@ -93,21 +92,21 @@ def __await__(self): server_id=self.server_id) -def get_server_backup_schedules(project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, - server_id: Optional[builtins.str] = None, +def get_server_backup_schedules(project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + server_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerBackupSchedulesResult: """ Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID (UUID) to which the backup schedule is associated. + :param _builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID (UUID) to which the backup schedule is associated. """ __args__ = dict() __args__['projectId'] = project_id @@ -122,21 +121,21 @@ def get_server_backup_schedules(project_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), region=pulumi.get(__ret__, 'region'), server_id=pulumi.get(__ret__, 'server_id')) -def get_server_backup_schedules_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, +def get_server_backup_schedules_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerBackupSchedulesResult]: """ Server backup schedules datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID (UUID) to which the backup schedule is associated. + :param _builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID (UUID) to which the backup schedule is associated. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_server_update_schedule.py b/sdk/python/pulumi_stackit/get_server_update_schedule.py index 689a0020..e972b8f4 100644 --- a/sdk/python/pulumi_stackit/get_server_update_schedule.py +++ b/sdk/python/pulumi_stackit/get_server_update_schedule.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -56,70 +55,70 @@ def __init__(__self__, enabled=None, id=None, maintenance_window=None, name=None raise TypeError("Expected argument 'update_schedule_id' to be a int") pulumi.set(__self__, "update_schedule_id", update_schedule_id) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Is the update schedule enabled or disabled. """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> builtins.int: + def maintenance_window(self) -> _builtins.int: """ Maintenance window [1..24]. """ return pulumi.get(self, "maintenance_window") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The schedule name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def rrule(self) -> builtins.str: + def rrule(self) -> _builtins.str: """ Update schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> builtins.str: + def server_id(self) -> _builtins.str: """ Server ID for the update schedule. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter(name="updateScheduleId") - def update_schedule_id(self) -> builtins.int: + def update_schedule_id(self) -> _builtins.int: """ Update schedule ID. """ @@ -143,23 +142,23 @@ def __await__(self): update_schedule_id=self.update_schedule_id) -def get_server_update_schedule(project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, - server_id: Optional[builtins.str] = None, - update_schedule_id: Optional[builtins.int] = None, +def get_server_update_schedule(project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + server_id: Optional[_builtins.str] = None, + update_schedule_id: Optional[_builtins.int] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerUpdateScheduleResult: """ Server update schedule datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str project_id: STACKIT Project ID to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID for the update schedule. - :param builtins.int update_schedule_id: Update schedule ID. + :param _builtins.str project_id: STACKIT Project ID to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID for the update schedule. + :param _builtins.int update_schedule_id: Update schedule ID. """ __args__ = dict() __args__['projectId'] = project_id @@ -179,23 +178,23 @@ def get_server_update_schedule(project_id: Optional[builtins.str] = None, rrule=pulumi.get(__ret__, 'rrule'), server_id=pulumi.get(__ret__, 'server_id'), update_schedule_id=pulumi.get(__ret__, 'update_schedule_id')) -def get_server_update_schedule_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - update_schedule_id: Optional[pulumi.Input[builtins.int]] = None, +def get_server_update_schedule_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + update_schedule_id: Optional[pulumi.Input[_builtins.int]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerUpdateScheduleResult]: """ Server update schedule datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str project_id: STACKIT Project ID to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID for the update schedule. - :param builtins.int update_schedule_id: Update schedule ID. + :param _builtins.str project_id: STACKIT Project ID to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID for the update schedule. + :param _builtins.int update_schedule_id: Update schedule ID. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_server_update_schedules.py b/sdk/python/pulumi_stackit/get_server_update_schedules.py index b4682904..952c6791 100644 --- a/sdk/python/pulumi_stackit/get_server_update_schedules.py +++ b/sdk/python/pulumi_stackit/get_server_update_schedules.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -45,35 +44,35 @@ def __init__(__self__, id=None, items=None, project_id=None, region=None, server raise TypeError("Expected argument 'server_id' to be a str") pulumi.set(__self__, "server_id", server_id) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter def items(self) -> Sequence['outputs.GetServerUpdateSchedulesItemResult']: return pulumi.get(self, "items") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT Project ID (UUID) to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> builtins.str: + def server_id(self) -> _builtins.str: """ Server ID (UUID) to which the update schedule is associated. """ @@ -93,21 +92,21 @@ def __await__(self): server_id=self.server_id) -def get_server_update_schedules(project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, - server_id: Optional[builtins.str] = None, +def get_server_update_schedules(project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + server_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerUpdateSchedulesResult: """ Server update schedules datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID (UUID) to which the update schedule is associated. + :param _builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID (UUID) to which the update schedule is associated. """ __args__ = dict() __args__['projectId'] = project_id @@ -122,21 +121,21 @@ def get_server_update_schedules(project_id: Optional[builtins.str] = None, project_id=pulumi.get(__ret__, 'project_id'), region=pulumi.get(__ret__, 'region'), server_id=pulumi.get(__ret__, 'server_id')) -def get_server_update_schedules_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, +def get_server_update_schedules_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerUpdateSchedulesResult]: """ Server update schedules datasource schema. Must have a `region` specified in the provider configuration. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. ## Example Usage - :param builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str server_id: Server ID (UUID) to which the update schedule is associated. + :param _builtins.str project_id: STACKIT Project ID (UUID) to which the server is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str server_id: Server ID (UUID) to which the update schedule is associated. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/get_service_account.py b/sdk/python/pulumi_stackit/get_service_account.py index e0b23aa3..319af155 100644 --- a/sdk/python/pulumi_stackit/get_service_account.py +++ b/sdk/python/pulumi_stackit/get_service_account.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -41,30 +40,30 @@ def __init__(__self__, email=None, id=None, name=None, project_id=None): raise TypeError("Expected argument 'project_id' to be a str") pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter - def email(self) -> builtins.str: + def email(self) -> _builtins.str: """ Email of the service account. """ return pulumi.get(self, "email") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Name of the service account. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the service account is associated. """ @@ -83,8 +82,8 @@ def __await__(self): project_id=self.project_id) -def get_service_account(email: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, +def get_service_account(email: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceAccountResult: """ Service account data source schema. @@ -92,8 +91,8 @@ def get_service_account(email: Optional[builtins.str] = None, ## Example Usage - :param builtins.str email: Email of the service account. - :param builtins.str project_id: STACKIT project ID to which the service account is associated. + :param _builtins.str email: Email of the service account. + :param _builtins.str project_id: STACKIT project ID to which the service account is associated. """ __args__ = dict() __args__['email'] = email @@ -106,8 +105,8 @@ def get_service_account(email: Optional[builtins.str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id')) -def get_service_account_output(email: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, +def get_service_account_output(email: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceAccountResult]: """ Service account data source schema. @@ -115,8 +114,8 @@ def get_service_account_output(email: Optional[pulumi.Input[builtins.str]] = Non ## Example Usage - :param builtins.str email: Email of the service account. - :param builtins.str project_id: STACKIT project ID to which the service account is associated. + :param _builtins.str email: Email of the service account. + :param _builtins.str project_id: STACKIT project ID to which the service account is associated. """ __args__ = dict() __args__['email'] = email diff --git a/sdk/python/pulumi_stackit/get_ske_cluster.py b/sdk/python/pulumi_stackit/get_ske_cluster.py index e9ef8e9c..3269b1f5 100644 --- a/sdk/python/pulumi_stackit/get_ske_cluster.py +++ b/sdk/python/pulumi_stackit/get_ske_cluster.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -28,10 +27,7 @@ class GetSkeClusterResult: """ A collection of values returned by getSkeCluster. """ - def __init__(__self__, allow_privileged_containers=None, egress_address_ranges=None, extensions=None, hibernations=None, id=None, kubernetes_version=None, kubernetes_version_min=None, kubernetes_version_used=None, maintenance=None, name=None, network=None, node_pools=None, project_id=None, region=None): - if allow_privileged_containers and not isinstance(allow_privileged_containers, bool): - raise TypeError("Expected argument 'allow_privileged_containers' to be a bool") - pulumi.set(__self__, "allow_privileged_containers", allow_privileged_containers) + def __init__(__self__, egress_address_ranges=None, extensions=None, hibernations=None, id=None, kubernetes_version_min=None, kubernetes_version_used=None, maintenance=None, name=None, network=None, node_pools=None, pod_address_ranges=None, project_id=None, region=None): if egress_address_ranges and not isinstance(egress_address_ranges, list): raise TypeError("Expected argument 'egress_address_ranges' to be a list") pulumi.set(__self__, "egress_address_ranges", egress_address_ranges) @@ -44,9 +40,6 @@ def __init__(__self__, allow_privileged_containers=None, egress_address_ranges=N if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) - if kubernetes_version and not isinstance(kubernetes_version, str): - raise TypeError("Expected argument 'kubernetes_version' to be a str") - pulumi.set(__self__, "kubernetes_version", kubernetes_version) if kubernetes_version_min and not isinstance(kubernetes_version_min, str): raise TypeError("Expected argument 'kubernetes_version_min' to be a str") pulumi.set(__self__, "kubernetes_version_min", kubernetes_version_min) @@ -65,6 +58,9 @@ def __init__(__self__, allow_privileged_containers=None, egress_address_ranges=N if node_pools and not isinstance(node_pools, list): raise TypeError("Expected argument 'node_pools' to be a list") pulumi.set(__self__, "node_pools", node_pools) + if pod_address_ranges and not isinstance(pod_address_ranges, list): + raise TypeError("Expected argument 'pod_address_ranges' to be a list") + pulumi.set(__self__, "pod_address_ranges", pod_address_ranges) if project_id and not isinstance(project_id, str): raise TypeError("Expected argument 'project_id' to be a str") pulumi.set(__self__, "project_id", project_id) @@ -72,26 +68,15 @@ def __init__(__self__, allow_privileged_containers=None, egress_address_ranges=N raise TypeError("Expected argument 'region' to be a str") pulumi.set(__self__, "region", region) - @property - @pulumi.getter(name="allowPrivilegedContainers") - @_utilities.deprecated("""Please remove this flag from your configuration when using Kubernetes version 1.25+.""") - def allow_privileged_containers(self) -> builtins.bool: - """ - DEPRECATED as of Kubernetes 1.25+ - Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - """ - return pulumi.get(self, "allow_privileged_containers") - - @property + @_builtins.property @pulumi.getter(name="egressAddressRanges") - def egress_address_ranges(self) -> Sequence[builtins.str]: + def egress_address_ranges(self) -> Sequence[_builtins.str]: """ The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. """ return pulumi.get(self, "egress_address_ranges") - @property + @_builtins.property @pulumi.getter def extensions(self) -> 'outputs.GetSkeClusterExtensionsResult': """ @@ -99,7 +84,7 @@ def extensions(self) -> 'outputs.GetSkeClusterExtensionsResult': """ return pulumi.get(self, "extensions") - @property + @_builtins.property @pulumi.getter def hibernations(self) -> Sequence['outputs.GetSkeClusterHibernationResult']: """ @@ -107,37 +92,28 @@ def hibernations(self) -> Sequence['outputs.GetSkeClusterHibernationResult']: """ return pulumi.get(self, "hibernations") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property - @pulumi.getter(name="kubernetesVersion") - @_utilities.deprecated("""This field is always nil, use `kubernetes_version_used` to get the cluster kubernetes version. This field would cause errors when the cluster got a kubernetes version minor upgrade, either triggered by automatic or forceful updates.""") - def kubernetes_version(self) -> builtins.str: - """ - Kubernetes version. This field is deprecated, use `kubernetes_version_used` instead - """ - return pulumi.get(self, "kubernetes_version") - - @property + @_builtins.property @pulumi.getter(name="kubernetesVersionMin") - def kubernetes_version_min(self) -> builtins.str: + def kubernetes_version_min(self) -> _builtins.str: """ The minimum Kubernetes version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the `kubernetes_version_used` field. """ return pulumi.get(self, "kubernetes_version_min") - @property + @_builtins.property @pulumi.getter(name="kubernetesVersionUsed") - def kubernetes_version_used(self) -> builtins.str: + def kubernetes_version_used(self) -> _builtins.str: """ Full Kubernetes version used. For example, if `1.22` was selected, this value may result to `1.22.15` """ return pulumi.get(self, "kubernetes_version_used") - @property + @_builtins.property @pulumi.getter def maintenance(self) -> 'outputs.GetSkeClusterMaintenanceResult': """ @@ -145,15 +121,15 @@ def maintenance(self) -> 'outputs.GetSkeClusterMaintenanceResult': """ return pulumi.get(self, "maintenance") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The cluster name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def network(self) -> 'outputs.GetSkeClusterNetworkResult': """ @@ -161,7 +137,7 @@ def network(self) -> 'outputs.GetSkeClusterNetworkResult': """ return pulumi.get(self, "network") - @property + @_builtins.property @pulumi.getter(name="nodePools") def node_pools(self) -> Sequence['outputs.GetSkeClusterNodePoolResult']: """ @@ -169,17 +145,25 @@ def node_pools(self) -> Sequence['outputs.GetSkeClusterNodePoolResult']: """ return pulumi.get(self, "node_pools") - @property + @_builtins.property + @pulumi.getter(name="podAddressRanges") + def pod_address_ranges(self) -> Sequence[_builtins.str]: + """ + The network ranges (in CIDR notation) used by pods of the cluster. + """ + return pulumi.get(self, "pod_address_ranges") + + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the cluster is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ @@ -192,25 +176,24 @@ def __await__(self): if False: yield self return GetSkeClusterResult( - allow_privileged_containers=self.allow_privileged_containers, egress_address_ranges=self.egress_address_ranges, extensions=self.extensions, hibernations=self.hibernations, id=self.id, - kubernetes_version=self.kubernetes_version, kubernetes_version_min=self.kubernetes_version_min, kubernetes_version_used=self.kubernetes_version_used, maintenance=self.maintenance, name=self.name, network=self.network, node_pools=self.node_pools, + pod_address_ranges=self.pod_address_ranges, project_id=self.project_id, region=self.region) -def get_ske_cluster(name: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_ske_cluster(name: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSkeClusterResult: """ SKE Cluster data source schema. Must have a `region` specified in the provider configuration. @@ -218,9 +201,9 @@ def get_ske_cluster(name: Optional[builtins.str] = None, ## Example Usage - :param builtins.str name: The cluster name. - :param builtins.str project_id: STACKIT project ID to which the cluster is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str name: The cluster name. + :param _builtins.str project_id: STACKIT project ID to which the cluster is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['name'] = name @@ -230,23 +213,22 @@ def get_ske_cluster(name: Optional[builtins.str] = None, __ret__ = pulumi.runtime.invoke('stackit:index/getSkeCluster:getSkeCluster', __args__, opts=opts, typ=GetSkeClusterResult).value return AwaitableGetSkeClusterResult( - allow_privileged_containers=pulumi.get(__ret__, 'allow_privileged_containers'), egress_address_ranges=pulumi.get(__ret__, 'egress_address_ranges'), extensions=pulumi.get(__ret__, 'extensions'), hibernations=pulumi.get(__ret__, 'hibernations'), id=pulumi.get(__ret__, 'id'), - kubernetes_version=pulumi.get(__ret__, 'kubernetes_version'), kubernetes_version_min=pulumi.get(__ret__, 'kubernetes_version_min'), kubernetes_version_used=pulumi.get(__ret__, 'kubernetes_version_used'), maintenance=pulumi.get(__ret__, 'maintenance'), name=pulumi.get(__ret__, 'name'), network=pulumi.get(__ret__, 'network'), node_pools=pulumi.get(__ret__, 'node_pools'), + pod_address_ranges=pulumi.get(__ret__, 'pod_address_ranges'), project_id=pulumi.get(__ret__, 'project_id'), region=pulumi.get(__ret__, 'region')) -def get_ske_cluster_output(name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_ske_cluster_output(name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSkeClusterResult]: """ SKE Cluster data source schema. Must have a `region` specified in the provider configuration. @@ -254,9 +236,9 @@ def get_ske_cluster_output(name: Optional[pulumi.Input[builtins.str]] = None, ## Example Usage - :param builtins.str name: The cluster name. - :param builtins.str project_id: STACKIT project ID to which the cluster is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str name: The cluster name. + :param _builtins.str project_id: STACKIT project ID to which the cluster is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['name'] = name @@ -265,17 +247,16 @@ def get_ske_cluster_output(name: Optional[pulumi.Input[builtins.str]] = None, opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('stackit:index/getSkeCluster:getSkeCluster', __args__, opts=opts, typ=GetSkeClusterResult) return __ret__.apply(lambda __response__: GetSkeClusterResult( - allow_privileged_containers=pulumi.get(__response__, 'allow_privileged_containers'), egress_address_ranges=pulumi.get(__response__, 'egress_address_ranges'), extensions=pulumi.get(__response__, 'extensions'), hibernations=pulumi.get(__response__, 'hibernations'), id=pulumi.get(__response__, 'id'), - kubernetes_version=pulumi.get(__response__, 'kubernetes_version'), kubernetes_version_min=pulumi.get(__response__, 'kubernetes_version_min'), kubernetes_version_used=pulumi.get(__response__, 'kubernetes_version_used'), maintenance=pulumi.get(__response__, 'maintenance'), name=pulumi.get(__response__, 'name'), network=pulumi.get(__response__, 'network'), node_pools=pulumi.get(__response__, 'node_pools'), + pod_address_ranges=pulumi.get(__response__, 'pod_address_ranges'), project_id=pulumi.get(__response__, 'project_id'), region=pulumi.get(__response__, 'region'))) diff --git a/sdk/python/pulumi_stackit/get_sqlserverflex_instance.py b/sdk/python/pulumi_stackit/get_sqlserverflex_instance.py index 5f43477b..32fcd5c9 100644 --- a/sdk/python/pulumi_stackit/get_sqlserverflex_instance.py +++ b/sdk/python/pulumi_stackit/get_sqlserverflex_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -66,49 +65,49 @@ def __init__(__self__, acls=None, backup_schedule=None, flavor=None, id=None, in raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Sequence[builtins.str]: + def acls(self) -> Sequence[_builtins.str]: """ The Access Control List (ACL) for the SQLServer Flex instance. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> builtins.str: + def backup_schedule(self) -> _builtins.str: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). """ return pulumi.get(self, "backup_schedule") - @property + @_builtins.property @pulumi.getter def flavor(self) -> 'outputs.GetSqlserverflexInstanceFlavorResult': return pulumi.get(self, "flavor") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the SQLServer Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def options(self) -> 'outputs.GetSqlserverflexInstanceOptionsResult': """ @@ -116,35 +115,35 @@ def options(self) -> 'outputs.GetSqlserverflexInstanceOptionsResult': """ return pulumi.get(self, "options") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def replicas(self) -> builtins.int: + def replicas(self) -> _builtins.int: return pulumi.get(self, "replicas") - @property + @_builtins.property @pulumi.getter def storage(self) -> 'outputs.GetSqlserverflexInstanceStorageResult': return pulumi.get(self, "storage") - @property + @_builtins.property @pulumi.getter - def version(self) -> builtins.str: + def version(self) -> _builtins.str: return pulumi.get(self, "version") @@ -168,9 +167,9 @@ def __await__(self): version=self.version) -def get_sqlserverflex_instance(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, +def get_sqlserverflex_instance(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlserverflexInstanceResult: """ SQLServer Flex instance data source schema. Must have a `region` specified in the provider configuration. @@ -178,9 +177,9 @@ def get_sqlserverflex_instance(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the SQLServer Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str instance_id: ID of the SQLServer Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -202,9 +201,9 @@ def get_sqlserverflex_instance(instance_id: Optional[builtins.str] = None, replicas=pulumi.get(__ret__, 'replicas'), storage=pulumi.get(__ret__, 'storage'), version=pulumi.get(__ret__, 'version')) -def get_sqlserverflex_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, +def get_sqlserverflex_instance_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSqlserverflexInstanceResult]: """ SQLServer Flex instance data source schema. Must have a `region` specified in the provider configuration. @@ -212,9 +211,9 @@ def get_sqlserverflex_instance_output(instance_id: Optional[pulumi.Input[builtin ## Example Usage - :param builtins.str instance_id: ID of the SQLServer Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str instance_id: ID of the SQLServer Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_sqlserverflex_user.py b/sdk/python/pulumi_stackit/get_sqlserverflex_user.py index 57a94f14..ddb32d0d 100644 --- a/sdk/python/pulumi_stackit/get_sqlserverflex_user.py +++ b/sdk/python/pulumi_stackit/get_sqlserverflex_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -56,64 +55,64 @@ def __init__(__self__, host=None, id=None, instance_id=None, port=None, project_ raise TypeError("Expected argument 'username' to be a str") pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def host(self) -> builtins.str: + def host(self) -> _builtins.str: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> builtins.str: + def instance_id(self) -> _builtins.str: """ ID of the SQLServer Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[builtins.str]: + def region(self) -> Optional[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def roles(self) -> Sequence[builtins.str]: + def roles(self) -> Sequence[_builtins.str]: """ Database access levels for the user. """ return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> builtins.str: + def user_id(self) -> _builtins.str: """ User ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: """ Username of the SQLServer Flex instance. """ @@ -137,10 +136,10 @@ def __await__(self): username=self.username) -def get_sqlserverflex_user(instance_id: Optional[builtins.str] = None, - project_id: Optional[builtins.str] = None, - region: Optional[builtins.str] = None, - user_id: Optional[builtins.str] = None, +def get_sqlserverflex_user(instance_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + user_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlserverflexUserResult: """ SQLServer Flex user data source schema. Must have a `region` specified in the provider configuration. @@ -148,10 +147,10 @@ def get_sqlserverflex_user(instance_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str instance_id: ID of the SQLServer Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str user_id: User ID. + :param _builtins.str instance_id: ID of the SQLServer Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str user_id: User ID. """ __args__ = dict() __args__['instanceId'] = instance_id @@ -171,10 +170,10 @@ def get_sqlserverflex_user(instance_id: Optional[builtins.str] = None, roles=pulumi.get(__ret__, 'roles'), user_id=pulumi.get(__ret__, 'user_id'), username=pulumi.get(__ret__, 'username')) -def get_sqlserverflex_user_output(instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[Optional[builtins.str]]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, +def get_sqlserverflex_user_output(instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[Optional[_builtins.str]]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSqlserverflexUserResult]: """ SQLServer Flex user data source schema. Must have a `region` specified in the provider configuration. @@ -182,10 +181,10 @@ def get_sqlserverflex_user_output(instance_id: Optional[pulumi.Input[builtins.st ## Example Usage - :param builtins.str instance_id: ID of the SQLServer Flex instance. - :param builtins.str project_id: STACKIT project ID to which the instance is associated. - :param builtins.str region: The resource region. If not defined, the provider region is used. - :param builtins.str user_id: User ID. + :param _builtins.str instance_id: ID of the SQLServer Flex instance. + :param _builtins.str project_id: STACKIT project ID to which the instance is associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + :param _builtins.str user_id: User ID. """ __args__ = dict() __args__['instanceId'] = instance_id diff --git a/sdk/python/pulumi_stackit/get_volume.py b/sdk/python/pulumi_stackit/get_volume.py index 2d0e074e..f5d5bc85 100644 --- a/sdk/python/pulumi_stackit/get_volume.py +++ b/sdk/python/pulumi_stackit/get_volume.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -63,76 +62,76 @@ def __init__(__self__, availability_zone=None, description=None, id=None, labels raise TypeError("Expected argument 'volume_id' to be a str") pulumi.set(__self__, "volume_id", volume_id) - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> builtins.str: + def availability_zone(self) -> _builtins.str: """ The availability zone of the volume. """ return pulumi.get(self, "availability_zone") - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: """ The description of the volume. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the volume. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="performanceClass") - def performance_class(self) -> builtins.str: + def performance_class(self) -> _builtins.str: """ The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) """ return pulumi.get(self, "performance_class") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> builtins.str: + def project_id(self) -> _builtins.str: """ STACKIT project ID to which the volume is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> builtins.str: + def server_id(self) -> _builtins.str: """ The server ID of the server to which the volume is attached to. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter - def size(self) -> builtins.int: + def size(self) -> _builtins.int: """ The size of the volume in GB. It can only be updated to a larger value than the current size """ return pulumi.get(self, "size") - @property + @_builtins.property @pulumi.getter def source(self) -> 'outputs.GetVolumeSourceResult': """ @@ -140,9 +139,9 @@ def source(self) -> 'outputs.GetVolumeSourceResult': """ return pulumi.get(self, "source") - @property + @_builtins.property @pulumi.getter(name="volumeId") - def volume_id(self) -> builtins.str: + def volume_id(self) -> _builtins.str: """ The volume ID. """ @@ -168,8 +167,8 @@ def __await__(self): volume_id=self.volume_id) -def get_volume(project_id: Optional[builtins.str] = None, - volume_id: Optional[builtins.str] = None, +def get_volume(project_id: Optional[_builtins.str] = None, + volume_id: Optional[_builtins.str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult: """ Volume resource schema. Must have a `region` specified in the provider configuration. @@ -177,8 +176,8 @@ def get_volume(project_id: Optional[builtins.str] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the volume is associated. - :param builtins.str volume_id: The volume ID. + :param _builtins.str project_id: STACKIT project ID to which the volume is associated. + :param _builtins.str volume_id: The volume ID. """ __args__ = dict() __args__['projectId'] = project_id @@ -198,8 +197,8 @@ def get_volume(project_id: Optional[builtins.str] = None, size=pulumi.get(__ret__, 'size'), source=pulumi.get(__ret__, 'source'), volume_id=pulumi.get(__ret__, 'volume_id')) -def get_volume_output(project_id: Optional[pulumi.Input[builtins.str]] = None, - volume_id: Optional[pulumi.Input[builtins.str]] = None, +def get_volume_output(project_id: Optional[pulumi.Input[_builtins.str]] = None, + volume_id: Optional[pulumi.Input[_builtins.str]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]: """ Volume resource schema. Must have a `region` specified in the provider configuration. @@ -207,8 +206,8 @@ def get_volume_output(project_id: Optional[pulumi.Input[builtins.str]] = None, ## Example Usage - :param builtins.str project_id: STACKIT project ID to which the volume is associated. - :param builtins.str volume_id: The volume ID. + :param _builtins.str project_id: STACKIT project ID to which the volume is associated. + :param _builtins.str volume_id: The volume ID. """ __args__ = dict() __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_stackit/git.py b/sdk/python/pulumi_stackit/git.py index b1e81afa..a13ad60d 100644 --- a/sdk/python/pulumi_stackit/git.py +++ b/sdk/python/pulumi_stackit/git.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,58 +19,110 @@ @pulumi.input_type class GitArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None): + project_id: pulumi.Input[_builtins.str], + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + flavor: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a Git resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the git instance is associated. - :param pulumi.Input[builtins.str] name: Unique name linked to the git instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the git instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: Restricted ACL for instance access. + :param pulumi.Input[_builtins.str] flavor: Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + :param pulumi.Input[_builtins.str] name: Unique name linked to the git instance. """ pulumi.set(__self__, "project_id", project_id) + if acls is not None: + pulumi.set(__self__, "acls", acls) + if flavor is not None: + pulumi.set(__self__, "flavor", flavor) if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the git instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: + """ + Restricted ACL for instance access. + """ + return pulumi.get(self, "acls") + + @acls.setter + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "acls", value) + + @_builtins.property + @pulumi.getter + def flavor(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + """ + return pulumi.get(self, "flavor") + + @flavor.setter + def flavor(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "flavor", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Unique name linked to the git instance. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _GitState: def __init__(__self__, *, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - url: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + consumed_disk: Optional[pulumi.Input[_builtins.str]] = None, + consumed_object_storage: Optional[pulumi.Input[_builtins.str]] = None, + created: Optional[pulumi.Input[_builtins.str]] = None, + flavor: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + url: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering Git resources. - :param pulumi.Input[builtins.str] instance_id: ID linked to the git instance. - :param pulumi.Input[builtins.str] name: Unique name linked to the git instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the git instance is associated. - :param pulumi.Input[builtins.str] url: Url linked to the git instance. - :param pulumi.Input[builtins.str] version: Version linked to the git instance. - """ + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: Restricted ACL for instance access. + :param pulumi.Input[_builtins.str] consumed_disk: How many bytes of disk space is consumed. + :param pulumi.Input[_builtins.str] consumed_object_storage: How many bytes of Object Storage is consumed. + :param pulumi.Input[_builtins.str] created: Instance creation timestamp in RFC3339 format. + :param pulumi.Input[_builtins.str] flavor: Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + :param pulumi.Input[_builtins.str] instance_id: ID linked to the git instance. + :param pulumi.Input[_builtins.str] name: Unique name linked to the git instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the git instance is associated. + :param pulumi.Input[_builtins.str] url: Url linked to the git instance. + :param pulumi.Input[_builtins.str] version: Version linked to the git instance. + """ + if acls is not None: + pulumi.set(__self__, "acls", acls) + if consumed_disk is not None: + pulumi.set(__self__, "consumed_disk", consumed_disk) + if consumed_object_storage is not None: + pulumi.set(__self__, "consumed_object_storage", consumed_object_storage) + if created is not None: + pulumi.set(__self__, "created", created) + if flavor is not None: + pulumi.set(__self__, "flavor", flavor) if instance_id is not None: pulumi.set(__self__, "instance_id", instance_id) if name is not None: @@ -83,64 +134,124 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property + @pulumi.getter + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: + """ + Restricted ACL for instance access. + """ + return pulumi.get(self, "acls") + + @acls.setter + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "acls", value) + + @_builtins.property + @pulumi.getter(name="consumedDisk") + def consumed_disk(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + How many bytes of disk space is consumed. + """ + return pulumi.get(self, "consumed_disk") + + @consumed_disk.setter + def consumed_disk(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "consumed_disk", value) + + @_builtins.property + @pulumi.getter(name="consumedObjectStorage") + def consumed_object_storage(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + How many bytes of Object Storage is consumed. + """ + return pulumi.get(self, "consumed_object_storage") + + @consumed_object_storage.setter + def consumed_object_storage(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "consumed_object_storage", value) + + @_builtins.property + @pulumi.getter + def created(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Instance creation timestamp in RFC3339 format. + """ + return pulumi.get(self, "created") + + @created.setter + def created(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "created", value) + + @_builtins.property + @pulumi.getter + def flavor(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + """ + return pulumi.get(self, "flavor") + + @flavor.setter + def flavor(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "flavor", value) + + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID linked to the git instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Unique name linked to the git instance. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the git instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def url(self) -> Optional[pulumi.Input[builtins.str]]: + def url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Url linked to the git instance. """ return pulumi.get(self, "url") @url.setter - def url(self, value: Optional[pulumi.Input[builtins.str]]): + def url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "url", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: """ Version linked to the git instance. """ return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -150,20 +261,24 @@ class Git(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + flavor: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Git Instance resource schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. This resource currently does not support updates. Changing the ACLs, flavor, or name will trigger resource recreation. Update functionality will be added soon. In the meantime, please proceed with caution. To update these attributes, please open a support ticket. ## Example Usage :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: Unique name linked to the git instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the git instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: Restricted ACL for instance access. + :param pulumi.Input[_builtins.str] flavor: Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + :param pulumi.Input[_builtins.str] name: Unique name linked to the git instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the git instance is associated. """ ... @overload @@ -174,7 +289,7 @@ def __init__(__self__, """ Git Instance resource schema. - > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. This resource currently does not support updates. Changing the ACLs, flavor, or name will trigger resource recreation. Update functionality will be added soon. In the meantime, please proceed with caution. To update these attributes, please open a support ticket. ## Example Usage @@ -193,8 +308,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + flavor: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -204,10 +321,15 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = GitArgs.__new__(GitArgs) + __props__.__dict__["acls"] = acls + __props__.__dict__["flavor"] = flavor __props__.__dict__["name"] = name if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + __props__.__dict__["consumed_disk"] = None + __props__.__dict__["consumed_object_storage"] = None + __props__.__dict__["created"] = None __props__.__dict__["instance_id"] = None __props__.__dict__["url"] = None __props__.__dict__["version"] = None @@ -221,11 +343,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - url: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'Git': + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + consumed_disk: Optional[pulumi.Input[_builtins.str]] = None, + consumed_object_storage: Optional[pulumi.Input[_builtins.str]] = None, + created: Optional[pulumi.Input[_builtins.str]] = None, + flavor: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + url: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'Git': """ Get an existing Git resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -233,16 +360,26 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID linked to the git instance. - :param pulumi.Input[builtins.str] name: Unique name linked to the git instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the git instance is associated. - :param pulumi.Input[builtins.str] url: Url linked to the git instance. - :param pulumi.Input[builtins.str] version: Version linked to the git instance. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: Restricted ACL for instance access. + :param pulumi.Input[_builtins.str] consumed_disk: How many bytes of disk space is consumed. + :param pulumi.Input[_builtins.str] consumed_object_storage: How many bytes of Object Storage is consumed. + :param pulumi.Input[_builtins.str] created: Instance creation timestamp in RFC3339 format. + :param pulumi.Input[_builtins.str] flavor: Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + :param pulumi.Input[_builtins.str] instance_id: ID linked to the git instance. + :param pulumi.Input[_builtins.str] name: Unique name linked to the git instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the git instance is associated. + :param pulumi.Input[_builtins.str] url: Url linked to the git instance. + :param pulumi.Input[_builtins.str] version: Version linked to the git instance. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _GitState.__new__(_GitState) + __props__.__dict__["acls"] = acls + __props__.__dict__["consumed_disk"] = consumed_disk + __props__.__dict__["consumed_object_storage"] = consumed_object_storage + __props__.__dict__["created"] = created + __props__.__dict__["flavor"] = flavor __props__.__dict__["instance_id"] = instance_id __props__.__dict__["name"] = name __props__.__dict__["project_id"] = project_id @@ -250,41 +387,81 @@ def get(resource_name: str, __props__.__dict__["version"] = version return Git(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property + @pulumi.getter + def acls(self) -> pulumi.Output[Sequence[_builtins.str]]: + """ + Restricted ACL for instance access. + """ + return pulumi.get(self, "acls") + + @_builtins.property + @pulumi.getter(name="consumedDisk") + def consumed_disk(self) -> pulumi.Output[_builtins.str]: + """ + How many bytes of disk space is consumed. + """ + return pulumi.get(self, "consumed_disk") + + @_builtins.property + @pulumi.getter(name="consumedObjectStorage") + def consumed_object_storage(self) -> pulumi.Output[_builtins.str]: + """ + How many bytes of Object Storage is consumed. + """ + return pulumi.get(self, "consumed_object_storage") + + @_builtins.property + @pulumi.getter + def created(self) -> pulumi.Output[_builtins.str]: + """ + Instance creation timestamp in RFC3339 format. + """ + return pulumi.get(self, "created") + + @_builtins.property + @pulumi.getter + def flavor(self) -> pulumi.Output[_builtins.str]: + """ + Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation: `https://docs.api.stackit.cloud/documentation/git/version/v1beta` + """ + return pulumi.get(self, "flavor") + + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID linked to the git instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Unique name linked to the git instance. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the git instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def url(self) -> pulumi.Output[builtins.str]: + def url(self) -> pulumi.Output[_builtins.str]: """ Url linked to the git instance. """ return pulumi.get(self, "url") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: """ Version linked to the git instance. """ diff --git a/sdk/python/pulumi_stackit/image.py b/sdk/python/pulumi_stackit/image.py index 153c515f..f5344dc3 100644 --- a/sdk/python/pulumi_stackit/image.py +++ b/sdk/python/pulumi_stackit/image.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,24 +21,24 @@ @pulumi.input_type class ImageArgs: def __init__(__self__, *, - disk_format: pulumi.Input[builtins.str], - local_file_path: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], + disk_format: pulumi.Input[_builtins.str], + local_file_path: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], config: Optional[pulumi.Input['ImageConfigArgs']] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - min_disk_size: Optional[pulumi.Input[builtins.int]] = None, - min_ram: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None): + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + min_disk_size: Optional[pulumi.Input[_builtins.int]] = None, + min_ram: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a Image resource. - :param pulumi.Input[builtins.str] disk_format: The disk format of the image. - :param pulumi.Input[builtins.str] local_file_path: The filepath of the raw image file to be uploaded. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the image is associated. + :param pulumi.Input[_builtins.str] disk_format: The disk format of the image. + :param pulumi.Input[_builtins.str] local_file_path: The filepath of the raw image file to be uploaded. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the image is associated. :param pulumi.Input['ImageConfigArgs'] config: Properties to set hardware and scheduling settings for an image. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.int] min_disk_size: The minimum disk size of the image in GB. - :param pulumi.Input[builtins.int] min_ram: The minimum RAM of the image in MB. - :param pulumi.Input[builtins.str] name: The name of the image. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.int] min_disk_size: The minimum disk size of the image in GB. + :param pulumi.Input[_builtins.int] min_ram: The minimum RAM of the image in MB. + :param pulumi.Input[_builtins.str] name: The name of the image. """ pulumi.set(__self__, "disk_format", disk_format) pulumi.set(__self__, "local_file_path", local_file_path) @@ -55,43 +54,43 @@ def __init__(__self__, *, if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="diskFormat") - def disk_format(self) -> pulumi.Input[builtins.str]: + def disk_format(self) -> pulumi.Input[_builtins.str]: """ The disk format of the image. """ return pulumi.get(self, "disk_format") @disk_format.setter - def disk_format(self, value: pulumi.Input[builtins.str]): + def disk_format(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "disk_format", value) - @property + @_builtins.property @pulumi.getter(name="localFilePath") - def local_file_path(self) -> pulumi.Input[builtins.str]: + def local_file_path(self) -> pulumi.Input[_builtins.str]: """ The filepath of the raw image file to be uploaded. """ return pulumi.get(self, "local_file_path") @local_file_path.setter - def local_file_path(self, value: pulumi.Input[builtins.str]): + def local_file_path(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "local_file_path", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the image is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def config(self) -> Optional[pulumi.Input['ImageConfigArgs']]: """ @@ -103,52 +102,52 @@ def config(self) -> Optional[pulumi.Input['ImageConfigArgs']]: def config(self, value: Optional[pulumi.Input['ImageConfigArgs']]): pulumi.set(self, "config", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="minDiskSize") - def min_disk_size(self) -> Optional[pulumi.Input[builtins.int]]: + def min_disk_size(self) -> Optional[pulumi.Input[_builtins.int]]: """ The minimum disk size of the image in GB. """ return pulumi.get(self, "min_disk_size") @min_disk_size.setter - def min_disk_size(self, value: Optional[pulumi.Input[builtins.int]]): + def min_disk_size(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "min_disk_size", value) - @property + @_builtins.property @pulumi.getter(name="minRam") - def min_ram(self) -> Optional[pulumi.Input[builtins.int]]: + def min_ram(self) -> Optional[pulumi.Input[_builtins.int]]: """ The minimum RAM of the image in MB. """ return pulumi.get(self, "min_ram") @min_ram.setter - def min_ram(self, value: Optional[pulumi.Input[builtins.int]]): + def min_ram(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "min_ram", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the image. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @@ -157,30 +156,30 @@ class _ImageState: def __init__(__self__, *, checksum: Optional[pulumi.Input['ImageChecksumArgs']] = None, config: Optional[pulumi.Input['ImageConfigArgs']] = None, - disk_format: Optional[pulumi.Input[builtins.str]] = None, - image_id: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - local_file_path: Optional[pulumi.Input[builtins.str]] = None, - min_disk_size: Optional[pulumi.Input[builtins.int]] = None, - min_ram: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - protected: Optional[pulumi.Input[builtins.bool]] = None, - scope: Optional[pulumi.Input[builtins.str]] = None): + disk_format: Optional[pulumi.Input[_builtins.str]] = None, + image_id: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + local_file_path: Optional[pulumi.Input[_builtins.str]] = None, + min_disk_size: Optional[pulumi.Input[_builtins.int]] = None, + min_ram: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + protected: Optional[pulumi.Input[_builtins.bool]] = None, + scope: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering Image resources. :param pulumi.Input['ImageChecksumArgs'] checksum: Representation of an image checksum. :param pulumi.Input['ImageConfigArgs'] config: Properties to set hardware and scheduling settings for an image. - :param pulumi.Input[builtins.str] disk_format: The disk format of the image. - :param pulumi.Input[builtins.str] image_id: The image ID. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] local_file_path: The filepath of the raw image file to be uploaded. - :param pulumi.Input[builtins.int] min_disk_size: The minimum disk size of the image in GB. - :param pulumi.Input[builtins.int] min_ram: The minimum RAM of the image in MB. - :param pulumi.Input[builtins.str] name: The name of the image. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the image is associated. - :param pulumi.Input[builtins.bool] protected: Whether the image is protected. - :param pulumi.Input[builtins.str] scope: The scope of the image. + :param pulumi.Input[_builtins.str] disk_format: The disk format of the image. + :param pulumi.Input[_builtins.str] image_id: The image ID. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] local_file_path: The filepath of the raw image file to be uploaded. + :param pulumi.Input[_builtins.int] min_disk_size: The minimum disk size of the image in GB. + :param pulumi.Input[_builtins.int] min_ram: The minimum RAM of the image in MB. + :param pulumi.Input[_builtins.str] name: The name of the image. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the image is associated. + :param pulumi.Input[_builtins.bool] protected: Whether the image is protected. + :param pulumi.Input[_builtins.str] scope: The scope of the image. """ if checksum is not None: pulumi.set(__self__, "checksum", checksum) @@ -207,7 +206,7 @@ def __init__(__self__, *, if scope is not None: pulumi.set(__self__, "scope", scope) - @property + @_builtins.property @pulumi.getter def checksum(self) -> Optional[pulumi.Input['ImageChecksumArgs']]: """ @@ -219,7 +218,7 @@ def checksum(self) -> Optional[pulumi.Input['ImageChecksumArgs']]: def checksum(self, value: Optional[pulumi.Input['ImageChecksumArgs']]): pulumi.set(self, "checksum", value) - @property + @_builtins.property @pulumi.getter def config(self) -> Optional[pulumi.Input['ImageConfigArgs']]: """ @@ -231,124 +230,124 @@ def config(self) -> Optional[pulumi.Input['ImageConfigArgs']]: def config(self, value: Optional[pulumi.Input['ImageConfigArgs']]): pulumi.set(self, "config", value) - @property + @_builtins.property @pulumi.getter(name="diskFormat") - def disk_format(self) -> Optional[pulumi.Input[builtins.str]]: + def disk_format(self) -> Optional[pulumi.Input[_builtins.str]]: """ The disk format of the image. """ return pulumi.get(self, "disk_format") @disk_format.setter - def disk_format(self, value: Optional[pulumi.Input[builtins.str]]): + def disk_format(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "disk_format", value) - @property + @_builtins.property @pulumi.getter(name="imageId") - def image_id(self) -> Optional[pulumi.Input[builtins.str]]: + def image_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The image ID. """ return pulumi.get(self, "image_id") @image_id.setter - def image_id(self, value: Optional[pulumi.Input[builtins.str]]): + def image_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_id", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="localFilePath") - def local_file_path(self) -> Optional[pulumi.Input[builtins.str]]: + def local_file_path(self) -> Optional[pulumi.Input[_builtins.str]]: """ The filepath of the raw image file to be uploaded. """ return pulumi.get(self, "local_file_path") @local_file_path.setter - def local_file_path(self, value: Optional[pulumi.Input[builtins.str]]): + def local_file_path(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "local_file_path", value) - @property + @_builtins.property @pulumi.getter(name="minDiskSize") - def min_disk_size(self) -> Optional[pulumi.Input[builtins.int]]: + def min_disk_size(self) -> Optional[pulumi.Input[_builtins.int]]: """ The minimum disk size of the image in GB. """ return pulumi.get(self, "min_disk_size") @min_disk_size.setter - def min_disk_size(self, value: Optional[pulumi.Input[builtins.int]]): + def min_disk_size(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "min_disk_size", value) - @property + @_builtins.property @pulumi.getter(name="minRam") - def min_ram(self) -> Optional[pulumi.Input[builtins.int]]: + def min_ram(self) -> Optional[pulumi.Input[_builtins.int]]: """ The minimum RAM of the image in MB. """ return pulumi.get(self, "min_ram") @min_ram.setter - def min_ram(self, value: Optional[pulumi.Input[builtins.int]]): + def min_ram(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "min_ram", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the image. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the image is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def protected(self) -> Optional[pulumi.Input[builtins.bool]]: + def protected(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Whether the image is protected. """ return pulumi.get(self, "protected") @protected.setter - def protected(self, value: Optional[pulumi.Input[builtins.bool]]): + def protected(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "protected", value) - @property + @_builtins.property @pulumi.getter - def scope(self) -> Optional[pulumi.Input[builtins.str]]: + def scope(self) -> Optional[pulumi.Input[_builtins.str]]: """ The scope of the image. """ return pulumi.get(self, "scope") @scope.setter - def scope(self, value: Optional[pulumi.Input[builtins.str]]): + def scope(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scope", value) @@ -359,13 +358,13 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, config: Optional[pulumi.Input[Union['ImageConfigArgs', 'ImageConfigArgsDict']]] = None, - disk_format: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - local_file_path: Optional[pulumi.Input[builtins.str]] = None, - min_disk_size: Optional[pulumi.Input[builtins.int]] = None, - min_ram: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + disk_format: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + local_file_path: Optional[pulumi.Input[_builtins.str]] = None, + min_disk_size: Optional[pulumi.Input[_builtins.int]] = None, + min_ram: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Image resource schema. Must have a `region` specified in the provider configuration. @@ -375,13 +374,13 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['ImageConfigArgs', 'ImageConfigArgsDict']] config: Properties to set hardware and scheduling settings for an image. - :param pulumi.Input[builtins.str] disk_format: The disk format of the image. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] local_file_path: The filepath of the raw image file to be uploaded. - :param pulumi.Input[builtins.int] min_disk_size: The minimum disk size of the image in GB. - :param pulumi.Input[builtins.int] min_ram: The minimum RAM of the image in MB. - :param pulumi.Input[builtins.str] name: The name of the image. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the image is associated. + :param pulumi.Input[_builtins.str] disk_format: The disk format of the image. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] local_file_path: The filepath of the raw image file to be uploaded. + :param pulumi.Input[_builtins.int] min_disk_size: The minimum disk size of the image in GB. + :param pulumi.Input[_builtins.int] min_ram: The minimum RAM of the image in MB. + :param pulumi.Input[_builtins.str] name: The name of the image. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the image is associated. """ ... @overload @@ -410,13 +409,13 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, config: Optional[pulumi.Input[Union['ImageConfigArgs', 'ImageConfigArgsDict']]] = None, - disk_format: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - local_file_path: Optional[pulumi.Input[builtins.str]] = None, - min_disk_size: Optional[pulumi.Input[builtins.int]] = None, - min_ram: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + disk_format: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + local_file_path: Optional[pulumi.Input[_builtins.str]] = None, + min_disk_size: Optional[pulumi.Input[_builtins.int]] = None, + min_ram: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -456,16 +455,16 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, checksum: Optional[pulumi.Input[Union['ImageChecksumArgs', 'ImageChecksumArgsDict']]] = None, config: Optional[pulumi.Input[Union['ImageConfigArgs', 'ImageConfigArgsDict']]] = None, - disk_format: Optional[pulumi.Input[builtins.str]] = None, - image_id: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - local_file_path: Optional[pulumi.Input[builtins.str]] = None, - min_disk_size: Optional[pulumi.Input[builtins.int]] = None, - min_ram: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - protected: Optional[pulumi.Input[builtins.bool]] = None, - scope: Optional[pulumi.Input[builtins.str]] = None) -> 'Image': + disk_format: Optional[pulumi.Input[_builtins.str]] = None, + image_id: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + local_file_path: Optional[pulumi.Input[_builtins.str]] = None, + min_disk_size: Optional[pulumi.Input[_builtins.int]] = None, + min_ram: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + protected: Optional[pulumi.Input[_builtins.bool]] = None, + scope: Optional[pulumi.Input[_builtins.str]] = None) -> 'Image': """ Get an existing Image resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -475,16 +474,16 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['ImageChecksumArgs', 'ImageChecksumArgsDict']] checksum: Representation of an image checksum. :param pulumi.Input[Union['ImageConfigArgs', 'ImageConfigArgsDict']] config: Properties to set hardware and scheduling settings for an image. - :param pulumi.Input[builtins.str] disk_format: The disk format of the image. - :param pulumi.Input[builtins.str] image_id: The image ID. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] local_file_path: The filepath of the raw image file to be uploaded. - :param pulumi.Input[builtins.int] min_disk_size: The minimum disk size of the image in GB. - :param pulumi.Input[builtins.int] min_ram: The minimum RAM of the image in MB. - :param pulumi.Input[builtins.str] name: The name of the image. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the image is associated. - :param pulumi.Input[builtins.bool] protected: Whether the image is protected. - :param pulumi.Input[builtins.str] scope: The scope of the image. + :param pulumi.Input[_builtins.str] disk_format: The disk format of the image. + :param pulumi.Input[_builtins.str] image_id: The image ID. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] local_file_path: The filepath of the raw image file to be uploaded. + :param pulumi.Input[_builtins.int] min_disk_size: The minimum disk size of the image in GB. + :param pulumi.Input[_builtins.int] min_ram: The minimum RAM of the image in MB. + :param pulumi.Input[_builtins.str] name: The name of the image. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the image is associated. + :param pulumi.Input[_builtins.bool] protected: Whether the image is protected. + :param pulumi.Input[_builtins.str] scope: The scope of the image. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -504,7 +503,7 @@ def get(resource_name: str, __props__.__dict__["scope"] = scope return Image(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter def checksum(self) -> pulumi.Output['outputs.ImageChecksum']: """ @@ -512,7 +511,7 @@ def checksum(self) -> pulumi.Output['outputs.ImageChecksum']: """ return pulumi.get(self, "checksum") - @property + @_builtins.property @pulumi.getter def config(self) -> pulumi.Output['outputs.ImageConfig']: """ @@ -520,81 +519,81 @@ def config(self) -> pulumi.Output['outputs.ImageConfig']: """ return pulumi.get(self, "config") - @property + @_builtins.property @pulumi.getter(name="diskFormat") - def disk_format(self) -> pulumi.Output[builtins.str]: + def disk_format(self) -> pulumi.Output[_builtins.str]: """ The disk format of the image. """ return pulumi.get(self, "disk_format") - @property + @_builtins.property @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Output[builtins.str]: + def image_id(self) -> pulumi.Output[_builtins.str]: """ The image ID. """ return pulumi.get(self, "image_id") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="localFilePath") - def local_file_path(self) -> pulumi.Output[builtins.str]: + def local_file_path(self) -> pulumi.Output[_builtins.str]: """ The filepath of the raw image file to be uploaded. """ return pulumi.get(self, "local_file_path") - @property + @_builtins.property @pulumi.getter(name="minDiskSize") - def min_disk_size(self) -> pulumi.Output[builtins.int]: + def min_disk_size(self) -> pulumi.Output[_builtins.int]: """ The minimum disk size of the image in GB. """ return pulumi.get(self, "min_disk_size") - @property + @_builtins.property @pulumi.getter(name="minRam") - def min_ram(self) -> pulumi.Output[builtins.int]: + def min_ram(self) -> pulumi.Output[_builtins.int]: """ The minimum RAM of the image in MB. """ return pulumi.get(self, "min_ram") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the image. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the image is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def protected(self) -> pulumi.Output[builtins.bool]: + def protected(self) -> pulumi.Output[_builtins.bool]: """ Whether the image is protected. """ return pulumi.get(self, "protected") - @property + @_builtins.property @pulumi.getter - def scope(self) -> pulumi.Output[builtins.str]: + def scope(self) -> pulumi.Output[_builtins.str]: """ The scope of the image. """ diff --git a/sdk/python/pulumi_stackit/key_pair.py b/sdk/python/pulumi_stackit/key_pair.py index 589fcad7..39bc50f3 100644 --- a/sdk/python/pulumi_stackit/key_pair.py +++ b/sdk/python/pulumi_stackit/key_pair.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,14 +19,14 @@ @pulumi.input_type class KeyPairArgs: def __init__(__self__, *, - public_key: pulumi.Input[builtins.str], - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None): + public_key: pulumi.Input[_builtins.str], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a KeyPair resource. - :param pulumi.Input[builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. - :param pulumi.Input[builtins.str] name: The name of the SSH key pair. + :param pulumi.Input[_builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. + :param pulumi.Input[_builtins.str] name: The name of the SSH key pair. """ pulumi.set(__self__, "public_key", public_key) if labels is not None: @@ -35,56 +34,56 @@ def __init__(__self__, *, if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="publicKey") - def public_key(self) -> pulumi.Input[builtins.str]: + def public_key(self) -> pulumi.Input[_builtins.str]: """ A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. """ return pulumi.get(self, "public_key") @public_key.setter - def public_key(self, value: pulumi.Input[builtins.str]): + def public_key(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "public_key", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the SSH key pair. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _KeyPairState: def __init__(__self__, *, - fingerprint: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None): + fingerprint: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering KeyPair resources. - :param pulumi.Input[builtins.str] fingerprint: The fingerprint of the public SSH key. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. - :param pulumi.Input[builtins.str] name: The name of the SSH key pair. - :param pulumi.Input[builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. + :param pulumi.Input[_builtins.str] fingerprint: The fingerprint of the public SSH key. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. + :param pulumi.Input[_builtins.str] name: The name of the SSH key pair. + :param pulumi.Input[_builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. """ if fingerprint is not None: pulumi.set(__self__, "fingerprint", fingerprint) @@ -95,52 +94,52 @@ def __init__(__self__, *, if public_key is not None: pulumi.set(__self__, "public_key", public_key) - @property + @_builtins.property @pulumi.getter - def fingerprint(self) -> Optional[pulumi.Input[builtins.str]]: + def fingerprint(self) -> Optional[pulumi.Input[_builtins.str]]: """ The fingerprint of the public SSH key. """ return pulumi.get(self, "fingerprint") @fingerprint.setter - def fingerprint(self, value: Optional[pulumi.Input[builtins.str]]): + def fingerprint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "fingerprint", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the SSH key pair. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="publicKey") - def public_key(self) -> Optional[pulumi.Input[builtins.str]]: + def public_key(self) -> Optional[pulumi.Input[_builtins.str]]: """ A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. """ return pulumi.get(self, "public_key") @public_key.setter - def public_key(self, value: Optional[pulumi.Input[builtins.str]]): + def public_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "public_key", value) @@ -150,18 +149,20 @@ class KeyPair(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Key pair resource schema. Must have a `region` specified in the provider configuration. Allows uploading an SSH public key to be used for server authentication. + ## Example Usage + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. - :param pulumi.Input[builtins.str] name: The name of the SSH key pair. - :param pulumi.Input[builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. + :param pulumi.Input[_builtins.str] name: The name of the SSH key pair. + :param pulumi.Input[_builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. """ ... @overload @@ -172,6 +173,8 @@ def __init__(__self__, """ Key pair resource schema. Must have a `region` specified in the provider configuration. Allows uploading an SSH public key to be used for server authentication. + ## Example Usage + :param str resource_name: The name of the resource. :param KeyPairArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -187,9 +190,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -215,10 +218,10 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - fingerprint: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None) -> 'KeyPair': + fingerprint: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None) -> 'KeyPair': """ Get an existing KeyPair resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -226,10 +229,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] fingerprint: The fingerprint of the public SSH key. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. - :param pulumi.Input[builtins.str] name: The name of the SSH key pair. - :param pulumi.Input[builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. + :param pulumi.Input[_builtins.str] fingerprint: The fingerprint of the public SSH key. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. + :param pulumi.Input[_builtins.str] name: The name of the SSH key pair. + :param pulumi.Input[_builtins.str] public_key: A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -241,33 +244,33 @@ def get(resource_name: str, __props__.__dict__["public_key"] = public_key return KeyPair(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def fingerprint(self) -> pulumi.Output[builtins.str]: + def fingerprint(self) -> pulumi.Output[_builtins.str]: """ The fingerprint of the public SSH key. """ return pulumi.get(self, "fingerprint") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the SSH key pair. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="publicKey") - def public_key(self) -> pulumi.Output[builtins.str]: + def public_key(self) -> pulumi.Output[_builtins.str]: """ A string representation of the public SSH key. E.g., `ssh-rsa ` or `ssh-ed25519 `. """ diff --git a/sdk/python/pulumi_stackit/loadbalancer.py b/sdk/python/pulumi_stackit/loadbalancer.py index 48b23d31..84b89c3c 100644 --- a/sdk/python/pulumi_stackit/loadbalancer.py +++ b/sdk/python/pulumi_stackit/loadbalancer.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -24,37 +23,45 @@ class LoadbalancerArgs: def __init__(__self__, *, listeners: pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]], networks: pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]], - project_id: pulumi.Input[builtins.str], + project_id: pulumi.Input[_builtins.str], target_pools: pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolArgs']]], - external_address: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + disable_security_group_assignment: Optional[pulumi.Input[_builtins.bool]] = None, + external_address: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input['LoadbalancerOptionsArgs']] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a Loadbalancer resource. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]] listeners: List of all listeners which will accept traffic. Limited to 20. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]] networks: List of networks that listeners and targets reside in. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolArgs']]] target_pools: List of all target pools which will be used in the Load Balancer. Limited to 20. - :param pulumi.Input[builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. - :param pulumi.Input[builtins.str] name: Load balancer name. + :param pulumi.Input[_builtins.bool] disable_security_group_assignment: If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + :param pulumi.Input[_builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. + :param pulumi.Input[_builtins.str] name: Load balancer name. :param pulumi.Input['LoadbalancerOptionsArgs'] options: Defines any optional functionality you want to have enabled on your load balancer. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] plan_id: The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "listeners", listeners) pulumi.set(__self__, "networks", networks) pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "target_pools", target_pools) + if disable_security_group_assignment is not None: + pulumi.set(__self__, "disable_security_group_assignment", disable_security_group_assignment) if external_address is not None: pulumi.set(__self__, "external_address", external_address) if name is not None: pulumi.set(__self__, "name", name) if options is not None: pulumi.set(__self__, "options", options) + if plan_id is not None: + pulumi.set(__self__, "plan_id", plan_id) if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter def listeners(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]]: """ @@ -66,7 +73,7 @@ def listeners(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerA def listeners(self, value: pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]]): pulumi.set(self, "listeners", value) - @property + @_builtins.property @pulumi.getter def networks(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]]: """ @@ -78,19 +85,19 @@ def networks(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArg def networks(self, value: pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]]): pulumi.set(self, "networks", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the Load Balancer is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="targetPools") def target_pools(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolArgs']]]: """ @@ -102,31 +109,43 @@ def target_pools(self) -> pulumi.Input[Sequence[pulumi.Input['LoadbalancerTarget def target_pools(self, value: pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolArgs']]]): pulumi.set(self, "target_pools", value) - @property + @_builtins.property + @pulumi.getter(name="disableSecurityGroupAssignment") + def disable_security_group_assignment(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + """ + return pulumi.get(self, "disable_security_group_assignment") + + @disable_security_group_assignment.setter + def disable_security_group_assignment(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "disable_security_group_assignment", value) + + @_builtins.property @pulumi.getter(name="externalAddress") - def external_address(self) -> Optional[pulumi.Input[builtins.str]]: + def external_address(self) -> Optional[pulumi.Input[_builtins.str]]: """ External Load Balancer IP address where this Load Balancer is exposed. """ return pulumi.get(self, "external_address") @external_address.setter - def external_address(self, value: Optional[pulumi.Input[builtins.str]]): + def external_address(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "external_address", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Load balancer name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def options(self) -> Optional[pulumi.Input['LoadbalancerOptionsArgs']]: """ @@ -138,43 +157,63 @@ def options(self) -> Optional[pulumi.Input['LoadbalancerOptionsArgs']]: def options(self, value: Optional[pulumi.Input['LoadbalancerOptionsArgs']]): pulumi.set(self, "options", value) - @property + @_builtins.property + @pulumi.getter(name="planId") + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + """ + return pulumi.get(self, "plan_id") + + @plan_id.setter + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "plan_id", value) + + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _LoadbalancerState: def __init__(__self__, *, - external_address: Optional[pulumi.Input[builtins.str]] = None, + disable_security_group_assignment: Optional[pulumi.Input[_builtins.bool]] = None, + external_address: Optional[pulumi.Input[_builtins.str]] = None, listeners: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, networks: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]]] = None, options: Optional[pulumi.Input['LoadbalancerOptionsArgs']] = None, - private_address: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + private_address: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, target_pools: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolArgs']]]] = None): """ Input properties used for looking up and filtering Loadbalancer resources. - :param pulumi.Input[builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. + :param pulumi.Input[_builtins.bool] disable_security_group_assignment: If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + :param pulumi.Input[_builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]] listeners: List of all listeners which will accept traffic. Limited to 20. - :param pulumi.Input[builtins.str] name: Load balancer name. + :param pulumi.Input[_builtins.str] name: Load balancer name. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]] networks: List of networks that listeners and targets reside in. :param pulumi.Input['LoadbalancerOptionsArgs'] options: Defines any optional functionality you want to have enabled on your load balancer. - :param pulumi.Input[builtins.str] private_address: Transient private Load Balancer IP address. It can change any time. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] plan_id: The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + :param pulumi.Input[_builtins.str] private_address: Transient private Load Balancer IP address. It can change any time. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] security_group_id: The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolArgs']]] target_pools: List of all target pools which will be used in the Load Balancer. Limited to 20. """ + if disable_security_group_assignment is not None: + pulumi.set(__self__, "disable_security_group_assignment", disable_security_group_assignment) if external_address is not None: pulumi.set(__self__, "external_address", external_address) if listeners is not None: @@ -185,28 +224,44 @@ def __init__(__self__, *, pulumi.set(__self__, "networks", networks) if options is not None: pulumi.set(__self__, "options", options) + if plan_id is not None: + pulumi.set(__self__, "plan_id", plan_id) if private_address is not None: pulumi.set(__self__, "private_address", private_address) if project_id is not None: pulumi.set(__self__, "project_id", project_id) if region is not None: pulumi.set(__self__, "region", region) + if security_group_id is not None: + pulumi.set(__self__, "security_group_id", security_group_id) if target_pools is not None: pulumi.set(__self__, "target_pools", target_pools) - @property + @_builtins.property + @pulumi.getter(name="disableSecurityGroupAssignment") + def disable_security_group_assignment(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + """ + return pulumi.get(self, "disable_security_group_assignment") + + @disable_security_group_assignment.setter + def disable_security_group_assignment(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "disable_security_group_assignment", value) + + @_builtins.property @pulumi.getter(name="externalAddress") - def external_address(self) -> Optional[pulumi.Input[builtins.str]]: + def external_address(self) -> Optional[pulumi.Input[_builtins.str]]: """ External Load Balancer IP address where this Load Balancer is exposed. """ return pulumi.get(self, "external_address") @external_address.setter - def external_address(self, value: Optional[pulumi.Input[builtins.str]]): + def external_address(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "external_address", value) - @property + @_builtins.property @pulumi.getter def listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]]]: """ @@ -218,19 +273,19 @@ def listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Loadbalancer def listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerListenerArgs']]]]): pulumi.set(self, "listeners", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Load balancer name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]]]: """ @@ -242,7 +297,7 @@ def networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerN def networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerNetworkArgs']]]]): pulumi.set(self, "networks", value) - @property + @_builtins.property @pulumi.getter def options(self) -> Optional[pulumi.Input['LoadbalancerOptionsArgs']]: """ @@ -254,43 +309,67 @@ def options(self) -> Optional[pulumi.Input['LoadbalancerOptionsArgs']]: def options(self, value: Optional[pulumi.Input['LoadbalancerOptionsArgs']]): pulumi.set(self, "options", value) - @property + @_builtins.property + @pulumi.getter(name="planId") + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + """ + return pulumi.get(self, "plan_id") + + @plan_id.setter + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "plan_id", value) + + @_builtins.property @pulumi.getter(name="privateAddress") - def private_address(self) -> Optional[pulumi.Input[builtins.str]]: + def private_address(self) -> Optional[pulumi.Input[_builtins.str]]: """ Transient private Load Balancer IP address. It can change any time. """ return pulumi.get(self, "private_address") @private_address.setter - def private_address(self, value: Optional[pulumi.Input[builtins.str]]): + def private_address(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "private_address", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the Load Balancer is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property + @pulumi.getter(name="securityGroupId") + def security_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. + """ + return pulumi.get(self, "security_group_id") + + @security_group_id.setter + def security_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "security_group_id", value) + + @_builtins.property @pulumi.getter(name="targetPools") def target_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerTargetPoolArgs']]]]: """ @@ -309,13 +388,15 @@ class Loadbalancer(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - external_address: Optional[pulumi.Input[builtins.str]] = None, + disable_security_group_assignment: Optional[pulumi.Input[_builtins.bool]] = None, + external_address: Optional[pulumi.Input[_builtins.str]] = None, listeners: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerListenerArgs', 'LoadbalancerListenerArgsDict']]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerNetworkArgs', 'LoadbalancerNetworkArgsDict']]]]] = None, options: Optional[pulumi.Input[Union['LoadbalancerOptionsArgs', 'LoadbalancerOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerTargetPoolArgs', 'LoadbalancerTargetPoolArgsDict']]]]] = None, __props__=None): """ @@ -323,13 +404,15 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. + :param pulumi.Input[_builtins.bool] disable_security_group_assignment: If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + :param pulumi.Input[_builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerListenerArgs', 'LoadbalancerListenerArgsDict']]]] listeners: List of all listeners which will accept traffic. Limited to 20. - :param pulumi.Input[builtins.str] name: Load balancer name. + :param pulumi.Input[_builtins.str] name: Load balancer name. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerNetworkArgs', 'LoadbalancerNetworkArgsDict']]]] networks: List of networks that listeners and targets reside in. :param pulumi.Input[Union['LoadbalancerOptionsArgs', 'LoadbalancerOptionsArgsDict']] options: Defines any optional functionality you want to have enabled on your load balancer. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] plan_id: The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerTargetPoolArgs', 'LoadbalancerTargetPoolArgsDict']]]] target_pools: List of all target pools which will be used in the Load Balancer. Limited to 20. """ ... @@ -356,13 +439,15 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - external_address: Optional[pulumi.Input[builtins.str]] = None, + disable_security_group_assignment: Optional[pulumi.Input[_builtins.bool]] = None, + external_address: Optional[pulumi.Input[_builtins.str]] = None, listeners: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerListenerArgs', 'LoadbalancerListenerArgsDict']]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerNetworkArgs', 'LoadbalancerNetworkArgsDict']]]]] = None, options: Optional[pulumi.Input[Union['LoadbalancerOptionsArgs', 'LoadbalancerOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerTargetPoolArgs', 'LoadbalancerTargetPoolArgsDict']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -373,6 +458,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = LoadbalancerArgs.__new__(LoadbalancerArgs) + __props__.__dict__["disable_security_group_assignment"] = disable_security_group_assignment __props__.__dict__["external_address"] = external_address if listeners is None and not opts.urn: raise TypeError("Missing required property 'listeners'") @@ -382,6 +468,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'networks'") __props__.__dict__["networks"] = networks __props__.__dict__["options"] = options + __props__.__dict__["plan_id"] = plan_id if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id @@ -390,6 +477,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'target_pools'") __props__.__dict__["target_pools"] = target_pools __props__.__dict__["private_address"] = None + __props__.__dict__["security_group_id"] = None super(Loadbalancer, __self__).__init__( 'stackit:index/loadbalancer:Loadbalancer', resource_name, @@ -400,14 +488,17 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - external_address: Optional[pulumi.Input[builtins.str]] = None, + disable_security_group_assignment: Optional[pulumi.Input[_builtins.bool]] = None, + external_address: Optional[pulumi.Input[_builtins.str]] = None, listeners: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerListenerArgs', 'LoadbalancerListenerArgsDict']]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerNetworkArgs', 'LoadbalancerNetworkArgsDict']]]]] = None, options: Optional[pulumi.Input[Union['LoadbalancerOptionsArgs', 'LoadbalancerOptionsArgsDict']]] = None, - private_address: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + private_address: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerTargetPoolArgs', 'LoadbalancerTargetPoolArgsDict']]]]] = None) -> 'Loadbalancer': """ Get an existing Loadbalancer resource's state with the given name, id, and optional extra @@ -416,40 +507,54 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. + :param pulumi.Input[_builtins.bool] disable_security_group_assignment: If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + :param pulumi.Input[_builtins.str] external_address: External Load Balancer IP address where this Load Balancer is exposed. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerListenerArgs', 'LoadbalancerListenerArgsDict']]]] listeners: List of all listeners which will accept traffic. Limited to 20. - :param pulumi.Input[builtins.str] name: Load balancer name. + :param pulumi.Input[_builtins.str] name: Load balancer name. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerNetworkArgs', 'LoadbalancerNetworkArgsDict']]]] networks: List of networks that listeners and targets reside in. :param pulumi.Input[Union['LoadbalancerOptionsArgs', 'LoadbalancerOptionsArgsDict']] options: Defines any optional functionality you want to have enabled on your load balancer. - :param pulumi.Input[builtins.str] private_address: Transient private Load Balancer IP address. It can change any time. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] plan_id: The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + :param pulumi.Input[_builtins.str] private_address: Transient private Load Balancer IP address. It can change any time. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the Load Balancer is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] security_group_id: The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadbalancerTargetPoolArgs', 'LoadbalancerTargetPoolArgsDict']]]] target_pools: List of all target pools which will be used in the Load Balancer. Limited to 20. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _LoadbalancerState.__new__(_LoadbalancerState) + __props__.__dict__["disable_security_group_assignment"] = disable_security_group_assignment __props__.__dict__["external_address"] = external_address __props__.__dict__["listeners"] = listeners __props__.__dict__["name"] = name __props__.__dict__["networks"] = networks __props__.__dict__["options"] = options + __props__.__dict__["plan_id"] = plan_id __props__.__dict__["private_address"] = private_address __props__.__dict__["project_id"] = project_id __props__.__dict__["region"] = region + __props__.__dict__["security_group_id"] = security_group_id __props__.__dict__["target_pools"] = target_pools return Loadbalancer(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property + @pulumi.getter(name="disableSecurityGroupAssignment") + def disable_security_group_assignment(self) -> pulumi.Output[_builtins.bool]: + """ + If set to true, this will disable the automatic assignment of a security group to the load balancer's targets. This option is primarily used to allow targets that are not within the load balancer's own network or SNA (STACKIT network area). When this is enabled, you are fully responsible for ensuring network connectivity to the targets, including managing all routing and security group rules manually. This setting cannot be changed after the load balancer is created. + """ + return pulumi.get(self, "disable_security_group_assignment") + + @_builtins.property @pulumi.getter(name="externalAddress") - def external_address(self) -> pulumi.Output[Optional[builtins.str]]: + def external_address(self) -> pulumi.Output[Optional[_builtins.str]]: """ External Load Balancer IP address where this Load Balancer is exposed. """ return pulumi.get(self, "external_address") - @property + @_builtins.property @pulumi.getter def listeners(self) -> pulumi.Output[Sequence['outputs.LoadbalancerListener']]: """ @@ -457,15 +562,15 @@ def listeners(self) -> pulumi.Output[Sequence['outputs.LoadbalancerListener']]: """ return pulumi.get(self, "listeners") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Load balancer name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def networks(self) -> pulumi.Output[Sequence['outputs.LoadbalancerNetwork']]: """ @@ -473,7 +578,7 @@ def networks(self) -> pulumi.Output[Sequence['outputs.LoadbalancerNetwork']]: """ return pulumi.get(self, "networks") - @property + @_builtins.property @pulumi.getter def options(self) -> pulumi.Output['outputs.LoadbalancerOptions']: """ @@ -481,31 +586,47 @@ def options(self) -> pulumi.Output['outputs.LoadbalancerOptions']: """ return pulumi.get(self, "options") - @property + @_builtins.property + @pulumi.getter(name="planId") + def plan_id(self) -> pulumi.Output[_builtins.str]: + """ + The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`. + """ + return pulumi.get(self, "plan_id") + + @_builtins.property @pulumi.getter(name="privateAddress") - def private_address(self) -> pulumi.Output[builtins.str]: + def private_address(self) -> pulumi.Output[_builtins.str]: """ Transient private Load Balancer IP address. It can change any time. """ return pulumi.get(self, "private_address") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the Load Balancer is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property + @pulumi.getter(name="securityGroupId") + def security_group_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`. + """ + return pulumi.get(self, "security_group_id") + + @_builtins.property @pulumi.getter(name="targetPools") def target_pools(self) -> pulumi.Output[Sequence['outputs.LoadbalancerTargetPool']]: """ diff --git a/sdk/python/pulumi_stackit/loadbalancer_observability_credential.py b/sdk/python/pulumi_stackit/loadbalancer_observability_credential.py index 7d3733bd..4f3fdfd8 100644 --- a/sdk/python/pulumi_stackit/loadbalancer_observability_credential.py +++ b/sdk/python/pulumi_stackit/loadbalancer_observability_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,18 +19,18 @@ @pulumi.input_type class LoadbalancerObservabilityCredentialArgs: def __init__(__self__, *, - display_name: pulumi.Input[builtins.str], - password: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - username: pulumi.Input[builtins.str], - region: Optional[pulumi.Input[builtins.str]] = None): + display_name: pulumi.Input[_builtins.str], + password: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + username: pulumi.Input[_builtins.str], + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a LoadbalancerObservabilityCredential resource. - :param pulumi.Input[builtins.str] display_name: Observability credential name. - :param pulumi.Input[builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. - :param pulumi.Input[builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] display_name: Observability credential name. + :param pulumi.Input[_builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. + :param pulumi.Input[_builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "display_name", display_name) pulumi.set(__self__, "password", password) @@ -40,84 +39,84 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Input[builtins.str]: + def display_name(self) -> pulumi.Input[_builtins.str]: """ Observability credential name. """ return pulumi.get(self, "display_name") @display_name.setter - def display_name(self, value: pulumi.Input[builtins.str]): + def display_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "display_name", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Input[builtins.str]: + def password(self) -> pulumi.Input[_builtins.str]: """ The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ return pulumi.get(self, "password") @password.setter - def password(self, value: pulumi.Input[builtins.str]): + def password(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the load balancer observability credential is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Input[builtins.str]: + def username(self) -> pulumi.Input[_builtins.str]: """ The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ return pulumi.get(self, "username") @username.setter - def username(self, value: pulumi.Input[builtins.str]): + def username(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "username", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _LoadbalancerObservabilityCredentialState: def __init__(__self__, *, - credentials_ref: Optional[pulumi.Input[builtins.str]] = None, - display_name: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + credentials_ref: Optional[pulumi.Input[_builtins.str]] = None, + display_name: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering LoadbalancerObservabilityCredential resources. - :param pulumi.Input[builtins.str] credentials_ref: The credentials reference is used by the Load Balancer to define which credentials it will use. - :param pulumi.Input[builtins.str] display_name: Observability credential name. - :param pulumi.Input[builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] credentials_ref: The credentials reference is used by the Load Balancer to define which credentials it will use. + :param pulumi.Input[_builtins.str] display_name: Observability credential name. + :param pulumi.Input[_builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ if credentials_ref is not None: pulumi.set(__self__, "credentials_ref", credentials_ref) @@ -132,76 +131,76 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> Optional[pulumi.Input[builtins.str]]: + def credentials_ref(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credentials reference is used by the Load Balancer to define which credentials it will use. """ return pulumi.get(self, "credentials_ref") @credentials_ref.setter - def credentials_ref(self, value: Optional[pulumi.Input[builtins.str]]): + def credentials_ref(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credentials_ref", value) - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[builtins.str]]: + def display_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Observability credential name. """ return pulumi.get(self, "display_name") @display_name.setter - def display_name(self, value: Optional[pulumi.Input[builtins.str]]): + def display_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "display_name", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: """ The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the load balancer observability credential is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: """ The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -211,11 +210,11 @@ class LoadbalancerObservabilityCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - display_name: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + display_name: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Load balancer observability credential resource schema. Must have a `region` specified in the provider configuration. These contain the username and password for the observability service (e.g. Argus) where the load balancer logs/metrics will be pushed into @@ -224,11 +223,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] display_name: Observability credential name. - :param pulumi.Input[builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] display_name: Observability credential name. + :param pulumi.Input[_builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ ... @overload @@ -256,11 +255,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - display_name: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + display_name: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -294,12 +293,12 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - credentials_ref: Optional[pulumi.Input[builtins.str]] = None, - display_name: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'LoadbalancerObservabilityCredential': + credentials_ref: Optional[pulumi.Input[_builtins.str]] = None, + display_name: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'LoadbalancerObservabilityCredential': """ Get an existing LoadbalancerObservabilityCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -307,12 +306,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credentials_ref: The credentials reference is used by the Load Balancer to define which credentials it will use. - :param pulumi.Input[builtins.str] display_name: Observability credential name. - :param pulumi.Input[builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] credentials_ref: The credentials reference is used by the Load Balancer to define which credentials it will use. + :param pulumi.Input[_builtins.str] display_name: Observability credential name. + :param pulumi.Input[_builtins.str] password: The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the load balancer observability credential is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] username: The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -326,49 +325,49 @@ def get(resource_name: str, __props__.__dict__["username"] = username return LoadbalancerObservabilityCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> pulumi.Output[builtins.str]: + def credentials_ref(self) -> pulumi.Output[_builtins.str]: """ The credentials reference is used by the Load Balancer to define which credentials it will use. """ return pulumi.get(self, "credentials_ref") - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Output[builtins.str]: + def display_name(self) -> pulumi.Output[_builtins.str]: """ Observability credential name. """ return pulumi.get(self, "display_name") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: """ The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the load balancer observability credential is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: """ The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into. """ diff --git a/sdk/python/pulumi_stackit/logme_credential.py b/sdk/python/pulumi_stackit/logme_credential.py index b1432de3..7e2946f5 100644 --- a/sdk/python/pulumi_stackit/logme_credential.py +++ b/sdk/python/pulumi_stackit/logme_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,57 +19,57 @@ @pulumi.input_type class LogmeCredentialArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str]): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a LogmeCredential resource. - :param pulumi.Input[builtins.str] instance_id: ID of the LogMe instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the LogMe instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the LogMe instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) @pulumi.input_type class _LogmeCredentialState: def __init__(__self__, *, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering LogmeCredential resources. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the LogMe instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the LogMe instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ if credential_id is not None: pulumi.set(__self__, "credential_id", credential_id) @@ -89,85 +88,85 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credential_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credential's ID. """ return pulumi.get(self, "credential_id") @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credential_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credential_id", value) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the LogMe instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def uri(self) -> Optional[pulumi.Input[builtins.str]]: + def uri(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "uri") @uri.setter - def uri(self, value: Optional[pulumi.Input[builtins.str]]): + def uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "uri", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -177,8 +176,8 @@ class LogmeCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ LogMe credential resource schema. Must have a `region` specified in the provider configuration. @@ -187,8 +186,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the LogMe instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the LogMe instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ ... @overload @@ -216,8 +215,8 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -251,14 +250,14 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'LogmeCredential': + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'LogmeCredential': """ Get an existing LogmeCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -266,9 +265,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the LogMe instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the LogMe instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -284,52 +283,52 @@ def get(resource_name: str, __props__.__dict__["username"] = username return LogmeCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> pulumi.Output[builtins.str]: + def credential_id(self) -> pulumi.Output[_builtins.str]: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the LogMe instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> pulumi.Output[builtins.str]: + def uri(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_stackit/logme_instance.py b/sdk/python/pulumi_stackit/logme_instance.py index 523a55aa..e87632b8 100644 --- a/sdk/python/pulumi_stackit/logme_instance.py +++ b/sdk/python/pulumi_stackit/logme_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,17 +21,17 @@ @pulumi.input_type class LogmeInstanceArgs: def __init__(__self__, *, - plan_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - version: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, + plan_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + version: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['LogmeInstanceParametersArgs']] = None): """ The set of arguments for constructing a LogmeInstance resource. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. - :param pulumi.Input[builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. """ pulumi.set(__self__, "plan_name", plan_name) pulumi.set(__self__, "project_id", project_id) @@ -42,55 +41,55 @@ def __init__(__self__, *, if parameters is not None: pulumi.set(__self__, "parameters", parameters) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Input[builtins.str]: + def plan_name(self) -> pulumi.Input[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: pulumi.Input[builtins.str]): + def plan_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Input[builtins.str]: + def version(self) -> pulumi.Input[_builtins.str]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: pulumi.Input[builtins.str]): + def version(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "version", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['LogmeInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -103,26 +102,26 @@ def parameters(self, value: Optional[pulumi.Input['LogmeInstanceParametersArgs'] @pulumi.input_type class _LogmeInstanceState: def __init__(__self__, *, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['LogmeInstanceParametersArgs']] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering LogmeInstance resources. - :param pulumi.Input[builtins.str] instance_id: ID of the LogMe instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the LogMe instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ if cf_guid is not None: pulumi.set(__self__, "cf_guid", cf_guid) @@ -149,76 +148,76 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_guid") @cf_guid.setter - def cf_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_organization_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_organization_guid") @cf_organization_guid.setter - def cf_organization_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_organization_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_organization_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_space_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_space_guid") @cf_space_guid.setter - def cf_space_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_space_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_space_guid", value) - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> Optional[pulumi.Input[builtins.str]]: + def dashboard_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "dashboard_url") @dashboard_url.setter - def dashboard_url(self, value: Optional[pulumi.Input[builtins.str]]): + def dashboard_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dashboard_url", value) - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> Optional[pulumi.Input[builtins.str]]: + def image_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "image_url") @image_url.setter - def image_url(self, value: Optional[pulumi.Input[builtins.str]]): + def image_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_url", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the LogMe instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['LogmeInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -227,52 +226,52 @@ def parameters(self) -> Optional[pulumi.Input['LogmeInstanceParametersArgs']]: def parameters(self, value: Optional[pulumi.Input['LogmeInstanceParametersArgs']]): pulumi.set(self, "parameters", value) - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") @plan_id.setter - def plan_id(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_id", value) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -282,11 +281,11 @@ class LogmeInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['LogmeInstanceParametersArgs', 'LogmeInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ LogMe instance resource schema. Must have a `region` specified in the provider configuration. @@ -295,10 +294,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ ... @overload @@ -326,11 +325,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['LogmeInstanceParametersArgs', 'LogmeInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -368,18 +367,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['LogmeInstanceParametersArgs', 'LogmeInstanceParametersArgsDict']]] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'LogmeInstance': + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'LogmeInstance': """ Get an existing LogmeInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -387,12 +386,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the LogMe instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the LogMe instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -412,79 +411,79 @@ def get(resource_name: str, __props__.__dict__["version"] = version return LogmeInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> pulumi.Output[builtins.str]: + def cf_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> pulumi.Output[builtins.str]: + def cf_organization_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> pulumi.Output[builtins.str]: + def cf_space_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> pulumi.Output[builtins.str]: + def dashboard_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> pulumi.Output[builtins.str]: + def image_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the LogMe instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> pulumi.Output['outputs.LogmeInstanceParameters']: return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> pulumi.Output[builtins.str]: + def plan_id(self) -> pulumi.Output[_builtins.str]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Output[builtins.str]: + def plan_name(self) -> pulumi.Output[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: """ The service version. """ diff --git a/sdk/python/pulumi_stackit/mariadb_credential.py b/sdk/python/pulumi_stackit/mariadb_credential.py index bc943965..b6dfa9e8 100644 --- a/sdk/python/pulumi_stackit/mariadb_credential.py +++ b/sdk/python/pulumi_stackit/mariadb_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,59 +19,59 @@ @pulumi.input_type class MariadbCredentialArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str]): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a MariadbCredential resource. - :param pulumi.Input[builtins.str] instance_id: ID of the MariaDB instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the MariaDB instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the MariaDB instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) @pulumi.input_type class _MariadbCredentialState: def __init__(__self__, *, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering MariadbCredential resources. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the MariaDB instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the MariaDB instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ if credential_id is not None: pulumi.set(__self__, "credential_id", credential_id) @@ -95,103 +94,103 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credential_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credential's ID. """ return pulumi.get(self, "credential_id") @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credential_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credential_id", value) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "hosts") @hosts.setter - def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "hosts", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the MariaDB instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def uri(self) -> Optional[pulumi.Input[builtins.str]]: + def uri(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "uri") @uri.setter - def uri(self, value: Optional[pulumi.Input[builtins.str]]): + def uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "uri", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -201,8 +200,8 @@ class MariadbCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ MariaDB credential resource schema. Must have a `region` specified in the provider configuration. @@ -211,8 +210,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the MariaDB instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the MariaDB instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ ... @overload @@ -240,8 +239,8 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -277,16 +276,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'MariadbCredential': + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'MariadbCredential': """ Get an existing MariadbCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -294,9 +293,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the MariaDB instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the MariaDB instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -314,62 +313,62 @@ def get(resource_name: str, __props__.__dict__["username"] = username return MariadbCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> pulumi.Output[builtins.str]: + def credential_id(self) -> pulumi.Output[_builtins.str]: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> pulumi.Output[Sequence[builtins.str]]: + def hosts(self) -> pulumi.Output[Sequence[_builtins.str]]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the MariaDB instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> pulumi.Output[builtins.str]: + def uri(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_stackit/mariadb_instance.py b/sdk/python/pulumi_stackit/mariadb_instance.py index 5841ee34..d2fca56c 100644 --- a/sdk/python/pulumi_stackit/mariadb_instance.py +++ b/sdk/python/pulumi_stackit/mariadb_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,17 +21,17 @@ @pulumi.input_type class MariadbInstanceArgs: def __init__(__self__, *, - plan_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - version: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, + plan_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + version: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['MariadbInstanceParametersArgs']] = None): """ The set of arguments for constructing a MariadbInstance resource. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. - :param pulumi.Input[builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. """ pulumi.set(__self__, "plan_name", plan_name) pulumi.set(__self__, "project_id", project_id) @@ -42,55 +41,55 @@ def __init__(__self__, *, if parameters is not None: pulumi.set(__self__, "parameters", parameters) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Input[builtins.str]: + def plan_name(self) -> pulumi.Input[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: pulumi.Input[builtins.str]): + def plan_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Input[builtins.str]: + def version(self) -> pulumi.Input[_builtins.str]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: pulumi.Input[builtins.str]): + def version(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "version", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['MariadbInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -103,26 +102,26 @@ def parameters(self, value: Optional[pulumi.Input['MariadbInstanceParametersArgs @pulumi.input_type class _MariadbInstanceState: def __init__(__self__, *, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['MariadbInstanceParametersArgs']] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering MariadbInstance resources. - :param pulumi.Input[builtins.str] instance_id: ID of the MariaDB instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the MariaDB instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ if cf_guid is not None: pulumi.set(__self__, "cf_guid", cf_guid) @@ -149,76 +148,76 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_guid") @cf_guid.setter - def cf_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_organization_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_organization_guid") @cf_organization_guid.setter - def cf_organization_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_organization_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_organization_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_space_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_space_guid") @cf_space_guid.setter - def cf_space_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_space_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_space_guid", value) - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> Optional[pulumi.Input[builtins.str]]: + def dashboard_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "dashboard_url") @dashboard_url.setter - def dashboard_url(self, value: Optional[pulumi.Input[builtins.str]]): + def dashboard_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dashboard_url", value) - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> Optional[pulumi.Input[builtins.str]]: + def image_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "image_url") @image_url.setter - def image_url(self, value: Optional[pulumi.Input[builtins.str]]): + def image_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_url", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the MariaDB instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['MariadbInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -227,52 +226,52 @@ def parameters(self) -> Optional[pulumi.Input['MariadbInstanceParametersArgs']]: def parameters(self, value: Optional[pulumi.Input['MariadbInstanceParametersArgs']]): pulumi.set(self, "parameters", value) - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") @plan_id.setter - def plan_id(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_id", value) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -282,11 +281,11 @@ class MariadbInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['MariadbInstanceParametersArgs', 'MariadbInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ MariaDB instance resource schema. Must have a `region` specified in the provider configuration. @@ -295,10 +294,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ ... @overload @@ -326,11 +325,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['MariadbInstanceParametersArgs', 'MariadbInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -368,18 +367,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['MariadbInstanceParametersArgs', 'MariadbInstanceParametersArgsDict']]] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'MariadbInstance': + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'MariadbInstance': """ Get an existing MariadbInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -387,12 +386,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the MariaDB instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the MariaDB instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -412,79 +411,79 @@ def get(resource_name: str, __props__.__dict__["version"] = version return MariadbInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> pulumi.Output[builtins.str]: + def cf_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> pulumi.Output[builtins.str]: + def cf_organization_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> pulumi.Output[builtins.str]: + def cf_space_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> pulumi.Output[builtins.str]: + def dashboard_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> pulumi.Output[builtins.str]: + def image_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the MariaDB instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> pulumi.Output['outputs.MariadbInstanceParameters']: return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> pulumi.Output[builtins.str]: + def plan_id(self) -> pulumi.Output[_builtins.str]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Output[builtins.str]: + def plan_name(self) -> pulumi.Output[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: """ The service version. """ diff --git a/sdk/python/pulumi_stackit/modelserving_token.py b/sdk/python/pulumi_stackit/modelserving_token.py index 69d038b7..9ad4b131 100644 --- a/sdk/python/pulumi_stackit/modelserving_token.py +++ b/sdk/python/pulumi_stackit/modelserving_token.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,20 +19,20 @@ @pulumi.input_type class ModelservingTokenArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - description: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - ttl_duration: Optional[pulumi.Input[builtins.str]] = None): + project_id: pulumi.Input[_builtins.str], + description: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + ttl_duration: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ModelservingToken resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. - :param pulumi.Input[builtins.str] description: The description of the AI model serving auth token. - :param pulumi.Input[builtins.str] name: Name of the AI model serving auth token. - :param pulumi.Input[builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. + :param pulumi.Input[_builtins.str] description: The description of the AI model serving auth token. + :param pulumi.Input[_builtins.str] name: Name of the AI model serving auth token. + :param pulumi.Input[_builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s """ pulumi.set(__self__, "project_id", project_id) if description is not None: @@ -47,104 +46,104 @@ def __init__(__self__, *, if ttl_duration is not None: pulumi.set(__self__, "ttl_duration", ttl_duration) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the AI model serving auth token is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The description of the AI model serving auth token. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the AI model serving auth token. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ Region to which the AI model serving auth token is associated. If not defined, the provider region is used """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. """ return pulumi.get(self, "rotate_when_changed") @rotate_when_changed.setter - def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "rotate_when_changed", value) - @property + @_builtins.property @pulumi.getter(name="ttlDuration") - def ttl_duration(self) -> Optional[pulumi.Input[builtins.str]]: + def ttl_duration(self) -> Optional[pulumi.Input[_builtins.str]]: """ The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s """ return pulumi.get(self, "ttl_duration") @ttl_duration.setter - def ttl_duration(self, value: Optional[pulumi.Input[builtins.str]]): + def ttl_duration(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ttl_duration", value) @pulumi.input_type class _ModelservingTokenState: def __init__(__self__, *, - description: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - state: Optional[pulumi.Input[builtins.str]] = None, - token: Optional[pulumi.Input[builtins.str]] = None, - token_id: Optional[pulumi.Input[builtins.str]] = None, - ttl_duration: Optional[pulumi.Input[builtins.str]] = None, - valid_until: Optional[pulumi.Input[builtins.str]] = None): + description: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + state: Optional[pulumi.Input[_builtins.str]] = None, + token: Optional[pulumi.Input[_builtins.str]] = None, + token_id: Optional[pulumi.Input[_builtins.str]] = None, + ttl_duration: Optional[pulumi.Input[_builtins.str]] = None, + valid_until: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ModelservingToken resources. - :param pulumi.Input[builtins.str] description: The description of the AI model serving auth token. - :param pulumi.Input[builtins.str] name: Name of the AI model serving auth token. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. - :param pulumi.Input[builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.str] state: State of the AI model serving auth token. - :param pulumi.Input[builtins.str] token: Content of the AI model serving auth token. - :param pulumi.Input[builtins.str] token_id: The AI model serving auth token ID. - :param pulumi.Input[builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s - :param pulumi.Input[builtins.str] valid_until: The time until the AI model serving auth token is valid. + :param pulumi.Input[_builtins.str] description: The description of the AI model serving auth token. + :param pulumi.Input[_builtins.str] name: Name of the AI model serving auth token. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. + :param pulumi.Input[_builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.str] state: State of the AI model serving auth token. + :param pulumi.Input[_builtins.str] token: Content of the AI model serving auth token. + :param pulumi.Input[_builtins.str] token_id: The AI model serving auth token ID. + :param pulumi.Input[_builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s + :param pulumi.Input[_builtins.str] valid_until: The time until the AI model serving auth token is valid. """ if description is not None: pulumi.set(__self__, "description", description) @@ -167,124 +166,124 @@ def __init__(__self__, *, if valid_until is not None: pulumi.set(__self__, "valid_until", valid_until) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The description of the AI model serving auth token. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the AI model serving auth token. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the AI model serving auth token is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ Region to which the AI model serving auth token is associated. If not defined, the provider region is used """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. """ return pulumi.get(self, "rotate_when_changed") @rotate_when_changed.setter - def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "rotate_when_changed", value) - @property + @_builtins.property @pulumi.getter - def state(self) -> Optional[pulumi.Input[builtins.str]]: + def state(self) -> Optional[pulumi.Input[_builtins.str]]: """ State of the AI model serving auth token. """ return pulumi.get(self, "state") @state.setter - def state(self, value: Optional[pulumi.Input[builtins.str]]): + def state(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "state", value) - @property + @_builtins.property @pulumi.getter - def token(self) -> Optional[pulumi.Input[builtins.str]]: + def token(self) -> Optional[pulumi.Input[_builtins.str]]: """ Content of the AI model serving auth token. """ return pulumi.get(self, "token") @token.setter - def token(self, value: Optional[pulumi.Input[builtins.str]]): + def token(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "token", value) - @property + @_builtins.property @pulumi.getter(name="tokenId") - def token_id(self) -> Optional[pulumi.Input[builtins.str]]: + def token_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The AI model serving auth token ID. """ return pulumi.get(self, "token_id") @token_id.setter - def token_id(self, value: Optional[pulumi.Input[builtins.str]]): + def token_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "token_id", value) - @property + @_builtins.property @pulumi.getter(name="ttlDuration") - def ttl_duration(self) -> Optional[pulumi.Input[builtins.str]]: + def ttl_duration(self) -> Optional[pulumi.Input[_builtins.str]]: """ The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s """ return pulumi.get(self, "ttl_duration") @ttl_duration.setter - def ttl_duration(self, value: Optional[pulumi.Input[builtins.str]]): + def ttl_duration(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ttl_duration", value) - @property + @_builtins.property @pulumi.getter(name="validUntil") - def valid_until(self) -> Optional[pulumi.Input[builtins.str]]: + def valid_until(self) -> Optional[pulumi.Input[_builtins.str]]: """ The time until the AI model serving auth token is valid. """ return pulumi.get(self, "valid_until") @valid_until.setter - def valid_until(self, value: Optional[pulumi.Input[builtins.str]]): + def valid_until(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "valid_until", value) @@ -294,12 +293,12 @@ class ModelservingToken(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - ttl_duration: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + ttl_duration: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ AI Model Serving Auth Token Resource schema. @@ -310,12 +309,12 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: The description of the AI model serving auth token. - :param pulumi.Input[builtins.str] name: Name of the AI model serving auth token. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. - :param pulumi.Input[builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s + :param pulumi.Input[_builtins.str] description: The description of the AI model serving auth token. + :param pulumi.Input[_builtins.str] name: Name of the AI model serving auth token. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. + :param pulumi.Input[_builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s """ ... @overload @@ -345,12 +344,12 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - ttl_duration: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + ttl_duration: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -384,16 +383,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - state: Optional[pulumi.Input[builtins.str]] = None, - token: Optional[pulumi.Input[builtins.str]] = None, - token_id: Optional[pulumi.Input[builtins.str]] = None, - ttl_duration: Optional[pulumi.Input[builtins.str]] = None, - valid_until: Optional[pulumi.Input[builtins.str]] = None) -> 'ModelservingToken': + description: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + state: Optional[pulumi.Input[_builtins.str]] = None, + token: Optional[pulumi.Input[_builtins.str]] = None, + token_id: Optional[pulumi.Input[_builtins.str]] = None, + ttl_duration: Optional[pulumi.Input[_builtins.str]] = None, + valid_until: Optional[pulumi.Input[_builtins.str]] = None) -> 'ModelservingToken': """ Get an existing ModelservingToken resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -401,16 +400,16 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: The description of the AI model serving auth token. - :param pulumi.Input[builtins.str] name: Name of the AI model serving auth token. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. - :param pulumi.Input[builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.str] state: State of the AI model serving auth token. - :param pulumi.Input[builtins.str] token: Content of the AI model serving auth token. - :param pulumi.Input[builtins.str] token_id: The AI model serving auth token ID. - :param pulumi.Input[builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s - :param pulumi.Input[builtins.str] valid_until: The time until the AI model serving auth token is valid. + :param pulumi.Input[_builtins.str] description: The description of the AI model serving auth token. + :param pulumi.Input[_builtins.str] name: Name of the AI model serving auth token. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the AI model serving auth token is associated. + :param pulumi.Input[_builtins.str] region: Region to which the AI model serving auth token is associated. If not defined, the provider region is used + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.str] state: State of the AI model serving auth token. + :param pulumi.Input[_builtins.str] token: Content of the AI model serving auth token. + :param pulumi.Input[_builtins.str] token_id: The AI model serving auth token ID. + :param pulumi.Input[_builtins.str] ttl_duration: The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s + :param pulumi.Input[_builtins.str] valid_until: The time until the AI model serving auth token is valid. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -428,81 +427,81 @@ def get(resource_name: str, __props__.__dict__["valid_until"] = valid_until return ModelservingToken(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def description(self) -> pulumi.Output[Optional[builtins.str]]: + def description(self) -> pulumi.Output[Optional[_builtins.str]]: """ The description of the AI model serving auth token. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Name of the AI model serving auth token. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the AI model serving auth token is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ Region to which the AI model serving auth token is associated. If not defined, the provider region is used """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. """ return pulumi.get(self, "rotate_when_changed") - @property + @_builtins.property @pulumi.getter - def state(self) -> pulumi.Output[builtins.str]: + def state(self) -> pulumi.Output[_builtins.str]: """ State of the AI model serving auth token. """ return pulumi.get(self, "state") - @property + @_builtins.property @pulumi.getter - def token(self) -> pulumi.Output[builtins.str]: + def token(self) -> pulumi.Output[_builtins.str]: """ Content of the AI model serving auth token. """ return pulumi.get(self, "token") - @property + @_builtins.property @pulumi.getter(name="tokenId") - def token_id(self) -> pulumi.Output[builtins.str]: + def token_id(self) -> pulumi.Output[_builtins.str]: """ The AI model serving auth token ID. """ return pulumi.get(self, "token_id") - @property + @_builtins.property @pulumi.getter(name="ttlDuration") - def ttl_duration(self) -> pulumi.Output[Optional[builtins.str]]: + def ttl_duration(self) -> pulumi.Output[Optional[_builtins.str]]: """ The TTL duration of the AI model serving auth token. E.g. 5h30m40s,5h,5h30m,30m,30s """ return pulumi.get(self, "ttl_duration") - @property + @_builtins.property @pulumi.getter(name="validUntil") - def valid_until(self) -> pulumi.Output[builtins.str]: + def valid_until(self) -> pulumi.Output[_builtins.str]: """ The time until the AI model serving auth token is valid. """ diff --git a/sdk/python/pulumi_stackit/mongodbflex_instance.py b/sdk/python/pulumi_stackit/mongodbflex_instance.py index 74f7b576..bca59c69 100644 --- a/sdk/python/pulumi_stackit/mongodbflex_instance.py +++ b/sdk/python/pulumi_stackit/mongodbflex_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,21 +21,23 @@ @pulumi.input_type class MongodbflexInstanceArgs: def __init__(__self__, *, - acls: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - backup_schedule: pulumi.Input[builtins.str], + acls: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + backup_schedule: pulumi.Input[_builtins.str], flavor: pulumi.Input['MongodbflexInstanceFlavorArgs'], options: pulumi.Input['MongodbflexInstanceOptionsArgs'], - project_id: pulumi.Input[builtins.str], - replicas: pulumi.Input[builtins.int], + project_id: pulumi.Input[_builtins.str], + replicas: pulumi.Input[_builtins.int], storage: pulumi.Input['MongodbflexInstanceStorageArgs'], - version: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None): + version: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a MongodbflexInstance resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] name: Instance name. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "acls", acls) pulumi.set(__self__, "backup_schedule", backup_schedule) @@ -48,32 +49,34 @@ def __init__(__self__, *, pulumi.set(__self__, "version", version) if name is not None: pulumi.set(__self__, "name", name) + if region is not None: + pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter - def acls(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def acls(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ The Access Control List (ACL) for the MongoDB Flex instance. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def acls(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> pulumi.Input[builtins.str]: + def backup_schedule(self) -> pulumi.Input[_builtins.str]: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). """ return pulumi.get(self, "backup_schedule") @backup_schedule.setter - def backup_schedule(self, value: pulumi.Input[builtins.str]): + def backup_schedule(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "backup_schedule", value) - @property + @_builtins.property @pulumi.getter def flavor(self) -> pulumi.Input['MongodbflexInstanceFlavorArgs']: return pulumi.get(self, "flavor") @@ -82,7 +85,7 @@ def flavor(self) -> pulumi.Input['MongodbflexInstanceFlavorArgs']: def flavor(self, value: pulumi.Input['MongodbflexInstanceFlavorArgs']): pulumi.set(self, "flavor", value) - @property + @_builtins.property @pulumi.getter def options(self) -> pulumi.Input['MongodbflexInstanceOptionsArgs']: return pulumi.get(self, "options") @@ -91,28 +94,28 @@ def options(self) -> pulumi.Input['MongodbflexInstanceOptionsArgs']: def options(self, value: pulumi.Input['MongodbflexInstanceOptionsArgs']): pulumi.set(self, "options", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def replicas(self) -> pulumi.Input[builtins.int]: + def replicas(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "replicas") @replicas.setter - def replicas(self, value: pulumi.Input[builtins.int]): + def replicas(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "replicas", value) - @property + @_builtins.property @pulumi.getter def storage(self) -> pulumi.Input['MongodbflexInstanceStorageArgs']: return pulumi.get(self, "storage") @@ -121,48 +124,62 @@ def storage(self) -> pulumi.Input['MongodbflexInstanceStorageArgs']: def storage(self, value: pulumi.Input['MongodbflexInstanceStorageArgs']): pulumi.set(self, "storage", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Input[builtins.str]: + def version(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "version") @version.setter - def version(self, value: pulumi.Input[builtins.str]): + def version(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "version", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + @pulumi.input_type class _MongodbflexInstanceState: def __init__(__self__, *, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input['MongodbflexInstanceFlavorArgs']] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input['MongodbflexInstanceOptionsArgs']] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input['MongodbflexInstanceStorageArgs']] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering MongodbflexInstance resources. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). - :param pulumi.Input[builtins.str] instance_id: ID of the MongoDB Flex instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). + :param pulumi.Input[_builtins.str] instance_id: ID of the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -178,6 +195,8 @@ def __init__(__self__, *, pulumi.set(__self__, "options", options) if project_id is not None: pulumi.set(__self__, "project_id", project_id) + if region is not None: + pulumi.set(__self__, "region", region) if replicas is not None: pulumi.set(__self__, "replicas", replicas) if storage is not None: @@ -185,31 +204,31 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The Access Control List (ACL) for the MongoDB Flex instance. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> Optional[pulumi.Input[builtins.str]]: + def backup_schedule(self) -> Optional[pulumi.Input[_builtins.str]]: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). """ return pulumi.get(self, "backup_schedule") @backup_schedule.setter - def backup_schedule(self, value: Optional[pulumi.Input[builtins.str]]): + def backup_schedule(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "backup_schedule", value) - @property + @_builtins.property @pulumi.getter def flavor(self) -> Optional[pulumi.Input['MongodbflexInstanceFlavorArgs']]: return pulumi.get(self, "flavor") @@ -218,31 +237,31 @@ def flavor(self) -> Optional[pulumi.Input['MongodbflexInstanceFlavorArgs']]: def flavor(self, value: Optional[pulumi.Input['MongodbflexInstanceFlavorArgs']]): pulumi.set(self, "flavor", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the MongoDB Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def options(self) -> Optional[pulumi.Input['MongodbflexInstanceOptionsArgs']]: return pulumi.get(self, "options") @@ -251,28 +270,40 @@ def options(self) -> Optional[pulumi.Input['MongodbflexInstanceOptionsArgs']]: def options(self, value: Optional[pulumi.Input['MongodbflexInstanceOptionsArgs']]): pulumi.set(self, "options", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property @pulumi.getter - def replicas(self) -> Optional[pulumi.Input[builtins.int]]: + def replicas(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "replicas") @replicas.setter - def replicas(self, value: Optional[pulumi.Input[builtins.int]]): + def replicas(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "replicas", value) - @property + @_builtins.property @pulumi.getter def storage(self) -> Optional[pulumi.Input['MongodbflexInstanceStorageArgs']]: return pulumi.get(self, "storage") @@ -281,13 +312,13 @@ def storage(self) -> Optional[pulumi.Input['MongodbflexInstanceStorageArgs']]: def storage(self, value: Optional[pulumi.Input['MongodbflexInstanceStorageArgs']]): pulumi.set(self, "storage", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -297,15 +328,16 @@ class MongodbflexInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['MongodbflexInstanceFlavorArgs', 'MongodbflexInstanceFlavorArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input[Union['MongodbflexInstanceOptionsArgs', 'MongodbflexInstanceOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input[Union['MongodbflexInstanceStorageArgs', 'MongodbflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ MongoDB Flex instance resource schema. Must have a `region` specified in the provider configuration. @@ -314,10 +346,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -345,15 +378,16 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['MongodbflexInstanceFlavorArgs', 'MongodbflexInstanceFlavorArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input[Union['MongodbflexInstanceOptionsArgs', 'MongodbflexInstanceOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input[Union['MongodbflexInstanceStorageArgs', 'MongodbflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -379,6 +413,7 @@ def _internal_init(__self__, if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + __props__.__dict__["region"] = region if replicas is None and not opts.urn: raise TypeError("Missing required property 'replicas'") __props__.__dict__["replicas"] = replicas @@ -399,16 +434,17 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['MongodbflexInstanceFlavorArgs', 'MongodbflexInstanceFlavorArgsDict']]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input[Union['MongodbflexInstanceOptionsArgs', 'MongodbflexInstanceOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input[Union['MongodbflexInstanceStorageArgs', 'MongodbflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'MongodbflexInstance': + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'MongodbflexInstance': """ Get an existing MongodbflexInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -416,11 +452,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). - :param pulumi.Input[builtins.str] instance_id: ID of the MongoDB Flex instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). + :param pulumi.Input[_builtins.str] instance_id: ID of the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -433,73 +470,82 @@ def get(resource_name: str, __props__.__dict__["name"] = name __props__.__dict__["options"] = options __props__.__dict__["project_id"] = project_id + __props__.__dict__["region"] = region __props__.__dict__["replicas"] = replicas __props__.__dict__["storage"] = storage __props__.__dict__["version"] = version return MongodbflexInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def acls(self) -> pulumi.Output[Sequence[builtins.str]]: + def acls(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The Access Control List (ACL) for the MongoDB Flex instance. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> pulumi.Output[builtins.str]: + def backup_schedule(self) -> pulumi.Output[_builtins.str]: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *"). """ return pulumi.get(self, "backup_schedule") - @property + @_builtins.property @pulumi.getter def flavor(self) -> pulumi.Output['outputs.MongodbflexInstanceFlavor']: return pulumi.get(self, "flavor") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the MongoDB Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def options(self) -> pulumi.Output['outputs.MongodbflexInstanceOptions']: return pulumi.get(self, "options") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property @pulumi.getter - def replicas(self) -> pulumi.Output[builtins.int]: + def replicas(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "replicas") - @property + @_builtins.property @pulumi.getter def storage(self) -> pulumi.Output['outputs.MongodbflexInstanceStorage']: return pulumi.get(self, "storage") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "version") diff --git a/sdk/python/pulumi_stackit/mongodbflex_user.py b/sdk/python/pulumi_stackit/mongodbflex_user.py index 396acb6a..ed715a27 100644 --- a/sdk/python/pulumi_stackit/mongodbflex_user.py +++ b/sdk/python/pulumi_stackit/mongodbflex_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,98 +19,116 @@ @pulumi.input_type class MongodbflexUserArgs: def __init__(__self__, *, - database: pulumi.Input[builtins.str], - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - roles: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - username: Optional[pulumi.Input[builtins.str]] = None): + database: pulumi.Input[_builtins.str], + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + roles: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + region: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a MongodbflexUser resource. - :param pulumi.Input[builtins.str] instance_id: ID of the MongoDB Flex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] + :param pulumi.Input[_builtins.str] instance_id: ID of the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "database", database) pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "roles", roles) + if region is not None: + pulumi.set(__self__, "region", region) if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def database(self) -> pulumi.Input[builtins.str]: + def database(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "database") @database.setter - def database(self, value: pulumi.Input[builtins.str]): + def database(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "database", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the MongoDB Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def roles(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def roles(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] """ return pulumi.get(self, "roles") @roles.setter - def roles(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def roles(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "roles", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @pulumi.input_type class _MongodbflexUserState: def __init__(__self__, *, - database: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + database: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering MongodbflexUser resources. - :param pulumi.Input[builtins.str] instance_id: ID of the MongoDB Flex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] - :param pulumi.Input[builtins.str] user_id: User ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] + :param pulumi.Input[_builtins.str] user_id: User ID. """ if database is not None: pulumi.set(__self__, "database", database) @@ -125,6 +142,8 @@ def __init__(__self__, *, pulumi.set(__self__, "port", port) if project_id is not None: pulumi.set(__self__, "project_id", project_id) + if region is not None: + pulumi.set(__self__, "region", region) if roles is not None: pulumi.set(__self__, "roles", roles) if uri is not None: @@ -134,106 +153,118 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def database(self) -> Optional[pulumi.Input[builtins.str]]: + def database(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "database") @database.setter - def database(self, value: Optional[pulumi.Input[builtins.str]]): + def database(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "database", value) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the MongoDB Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property @pulumi.getter - def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] """ return pulumi.get(self, "roles") @roles.setter - def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "roles", value) - @property + @_builtins.property @pulumi.getter - def uri(self) -> Optional[pulumi.Input[builtins.str]]: + def uri(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "uri") @uri.setter - def uri(self, value: Optional[pulumi.Input[builtins.str]]): + def uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "uri", value) - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> Optional[pulumi.Input[builtins.str]]: + def user_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ User ID. """ return pulumi.get(self, "user_id") @user_id.setter - def user_id(self, value: Optional[pulumi.Input[builtins.str]]): + def user_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "user_id", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -243,11 +274,12 @@ class MongodbflexUser(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - database: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + database: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ MongoDB Flex user resource schema. Must have a `region` specified in the provider configuration. @@ -256,9 +288,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the MongoDB Flex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] + :param pulumi.Input[_builtins.str] instance_id: ID of the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] """ ... @overload @@ -286,11 +319,12 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - database: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + database: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -309,6 +343,7 @@ def _internal_init(__self__, if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + __props__.__dict__["region"] = region if roles is None and not opts.urn: raise TypeError("Missing required property 'roles'") __props__.__dict__["roles"] = roles @@ -330,16 +365,17 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - database: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'MongodbflexUser': + database: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'MongodbflexUser': """ Get an existing MongodbflexUser resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -347,10 +383,11 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the MongoDB Flex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] - :param pulumi.Input[builtins.str] user_id: User ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the MongoDB Flex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] + :param pulumi.Input[_builtins.str] user_id: User ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -362,71 +399,80 @@ def get(resource_name: str, __props__.__dict__["password"] = password __props__.__dict__["port"] = port __props__.__dict__["project_id"] = project_id + __props__.__dict__["region"] = region __props__.__dict__["roles"] = roles __props__.__dict__["uri"] = uri __props__.__dict__["user_id"] = user_id __props__.__dict__["username"] = username return MongodbflexUser(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def database(self) -> pulumi.Output[builtins.str]: + def database(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "database") - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the MongoDB Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property @pulumi.getter - def roles(self) -> pulumi.Output[Sequence[builtins.str]]: + def roles(self) -> pulumi.Output[Sequence[_builtins.str]]: """ Database access levels for the user. Some of the possible values are: [`read`, `readWrite`, `readWriteAnyDatabase`] """ return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter - def uri(self) -> pulumi.Output[builtins.str]: + def uri(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> pulumi.Output[builtins.str]: + def user_id(self) -> pulumi.Output[_builtins.str]: """ User ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_stackit/network.py b/sdk/python/pulumi_stackit/network.py index 4ee492a0..1ebc5e43 100644 --- a/sdk/python/pulumi_stackit/network.py +++ b/sdk/python/pulumi_stackit/network.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,38 +19,44 @@ @pulumi.input_type class NetworkArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - ipv4_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv4_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv6_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - no_ipv4_gateway: Optional[pulumi.Input[builtins.bool]] = None, - no_ipv6_gateway: Optional[pulumi.Input[builtins.bool]] = None, - routed: Optional[pulumi.Input[builtins.bool]] = None): + project_id: pulumi.Input[_builtins.str], + ipv4_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv6_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + no_ipv4_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + no_ipv6_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routed: Optional[pulumi.Input[_builtins.bool]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a Network resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. - :param pulumi.Input[builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. - :param pulumi.Input[builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. - :param pulumi.Input[builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. - :param pulumi.Input[builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[_builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. + :param pulumi.Input[_builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. + :param pulumi.Input[_builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[_builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[_builtins.str] region: Can only be used when experimental "network" is set. + The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] routing_table_id: Can only be used when experimental "network" is set. + The ID of the routing table associated with the network. """ pulumi.set(__self__, "project_id", project_id) if ipv4_gateway is not None: @@ -83,236 +88,272 @@ def __init__(__self__, *, pulumi.set(__self__, "no_ipv4_gateway", no_ipv4_gateway) if no_ipv6_gateway is not None: pulumi.set(__self__, "no_ipv6_gateway", no_ipv6_gateway) + if region is not None: + pulumi.set(__self__, "region", region) if routed is not None: pulumi.set(__self__, "routed", routed) + if routing_table_id is not None: + pulumi.set(__self__, "routing_table_id", routing_table_id) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the network is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="ipv4Gateway") - def ipv4_gateway(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv4_gateway(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv4_gateway") @ipv4_gateway.setter - def ipv4_gateway(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv4_gateway(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv4_gateway", value) - @property + @_builtins.property @pulumi.getter(name="ipv4Nameservers") - def ipv4_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def ipv4_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IPv4 nameservers of the network. """ return pulumi.get(self, "ipv4_nameservers") @ipv4_nameservers.setter - def ipv4_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def ipv4_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "ipv4_nameservers", value) - @property + @_builtins.property @pulumi.getter(name="ipv4Prefix") - def ipv4_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv4_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv4 prefix of the network (CIDR). """ return pulumi.get(self, "ipv4_prefix") @ipv4_prefix.setter - def ipv4_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv4_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv4_prefix", value) - @property + @_builtins.property @pulumi.getter(name="ipv4PrefixLength") - def ipv4_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def ipv4_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The IPv4 prefix length of the network. """ return pulumi.get(self, "ipv4_prefix_length") @ipv4_prefix_length.setter - def ipv4_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def ipv4_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ipv4_prefix_length", value) - @property + @_builtins.property @pulumi.getter(name="ipv6Gateway") - def ipv6_gateway(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv6_gateway(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv6_gateway") @ipv6_gateway.setter - def ipv6_gateway(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv6_gateway(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv6_gateway", value) - @property + @_builtins.property @pulumi.getter(name="ipv6Nameservers") - def ipv6_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def ipv6_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IPv6 nameservers of the network. """ return pulumi.get(self, "ipv6_nameservers") @ipv6_nameservers.setter - def ipv6_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def ipv6_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "ipv6_nameservers", value) - @property + @_builtins.property @pulumi.getter(name="ipv6Prefix") - def ipv6_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv6_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv6 prefix of the network (CIDR). """ return pulumi.get(self, "ipv6_prefix") @ipv6_prefix.setter - def ipv6_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv6_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv6_prefix", value) - @property + @_builtins.property @pulumi.getter(name="ipv6PrefixLength") - def ipv6_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def ipv6_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The IPv6 prefix length of the network. """ return pulumi.get(self, "ipv6_prefix_length") @ipv6_prefix_length.setter - def ipv6_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def ipv6_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ipv6_prefix_length", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the network. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""Use `ipv4_nameservers` to configure the nameservers for IPv4.""") - def nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. """ return pulumi.get(self, "nameservers") @nameservers.setter - def nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "nameservers", value) - @property + @_builtins.property @pulumi.getter(name="noIpv4Gateway") - def no_ipv4_gateway(self) -> Optional[pulumi.Input[builtins.bool]]: + def no_ipv4_gateway(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to `true`, the network doesn't have a gateway. """ return pulumi.get(self, "no_ipv4_gateway") @no_ipv4_gateway.setter - def no_ipv4_gateway(self, value: Optional[pulumi.Input[builtins.bool]]): + def no_ipv4_gateway(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "no_ipv4_gateway", value) - @property + @_builtins.property @pulumi.getter(name="noIpv6Gateway") - def no_ipv6_gateway(self) -> Optional[pulumi.Input[builtins.bool]]: + def no_ipv6_gateway(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to `true`, the network doesn't have a gateway. """ return pulumi.get(self, "no_ipv6_gateway") @no_ipv6_gateway.setter - def no_ipv6_gateway(self, value: Optional[pulumi.Input[builtins.bool]]): + def no_ipv6_gateway(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "no_ipv6_gateway", value) - @property + @_builtins.property @pulumi.getter - def routed(self) -> Optional[pulumi.Input[builtins.bool]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Can only be used when experimental "network" is set. + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter + def routed(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to `true`, the network is routed and therefore accessible from other networks. """ return pulumi.get(self, "routed") @routed.setter - def routed(self, value: Optional[pulumi.Input[builtins.bool]]): + def routed(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "routed", value) + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Can only be used when experimental "network" is set. + The ID of the routing table associated with the network. + """ + return pulumi.get(self, "routing_table_id") + + @routing_table_id.setter + def routing_table_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "routing_table_id", value) + @pulumi.input_type class _NetworkState: def __init__(__self__, *, - ipv4_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv4_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - ipv4_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv6_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - ipv6_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - network_id: Optional[pulumi.Input[builtins.str]] = None, - no_ipv4_gateway: Optional[pulumi.Input[builtins.bool]] = None, - no_ipv6_gateway: Optional[pulumi.Input[builtins.bool]] = None, - prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip: Optional[pulumi.Input[builtins.str]] = None, - routed: Optional[pulumi.Input[builtins.bool]] = None): + ipv4_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + ipv4_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv6_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + ipv6_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + network_id: Optional[pulumi.Input[_builtins.str]] = None, + no_ipv4_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + no_ipv6_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routed: Optional[pulumi.Input[_builtins.bool]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering Network resources. - :param pulumi.Input[builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. - :param pulumi.Input[builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv4_prefixes: The IPv4 prefixes of the network. - :param pulumi.Input[builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. - :param pulumi.Input[builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv6_prefixes: The IPv6 prefixes of the network. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. - :param pulumi.Input[builtins.str] network_id: The network ID. - :param pulumi.Input[builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] prefixes: The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[builtins.str] public_ip: The public IP of the network. - :param pulumi.Input[builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4_prefixes: The IPv4 prefixes of the network. + :param pulumi.Input[_builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv6_prefixes: The IPv6 prefixes of the network. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. + :param pulumi.Input[_builtins.str] network_id: The network ID. + :param pulumi.Input[_builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[_builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] prefixes: The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[_builtins.str] public_ip: The public IP of the network. + :param pulumi.Input[_builtins.str] region: Can only be used when experimental "network" is set. + The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] routing_table_id: Can only be used when experimental "network" is set. + The ID of the routing table associated with the network. """ if ipv4_gateway is not None: pulumi.set(__self__, "ipv4_gateway", ipv4_gateway) @@ -358,251 +399,281 @@ def __init__(__self__, *, pulumi.set(__self__, "project_id", project_id) if public_ip is not None: pulumi.set(__self__, "public_ip", public_ip) + if region is not None: + pulumi.set(__self__, "region", region) if routed is not None: pulumi.set(__self__, "routed", routed) + if routing_table_id is not None: + pulumi.set(__self__, "routing_table_id", routing_table_id) - @property + @_builtins.property @pulumi.getter(name="ipv4Gateway") - def ipv4_gateway(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv4_gateway(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv4_gateway") @ipv4_gateway.setter - def ipv4_gateway(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv4_gateway(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv4_gateway", value) - @property + @_builtins.property @pulumi.getter(name="ipv4Nameservers") - def ipv4_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def ipv4_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IPv4 nameservers of the network. """ return pulumi.get(self, "ipv4_nameservers") @ipv4_nameservers.setter - def ipv4_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def ipv4_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "ipv4_nameservers", value) - @property + @_builtins.property @pulumi.getter(name="ipv4Prefix") - def ipv4_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv4_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv4 prefix of the network (CIDR). """ return pulumi.get(self, "ipv4_prefix") @ipv4_prefix.setter - def ipv4_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv4_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv4_prefix", value) - @property + @_builtins.property @pulumi.getter(name="ipv4PrefixLength") - def ipv4_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def ipv4_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The IPv4 prefix length of the network. """ return pulumi.get(self, "ipv4_prefix_length") @ipv4_prefix_length.setter - def ipv4_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def ipv4_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ipv4_prefix_length", value) - @property + @_builtins.property @pulumi.getter(name="ipv4Prefixes") - def ipv4_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def ipv4_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IPv4 prefixes of the network. """ return pulumi.get(self, "ipv4_prefixes") @ipv4_prefixes.setter - def ipv4_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def ipv4_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "ipv4_prefixes", value) - @property + @_builtins.property @pulumi.getter(name="ipv6Gateway") - def ipv6_gateway(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv6_gateway(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv6_gateway") @ipv6_gateway.setter - def ipv6_gateway(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv6_gateway(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv6_gateway", value) - @property + @_builtins.property @pulumi.getter(name="ipv6Nameservers") - def ipv6_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def ipv6_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IPv6 nameservers of the network. """ return pulumi.get(self, "ipv6_nameservers") @ipv6_nameservers.setter - def ipv6_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def ipv6_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "ipv6_nameservers", value) - @property + @_builtins.property @pulumi.getter(name="ipv6Prefix") - def ipv6_prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv6_prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv6 prefix of the network (CIDR). """ return pulumi.get(self, "ipv6_prefix") @ipv6_prefix.setter - def ipv6_prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv6_prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv6_prefix", value) - @property + @_builtins.property @pulumi.getter(name="ipv6PrefixLength") - def ipv6_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def ipv6_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The IPv6 prefix length of the network. """ return pulumi.get(self, "ipv6_prefix_length") @ipv6_prefix_length.setter - def ipv6_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def ipv6_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ipv6_prefix_length", value) - @property + @_builtins.property @pulumi.getter(name="ipv6Prefixes") - def ipv6_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def ipv6_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IPv6 prefixes of the network. """ return pulumi.get(self, "ipv6_prefixes") @ipv6_prefixes.setter - def ipv6_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def ipv6_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "ipv6_prefixes", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the network. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""Use `ipv4_nameservers` to configure the nameservers for IPv4.""") - def nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. """ return pulumi.get(self, "nameservers") @nameservers.setter - def nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "nameservers", value) - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network ID. """ return pulumi.get(self, "network_id") @network_id.setter - def network_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_id", value) - @property + @_builtins.property @pulumi.getter(name="noIpv4Gateway") - def no_ipv4_gateway(self) -> Optional[pulumi.Input[builtins.bool]]: + def no_ipv4_gateway(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to `true`, the network doesn't have a gateway. """ return pulumi.get(self, "no_ipv4_gateway") @no_ipv4_gateway.setter - def no_ipv4_gateway(self, value: Optional[pulumi.Input[builtins.bool]]): + def no_ipv4_gateway(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "no_ipv4_gateway", value) - @property + @_builtins.property @pulumi.getter(name="noIpv6Gateway") - def no_ipv6_gateway(self) -> Optional[pulumi.Input[builtins.bool]]: + def no_ipv6_gateway(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to `true`, the network doesn't have a gateway. """ return pulumi.get(self, "no_ipv6_gateway") @no_ipv6_gateway.setter - def no_ipv6_gateway(self, value: Optional[pulumi.Input[builtins.bool]]): + def no_ipv6_gateway(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "no_ipv6_gateway", value) - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""Use `ipv4_prefixes` to read the prefixes of the IPv4 networks.""") - def prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks. """ return pulumi.get(self, "prefixes") @prefixes.setter - def prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "prefixes", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the network is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[builtins.str]]: + def public_ip(self) -> Optional[pulumi.Input[_builtins.str]]: """ The public IP of the network. """ return pulumi.get(self, "public_ip") @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[builtins.str]]): + def public_ip(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "public_ip", value) - @property + @_builtins.property @pulumi.getter - def routed(self) -> Optional[pulumi.Input[builtins.bool]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Can only be used when experimental "network" is set. + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter + def routed(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to `true`, the network is routed and therefore accessible from other networks. """ return pulumi.get(self, "routed") @routed.setter - def routed(self, value: Optional[pulumi.Input[builtins.bool]]): + def routed(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "routed", value) + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Can only be used when experimental "network" is set. + The ID of the routing table associated with the network. + """ + return pulumi.get(self, "routing_table_id") + + @routing_table_id.setter + def routing_table_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "routing_table_id", value) + @pulumi.type_token("stackit:index/network:Network") class Network(pulumi.CustomResource): @@ -610,21 +681,23 @@ class Network(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - ipv4_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv4_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv6_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - no_ipv4_gateway: Optional[pulumi.Input[builtins.bool]] = None, - no_ipv6_gateway: Optional[pulumi.Input[builtins.bool]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - routed: Optional[pulumi.Input[builtins.bool]] = None, + ipv4_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv6_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + no_ipv4_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + no_ipv6_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routed: Optional[pulumi.Input[_builtins.bool]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Network resource schema. Must have a `region` specified in the provider configuration. @@ -633,21 +706,25 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. - :param pulumi.Input[builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. - :param pulumi.Input[builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. - :param pulumi.Input[builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. - :param pulumi.Input[builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. + :param pulumi.Input[_builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. + :param pulumi.Input[_builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[_builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[_builtins.str] region: Can only be used when experimental "network" is set. + The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] routing_table_id: Can only be used when experimental "network" is set. + The ID of the routing table associated with the network. """ ... @overload @@ -675,21 +752,23 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - ipv4_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv4_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv6_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - no_ipv4_gateway: Optional[pulumi.Input[builtins.bool]] = None, - no_ipv6_gateway: Optional[pulumi.Input[builtins.bool]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - routed: Optional[pulumi.Input[builtins.bool]] = None, + ipv4_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv6_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + no_ipv4_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + no_ipv6_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routed: Optional[pulumi.Input[_builtins.bool]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -715,7 +794,9 @@ def _internal_init(__self__, if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + __props__.__dict__["region"] = region __props__.__dict__["routed"] = routed + __props__.__dict__["routing_table_id"] = routing_table_id __props__.__dict__["ipv4_prefixes"] = None __props__.__dict__["ipv6_prefixes"] = None __props__.__dict__["network_id"] = None @@ -731,26 +812,28 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - ipv4_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv4_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - ipv4_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None, - ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv6_prefix: Optional[pulumi.Input[builtins.str]] = None, - ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - ipv6_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - network_id: Optional[pulumi.Input[builtins.str]] = None, - no_ipv4_gateway: Optional[pulumi.Input[builtins.bool]] = None, - no_ipv6_gateway: Optional[pulumi.Input[builtins.bool]] = None, - prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip: Optional[pulumi.Input[builtins.str]] = None, - routed: Optional[pulumi.Input[builtins.bool]] = None) -> 'Network': + ipv4_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv4_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + ipv4_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv6_prefix: Optional[pulumi.Input[_builtins.str]] = None, + ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + ipv6_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + network_id: Optional[pulumi.Input[_builtins.str]] = None, + no_ipv4_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + no_ipv6_gateway: Optional[pulumi.Input[_builtins.bool]] = None, + prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routed: Optional[pulumi.Input[_builtins.bool]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'Network': """ Get an existing Network resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -758,26 +841,30 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. - :param pulumi.Input[builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv4_prefixes: The IPv4 prefixes of the network. - :param pulumi.Input[builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. - :param pulumi.Input[builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). - :param pulumi.Input[builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipv6_prefixes: The IPv6 prefixes of the network. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the network. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. - :param pulumi.Input[builtins.str] network_id: The network ID. - :param pulumi.Input[builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] prefixes: The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[builtins.str] public_ip: The public IP of the network. - :param pulumi.Input[builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] ipv4_gateway: The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4_nameservers: The IPv4 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv4_prefix: The IPv4 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv4_prefix_length: The IPv4 prefix length of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv4_prefixes: The IPv4 prefixes of the network. + :param pulumi.Input[_builtins.str] ipv6_gateway: The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv6_nameservers: The IPv6 nameservers of the network. + :param pulumi.Input[_builtins.str] ipv6_prefix: The IPv6 prefix of the network (CIDR). + :param pulumi.Input[_builtins.int] ipv6_prefix_length: The IPv6 prefix length of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ipv6_prefixes: The IPv6 prefixes of the network. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the network. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] nameservers: The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. + :param pulumi.Input[_builtins.str] network_id: The network ID. + :param pulumi.Input[_builtins.bool] no_ipv4_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[_builtins.bool] no_ipv6_gateway: If set to `true`, the network doesn't have a gateway. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] prefixes: The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[_builtins.str] public_ip: The public IP of the network. + :param pulumi.Input[_builtins.str] region: Can only be used when experimental "network" is set. + The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] routed: If set to `true`, the network is routed and therefore accessible from other networks. + :param pulumi.Input[_builtins.str] routing_table_id: Can only be used when experimental "network" is set. + The ID of the routing table associated with the network. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -802,168 +889,188 @@ def get(resource_name: str, __props__.__dict__["prefixes"] = prefixes __props__.__dict__["project_id"] = project_id __props__.__dict__["public_ip"] = public_ip + __props__.__dict__["region"] = region __props__.__dict__["routed"] = routed + __props__.__dict__["routing_table_id"] = routing_table_id return Network(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="ipv4Gateway") - def ipv4_gateway(self) -> pulumi.Output[builtins.str]: + def ipv4_gateway(self) -> pulumi.Output[_builtins.str]: """ The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv4_gateway") - @property + @_builtins.property @pulumi.getter(name="ipv4Nameservers") - def ipv4_nameservers(self) -> pulumi.Output[Sequence[builtins.str]]: + def ipv4_nameservers(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The IPv4 nameservers of the network. """ return pulumi.get(self, "ipv4_nameservers") - @property + @_builtins.property @pulumi.getter(name="ipv4Prefix") - def ipv4_prefix(self) -> pulumi.Output[builtins.str]: + def ipv4_prefix(self) -> pulumi.Output[_builtins.str]: """ The IPv4 prefix of the network (CIDR). """ return pulumi.get(self, "ipv4_prefix") - @property + @_builtins.property @pulumi.getter(name="ipv4PrefixLength") - def ipv4_prefix_length(self) -> pulumi.Output[builtins.int]: + def ipv4_prefix_length(self) -> pulumi.Output[_builtins.int]: """ The IPv4 prefix length of the network. """ return pulumi.get(self, "ipv4_prefix_length") - @property + @_builtins.property @pulumi.getter(name="ipv4Prefixes") - def ipv4_prefixes(self) -> pulumi.Output[Sequence[builtins.str]]: + def ipv4_prefixes(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The IPv4 prefixes of the network. """ return pulumi.get(self, "ipv4_prefixes") - @property + @_builtins.property @pulumi.getter(name="ipv6Gateway") - def ipv6_gateway(self) -> pulumi.Output[builtins.str]: + def ipv6_gateway(self) -> pulumi.Output[_builtins.str]: """ The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway. """ return pulumi.get(self, "ipv6_gateway") - @property + @_builtins.property @pulumi.getter(name="ipv6Nameservers") - def ipv6_nameservers(self) -> pulumi.Output[Sequence[builtins.str]]: + def ipv6_nameservers(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The IPv6 nameservers of the network. """ return pulumi.get(self, "ipv6_nameservers") - @property + @_builtins.property @pulumi.getter(name="ipv6Prefix") - def ipv6_prefix(self) -> pulumi.Output[Optional[builtins.str]]: + def ipv6_prefix(self) -> pulumi.Output[Optional[_builtins.str]]: """ The IPv6 prefix of the network (CIDR). """ return pulumi.get(self, "ipv6_prefix") - @property + @_builtins.property @pulumi.getter(name="ipv6PrefixLength") - def ipv6_prefix_length(self) -> pulumi.Output[Optional[builtins.int]]: + def ipv6_prefix_length(self) -> pulumi.Output[Optional[_builtins.int]]: """ The IPv6 prefix length of the network. """ return pulumi.get(self, "ipv6_prefix_length") - @property + @_builtins.property @pulumi.getter(name="ipv6Prefixes") - def ipv6_prefixes(self) -> pulumi.Output[Sequence[builtins.str]]: + def ipv6_prefixes(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The IPv6 prefixes of the network. """ return pulumi.get(self, "ipv6_prefixes") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the network. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""Use `ipv4_nameservers` to configure the nameservers for IPv4.""") - def nameservers(self) -> pulumi.Output[Sequence[builtins.str]]: + def nameservers(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4. """ return pulumi.get(self, "nameservers") - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> pulumi.Output[builtins.str]: + def network_id(self) -> pulumi.Output[_builtins.str]: """ The network ID. """ return pulumi.get(self, "network_id") - @property + @_builtins.property @pulumi.getter(name="noIpv4Gateway") - def no_ipv4_gateway(self) -> pulumi.Output[Optional[builtins.bool]]: + def no_ipv4_gateway(self) -> pulumi.Output[Optional[_builtins.bool]]: """ If set to `true`, the network doesn't have a gateway. """ return pulumi.get(self, "no_ipv4_gateway") - @property + @_builtins.property @pulumi.getter(name="noIpv6Gateway") - def no_ipv6_gateway(self) -> pulumi.Output[Optional[builtins.bool]]: + def no_ipv6_gateway(self) -> pulumi.Output[Optional[_builtins.bool]]: """ If set to `true`, the network doesn't have a gateway. """ return pulumi.get(self, "no_ipv6_gateway") - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""Use `ipv4_prefixes` to read the prefixes of the IPv4 networks.""") - def prefixes(self) -> pulumi.Output[Sequence[builtins.str]]: + def prefixes(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks. """ return pulumi.get(self, "prefixes") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the network is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Output[builtins.str]: + def public_ip(self) -> pulumi.Output[_builtins.str]: """ The public IP of the network. """ return pulumi.get(self, "public_ip") - @property + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + Can only be used when experimental "network" is set. + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property @pulumi.getter - def routed(self) -> pulumi.Output[builtins.bool]: + def routed(self) -> pulumi.Output[_builtins.bool]: """ If set to `true`, the network is routed and therefore accessible from other networks. """ return pulumi.get(self, "routed") + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> pulumi.Output[_builtins.str]: + """ + Can only be used when experimental "network" is set. + The ID of the routing table associated with the network. + """ + return pulumi.get(self, "routing_table_id") + diff --git a/sdk/python/pulumi_stackit/network_area.py b/sdk/python/pulumi_stackit/network_area.py index 1554d66e..b2d1ca8f 100644 --- a/sdk/python/pulumi_stackit/network_area.py +++ b/sdk/python/pulumi_stackit/network_area.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -23,25 +22,25 @@ class NetworkAreaArgs: def __init__(__self__, *, network_ranges: pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]], - organization_id: pulumi.Input[builtins.str], - transfer_network: pulumi.Input[builtins.str], - default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - default_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - max_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - min_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None): + organization_id: pulumi.Input[_builtins.str], + transfer_network: pulumi.Input[_builtins.str], + default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + default_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + max_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + min_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a NetworkArea resource. :param pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]] network_ranges: List of Network ranges. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. - :param pulumi.Input[builtins.int] default_prefix_length: The default prefix length for networks in the network area. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. - :param pulumi.Input[builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. - :param pulumi.Input[builtins.str] name: The name of the network area. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. + :param pulumi.Input[_builtins.int] default_prefix_length: The default prefix length for networks in the network area. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. + :param pulumi.Input[_builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. + :param pulumi.Input[_builtins.str] name: The name of the network area. """ pulumi.set(__self__, "network_ranges", network_ranges) pulumi.set(__self__, "organization_id", organization_id) @@ -59,7 +58,7 @@ def __init__(__self__, *, if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="networkRanges") def network_ranges(self) -> pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]]: """ @@ -71,130 +70,130 @@ def network_ranges(self) -> pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetwo def network_ranges(self, value: pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]]): pulumi.set(self, "network_ranges", value) - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> pulumi.Input[builtins.str]: + def organization_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") @organization_id.setter - def organization_id(self, value: pulumi.Input[builtins.str]): + def organization_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "organization_id", value) - @property + @_builtins.property @pulumi.getter(name="transferNetwork") - def transfer_network(self) -> pulumi.Input[builtins.str]: + def transfer_network(self) -> pulumi.Input[_builtins.str]: """ Classless Inter-Domain Routing (CIDR). """ return pulumi.get(self, "transfer_network") @transfer_network.setter - def transfer_network(self, value: pulumi.Input[builtins.str]): + def transfer_network(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "transfer_network", value) - @property + @_builtins.property @pulumi.getter(name="defaultNameservers") - def default_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def default_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of DNS Servers/Nameservers. """ return pulumi.get(self, "default_nameservers") @default_nameservers.setter - def default_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def default_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "default_nameservers", value) - @property + @_builtins.property @pulumi.getter(name="defaultPrefixLength") - def default_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def default_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The default prefix length for networks in the network area. """ return pulumi.get(self, "default_prefix_length") @default_prefix_length.setter - def default_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def default_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "default_prefix_length", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="maxPrefixLength") - def max_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def max_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximal prefix length for networks in the network area. """ return pulumi.get(self, "max_prefix_length") @max_prefix_length.setter - def max_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def max_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_prefix_length", value) - @property + @_builtins.property @pulumi.getter(name="minPrefixLength") - def min_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def min_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The minimal prefix length for networks in the network area. """ return pulumi.get(self, "min_prefix_length") @min_prefix_length.setter - def min_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def min_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "min_prefix_length", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the network area. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _NetworkAreaState: def __init__(__self__, *, - default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - default_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - max_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - min_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_area_id: Optional[pulumi.Input[builtins.str]] = None, + default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + default_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + max_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + min_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, network_ranges: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - project_count: Optional[pulumi.Input[builtins.int]] = None, - transfer_network: Optional[pulumi.Input[builtins.str]] = None): + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + project_count: Optional[pulumi.Input[_builtins.int]] = None, + transfer_network: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering NetworkArea resources. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. - :param pulumi.Input[builtins.int] default_prefix_length: The default prefix length for networks in the network area. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. - :param pulumi.Input[builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. - :param pulumi.Input[builtins.str] name: The name of the network area. - :param pulumi.Input[builtins.str] network_area_id: The network area ID. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. + :param pulumi.Input[_builtins.int] default_prefix_length: The default prefix length for networks in the network area. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. + :param pulumi.Input[_builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. + :param pulumi.Input[_builtins.str] name: The name of the network area. + :param pulumi.Input[_builtins.str] network_area_id: The network area ID. :param pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]] network_ranges: List of Network ranges. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.int] project_count: The amount of projects currently referencing this area. - :param pulumi.Input[builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.int] project_count: The amount of projects currently referencing this area. + :param pulumi.Input[_builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). """ if default_nameservers is not None: pulumi.set(__self__, "default_nameservers", default_nameservers) @@ -219,91 +218,91 @@ def __init__(__self__, *, if transfer_network is not None: pulumi.set(__self__, "transfer_network", transfer_network) - @property + @_builtins.property @pulumi.getter(name="defaultNameservers") - def default_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def default_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ List of DNS Servers/Nameservers. """ return pulumi.get(self, "default_nameservers") @default_nameservers.setter - def default_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def default_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "default_nameservers", value) - @property + @_builtins.property @pulumi.getter(name="defaultPrefixLength") - def default_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def default_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The default prefix length for networks in the network area. """ return pulumi.get(self, "default_prefix_length") @default_prefix_length.setter - def default_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def default_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "default_prefix_length", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="maxPrefixLength") - def max_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def max_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The maximal prefix length for networks in the network area. """ return pulumi.get(self, "max_prefix_length") @max_prefix_length.setter - def max_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def max_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "max_prefix_length", value) - @property + @_builtins.property @pulumi.getter(name="minPrefixLength") - def min_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]: + def min_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]: """ The minimal prefix length for networks in the network area. """ return pulumi.get(self, "min_prefix_length") @min_prefix_length.setter - def min_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]): + def min_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "min_prefix_length", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the network area. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="networkAreaId") - def network_area_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_area_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network area ID. """ return pulumi.get(self, "network_area_id") @network_area_id.setter - def network_area_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_area_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_area_id", value) - @property + @_builtins.property @pulumi.getter(name="networkRanges") def network_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]]]: """ @@ -315,40 +314,40 @@ def network_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Network def network_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkAreaNetworkRangeArgs']]]]): pulumi.set(self, "network_ranges", value) - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> Optional[pulumi.Input[builtins.str]]: + def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") @organization_id.setter - def organization_id(self, value: Optional[pulumi.Input[builtins.str]]): + def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "organization_id", value) - @property + @_builtins.property @pulumi.getter(name="projectCount") - def project_count(self) -> Optional[pulumi.Input[builtins.int]]: + def project_count(self) -> Optional[pulumi.Input[_builtins.int]]: """ The amount of projects currently referencing this area. """ return pulumi.get(self, "project_count") @project_count.setter - def project_count(self, value: Optional[pulumi.Input[builtins.int]]): + def project_count(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "project_count", value) - @property + @_builtins.property @pulumi.getter(name="transferNetwork") - def transfer_network(self) -> Optional[pulumi.Input[builtins.str]]: + def transfer_network(self) -> Optional[pulumi.Input[_builtins.str]]: """ Classless Inter-Domain Routing (CIDR). """ return pulumi.get(self, "transfer_network") @transfer_network.setter - def transfer_network(self, value: Optional[pulumi.Input[builtins.str]]): + def transfer_network(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "transfer_network", value) @@ -358,15 +357,15 @@ class NetworkArea(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - default_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - max_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - min_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + default_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + max_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + min_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, network_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkAreaNetworkRangeArgs', 'NetworkAreaNetworkRangeArgsDict']]]]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - transfer_network: Optional[pulumi.Input[builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + transfer_network: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Network area resource schema. Must have a `region` specified in the provider configuration. @@ -375,15 +374,15 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. - :param pulumi.Input[builtins.int] default_prefix_length: The default prefix length for networks in the network area. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. - :param pulumi.Input[builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. - :param pulumi.Input[builtins.str] name: The name of the network area. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. + :param pulumi.Input[_builtins.int] default_prefix_length: The default prefix length for networks in the network area. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. + :param pulumi.Input[_builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. + :param pulumi.Input[_builtins.str] name: The name of the network area. :param pulumi.Input[Sequence[pulumi.Input[Union['NetworkAreaNetworkRangeArgs', 'NetworkAreaNetworkRangeArgsDict']]]] network_ranges: List of Network ranges. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). """ ... @overload @@ -411,15 +410,15 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - default_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - max_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - min_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + default_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + max_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + min_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, network_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkAreaNetworkRangeArgs', 'NetworkAreaNetworkRangeArgsDict']]]]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - transfer_network: Optional[pulumi.Input[builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + transfer_network: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -456,17 +455,17 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - default_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - max_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - min_prefix_length: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_area_id: Optional[pulumi.Input[builtins.str]] = None, + default_nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + default_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + max_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + min_prefix_length: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, network_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkAreaNetworkRangeArgs', 'NetworkAreaNetworkRangeArgsDict']]]]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - project_count: Optional[pulumi.Input[builtins.int]] = None, - transfer_network: Optional[pulumi.Input[builtins.str]] = None) -> 'NetworkArea': + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + project_count: Optional[pulumi.Input[_builtins.int]] = None, + transfer_network: Optional[pulumi.Input[_builtins.str]] = None) -> 'NetworkArea': """ Get an existing NetworkArea resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -474,17 +473,17 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. - :param pulumi.Input[builtins.int] default_prefix_length: The default prefix length for networks in the network area. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. - :param pulumi.Input[builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. - :param pulumi.Input[builtins.str] name: The name of the network area. - :param pulumi.Input[builtins.str] network_area_id: The network area ID. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] default_nameservers: List of DNS Servers/Nameservers. + :param pulumi.Input[_builtins.int] default_prefix_length: The default prefix length for networks in the network area. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.int] max_prefix_length: The maximal prefix length for networks in the network area. + :param pulumi.Input[_builtins.int] min_prefix_length: The minimal prefix length for networks in the network area. + :param pulumi.Input[_builtins.str] name: The name of the network area. + :param pulumi.Input[_builtins.str] network_area_id: The network area ID. :param pulumi.Input[Sequence[pulumi.Input[Union['NetworkAreaNetworkRangeArgs', 'NetworkAreaNetworkRangeArgsDict']]]] network_ranges: List of Network ranges. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.int] project_count: The amount of projects currently referencing this area. - :param pulumi.Input[builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.int] project_count: The amount of projects currently referencing this area. + :param pulumi.Input[_builtins.str] transfer_network: Classless Inter-Domain Routing (CIDR). """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -503,63 +502,63 @@ def get(resource_name: str, __props__.__dict__["transfer_network"] = transfer_network return NetworkArea(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="defaultNameservers") - def default_nameservers(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]: + def default_nameservers(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]: """ List of DNS Servers/Nameservers. """ return pulumi.get(self, "default_nameservers") - @property + @_builtins.property @pulumi.getter(name="defaultPrefixLength") - def default_prefix_length(self) -> pulumi.Output[builtins.int]: + def default_prefix_length(self) -> pulumi.Output[_builtins.int]: """ The default prefix length for networks in the network area. """ return pulumi.get(self, "default_prefix_length") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="maxPrefixLength") - def max_prefix_length(self) -> pulumi.Output[builtins.int]: + def max_prefix_length(self) -> pulumi.Output[_builtins.int]: """ The maximal prefix length for networks in the network area. """ return pulumi.get(self, "max_prefix_length") - @property + @_builtins.property @pulumi.getter(name="minPrefixLength") - def min_prefix_length(self) -> pulumi.Output[builtins.int]: + def min_prefix_length(self) -> pulumi.Output[_builtins.int]: """ The minimal prefix length for networks in the network area. """ return pulumi.get(self, "min_prefix_length") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the network area. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="networkAreaId") - def network_area_id(self) -> pulumi.Output[builtins.str]: + def network_area_id(self) -> pulumi.Output[_builtins.str]: """ The network area ID. """ return pulumi.get(self, "network_area_id") - @property + @_builtins.property @pulumi.getter(name="networkRanges") def network_ranges(self) -> pulumi.Output[Sequence['outputs.NetworkAreaNetworkRange']]: """ @@ -567,25 +566,25 @@ def network_ranges(self) -> pulumi.Output[Sequence['outputs.NetworkAreaNetworkRa """ return pulumi.get(self, "network_ranges") - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> pulumi.Output[builtins.str]: + def organization_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") - @property + @_builtins.property @pulumi.getter(name="projectCount") - def project_count(self) -> pulumi.Output[builtins.int]: + def project_count(self) -> pulumi.Output[_builtins.int]: """ The amount of projects currently referencing this area. """ return pulumi.get(self, "project_count") - @property + @_builtins.property @pulumi.getter(name="transferNetwork") - def transfer_network(self) -> pulumi.Output[builtins.str]: + def transfer_network(self) -> pulumi.Output[_builtins.str]: """ Classless Inter-Domain Routing (CIDR). """ diff --git a/sdk/python/pulumi_stackit/network_area_route.py b/sdk/python/pulumi_stackit/network_area_route.py index 0672ae61..8101637d 100644 --- a/sdk/python/pulumi_stackit/network_area_route.py +++ b/sdk/python/pulumi_stackit/network_area_route.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,18 +19,18 @@ @pulumi.input_type class NetworkAreaRouteArgs: def __init__(__self__, *, - network_area_id: pulumi.Input[builtins.str], - next_hop: pulumi.Input[builtins.str], - organization_id: pulumi.Input[builtins.str], - prefix: pulumi.Input[builtins.str], - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None): + network_area_id: pulumi.Input[_builtins.str], + next_hop: pulumi.Input[_builtins.str], + organization_id: pulumi.Input[_builtins.str], + prefix: pulumi.Input[_builtins.str], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None): """ The set of arguments for constructing a NetworkAreaRoute resource. - :param pulumi.Input[builtins.str] network_area_id: The network area ID to which the network area route is associated. - :param pulumi.Input[builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the network area route is associated. + :param pulumi.Input[_builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container """ pulumi.set(__self__, "network_area_id", network_area_id) pulumi.set(__self__, "next_hop", next_hop) @@ -40,84 +39,84 @@ def __init__(__self__, *, if labels is not None: pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter(name="networkAreaId") - def network_area_id(self) -> pulumi.Input[builtins.str]: + def network_area_id(self) -> pulumi.Input[_builtins.str]: """ The network area ID to which the network area route is associated. """ return pulumi.get(self, "network_area_id") @network_area_id.setter - def network_area_id(self, value: pulumi.Input[builtins.str]): + def network_area_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "network_area_id", value) - @property + @_builtins.property @pulumi.getter(name="nextHop") - def next_hop(self) -> pulumi.Input[builtins.str]: + def next_hop(self) -> pulumi.Input[_builtins.str]: """ The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. """ return pulumi.get(self, "next_hop") @next_hop.setter - def next_hop(self, value: pulumi.Input[builtins.str]): + def next_hop(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "next_hop", value) - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> pulumi.Input[builtins.str]: + def organization_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") @organization_id.setter - def organization_id(self, value: pulumi.Input[builtins.str]): + def organization_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "organization_id", value) - @property + @_builtins.property @pulumi.getter - def prefix(self) -> pulumi.Input[builtins.str]: + def prefix(self) -> pulumi.Input[_builtins.str]: """ The network, that is reachable though the Next Hop. Should use CIDR notation. """ return pulumi.get(self, "prefix") @prefix.setter - def prefix(self, value: pulumi.Input[builtins.str]): + def prefix(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "prefix", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) @pulumi.input_type class _NetworkAreaRouteState: def __init__(__self__, *, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_area_id: Optional[pulumi.Input[builtins.str]] = None, - network_area_route_id: Optional[pulumi.Input[builtins.str]] = None, - next_hop: Optional[pulumi.Input[builtins.str]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - prefix: Optional[pulumi.Input[builtins.str]] = None): + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + network_area_route_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + prefix: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering NetworkAreaRoute resources. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] network_area_id: The network area ID to which the network area route is associated. - :param pulumi.Input[builtins.str] network_area_route_id: The network area route ID. - :param pulumi.Input[builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the network area route is associated. + :param pulumi.Input[_builtins.str] network_area_route_id: The network area route ID. + :param pulumi.Input[_builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. """ if labels is not None: pulumi.set(__self__, "labels", labels) @@ -132,76 +131,76 @@ def __init__(__self__, *, if prefix is not None: pulumi.set(__self__, "prefix", prefix) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="networkAreaId") - def network_area_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_area_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network area ID to which the network area route is associated. """ return pulumi.get(self, "network_area_id") @network_area_id.setter - def network_area_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_area_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_area_id", value) - @property + @_builtins.property @pulumi.getter(name="networkAreaRouteId") - def network_area_route_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_area_route_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network area route ID. """ return pulumi.get(self, "network_area_route_id") @network_area_route_id.setter - def network_area_route_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_area_route_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_area_route_id", value) - @property + @_builtins.property @pulumi.getter(name="nextHop") - def next_hop(self) -> Optional[pulumi.Input[builtins.str]]: + def next_hop(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. """ return pulumi.get(self, "next_hop") @next_hop.setter - def next_hop(self, value: Optional[pulumi.Input[builtins.str]]): + def next_hop(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "next_hop", value) - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> Optional[pulumi.Input[builtins.str]]: + def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") @organization_id.setter - def organization_id(self, value: Optional[pulumi.Input[builtins.str]]): + def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "organization_id", value) - @property + @_builtins.property @pulumi.getter - def prefix(self) -> Optional[pulumi.Input[builtins.str]]: + def prefix(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network, that is reachable though the Next Hop. Should use CIDR notation. """ return pulumi.get(self, "prefix") @prefix.setter - def prefix(self, value: Optional[pulumi.Input[builtins.str]]): + def prefix(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "prefix", value) @@ -211,11 +210,11 @@ class NetworkAreaRoute(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_area_id: Optional[pulumi.Input[builtins.str]] = None, - next_hop: Optional[pulumi.Input[builtins.str]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - prefix: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + prefix: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Network area route resource schema. Must have a `region` specified in the provider configuration. @@ -224,11 +223,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] network_area_id: The network area ID to which the network area route is associated. - :param pulumi.Input[builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the network area route is associated. + :param pulumi.Input[_builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. """ ... @overload @@ -256,11 +255,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_area_id: Optional[pulumi.Input[builtins.str]] = None, - next_hop: Optional[pulumi.Input[builtins.str]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - prefix: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + prefix: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -294,12 +293,12 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_area_id: Optional[pulumi.Input[builtins.str]] = None, - network_area_route_id: Optional[pulumi.Input[builtins.str]] = None, - next_hop: Optional[pulumi.Input[builtins.str]] = None, - organization_id: Optional[pulumi.Input[builtins.str]] = None, - prefix: Optional[pulumi.Input[builtins.str]] = None) -> 'NetworkAreaRoute': + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + network_area_route_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + prefix: Optional[pulumi.Input[_builtins.str]] = None) -> 'NetworkAreaRoute': """ Get an existing NetworkAreaRoute resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -307,12 +306,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] network_area_id: The network area ID to which the network area route is associated. - :param pulumi.Input[builtins.str] network_area_route_id: The network area route ID. - :param pulumi.Input[builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. - :param pulumi.Input[builtins.str] organization_id: STACKIT organization ID to which the network area is associated. - :param pulumi.Input[builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the network area route is associated. + :param pulumi.Input[_builtins.str] network_area_route_id: The network area route ID. + :param pulumi.Input[_builtins.str] next_hop: The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the network area is associated. + :param pulumi.Input[_builtins.str] prefix: The network, that is reachable though the Next Hop. Should use CIDR notation. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -326,49 +325,49 @@ def get(resource_name: str, __props__.__dict__["prefix"] = prefix return NetworkAreaRoute(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="networkAreaId") - def network_area_id(self) -> pulumi.Output[builtins.str]: + def network_area_id(self) -> pulumi.Output[_builtins.str]: """ The network area ID to which the network area route is associated. """ return pulumi.get(self, "network_area_id") - @property + @_builtins.property @pulumi.getter(name="networkAreaRouteId") - def network_area_route_id(self) -> pulumi.Output[builtins.str]: + def network_area_route_id(self) -> pulumi.Output[_builtins.str]: """ The network area route ID. """ return pulumi.get(self, "network_area_route_id") - @property + @_builtins.property @pulumi.getter(name="nextHop") - def next_hop(self) -> pulumi.Output[builtins.str]: + def next_hop(self) -> pulumi.Output[_builtins.str]: """ The IP address of the routing system, that will route the prefix configured. Should be a valid IPv4 address. """ return pulumi.get(self, "next_hop") - @property + @_builtins.property @pulumi.getter(name="organizationId") - def organization_id(self) -> pulumi.Output[builtins.str]: + def organization_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT organization ID to which the network area is associated. """ return pulumi.get(self, "organization_id") - @property + @_builtins.property @pulumi.getter - def prefix(self) -> pulumi.Output[builtins.str]: + def prefix(self) -> pulumi.Output[_builtins.str]: """ The network, that is reachable though the Next Hop. Should use CIDR notation. """ diff --git a/sdk/python/pulumi_stackit/network_interface.py b/sdk/python/pulumi_stackit/network_interface.py index ea0888c8..a551e1e0 100644 --- a/sdk/python/pulumi_stackit/network_interface.py +++ b/sdk/python/pulumi_stackit/network_interface.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,24 +19,24 @@ @pulumi.input_type class NetworkInterfaceArgs: def __init__(__self__, *, - network_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - security: Optional[pulumi.Input[builtins.bool]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None): + network_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + security: Optional[pulumi.Input[_builtins.bool]] = None, + security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None): """ The set of arguments for constructing a NetworkInterface resource. - :param pulumi.Input[builtins.str] network_id: The network ID to which the network interface is associated. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. - :param pulumi.Input[builtins.str] ipv4: The IPv4 address. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. - :param pulumi.Input[builtins.str] name: The name of the network interface. - :param pulumi.Input[builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. + :param pulumi.Input[_builtins.str] network_id: The network ID to which the network interface is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. + :param pulumi.Input[_builtins.str] ipv4: The IPv4 address. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. + :param pulumi.Input[_builtins.str] name: The name of the network interface. + :param pulumi.Input[_builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. """ pulumi.set(__self__, "network_id", network_id) pulumi.set(__self__, "project_id", project_id) @@ -54,132 +53,132 @@ def __init__(__self__, *, if security_group_ids is not None: pulumi.set(__self__, "security_group_ids", security_group_ids) - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> pulumi.Input[builtins.str]: + def network_id(self) -> pulumi.Input[_builtins.str]: """ The network ID to which the network interface is associated. """ return pulumi.get(self, "network_id") @network_id.setter - def network_id(self, value: pulumi.Input[builtins.str]): + def network_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "network_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the network is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="allowedAddresses") - def allowed_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def allowed_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The list of CIDR (Classless Inter-Domain Routing) notations. """ return pulumi.get(self, "allowed_addresses") @allowed_addresses.setter - def allowed_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def allowed_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "allowed_addresses", value) - @property + @_builtins.property @pulumi.getter - def ipv4(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv4(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv4 address. """ return pulumi.get(self, "ipv4") @ipv4.setter - def ipv4(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv4(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv4", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a network interface. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the network interface. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def security(self) -> Optional[pulumi.Input[builtins.bool]]: + def security(self) -> Optional[pulumi.Input[_builtins.bool]]: """ The Network Interface Security. If set to false, then no security groups will apply to this network interface. """ return pulumi.get(self, "security") @security.setter - def security(self, value: Optional[pulumi.Input[builtins.bool]]): + def security(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "security", value) - @property + @_builtins.property @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The list of security group UUIDs. If security is set to false, setting this field will lead to an error. """ return pulumi.get(self, "security_group_ids") @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "security_group_ids", value) @pulumi.input_type class _NetworkInterfaceState: def __init__(__self__, *, - allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - device: Optional[pulumi.Input[builtins.str]] = None, - ipv4: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - mac: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_id: Optional[pulumi.Input[builtins.str]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - security: Optional[pulumi.Input[builtins.bool]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - type: Optional[pulumi.Input[builtins.str]] = None): + allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + device: Optional[pulumi.Input[_builtins.str]] = None, + ipv4: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + mac: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_id: Optional[pulumi.Input[_builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + security: Optional[pulumi.Input[_builtins.bool]] = None, + security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering NetworkInterface resources. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. - :param pulumi.Input[builtins.str] device: The device UUID of the network interface. - :param pulumi.Input[builtins.str] ipv4: The IPv4 address. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. - :param pulumi.Input[builtins.str] mac: The MAC address of network interface. - :param pulumi.Input[builtins.str] name: The name of the network interface. - :param pulumi.Input[builtins.str] network_id: The network ID to which the network interface is associated. - :param pulumi.Input[builtins.str] network_interface_id: The network interface ID. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. - :param pulumi.Input[builtins.str] type: Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. + :param pulumi.Input[_builtins.str] device: The device UUID of the network interface. + :param pulumi.Input[_builtins.str] ipv4: The IPv4 address. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. + :param pulumi.Input[_builtins.str] mac: The MAC address of network interface. + :param pulumi.Input[_builtins.str] name: The name of the network interface. + :param pulumi.Input[_builtins.str] network_id: The network ID to which the network interface is associated. + :param pulumi.Input[_builtins.str] network_interface_id: The network interface ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[_builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. + :param pulumi.Input[_builtins.str] type: Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. """ if allowed_addresses is not None: pulumi.set(__self__, "allowed_addresses", allowed_addresses) @@ -206,148 +205,148 @@ def __init__(__self__, *, if type is not None: pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter(name="allowedAddresses") - def allowed_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def allowed_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The list of CIDR (Classless Inter-Domain Routing) notations. """ return pulumi.get(self, "allowed_addresses") @allowed_addresses.setter - def allowed_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def allowed_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "allowed_addresses", value) - @property + @_builtins.property @pulumi.getter - def device(self) -> Optional[pulumi.Input[builtins.str]]: + def device(self) -> Optional[pulumi.Input[_builtins.str]]: """ The device UUID of the network interface. """ return pulumi.get(self, "device") @device.setter - def device(self, value: Optional[pulumi.Input[builtins.str]]): + def device(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "device", value) - @property + @_builtins.property @pulumi.getter - def ipv4(self) -> Optional[pulumi.Input[builtins.str]]: + def ipv4(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IPv4 address. """ return pulumi.get(self, "ipv4") @ipv4.setter - def ipv4(self, value: Optional[pulumi.Input[builtins.str]]): + def ipv4(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ipv4", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a network interface. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def mac(self) -> Optional[pulumi.Input[builtins.str]]: + def mac(self) -> Optional[pulumi.Input[_builtins.str]]: """ The MAC address of network interface. """ return pulumi.get(self, "mac") @mac.setter - def mac(self, value: Optional[pulumi.Input[builtins.str]]): + def mac(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "mac", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the network interface. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network ID to which the network interface is associated. """ return pulumi.get(self, "network_id") @network_id.setter - def network_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_id", value) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_interface_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network interface ID. """ return pulumi.get(self, "network_interface_id") @network_interface_id.setter - def network_interface_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_interface_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_interface_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the network is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def security(self) -> Optional[pulumi.Input[builtins.bool]]: + def security(self) -> Optional[pulumi.Input[_builtins.bool]]: """ The Network Interface Security. If set to false, then no security groups will apply to this network interface. """ return pulumi.get(self, "security") @security.setter - def security(self, value: Optional[pulumi.Input[builtins.bool]]): + def security(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "security", value) - @property + @_builtins.property @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The list of security group UUIDs. If security is set to false, setting this field will lead to an error. """ return pulumi.get(self, "security_group_ids") @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "security_group_ids", value) - @property + @_builtins.property @pulumi.getter - def type(self) -> Optional[pulumi.Input[builtins.str]]: + def type(self) -> Optional[pulumi.Input[_builtins.str]]: """ Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. """ return pulumi.get(self, "type") @type.setter - def type(self, value: Optional[pulumi.Input[builtins.str]]): + def type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "type", value) @@ -357,14 +356,14 @@ class NetworkInterface(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - security: Optional[pulumi.Input[builtins.bool]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + security: Optional[pulumi.Input[_builtins.bool]] = None, + security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, __props__=None): """ Network interface resource schema. Must have a `region` specified in the provider configuration. @@ -373,14 +372,14 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. - :param pulumi.Input[builtins.str] ipv4: The IPv4 address. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. - :param pulumi.Input[builtins.str] name: The name of the network interface. - :param pulumi.Input[builtins.str] network_id: The network ID to which the network interface is associated. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. + :param pulumi.Input[_builtins.str] ipv4: The IPv4 address. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. + :param pulumi.Input[_builtins.str] name: The name of the network interface. + :param pulumi.Input[_builtins.str] network_id: The network ID to which the network interface is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[_builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. """ ... @overload @@ -408,14 +407,14 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - ipv4: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - security: Optional[pulumi.Input[builtins.bool]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + ipv4: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + security: Optional[pulumi.Input[_builtins.bool]] = None, + security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -451,18 +450,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - device: Optional[pulumi.Input[builtins.str]] = None, - ipv4: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - mac: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_id: Optional[pulumi.Input[builtins.str]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - security: Optional[pulumi.Input[builtins.bool]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - type: Optional[pulumi.Input[builtins.str]] = None) -> 'NetworkInterface': + allowed_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + device: Optional[pulumi.Input[_builtins.str]] = None, + ipv4: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + mac: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_id: Optional[pulumi.Input[_builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + security: Optional[pulumi.Input[_builtins.bool]] = None, + security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + type: Optional[pulumi.Input[_builtins.str]] = None) -> 'NetworkInterface': """ Get an existing NetworkInterface resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -470,18 +469,18 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. - :param pulumi.Input[builtins.str] device: The device UUID of the network interface. - :param pulumi.Input[builtins.str] ipv4: The IPv4 address. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. - :param pulumi.Input[builtins.str] mac: The MAC address of network interface. - :param pulumi.Input[builtins.str] name: The name of the network interface. - :param pulumi.Input[builtins.str] network_id: The network ID to which the network interface is associated. - :param pulumi.Input[builtins.str] network_interface_id: The network interface ID. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network is associated. - :param pulumi.Input[builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. - :param pulumi.Input[builtins.str] type: Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allowed_addresses: The list of CIDR (Classless Inter-Domain Routing) notations. + :param pulumi.Input[_builtins.str] device: The device UUID of the network interface. + :param pulumi.Input[_builtins.str] ipv4: The IPv4 address. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a network interface. + :param pulumi.Input[_builtins.str] mac: The MAC address of network interface. + :param pulumi.Input[_builtins.str] name: The name of the network interface. + :param pulumi.Input[_builtins.str] network_id: The network ID to which the network interface is associated. + :param pulumi.Input[_builtins.str] network_interface_id: The network interface ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network is associated. + :param pulumi.Input[_builtins.bool] security: The Network Interface Security. If set to false, then no security groups will apply to this network interface. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: The list of security group UUIDs. If security is set to false, setting this field will lead to an error. + :param pulumi.Input[_builtins.str] type: Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -501,97 +500,97 @@ def get(resource_name: str, __props__.__dict__["type"] = type return NetworkInterface(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="allowedAddresses") - def allowed_addresses(self) -> pulumi.Output[Sequence[builtins.str]]: + def allowed_addresses(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The list of CIDR (Classless Inter-Domain Routing) notations. """ return pulumi.get(self, "allowed_addresses") - @property + @_builtins.property @pulumi.getter - def device(self) -> pulumi.Output[builtins.str]: + def device(self) -> pulumi.Output[_builtins.str]: """ The device UUID of the network interface. """ return pulumi.get(self, "device") - @property + @_builtins.property @pulumi.getter - def ipv4(self) -> pulumi.Output[builtins.str]: + def ipv4(self) -> pulumi.Output[_builtins.str]: """ The IPv4 address. """ return pulumi.get(self, "ipv4") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a network interface. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def mac(self) -> pulumi.Output[builtins.str]: + def mac(self) -> pulumi.Output[_builtins.str]: """ The MAC address of network interface. """ return pulumi.get(self, "mac") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the network interface. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> pulumi.Output[builtins.str]: + def network_id(self) -> pulumi.Output[_builtins.str]: """ The network ID to which the network interface is associated. """ return pulumi.get(self, "network_id") - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> pulumi.Output[builtins.str]: + def network_interface_id(self) -> pulumi.Output[_builtins.str]: """ The network interface ID. """ return pulumi.get(self, "network_interface_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the network is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def security(self) -> pulumi.Output[builtins.bool]: + def security(self) -> pulumi.Output[_builtins.bool]: """ The Network Interface Security. If set to false, then no security groups will apply to this network interface. """ return pulumi.get(self, "security") - @property + @_builtins.property @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> pulumi.Output[Sequence[builtins.str]]: + def security_group_ids(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The list of security group UUIDs. If security is set to false, setting this field will lead to an error. """ return pulumi.get(self, "security_group_ids") - @property + @_builtins.property @pulumi.getter - def type(self) -> pulumi.Output[builtins.str]: + def type(self) -> pulumi.Output[_builtins.str]: """ Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`. """ diff --git a/sdk/python/pulumi_stackit/objectstorage_bucket.py b/sdk/python/pulumi_stackit/objectstorage_bucket.py index a980edbc..aec5c772 100644 --- a/sdk/python/pulumi_stackit/objectstorage_bucket.py +++ b/sdk/python/pulumi_stackit/objectstorage_bucket.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,14 +19,14 @@ @pulumi.input_type class ObjectstorageBucketArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + project_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ObjectstorageBucket resource. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the bucket is associated. - :param pulumi.Input[builtins.str] name: The bucket name. It must be DNS conform. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the bucket is associated. + :param pulumi.Input[_builtins.str] name: The bucket name. It must be DNS conform. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "project_id", project_id) if name is not None: @@ -35,56 +34,56 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the bucket is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The bucket name. It must be DNS conform. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _ObjectstorageBucketState: def __init__(__self__, *, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - url_path_style: Optional[pulumi.Input[builtins.str]] = None, - url_virtual_hosted_style: Optional[pulumi.Input[builtins.str]] = None): + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + url_path_style: Optional[pulumi.Input[_builtins.str]] = None, + url_virtual_hosted_style: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ObjectstorageBucket resources. - :param pulumi.Input[builtins.str] name: The bucket name. It must be DNS conform. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the bucket is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] name: The bucket name. It must be DNS conform. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the bucket is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ if name is not None: pulumi.set(__self__, "name", name) @@ -97,58 +96,58 @@ def __init__(__self__, *, if url_virtual_hosted_style is not None: pulumi.set(__self__, "url_virtual_hosted_style", url_virtual_hosted_style) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The bucket name. It must be DNS conform. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the bucket is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter(name="urlPathStyle") - def url_path_style(self) -> Optional[pulumi.Input[builtins.str]]: + def url_path_style(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "url_path_style") @url_path_style.setter - def url_path_style(self, value: Optional[pulumi.Input[builtins.str]]): + def url_path_style(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "url_path_style", value) - @property + @_builtins.property @pulumi.getter(name="urlVirtualHostedStyle") - def url_virtual_hosted_style(self) -> Optional[pulumi.Input[builtins.str]]: + def url_virtual_hosted_style(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "url_virtual_hosted_style") @url_virtual_hosted_style.setter - def url_virtual_hosted_style(self, value: Optional[pulumi.Input[builtins.str]]): + def url_virtual_hosted_style(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "url_virtual_hosted_style", value) @@ -158,9 +157,9 @@ class ObjectstorageBucket(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ ObjectStorage bucket resource schema. Must have a `region` specified in the provider configuration. If you are creating `credentialsgroup` and `bucket` resources simultaneously, please include the `depends_on` field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background. @@ -169,9 +168,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: The bucket name. It must be DNS conform. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the bucket is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] name: The bucket name. It must be DNS conform. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the bucket is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -199,9 +198,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -228,11 +227,11 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - url_path_style: Optional[pulumi.Input[builtins.str]] = None, - url_virtual_hosted_style: Optional[pulumi.Input[builtins.str]] = None) -> 'ObjectstorageBucket': + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + url_path_style: Optional[pulumi.Input[_builtins.str]] = None, + url_virtual_hosted_style: Optional[pulumi.Input[_builtins.str]] = None) -> 'ObjectstorageBucket': """ Get an existing ObjectstorageBucket resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -240,9 +239,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: The bucket name. It must be DNS conform. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the bucket is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] name: The bucket name. It must be DNS conform. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the bucket is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -255,37 +254,37 @@ def get(resource_name: str, __props__.__dict__["url_virtual_hosted_style"] = url_virtual_hosted_style return ObjectstorageBucket(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The bucket name. It must be DNS conform. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the bucket is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter(name="urlPathStyle") - def url_path_style(self) -> pulumi.Output[builtins.str]: + def url_path_style(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "url_path_style") - @property + @_builtins.property @pulumi.getter(name="urlVirtualHostedStyle") - def url_virtual_hosted_style(self) -> pulumi.Output[builtins.str]: + def url_virtual_hosted_style(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "url_virtual_hosted_style") diff --git a/sdk/python/pulumi_stackit/objectstorage_credential.py b/sdk/python/pulumi_stackit/objectstorage_credential.py index 7e9ad504..8203bb54 100644 --- a/sdk/python/pulumi_stackit/objectstorage_credential.py +++ b/sdk/python/pulumi_stackit/objectstorage_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,16 +19,16 @@ @pulumi.input_type class ObjectstorageCredentialArgs: def __init__(__self__, *, - credentials_group_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - expiration_timestamp: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + credentials_group_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + expiration_timestamp: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ObjectstorageCredential resource. - :param pulumi.Input[builtins.str] credentials_group_id: The credential group ID. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the credential group is associated. - :param pulumi.Input[builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] credentials_group_id: The credential group ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the credential group is associated. + :param pulumi.Input[_builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "credentials_group_id", credentials_group_id) pulumi.set(__self__, "project_id", project_id) @@ -38,73 +37,73 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="credentialsGroupId") - def credentials_group_id(self) -> pulumi.Input[builtins.str]: + def credentials_group_id(self) -> pulumi.Input[_builtins.str]: """ The credential group ID. """ return pulumi.get(self, "credentials_group_id") @credentials_group_id.setter - def credentials_group_id(self, value: pulumi.Input[builtins.str]): + def credentials_group_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "credentials_group_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the credential group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="expirationTimestamp") - def expiration_timestamp(self) -> Optional[pulumi.Input[builtins.str]]: + def expiration_timestamp(self) -> Optional[pulumi.Input[_builtins.str]]: """ Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. """ return pulumi.get(self, "expiration_timestamp") @expiration_timestamp.setter - def expiration_timestamp(self, value: Optional[pulumi.Input[builtins.str]]): + def expiration_timestamp(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "expiration_timestamp", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _ObjectstorageCredentialState: def __init__(__self__, *, - access_key: Optional[pulumi.Input[builtins.str]] = None, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - expiration_timestamp: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - secret_access_key: Optional[pulumi.Input[builtins.str]] = None): + access_key: Optional[pulumi.Input[_builtins.str]] = None, + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + expiration_timestamp: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + secret_access_key: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ObjectstorageCredential resources. - :param pulumi.Input[builtins.str] credential_id: The credential ID. - :param pulumi.Input[builtins.str] credentials_group_id: The credential group ID. - :param pulumi.Input[builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the credential group is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] credential_id: The credential ID. + :param pulumi.Input[_builtins.str] credentials_group_id: The credential group ID. + :param pulumi.Input[_builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the credential group is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ if access_key is not None: pulumi.set(__self__, "access_key", access_key) @@ -123,91 +122,91 @@ def __init__(__self__, *, if secret_access_key is not None: pulumi.set(__self__, "secret_access_key", secret_access_key) - @property + @_builtins.property @pulumi.getter(name="accessKey") - def access_key(self) -> Optional[pulumi.Input[builtins.str]]: + def access_key(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "access_key") @access_key.setter - def access_key(self, value: Optional[pulumi.Input[builtins.str]]): + def access_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "access_key", value) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credential_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credential ID. """ return pulumi.get(self, "credential_id") @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credential_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credential_id", value) - @property + @_builtins.property @pulumi.getter(name="credentialsGroupId") - def credentials_group_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credentials_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credential group ID. """ return pulumi.get(self, "credentials_group_id") @credentials_group_id.setter - def credentials_group_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credentials_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credentials_group_id", value) - @property + @_builtins.property @pulumi.getter(name="expirationTimestamp") - def expiration_timestamp(self) -> Optional[pulumi.Input[builtins.str]]: + def expiration_timestamp(self) -> Optional[pulumi.Input[_builtins.str]]: """ Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. """ return pulumi.get(self, "expiration_timestamp") @expiration_timestamp.setter - def expiration_timestamp(self, value: Optional[pulumi.Input[builtins.str]]): + def expiration_timestamp(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "expiration_timestamp", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the credential group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter(name="secretAccessKey") - def secret_access_key(self) -> Optional[pulumi.Input[builtins.str]]: + def secret_access_key(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "secret_access_key") @secret_access_key.setter - def secret_access_key(self, value: Optional[pulumi.Input[builtins.str]]): + def secret_access_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "secret_access_key", value) @@ -217,10 +216,10 @@ class ObjectstorageCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - expiration_timestamp: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + expiration_timestamp: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ ObjectStorage credential resource schema. Must have a `region` specified in the provider configuration. @@ -229,10 +228,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credentials_group_id: The credential group ID. - :param pulumi.Input[builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the credential group is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] credentials_group_id: The credential group ID. + :param pulumi.Input[_builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the credential group is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -260,10 +259,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - expiration_timestamp: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + expiration_timestamp: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -297,14 +296,14 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - access_key: Optional[pulumi.Input[builtins.str]] = None, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - expiration_timestamp: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - secret_access_key: Optional[pulumi.Input[builtins.str]] = None) -> 'ObjectstorageCredential': + access_key: Optional[pulumi.Input[_builtins.str]] = None, + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + expiration_timestamp: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + secret_access_key: Optional[pulumi.Input[_builtins.str]] = None) -> 'ObjectstorageCredential': """ Get an existing ObjectstorageCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -312,11 +311,11 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credential_id: The credential ID. - :param pulumi.Input[builtins.str] credentials_group_id: The credential group ID. - :param pulumi.Input[builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the credential group is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] credential_id: The credential ID. + :param pulumi.Input[_builtins.str] credentials_group_id: The credential group ID. + :param pulumi.Input[_builtins.str] expiration_timestamp: Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the credential group is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -332,58 +331,58 @@ def get(resource_name: str, __props__.__dict__["secret_access_key"] = secret_access_key return ObjectstorageCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="accessKey") - def access_key(self) -> pulumi.Output[builtins.str]: + def access_key(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "access_key") - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> pulumi.Output[builtins.str]: + def credential_id(self) -> pulumi.Output[_builtins.str]: """ The credential ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter(name="credentialsGroupId") - def credentials_group_id(self) -> pulumi.Output[builtins.str]: + def credentials_group_id(self) -> pulumi.Output[_builtins.str]: """ The credential group ID. """ return pulumi.get(self, "credentials_group_id") - @property + @_builtins.property @pulumi.getter(name="expirationTimestamp") - def expiration_timestamp(self) -> pulumi.Output[builtins.str]: + def expiration_timestamp(self) -> pulumi.Output[_builtins.str]: """ Expiration timestamp, in RFC339 format without fractional seconds. Example: "2025-01-01T00:00:00Z". If not set, the credential never expires. """ return pulumi.get(self, "expiration_timestamp") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the credential group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter(name="secretAccessKey") - def secret_access_key(self) -> pulumi.Output[builtins.str]: + def secret_access_key(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "secret_access_key") diff --git a/sdk/python/pulumi_stackit/objectstorage_credentials_group.py b/sdk/python/pulumi_stackit/objectstorage_credentials_group.py index ef24a752..b3224396 100644 --- a/sdk/python/pulumi_stackit/objectstorage_credentials_group.py +++ b/sdk/python/pulumi_stackit/objectstorage_credentials_group.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,14 +19,14 @@ @pulumi.input_type class ObjectstorageCredentialsGroupArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + project_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ObjectstorageCredentialsGroup resource. - :param pulumi.Input[builtins.str] project_id: Project ID to which the credentials group is associated. - :param pulumi.Input[builtins.str] name: The credentials group's display name. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] project_id: Project ID to which the credentials group is associated. + :param pulumi.Input[_builtins.str] name: The credentials group's display name. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "project_id", project_id) if name is not None: @@ -35,58 +34,58 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ Project ID to which the credentials group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credentials group's display name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _ObjectstorageCredentialsGroupState: def __init__(__self__, *, - credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - urn: Optional[pulumi.Input[builtins.str]] = None): + credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + urn: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ObjectstorageCredentialsGroup resources. - :param pulumi.Input[builtins.str] credentials_group_id: The credentials group ID - :param pulumi.Input[builtins.str] name: The credentials group's display name. - :param pulumi.Input[builtins.str] project_id: Project ID to which the credentials group is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] urn: Credentials group uniform resource name (URN) + :param pulumi.Input[_builtins.str] credentials_group_id: The credentials group ID + :param pulumi.Input[_builtins.str] name: The credentials group's display name. + :param pulumi.Input[_builtins.str] project_id: Project ID to which the credentials group is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] urn: Credentials group uniform resource name (URN) """ if credentials_group_id is not None: pulumi.set(__self__, "credentials_group_id", credentials_group_id) @@ -99,64 +98,64 @@ def __init__(__self__, *, if urn is not None: pulumi.set(__self__, "urn", urn) - @property + @_builtins.property @pulumi.getter(name="credentialsGroupId") - def credentials_group_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credentials_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credentials group ID """ return pulumi.get(self, "credentials_group_id") @credentials_group_id.setter - def credentials_group_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credentials_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credentials_group_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credentials group's display name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Project ID to which the credentials group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def urn(self) -> Optional[pulumi.Input[builtins.str]]: + def urn(self) -> Optional[pulumi.Input[_builtins.str]]: """ Credentials group uniform resource name (URN) """ return pulumi.get(self, "urn") @urn.setter - def urn(self, value: Optional[pulumi.Input[builtins.str]]): + def urn(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "urn", value) @@ -166,9 +165,9 @@ class ObjectstorageCredentialsGroup(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ ObjectStorage credentials group resource schema. Must have a `region` specified in the provider configuration. If you are creating `credentialsgroup` and `bucket` resources simultaneously, please include the `depends_on` field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background. @@ -177,9 +176,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: The credentials group's display name. - :param pulumi.Input[builtins.str] project_id: Project ID to which the credentials group is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] name: The credentials group's display name. + :param pulumi.Input[_builtins.str] project_id: Project ID to which the credentials group is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -207,9 +206,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -236,11 +235,11 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - credentials_group_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - urn: Optional[pulumi.Input[builtins.str]] = None) -> 'ObjectstorageCredentialsGroup': + credentials_group_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + urn: Optional[pulumi.Input[_builtins.str]] = None) -> 'ObjectstorageCredentialsGroup': """ Get an existing ObjectstorageCredentialsGroup resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -248,11 +247,11 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credentials_group_id: The credentials group ID - :param pulumi.Input[builtins.str] name: The credentials group's display name. - :param pulumi.Input[builtins.str] project_id: Project ID to which the credentials group is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] urn: Credentials group uniform resource name (URN) + :param pulumi.Input[_builtins.str] credentials_group_id: The credentials group ID + :param pulumi.Input[_builtins.str] name: The credentials group's display name. + :param pulumi.Input[_builtins.str] project_id: Project ID to which the credentials group is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] urn: Credentials group uniform resource name (URN) """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -265,41 +264,41 @@ def get(resource_name: str, __props__.__dict__["urn"] = urn return ObjectstorageCredentialsGroup(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="credentialsGroupId") - def credentials_group_id(self) -> pulumi.Output[builtins.str]: + def credentials_group_id(self) -> pulumi.Output[_builtins.str]: """ The credentials group ID """ return pulumi.get(self, "credentials_group_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The credentials group's display name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ Project ID to which the credentials group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def urn(self) -> pulumi.Output[builtins.str]: + def urn(self) -> pulumi.Output[_builtins.str]: """ Credentials group uniform resource name (URN) """ diff --git a/sdk/python/pulumi_stackit/observability_alertgroup.py b/sdk/python/pulumi_stackit/observability_alertgroup.py index 7d1f0ae5..6933a22d 100644 --- a/sdk/python/pulumi_stackit/observability_alertgroup.py +++ b/sdk/python/pulumi_stackit/observability_alertgroup.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,18 +21,18 @@ @pulumi.input_type class ObservabilityAlertgroupArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], rules: pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRuleArgs']]], - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None): + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ObservabilityAlertgroup resource. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the alert group is associated. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the alert group is associated. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRuleArgs']]] rules: Rules for the alert group - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) @@ -43,31 +42,31 @@ def __init__(__self__, *, if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ Observability instance ID to which the alert group is associated. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the alert group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def rules(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRuleArgs']]]: """ @@ -79,45 +78,45 @@ def rules(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRu def rules(self, value: pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRuleArgs']]]): pulumi.set(self, "rules", value) - @property + @_builtins.property @pulumi.getter - def interval(self) -> Optional[pulumi.Input[builtins.str]]: + def interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") @interval.setter - def interval(self, value: Optional[pulumi.Input[builtins.str]]): + def interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "interval", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _ObservabilityAlertgroupState: def __init__(__self__, *, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRuleArgs']]]] = None): """ Input properties used for looking up and filtering ObservabilityAlertgroup resources. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the alert group is associated. - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the alert group is associated. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRuleArgs']]] rules: Rules for the alert group """ if instance_id is not None: @@ -131,55 +130,55 @@ def __init__(__self__, *, if rules is not None: pulumi.set(__self__, "rules", rules) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Observability instance ID to which the alert group is associated. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def interval(self) -> Optional[pulumi.Input[builtins.str]]: + def interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") @interval.setter - def interval(self, value: Optional[pulumi.Input[builtins.str]]): + def interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "interval", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the alert group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityAlertgroupRuleArgs']]]]: """ @@ -198,10 +197,10 @@ class ObservabilityAlertgroup(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityAlertgroupRuleArgs', 'ObservabilityAlertgroupRuleArgsDict']]]]] = None, __props__=None): """ @@ -211,10 +210,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the alert group is associated. - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the alert group is associated. :param pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityAlertgroupRuleArgs', 'ObservabilityAlertgroupRuleArgsDict']]]] rules: Rules for the alert group """ ... @@ -243,10 +242,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityAlertgroupRuleArgs', 'ObservabilityAlertgroupRuleArgsDict']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -278,10 +277,10 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityAlertgroupRuleArgs', 'ObservabilityAlertgroupRuleArgsDict']]]]] = None) -> 'ObservabilityAlertgroup': """ Get an existing ObservabilityAlertgroup resource's state with the given name, id, and optional extra @@ -290,10 +289,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the alert group is associated. - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the alert group is associated. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the alert group is associated. :param pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityAlertgroupRuleArgs', 'ObservabilityAlertgroupRuleArgsDict']]]] rules: Rules for the alert group """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -307,39 +306,39 @@ def get(resource_name: str, __props__.__dict__["rules"] = rules return ObservabilityAlertgroup(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ Observability instance ID to which the alert group is associated. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def interval(self) -> pulumi.Output[builtins.str]: + def interval(self) -> pulumi.Output[_builtins.str]: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the alert group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def rules(self) -> pulumi.Output[Sequence['outputs.ObservabilityAlertgroupRule']]: """ diff --git a/sdk/python/pulumi_stackit/observability_credential.py b/sdk/python/pulumi_stackit/observability_credential.py index 146c40fb..14908a36 100644 --- a/sdk/python/pulumi_stackit/observability_credential.py +++ b/sdk/python/pulumi_stackit/observability_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,55 +19,75 @@ @pulumi.input_type class ObservabilityCredentialArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str]): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + description: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ObservabilityCredential resource. - :param pulumi.Input[builtins.str] instance_id: The Observability Instance ID the credential belongs to. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the credential is associated. + :param pulumi.Input[_builtins.str] instance_id: The Observability Instance ID the credential belongs to. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the credential is associated. + :param pulumi.Input[_builtins.str] description: A description of the credential. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) + if description is not None: + pulumi.set(__self__, "description", description) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ The Observability Instance ID the credential belongs to. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the credential is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) + @_builtins.property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + A description of the credential. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "description", value) + @pulumi.input_type class _ObservabilityCredentialState: def __init__(__self__, *, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ObservabilityCredential resources. - :param pulumi.Input[builtins.str] instance_id: The Observability Instance ID the credential belongs to. - :param pulumi.Input[builtins.str] password: Credential password - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the credential is associated. - :param pulumi.Input[builtins.str] username: Credential username + :param pulumi.Input[_builtins.str] description: A description of the credential. + :param pulumi.Input[_builtins.str] instance_id: The Observability Instance ID the credential belongs to. + :param pulumi.Input[_builtins.str] password: Credential password + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the credential is associated. + :param pulumi.Input[_builtins.str] username: Credential username """ + if description is not None: + pulumi.set(__self__, "description", description) if instance_id is not None: pulumi.set(__self__, "instance_id", instance_id) if password is not None: @@ -78,52 +97,64 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + A description of the credential. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "description", value) + + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The Observability Instance ID the credential belongs to. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: """ Credential password """ return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the credential is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: """ Credential username """ return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -133,8 +164,9 @@ class ObservabilityCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Observability credential resource schema. Must have a `region` specified in the provider configuration. @@ -143,8 +175,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: The Observability Instance ID the credential belongs to. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the credential is associated. + :param pulumi.Input[_builtins.str] description: A description of the credential. + :param pulumi.Input[_builtins.str] instance_id: The Observability Instance ID the credential belongs to. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the credential is associated. """ ... @overload @@ -172,8 +205,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -183,6 +217,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ObservabilityCredentialArgs.__new__(ObservabilityCredentialArgs) + __props__.__dict__["description"] = description if instance_id is None and not opts.urn: raise TypeError("Missing required property 'instance_id'") __props__.__dict__["instance_id"] = instance_id @@ -203,10 +238,11 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'ObservabilityCredential': + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'ObservabilityCredential': """ Get an existing ObservabilityCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -214,48 +250,58 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: The Observability Instance ID the credential belongs to. - :param pulumi.Input[builtins.str] password: Credential password - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the credential is associated. - :param pulumi.Input[builtins.str] username: Credential username + :param pulumi.Input[_builtins.str] description: A description of the credential. + :param pulumi.Input[_builtins.str] instance_id: The Observability Instance ID the credential belongs to. + :param pulumi.Input[_builtins.str] password: Credential password + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the credential is associated. + :param pulumi.Input[_builtins.str] username: Credential username """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _ObservabilityCredentialState.__new__(_ObservabilityCredentialState) + __props__.__dict__["description"] = description __props__.__dict__["instance_id"] = instance_id __props__.__dict__["password"] = password __props__.__dict__["project_id"] = project_id __props__.__dict__["username"] = username return ObservabilityCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[_builtins.str]]: + """ + A description of the credential. + """ + return pulumi.get(self, "description") + + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ The Observability Instance ID the credential belongs to. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: """ Credential password """ return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the credential is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: """ Credential username """ diff --git a/sdk/python/pulumi_stackit/observability_instance.py b/sdk/python/pulumi_stackit/observability_instance.py index 966925dd..744b0f16 100644 --- a/sdk/python/pulumi_stackit/observability_instance.py +++ b/sdk/python/pulumi_stackit/observability_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,26 +21,26 @@ @pulumi.input_type class ObservabilityInstanceArgs: def __init__(__self__, *, - plan_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + plan_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, alert_config: Optional[pulumi.Input['ObservabilityInstanceAlertConfigArgs']] = None, - metrics_retention_days: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days1h_downsampling: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days5m_downsampling: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None): + metrics_retention_days: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days1h_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days5m_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None): """ The set of arguments for constructing a ObservabilityInstance resource. - :param pulumi.Input[builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. + :param pulumi.Input[_builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. :param pulumi.Input['ObservabilityInstanceAlertConfigArgs'] alert_config: Alert configuration for the instance. - :param pulumi.Input[builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. - :param pulumi.Input[builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.str] name: The name of the Observability instance. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] parameters: Additional parameters. + :param pulumi.Input[_builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. + :param pulumi.Input[_builtins.str] name: The name of the Observability instance. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: Additional parameters. """ pulumi.set(__self__, "plan_name", plan_name) pulumi.set(__self__, "project_id", project_id) @@ -60,43 +59,43 @@ def __init__(__self__, *, if parameters is not None: pulumi.set(__self__, "parameters", parameters) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Input[builtins.str]: + def plan_name(self) -> pulumi.Input[_builtins.str]: """ Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: pulumi.Input[builtins.str]): + def plan_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="alertConfig") def alert_config(self) -> Optional[pulumi.Input['ObservabilityInstanceAlertConfigArgs']]: """ @@ -108,122 +107,122 @@ def alert_config(self) -> Optional[pulumi.Input['ObservabilityInstanceAlertConfi def alert_config(self, value: Optional[pulumi.Input['ObservabilityInstanceAlertConfigArgs']]): pulumi.set(self, "alert_config", value) - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays") - def metrics_retention_days(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_retention_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ - Specifies for how many days the raw metrics are kept. + Specifies for how many days the raw metrics are kept. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days") @metrics_retention_days.setter - def metrics_retention_days(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_retention_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_retention_days", value) - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays1hDownsampling") - def metrics_retention_days1h_downsampling(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_retention_days1h_downsampling(self) -> Optional[pulumi.Input[_builtins.int]]: """ - Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days1h_downsampling") @metrics_retention_days1h_downsampling.setter - def metrics_retention_days1h_downsampling(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_retention_days1h_downsampling(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_retention_days1h_downsampling", value) - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays5mDownsampling") - def metrics_retention_days5m_downsampling(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_retention_days5m_downsampling(self) -> Optional[pulumi.Input[_builtins.int]]: """ - Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days5m_downsampling") @metrics_retention_days5m_downsampling.setter - def metrics_retention_days5m_downsampling(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_retention_days5m_downsampling(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_retention_days5m_downsampling", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the Observability instance. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Additional parameters. """ return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "parameters", value) @pulumi.input_type class _ObservabilityInstanceState: def __init__(__self__, *, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, alert_config: Optional[pulumi.Input['ObservabilityInstanceAlertConfigArgs']] = None, - alerting_url: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - grafana_initial_admin_password: Optional[pulumi.Input[builtins.str]] = None, - grafana_initial_admin_user: Optional[pulumi.Input[builtins.str]] = None, - grafana_public_read_access: Optional[pulumi.Input[builtins.bool]] = None, - grafana_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - is_updatable: Optional[pulumi.Input[builtins.bool]] = None, - jaeger_traces_url: Optional[pulumi.Input[builtins.str]] = None, - jaeger_ui_url: Optional[pulumi.Input[builtins.str]] = None, - logs_push_url: Optional[pulumi.Input[builtins.str]] = None, - logs_url: Optional[pulumi.Input[builtins.str]] = None, - metrics_push_url: Optional[pulumi.Input[builtins.str]] = None, - metrics_retention_days: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days1h_downsampling: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days5m_downsampling: Optional[pulumi.Input[builtins.int]] = None, - metrics_url: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - otlp_traces_url: Optional[pulumi.Input[builtins.str]] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - targets_url: Optional[pulumi.Input[builtins.str]] = None, - zipkin_spans_url: Optional[pulumi.Input[builtins.str]] = None): + alerting_url: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + grafana_initial_admin_password: Optional[pulumi.Input[_builtins.str]] = None, + grafana_initial_admin_user: Optional[pulumi.Input[_builtins.str]] = None, + grafana_public_read_access: Optional[pulumi.Input[_builtins.bool]] = None, + grafana_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + is_updatable: Optional[pulumi.Input[_builtins.bool]] = None, + jaeger_traces_url: Optional[pulumi.Input[_builtins.str]] = None, + jaeger_ui_url: Optional[pulumi.Input[_builtins.str]] = None, + logs_push_url: Optional[pulumi.Input[_builtins.str]] = None, + logs_url: Optional[pulumi.Input[_builtins.str]] = None, + metrics_push_url: Optional[pulumi.Input[_builtins.str]] = None, + metrics_retention_days: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days1h_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days5m_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + metrics_url: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + otlp_traces_url: Optional[pulumi.Input[_builtins.str]] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + targets_url: Optional[pulumi.Input[_builtins.str]] = None, + zipkin_spans_url: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ObservabilityInstance resources. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. :param pulumi.Input['ObservabilityInstanceAlertConfigArgs'] alert_config: Alert configuration for the instance. - :param pulumi.Input[builtins.str] alerting_url: Specifies Alerting URL. - :param pulumi.Input[builtins.str] dashboard_url: Specifies Observability instance dashboard URL. - :param pulumi.Input[builtins.str] grafana_initial_admin_password: Specifies an initial Grafana admin password. - :param pulumi.Input[builtins.str] grafana_initial_admin_user: Specifies an initial Grafana admin username. - :param pulumi.Input[builtins.bool] grafana_public_read_access: If true, anyone can access Grafana dashboards without logging in. - :param pulumi.Input[builtins.str] grafana_url: Specifies Grafana URL. - :param pulumi.Input[builtins.str] instance_id: The Observability instance ID. - :param pulumi.Input[builtins.bool] is_updatable: Specifies if the instance can be updated. - :param pulumi.Input[builtins.str] logs_push_url: Specifies URL for pushing logs. - :param pulumi.Input[builtins.str] logs_url: Specifies Logs URL. - :param pulumi.Input[builtins.str] metrics_push_url: Specifies URL for pushing metrics. - :param pulumi.Input[builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. - :param pulumi.Input[builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.str] metrics_url: Specifies metrics URL. - :param pulumi.Input[builtins.str] name: The name of the Observability instance. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] parameters: Additional parameters. - :param pulumi.Input[builtins.str] plan_id: The Observability plan ID. - :param pulumi.Input[builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] targets_url: Specifies Targets URL. + :param pulumi.Input[_builtins.str] alerting_url: Specifies Alerting URL. + :param pulumi.Input[_builtins.str] dashboard_url: Specifies Observability instance dashboard URL. + :param pulumi.Input[_builtins.str] grafana_initial_admin_password: Specifies an initial Grafana admin password. + :param pulumi.Input[_builtins.str] grafana_initial_admin_user: Specifies an initial Grafana admin username. + :param pulumi.Input[_builtins.bool] grafana_public_read_access: If true, anyone can access Grafana dashboards without logging in. + :param pulumi.Input[_builtins.str] grafana_url: Specifies Grafana URL. + :param pulumi.Input[_builtins.str] instance_id: The Observability instance ID. + :param pulumi.Input[_builtins.bool] is_updatable: Specifies if the instance can be updated. + :param pulumi.Input[_builtins.str] logs_push_url: Specifies URL for pushing logs. + :param pulumi.Input[_builtins.str] logs_url: Specifies Logs URL. + :param pulumi.Input[_builtins.str] metrics_push_url: Specifies URL for pushing metrics. + :param pulumi.Input[_builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. + :param pulumi.Input[_builtins.str] metrics_url: Specifies metrics URL. + :param pulumi.Input[_builtins.str] name: The name of the Observability instance. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: Additional parameters. + :param pulumi.Input[_builtins.str] plan_id: The Observability plan ID. + :param pulumi.Input[_builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] targets_url: Specifies Targets URL. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -280,19 +279,19 @@ def __init__(__self__, *, if zipkin_spans_url is not None: pulumi.set(__self__, "zipkin_spans_url", zipkin_spans_url) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="alertConfig") def alert_config(self) -> Optional[pulumi.Input['ObservabilityInstanceAlertConfigArgs']]: """ @@ -304,292 +303,292 @@ def alert_config(self) -> Optional[pulumi.Input['ObservabilityInstanceAlertConfi def alert_config(self, value: Optional[pulumi.Input['ObservabilityInstanceAlertConfigArgs']]): pulumi.set(self, "alert_config", value) - @property + @_builtins.property @pulumi.getter(name="alertingUrl") - def alerting_url(self) -> Optional[pulumi.Input[builtins.str]]: + def alerting_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies Alerting URL. """ return pulumi.get(self, "alerting_url") @alerting_url.setter - def alerting_url(self, value: Optional[pulumi.Input[builtins.str]]): + def alerting_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "alerting_url", value) - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> Optional[pulumi.Input[builtins.str]]: + def dashboard_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies Observability instance dashboard URL. """ return pulumi.get(self, "dashboard_url") @dashboard_url.setter - def dashboard_url(self, value: Optional[pulumi.Input[builtins.str]]): + def dashboard_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dashboard_url", value) - @property + @_builtins.property @pulumi.getter(name="grafanaInitialAdminPassword") - def grafana_initial_admin_password(self) -> Optional[pulumi.Input[builtins.str]]: + def grafana_initial_admin_password(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies an initial Grafana admin password. """ return pulumi.get(self, "grafana_initial_admin_password") @grafana_initial_admin_password.setter - def grafana_initial_admin_password(self, value: Optional[pulumi.Input[builtins.str]]): + def grafana_initial_admin_password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "grafana_initial_admin_password", value) - @property + @_builtins.property @pulumi.getter(name="grafanaInitialAdminUser") - def grafana_initial_admin_user(self) -> Optional[pulumi.Input[builtins.str]]: + def grafana_initial_admin_user(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies an initial Grafana admin username. """ return pulumi.get(self, "grafana_initial_admin_user") @grafana_initial_admin_user.setter - def grafana_initial_admin_user(self, value: Optional[pulumi.Input[builtins.str]]): + def grafana_initial_admin_user(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "grafana_initial_admin_user", value) - @property + @_builtins.property @pulumi.getter(name="grafanaPublicReadAccess") - def grafana_public_read_access(self) -> Optional[pulumi.Input[builtins.bool]]: + def grafana_public_read_access(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If true, anyone can access Grafana dashboards without logging in. """ return pulumi.get(self, "grafana_public_read_access") @grafana_public_read_access.setter - def grafana_public_read_access(self, value: Optional[pulumi.Input[builtins.bool]]): + def grafana_public_read_access(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "grafana_public_read_access", value) - @property + @_builtins.property @pulumi.getter(name="grafanaUrl") - def grafana_url(self) -> Optional[pulumi.Input[builtins.str]]: + def grafana_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies Grafana URL. """ return pulumi.get(self, "grafana_url") @grafana_url.setter - def grafana_url(self, value: Optional[pulumi.Input[builtins.str]]): + def grafana_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "grafana_url", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The Observability instance ID. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="isUpdatable") - def is_updatable(self) -> Optional[pulumi.Input[builtins.bool]]: + def is_updatable(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Specifies if the instance can be updated. """ return pulumi.get(self, "is_updatable") @is_updatable.setter - def is_updatable(self, value: Optional[pulumi.Input[builtins.bool]]): + def is_updatable(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "is_updatable", value) - @property + @_builtins.property @pulumi.getter(name="jaegerTracesUrl") - def jaeger_traces_url(self) -> Optional[pulumi.Input[builtins.str]]: + def jaeger_traces_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "jaeger_traces_url") @jaeger_traces_url.setter - def jaeger_traces_url(self, value: Optional[pulumi.Input[builtins.str]]): + def jaeger_traces_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "jaeger_traces_url", value) - @property + @_builtins.property @pulumi.getter(name="jaegerUiUrl") - def jaeger_ui_url(self) -> Optional[pulumi.Input[builtins.str]]: + def jaeger_ui_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "jaeger_ui_url") @jaeger_ui_url.setter - def jaeger_ui_url(self, value: Optional[pulumi.Input[builtins.str]]): + def jaeger_ui_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "jaeger_ui_url", value) - @property + @_builtins.property @pulumi.getter(name="logsPushUrl") - def logs_push_url(self) -> Optional[pulumi.Input[builtins.str]]: + def logs_push_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies URL for pushing logs. """ return pulumi.get(self, "logs_push_url") @logs_push_url.setter - def logs_push_url(self, value: Optional[pulumi.Input[builtins.str]]): + def logs_push_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "logs_push_url", value) - @property + @_builtins.property @pulumi.getter(name="logsUrl") - def logs_url(self) -> Optional[pulumi.Input[builtins.str]]: + def logs_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies Logs URL. """ return pulumi.get(self, "logs_url") @logs_url.setter - def logs_url(self, value: Optional[pulumi.Input[builtins.str]]): + def logs_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "logs_url", value) - @property + @_builtins.property @pulumi.getter(name="metricsPushUrl") - def metrics_push_url(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_push_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies URL for pushing metrics. """ return pulumi.get(self, "metrics_push_url") @metrics_push_url.setter - def metrics_push_url(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_push_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_push_url", value) - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays") - def metrics_retention_days(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_retention_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ - Specifies for how many days the raw metrics are kept. + Specifies for how many days the raw metrics are kept. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days") @metrics_retention_days.setter - def metrics_retention_days(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_retention_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_retention_days", value) - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays1hDownsampling") - def metrics_retention_days1h_downsampling(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_retention_days1h_downsampling(self) -> Optional[pulumi.Input[_builtins.int]]: """ - Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days1h_downsampling") @metrics_retention_days1h_downsampling.setter - def metrics_retention_days1h_downsampling(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_retention_days1h_downsampling(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_retention_days1h_downsampling", value) - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays5mDownsampling") - def metrics_retention_days5m_downsampling(self) -> Optional[pulumi.Input[builtins.int]]: + def metrics_retention_days5m_downsampling(self) -> Optional[pulumi.Input[_builtins.int]]: """ - Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days5m_downsampling") @metrics_retention_days5m_downsampling.setter - def metrics_retention_days5m_downsampling(self, value: Optional[pulumi.Input[builtins.int]]): + def metrics_retention_days5m_downsampling(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "metrics_retention_days5m_downsampling", value) - @property + @_builtins.property @pulumi.getter(name="metricsUrl") - def metrics_url(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies metrics URL. """ return pulumi.get(self, "metrics_url") @metrics_url.setter - def metrics_url(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_url", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the Observability instance. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="otlpTracesUrl") - def otlp_traces_url(self) -> Optional[pulumi.Input[builtins.str]]: + def otlp_traces_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "otlp_traces_url") @otlp_traces_url.setter - def otlp_traces_url(self, value: Optional[pulumi.Input[builtins.str]]): + def otlp_traces_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "otlp_traces_url", value) - @property + @_builtins.property @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Additional parameters. """ return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "parameters", value) - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The Observability plan ID. """ return pulumi.get(self, "plan_id") @plan_id.setter - def plan_id(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_id", value) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="targetsUrl") - def targets_url(self) -> Optional[pulumi.Input[builtins.str]]: + def targets_url(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies Targets URL. """ return pulumi.get(self, "targets_url") @targets_url.setter - def targets_url(self, value: Optional[pulumi.Input[builtins.str]]): + def targets_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "targets_url", value) - @property + @_builtins.property @pulumi.getter(name="zipkinSpansUrl") - def zipkin_spans_url(self) -> Optional[pulumi.Input[builtins.str]]: + def zipkin_spans_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "zipkin_spans_url") @zipkin_spans_url.setter - def zipkin_spans_url(self, value: Optional[pulumi.Input[builtins.str]]): + def zipkin_spans_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "zipkin_spans_url", value) @@ -599,15 +598,15 @@ class ObservabilityInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, alert_config: Optional[pulumi.Input[Union['ObservabilityInstanceAlertConfigArgs', 'ObservabilityInstanceAlertConfigArgsDict']]] = None, - metrics_retention_days: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days1h_downsampling: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days5m_downsampling: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + metrics_retention_days: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days1h_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days5m_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Observability instance resource schema. Must have a `region` specified in the provider configuration. @@ -616,15 +615,15 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. :param pulumi.Input[Union['ObservabilityInstanceAlertConfigArgs', 'ObservabilityInstanceAlertConfigArgsDict']] alert_config: Alert configuration for the instance. - :param pulumi.Input[builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. - :param pulumi.Input[builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.str] name: The name of the Observability instance. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] parameters: Additional parameters. - :param pulumi.Input[builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. + :param pulumi.Input[_builtins.str] name: The name of the Observability instance. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: Additional parameters. + :param pulumi.Input[_builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. """ ... @overload @@ -652,15 +651,15 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, alert_config: Optional[pulumi.Input[Union['ObservabilityInstanceAlertConfigArgs', 'ObservabilityInstanceAlertConfigArgsDict']]] = None, - metrics_retention_days: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days1h_downsampling: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days5m_downsampling: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + metrics_retention_days: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days1h_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days5m_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -713,33 +712,33 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, alert_config: Optional[pulumi.Input[Union['ObservabilityInstanceAlertConfigArgs', 'ObservabilityInstanceAlertConfigArgsDict']]] = None, - alerting_url: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - grafana_initial_admin_password: Optional[pulumi.Input[builtins.str]] = None, - grafana_initial_admin_user: Optional[pulumi.Input[builtins.str]] = None, - grafana_public_read_access: Optional[pulumi.Input[builtins.bool]] = None, - grafana_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - is_updatable: Optional[pulumi.Input[builtins.bool]] = None, - jaeger_traces_url: Optional[pulumi.Input[builtins.str]] = None, - jaeger_ui_url: Optional[pulumi.Input[builtins.str]] = None, - logs_push_url: Optional[pulumi.Input[builtins.str]] = None, - logs_url: Optional[pulumi.Input[builtins.str]] = None, - metrics_push_url: Optional[pulumi.Input[builtins.str]] = None, - metrics_retention_days: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days1h_downsampling: Optional[pulumi.Input[builtins.int]] = None, - metrics_retention_days5m_downsampling: Optional[pulumi.Input[builtins.int]] = None, - metrics_url: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - otlp_traces_url: Optional[pulumi.Input[builtins.str]] = None, - parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - targets_url: Optional[pulumi.Input[builtins.str]] = None, - zipkin_spans_url: Optional[pulumi.Input[builtins.str]] = None) -> 'ObservabilityInstance': + alerting_url: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + grafana_initial_admin_password: Optional[pulumi.Input[_builtins.str]] = None, + grafana_initial_admin_user: Optional[pulumi.Input[_builtins.str]] = None, + grafana_public_read_access: Optional[pulumi.Input[_builtins.bool]] = None, + grafana_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + is_updatable: Optional[pulumi.Input[_builtins.bool]] = None, + jaeger_traces_url: Optional[pulumi.Input[_builtins.str]] = None, + jaeger_ui_url: Optional[pulumi.Input[_builtins.str]] = None, + logs_push_url: Optional[pulumi.Input[_builtins.str]] = None, + logs_url: Optional[pulumi.Input[_builtins.str]] = None, + metrics_push_url: Optional[pulumi.Input[_builtins.str]] = None, + metrics_retention_days: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days1h_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + metrics_retention_days5m_downsampling: Optional[pulumi.Input[_builtins.int]] = None, + metrics_url: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + otlp_traces_url: Optional[pulumi.Input[_builtins.str]] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + targets_url: Optional[pulumi.Input[_builtins.str]] = None, + zipkin_spans_url: Optional[pulumi.Input[_builtins.str]] = None) -> 'ObservabilityInstance': """ Get an existing ObservabilityInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -747,29 +746,29 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. :param pulumi.Input[Union['ObservabilityInstanceAlertConfigArgs', 'ObservabilityInstanceAlertConfigArgsDict']] alert_config: Alert configuration for the instance. - :param pulumi.Input[builtins.str] alerting_url: Specifies Alerting URL. - :param pulumi.Input[builtins.str] dashboard_url: Specifies Observability instance dashboard URL. - :param pulumi.Input[builtins.str] grafana_initial_admin_password: Specifies an initial Grafana admin password. - :param pulumi.Input[builtins.str] grafana_initial_admin_user: Specifies an initial Grafana admin username. - :param pulumi.Input[builtins.bool] grafana_public_read_access: If true, anyone can access Grafana dashboards without logging in. - :param pulumi.Input[builtins.str] grafana_url: Specifies Grafana URL. - :param pulumi.Input[builtins.str] instance_id: The Observability instance ID. - :param pulumi.Input[builtins.bool] is_updatable: Specifies if the instance can be updated. - :param pulumi.Input[builtins.str] logs_push_url: Specifies URL for pushing logs. - :param pulumi.Input[builtins.str] logs_url: Specifies Logs URL. - :param pulumi.Input[builtins.str] metrics_push_url: Specifies URL for pushing metrics. - :param pulumi.Input[builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. - :param pulumi.Input[builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). - :param pulumi.Input[builtins.str] metrics_url: Specifies metrics URL. - :param pulumi.Input[builtins.str] name: The name of the Observability instance. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] parameters: Additional parameters. - :param pulumi.Input[builtins.str] plan_id: The Observability plan ID. - :param pulumi.Input[builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] targets_url: Specifies Targets URL. + :param pulumi.Input[_builtins.str] alerting_url: Specifies Alerting URL. + :param pulumi.Input[_builtins.str] dashboard_url: Specifies Observability instance dashboard URL. + :param pulumi.Input[_builtins.str] grafana_initial_admin_password: Specifies an initial Grafana admin password. + :param pulumi.Input[_builtins.str] grafana_initial_admin_user: Specifies an initial Grafana admin username. + :param pulumi.Input[_builtins.bool] grafana_public_read_access: If true, anyone can access Grafana dashboards without logging in. + :param pulumi.Input[_builtins.str] grafana_url: Specifies Grafana URL. + :param pulumi.Input[_builtins.str] instance_id: The Observability instance ID. + :param pulumi.Input[_builtins.bool] is_updatable: Specifies if the instance can be updated. + :param pulumi.Input[_builtins.str] logs_push_url: Specifies URL for pushing logs. + :param pulumi.Input[_builtins.str] logs_url: Specifies Logs URL. + :param pulumi.Input[_builtins.str] metrics_push_url: Specifies URL for pushing metrics. + :param pulumi.Input[_builtins.int] metrics_retention_days: Specifies for how many days the raw metrics are kept. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days1h_downsampling: Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. + :param pulumi.Input[_builtins.int] metrics_retention_days5m_downsampling: Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. + :param pulumi.Input[_builtins.str] metrics_url: Specifies metrics URL. + :param pulumi.Input[_builtins.str] name: The name of the Observability instance. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: Additional parameters. + :param pulumi.Input[_builtins.str] plan_id: The Observability plan ID. + :param pulumi.Input[_builtins.str] plan_name: Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] targets_url: Specifies Targets URL. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -804,15 +803,15 @@ def get(resource_name: str, __props__.__dict__["zipkin_spans_url"] = zipkin_spans_url return ObservabilityInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def acls(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]: + def acls(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]: """ The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="alertConfig") def alert_config(self) -> pulumi.Output[Optional['outputs.ObservabilityInstanceAlertConfig']]: """ @@ -820,191 +819,191 @@ def alert_config(self) -> pulumi.Output[Optional['outputs.ObservabilityInstanceA """ return pulumi.get(self, "alert_config") - @property + @_builtins.property @pulumi.getter(name="alertingUrl") - def alerting_url(self) -> pulumi.Output[builtins.str]: + def alerting_url(self) -> pulumi.Output[_builtins.str]: """ Specifies Alerting URL. """ return pulumi.get(self, "alerting_url") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> pulumi.Output[builtins.str]: + def dashboard_url(self) -> pulumi.Output[_builtins.str]: """ Specifies Observability instance dashboard URL. """ return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter(name="grafanaInitialAdminPassword") - def grafana_initial_admin_password(self) -> pulumi.Output[builtins.str]: + def grafana_initial_admin_password(self) -> pulumi.Output[_builtins.str]: """ Specifies an initial Grafana admin password. """ return pulumi.get(self, "grafana_initial_admin_password") - @property + @_builtins.property @pulumi.getter(name="grafanaInitialAdminUser") - def grafana_initial_admin_user(self) -> pulumi.Output[builtins.str]: + def grafana_initial_admin_user(self) -> pulumi.Output[_builtins.str]: """ Specifies an initial Grafana admin username. """ return pulumi.get(self, "grafana_initial_admin_user") - @property + @_builtins.property @pulumi.getter(name="grafanaPublicReadAccess") - def grafana_public_read_access(self) -> pulumi.Output[builtins.bool]: + def grafana_public_read_access(self) -> pulumi.Output[_builtins.bool]: """ If true, anyone can access Grafana dashboards without logging in. """ return pulumi.get(self, "grafana_public_read_access") - @property + @_builtins.property @pulumi.getter(name="grafanaUrl") - def grafana_url(self) -> pulumi.Output[builtins.str]: + def grafana_url(self) -> pulumi.Output[_builtins.str]: """ Specifies Grafana URL. """ return pulumi.get(self, "grafana_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ The Observability instance ID. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter(name="isUpdatable") - def is_updatable(self) -> pulumi.Output[builtins.bool]: + def is_updatable(self) -> pulumi.Output[_builtins.bool]: """ Specifies if the instance can be updated. """ return pulumi.get(self, "is_updatable") - @property + @_builtins.property @pulumi.getter(name="jaegerTracesUrl") - def jaeger_traces_url(self) -> pulumi.Output[builtins.str]: + def jaeger_traces_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "jaeger_traces_url") - @property + @_builtins.property @pulumi.getter(name="jaegerUiUrl") - def jaeger_ui_url(self) -> pulumi.Output[builtins.str]: + def jaeger_ui_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "jaeger_ui_url") - @property + @_builtins.property @pulumi.getter(name="logsPushUrl") - def logs_push_url(self) -> pulumi.Output[builtins.str]: + def logs_push_url(self) -> pulumi.Output[_builtins.str]: """ Specifies URL for pushing logs. """ return pulumi.get(self, "logs_push_url") - @property + @_builtins.property @pulumi.getter(name="logsUrl") - def logs_url(self) -> pulumi.Output[builtins.str]: + def logs_url(self) -> pulumi.Output[_builtins.str]: """ Specifies Logs URL. """ return pulumi.get(self, "logs_url") - @property + @_builtins.property @pulumi.getter(name="metricsPushUrl") - def metrics_push_url(self) -> pulumi.Output[builtins.str]: + def metrics_push_url(self) -> pulumi.Output[_builtins.str]: """ Specifies URL for pushing metrics. """ return pulumi.get(self, "metrics_push_url") - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays") - def metrics_retention_days(self) -> pulumi.Output[builtins.int]: + def metrics_retention_days(self) -> pulumi.Output[_builtins.int]: """ - Specifies for how many days the raw metrics are kept. + Specifies for how many days the raw metrics are kept. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days") - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays1hDownsampling") - def metrics_retention_days1h_downsampling(self) -> pulumi.Output[builtins.int]: + def metrics_retention_days1h_downsampling(self) -> pulumi.Output[_builtins.int]: """ - Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `0` (disabled). + Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days1h_downsampling") - @property + @_builtins.property @pulumi.getter(name="metricsRetentionDays5mDownsampling") - def metrics_retention_days5m_downsampling(self) -> pulumi.Output[builtins.int]: + def metrics_retention_days5m_downsampling(self) -> pulumi.Output[_builtins.int]: """ - Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `0` (disabled). + Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`. """ return pulumi.get(self, "metrics_retention_days5m_downsampling") - @property + @_builtins.property @pulumi.getter(name="metricsUrl") - def metrics_url(self) -> pulumi.Output[builtins.str]: + def metrics_url(self) -> pulumi.Output[_builtins.str]: """ Specifies metrics URL. """ return pulumi.get(self, "metrics_url") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the Observability instance. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="otlpTracesUrl") - def otlp_traces_url(self) -> pulumi.Output[builtins.str]: + def otlp_traces_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "otlp_traces_url") - @property + @_builtins.property @pulumi.getter - def parameters(self) -> pulumi.Output[Mapping[str, builtins.str]]: + def parameters(self) -> pulumi.Output[Mapping[str, _builtins.str]]: """ Additional parameters. """ return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> pulumi.Output[builtins.str]: + def plan_id(self) -> pulumi.Output[_builtins.str]: """ The Observability plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Output[builtins.str]: + def plan_name(self) -> pulumi.Output[_builtins.str]: """ Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="targetsUrl") - def targets_url(self) -> pulumi.Output[builtins.str]: + def targets_url(self) -> pulumi.Output[_builtins.str]: """ Specifies Targets URL. """ return pulumi.get(self, "targets_url") - @property + @_builtins.property @pulumi.getter(name="zipkinSpansUrl") - def zipkin_spans_url(self) -> pulumi.Output[builtins.str]: + def zipkin_spans_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "zipkin_spans_url") diff --git a/sdk/python/pulumi_stackit/observability_logalertgroup.py b/sdk/python/pulumi_stackit/observability_logalertgroup.py index 59f6d972..34c281a7 100644 --- a/sdk/python/pulumi_stackit/observability_logalertgroup.py +++ b/sdk/python/pulumi_stackit/observability_logalertgroup.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,18 +21,18 @@ @pulumi.input_type class ObservabilityLogalertgroupArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], rules: pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgroupRuleArgs']]], - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None): + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ObservabilityLogalertgroup resource. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the log alert group is associated. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the log alert group is associated. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgroupRuleArgs']]] rules: Rules for the log alert group - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) @@ -43,31 +42,31 @@ def __init__(__self__, *, if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ Observability instance ID to which the log alert group is associated. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the log alert group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def rules(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgroupRuleArgs']]]: """ @@ -79,45 +78,45 @@ def rules(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgrou def rules(self, value: pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgroupRuleArgs']]]): pulumi.set(self, "rules", value) - @property + @_builtins.property @pulumi.getter - def interval(self) -> Optional[pulumi.Input[builtins.str]]: + def interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") @interval.setter - def interval(self, value: Optional[pulumi.Input[builtins.str]]): + def interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "interval", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the log alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _ObservabilityLogalertgroupState: def __init__(__self__, *, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgroupRuleArgs']]]] = None): """ Input properties used for looking up and filtering ObservabilityLogalertgroup resources. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the log alert group is associated. - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the log alert group is associated. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgroupRuleArgs']]] rules: Rules for the log alert group """ if instance_id is not None: @@ -131,55 +130,55 @@ def __init__(__self__, *, if rules is not None: pulumi.set(__self__, "rules", rules) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Observability instance ID to which the log alert group is associated. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def interval(self) -> Optional[pulumi.Input[builtins.str]]: + def interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") @interval.setter - def interval(self, value: Optional[pulumi.Input[builtins.str]]): + def interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "interval", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the log alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the log alert group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityLogalertgroupRuleArgs']]]]: """ @@ -198,10 +197,10 @@ class ObservabilityLogalertgroup(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityLogalertgroupRuleArgs', 'ObservabilityLogalertgroupRuleArgsDict']]]]] = None, __props__=None): """ @@ -211,10 +210,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the log alert group is associated. - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the log alert group is associated. :param pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityLogalertgroupRuleArgs', 'ObservabilityLogalertgroupRuleArgsDict']]]] rules: Rules for the log alert group """ ... @@ -243,10 +242,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityLogalertgroupRuleArgs', 'ObservabilityLogalertgroupRuleArgsDict']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -278,10 +277,10 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - interval: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + interval: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityLogalertgroupRuleArgs', 'ObservabilityLogalertgroupRuleArgsDict']]]]] = None) -> 'ObservabilityLogalertgroup': """ Get an existing ObservabilityLogalertgroup resource's state with the given name, id, and optional extra @@ -290,10 +289,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the log alert group is associated. - :param pulumi.Input[builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. - :param pulumi.Input[builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the log alert group is associated. + :param pulumi.Input[_builtins.str] interval: Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. + :param pulumi.Input[_builtins.str] name: The name of the log alert group. Is the identifier and must be unique in the group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the log alert group is associated. :param pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityLogalertgroupRuleArgs', 'ObservabilityLogalertgroupRuleArgsDict']]]] rules: Rules for the log alert group """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -307,39 +306,39 @@ def get(resource_name: str, __props__.__dict__["rules"] = rules return ObservabilityLogalertgroup(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ Observability instance ID to which the log alert group is associated. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def interval(self) -> pulumi.Output[builtins.str]: + def interval(self) -> pulumi.Output[_builtins.str]: """ Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'. """ return pulumi.get(self, "interval") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the log alert group. Is the identifier and must be unique in the group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the log alert group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def rules(self) -> pulumi.Output[Sequence['outputs.ObservabilityLogalertgroupRule']]: """ diff --git a/sdk/python/pulumi_stackit/observability_scrapeconfig.py b/sdk/python/pulumi_stackit/observability_scrapeconfig.py index 8b5bbf7e..67cc6f78 100644 --- a/sdk/python/pulumi_stackit/observability_scrapeconfig.py +++ b/sdk/python/pulumi_stackit/observability_scrapeconfig.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,30 +21,30 @@ @pulumi.input_type class ObservabilityScrapeconfigArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - metrics_path: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], + instance_id: pulumi.Input[_builtins.str], + metrics_path: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], targets: pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconfigTargetArgs']]], basic_auth: Optional[pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs']] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, saml2: Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']] = None, - sample_limit: Optional[pulumi.Input[builtins.int]] = None, - scheme: Optional[pulumi.Input[builtins.str]] = None, - scrape_interval: Optional[pulumi.Input[builtins.str]] = None, - scrape_timeout: Optional[pulumi.Input[builtins.str]] = None): + sample_limit: Optional[pulumi.Input[_builtins.int]] = None, + scheme: Optional[pulumi.Input[_builtins.str]] = None, + scrape_interval: Optional[pulumi.Input[_builtins.str]] = None, + scrape_timeout: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ObservabilityScrapeconfig resource. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the scraping job is associated. - :param pulumi.Input[builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the scraping job is associated. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconfigTargetArgs']]] targets: The targets list (specified by the static config). :param pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs'] basic_auth: A basic authentication block. - :param pulumi.Input[builtins.str] name: Specifies the name of the scraping job. + :param pulumi.Input[_builtins.str] name: Specifies the name of the scraping job. :param pulumi.Input['ObservabilityScrapeconfigSaml2Args'] saml2: A SAML2 configuration block. - :param pulumi.Input[builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. - :param pulumi.Input[builtins.str] scheme: Specifies the http scheme. Defaults to `https`. - :param pulumi.Input[builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. - :param pulumi.Input[builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. + :param pulumi.Input[_builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. + :param pulumi.Input[_builtins.str] scheme: Specifies the http scheme. Defaults to `https`. + :param pulumi.Input[_builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. + :param pulumi.Input[_builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "metrics_path", metrics_path) @@ -66,43 +65,43 @@ def __init__(__self__, *, if scrape_timeout is not None: pulumi.set(__self__, "scrape_timeout", scrape_timeout) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ Observability instance ID to which the scraping job is associated. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="metricsPath") - def metrics_path(self) -> pulumi.Input[builtins.str]: + def metrics_path(self) -> pulumi.Input[_builtins.str]: """ Specifies the job scraping url path. E.g. `/metrics`. """ return pulumi.get(self, "metrics_path") @metrics_path.setter - def metrics_path(self, value: pulumi.Input[builtins.str]): + def metrics_path(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "metrics_path", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the scraping job is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def targets(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconfigTargetArgs']]]: """ @@ -114,7 +113,7 @@ def targets(self) -> pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconf def targets(self, value: pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconfigTargetArgs']]]): pulumi.set(self, "targets", value) - @property + @_builtins.property @pulumi.getter(name="basicAuth") def basic_auth(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs']]: """ @@ -126,19 +125,19 @@ def basic_auth(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigBasicAut def basic_auth(self, value: Optional[pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs']]): pulumi.set(self, "basic_auth", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the name of the scraping job. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def saml2(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']]: """ @@ -150,52 +149,52 @@ def saml2(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']]: def saml2(self, value: Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']]): pulumi.set(self, "saml2", value) - @property + @_builtins.property @pulumi.getter(name="sampleLimit") - def sample_limit(self) -> Optional[pulumi.Input[builtins.int]]: + def sample_limit(self) -> Optional[pulumi.Input[_builtins.int]]: """ Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. """ return pulumi.get(self, "sample_limit") @sample_limit.setter - def sample_limit(self, value: Optional[pulumi.Input[builtins.int]]): + def sample_limit(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "sample_limit", value) - @property + @_builtins.property @pulumi.getter - def scheme(self) -> Optional[pulumi.Input[builtins.str]]: + def scheme(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the http scheme. Defaults to `https`. """ return pulumi.get(self, "scheme") @scheme.setter - def scheme(self, value: Optional[pulumi.Input[builtins.str]]): + def scheme(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scheme", value) - @property + @_builtins.property @pulumi.getter(name="scrapeInterval") - def scrape_interval(self) -> Optional[pulumi.Input[builtins.str]]: + def scrape_interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the scrape interval as duration string. Defaults to `5m`. """ return pulumi.get(self, "scrape_interval") @scrape_interval.setter - def scrape_interval(self, value: Optional[pulumi.Input[builtins.str]]): + def scrape_interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scrape_interval", value) - @property + @_builtins.property @pulumi.getter(name="scrapeTimeout") - def scrape_timeout(self) -> Optional[pulumi.Input[builtins.str]]: + def scrape_timeout(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the scrape timeout as duration string. Defaults to `2m`. """ return pulumi.get(self, "scrape_timeout") @scrape_timeout.setter - def scrape_timeout(self, value: Optional[pulumi.Input[builtins.str]]): + def scrape_timeout(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scrape_timeout", value) @@ -203,28 +202,28 @@ def scrape_timeout(self, value: Optional[pulumi.Input[builtins.str]]): class _ObservabilityScrapeconfigState: def __init__(__self__, *, basic_auth: Optional[pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs']] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - metrics_path: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + metrics_path: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, saml2: Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']] = None, - sample_limit: Optional[pulumi.Input[builtins.int]] = None, - scheme: Optional[pulumi.Input[builtins.str]] = None, - scrape_interval: Optional[pulumi.Input[builtins.str]] = None, - scrape_timeout: Optional[pulumi.Input[builtins.str]] = None, + sample_limit: Optional[pulumi.Input[_builtins.int]] = None, + scheme: Optional[pulumi.Input[_builtins.str]] = None, + scrape_interval: Optional[pulumi.Input[_builtins.str]] = None, + scrape_timeout: Optional[pulumi.Input[_builtins.str]] = None, targets: Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconfigTargetArgs']]]] = None): """ Input properties used for looking up and filtering ObservabilityScrapeconfig resources. :param pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs'] basic_auth: A basic authentication block. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the scraping job is associated. - :param pulumi.Input[builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. - :param pulumi.Input[builtins.str] name: Specifies the name of the scraping job. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. + :param pulumi.Input[_builtins.str] name: Specifies the name of the scraping job. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the scraping job is associated. :param pulumi.Input['ObservabilityScrapeconfigSaml2Args'] saml2: A SAML2 configuration block. - :param pulumi.Input[builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. - :param pulumi.Input[builtins.str] scheme: Specifies the http scheme. Defaults to `https`. - :param pulumi.Input[builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. - :param pulumi.Input[builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. + :param pulumi.Input[_builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. + :param pulumi.Input[_builtins.str] scheme: Specifies the http scheme. Defaults to `https`. + :param pulumi.Input[_builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. + :param pulumi.Input[_builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. :param pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconfigTargetArgs']]] targets: The targets list (specified by the static config). """ if basic_auth is not None: @@ -250,7 +249,7 @@ def __init__(__self__, *, if targets is not None: pulumi.set(__self__, "targets", targets) - @property + @_builtins.property @pulumi.getter(name="basicAuth") def basic_auth(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs']]: """ @@ -262,55 +261,55 @@ def basic_auth(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigBasicAut def basic_auth(self, value: Optional[pulumi.Input['ObservabilityScrapeconfigBasicAuthArgs']]): pulumi.set(self, "basic_auth", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Observability instance ID to which the scraping job is associated. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="metricsPath") - def metrics_path(self) -> Optional[pulumi.Input[builtins.str]]: + def metrics_path(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the job scraping url path. E.g. `/metrics`. """ return pulumi.get(self, "metrics_path") @metrics_path.setter - def metrics_path(self, value: Optional[pulumi.Input[builtins.str]]): + def metrics_path(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "metrics_path", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the name of the scraping job. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the scraping job is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def saml2(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']]: """ @@ -322,55 +321,55 @@ def saml2(self) -> Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']]: def saml2(self, value: Optional[pulumi.Input['ObservabilityScrapeconfigSaml2Args']]): pulumi.set(self, "saml2", value) - @property + @_builtins.property @pulumi.getter(name="sampleLimit") - def sample_limit(self) -> Optional[pulumi.Input[builtins.int]]: + def sample_limit(self) -> Optional[pulumi.Input[_builtins.int]]: """ Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. """ return pulumi.get(self, "sample_limit") @sample_limit.setter - def sample_limit(self, value: Optional[pulumi.Input[builtins.int]]): + def sample_limit(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "sample_limit", value) - @property + @_builtins.property @pulumi.getter - def scheme(self) -> Optional[pulumi.Input[builtins.str]]: + def scheme(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the http scheme. Defaults to `https`. """ return pulumi.get(self, "scheme") @scheme.setter - def scheme(self, value: Optional[pulumi.Input[builtins.str]]): + def scheme(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scheme", value) - @property + @_builtins.property @pulumi.getter(name="scrapeInterval") - def scrape_interval(self) -> Optional[pulumi.Input[builtins.str]]: + def scrape_interval(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the scrape interval as duration string. Defaults to `5m`. """ return pulumi.get(self, "scrape_interval") @scrape_interval.setter - def scrape_interval(self, value: Optional[pulumi.Input[builtins.str]]): + def scrape_interval(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scrape_interval", value) - @property + @_builtins.property @pulumi.getter(name="scrapeTimeout") - def scrape_timeout(self) -> Optional[pulumi.Input[builtins.str]]: + def scrape_timeout(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the scrape timeout as duration string. Defaults to `2m`. """ return pulumi.get(self, "scrape_timeout") @scrape_timeout.setter - def scrape_timeout(self, value: Optional[pulumi.Input[builtins.str]]): + def scrape_timeout(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scrape_timeout", value) - @property + @_builtins.property @pulumi.getter def targets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObservabilityScrapeconfigTargetArgs']]]]: """ @@ -390,15 +389,15 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, basic_auth: Optional[pulumi.Input[Union['ObservabilityScrapeconfigBasicAuthArgs', 'ObservabilityScrapeconfigBasicAuthArgsDict']]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - metrics_path: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + metrics_path: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, saml2: Optional[pulumi.Input[Union['ObservabilityScrapeconfigSaml2Args', 'ObservabilityScrapeconfigSaml2ArgsDict']]] = None, - sample_limit: Optional[pulumi.Input[builtins.int]] = None, - scheme: Optional[pulumi.Input[builtins.str]] = None, - scrape_interval: Optional[pulumi.Input[builtins.str]] = None, - scrape_timeout: Optional[pulumi.Input[builtins.str]] = None, + sample_limit: Optional[pulumi.Input[_builtins.int]] = None, + scheme: Optional[pulumi.Input[_builtins.str]] = None, + scrape_interval: Optional[pulumi.Input[_builtins.str]] = None, + scrape_timeout: Optional[pulumi.Input[_builtins.str]] = None, targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityScrapeconfigTargetArgs', 'ObservabilityScrapeconfigTargetArgsDict']]]]] = None, __props__=None): """ @@ -409,15 +408,15 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['ObservabilityScrapeconfigBasicAuthArgs', 'ObservabilityScrapeconfigBasicAuthArgsDict']] basic_auth: A basic authentication block. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the scraping job is associated. - :param pulumi.Input[builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. - :param pulumi.Input[builtins.str] name: Specifies the name of the scraping job. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. + :param pulumi.Input[_builtins.str] name: Specifies the name of the scraping job. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the scraping job is associated. :param pulumi.Input[Union['ObservabilityScrapeconfigSaml2Args', 'ObservabilityScrapeconfigSaml2ArgsDict']] saml2: A SAML2 configuration block. - :param pulumi.Input[builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. - :param pulumi.Input[builtins.str] scheme: Specifies the http scheme. Defaults to `https`. - :param pulumi.Input[builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. - :param pulumi.Input[builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. + :param pulumi.Input[_builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. + :param pulumi.Input[_builtins.str] scheme: Specifies the http scheme. Defaults to `https`. + :param pulumi.Input[_builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. + :param pulumi.Input[_builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. :param pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityScrapeconfigTargetArgs', 'ObservabilityScrapeconfigTargetArgsDict']]]] targets: The targets list (specified by the static config). """ ... @@ -447,15 +446,15 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, basic_auth: Optional[pulumi.Input[Union['ObservabilityScrapeconfigBasicAuthArgs', 'ObservabilityScrapeconfigBasicAuthArgsDict']]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - metrics_path: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + metrics_path: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, saml2: Optional[pulumi.Input[Union['ObservabilityScrapeconfigSaml2Args', 'ObservabilityScrapeconfigSaml2ArgsDict']]] = None, - sample_limit: Optional[pulumi.Input[builtins.int]] = None, - scheme: Optional[pulumi.Input[builtins.str]] = None, - scrape_interval: Optional[pulumi.Input[builtins.str]] = None, - scrape_timeout: Optional[pulumi.Input[builtins.str]] = None, + sample_limit: Optional[pulumi.Input[_builtins.int]] = None, + scheme: Optional[pulumi.Input[_builtins.str]] = None, + scrape_interval: Optional[pulumi.Input[_builtins.str]] = None, + scrape_timeout: Optional[pulumi.Input[_builtins.str]] = None, targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityScrapeconfigTargetArgs', 'ObservabilityScrapeconfigTargetArgsDict']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -496,15 +495,15 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, basic_auth: Optional[pulumi.Input[Union['ObservabilityScrapeconfigBasicAuthArgs', 'ObservabilityScrapeconfigBasicAuthArgsDict']]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - metrics_path: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + metrics_path: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, saml2: Optional[pulumi.Input[Union['ObservabilityScrapeconfigSaml2Args', 'ObservabilityScrapeconfigSaml2ArgsDict']]] = None, - sample_limit: Optional[pulumi.Input[builtins.int]] = None, - scheme: Optional[pulumi.Input[builtins.str]] = None, - scrape_interval: Optional[pulumi.Input[builtins.str]] = None, - scrape_timeout: Optional[pulumi.Input[builtins.str]] = None, + sample_limit: Optional[pulumi.Input[_builtins.int]] = None, + scheme: Optional[pulumi.Input[_builtins.str]] = None, + scrape_interval: Optional[pulumi.Input[_builtins.str]] = None, + scrape_timeout: Optional[pulumi.Input[_builtins.str]] = None, targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityScrapeconfigTargetArgs', 'ObservabilityScrapeconfigTargetArgsDict']]]]] = None) -> 'ObservabilityScrapeconfig': """ Get an existing ObservabilityScrapeconfig resource's state with the given name, id, and optional extra @@ -514,15 +513,15 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['ObservabilityScrapeconfigBasicAuthArgs', 'ObservabilityScrapeconfigBasicAuthArgsDict']] basic_auth: A basic authentication block. - :param pulumi.Input[builtins.str] instance_id: Observability instance ID to which the scraping job is associated. - :param pulumi.Input[builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. - :param pulumi.Input[builtins.str] name: Specifies the name of the scraping job. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] instance_id: Observability instance ID to which the scraping job is associated. + :param pulumi.Input[_builtins.str] metrics_path: Specifies the job scraping url path. E.g. `/metrics`. + :param pulumi.Input[_builtins.str] name: Specifies the name of the scraping job. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the scraping job is associated. :param pulumi.Input[Union['ObservabilityScrapeconfigSaml2Args', 'ObservabilityScrapeconfigSaml2ArgsDict']] saml2: A SAML2 configuration block. - :param pulumi.Input[builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. - :param pulumi.Input[builtins.str] scheme: Specifies the http scheme. Defaults to `https`. - :param pulumi.Input[builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. - :param pulumi.Input[builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. + :param pulumi.Input[_builtins.int] sample_limit: Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. + :param pulumi.Input[_builtins.str] scheme: Specifies the http scheme. Defaults to `https`. + :param pulumi.Input[_builtins.str] scrape_interval: Specifies the scrape interval as duration string. Defaults to `5m`. + :param pulumi.Input[_builtins.str] scrape_timeout: Specifies the scrape timeout as duration string. Defaults to `2m`. :param pulumi.Input[Sequence[pulumi.Input[Union['ObservabilityScrapeconfigTargetArgs', 'ObservabilityScrapeconfigTargetArgsDict']]]] targets: The targets list (specified by the static config). """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -542,7 +541,7 @@ def get(resource_name: str, __props__.__dict__["targets"] = targets return ObservabilityScrapeconfig(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="basicAuth") def basic_auth(self) -> pulumi.Output['outputs.ObservabilityScrapeconfigBasicAuth']: """ @@ -550,39 +549,39 @@ def basic_auth(self) -> pulumi.Output['outputs.ObservabilityScrapeconfigBasicAut """ return pulumi.get(self, "basic_auth") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ Observability instance ID to which the scraping job is associated. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter(name="metricsPath") - def metrics_path(self) -> pulumi.Output[builtins.str]: + def metrics_path(self) -> pulumi.Output[_builtins.str]: """ Specifies the job scraping url path. E.g. `/metrics`. """ return pulumi.get(self, "metrics_path") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Specifies the name of the scraping job. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the scraping job is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def saml2(self) -> pulumi.Output['outputs.ObservabilityScrapeconfigSaml2']: """ @@ -590,39 +589,39 @@ def saml2(self) -> pulumi.Output['outputs.ObservabilityScrapeconfigSaml2']: """ return pulumi.get(self, "saml2") - @property + @_builtins.property @pulumi.getter(name="sampleLimit") - def sample_limit(self) -> pulumi.Output[builtins.int]: + def sample_limit(self) -> pulumi.Output[_builtins.int]: """ Specifies the scrape sample limit. Upper limit depends on the service plan. Defaults to `5000`. """ return pulumi.get(self, "sample_limit") - @property + @_builtins.property @pulumi.getter - def scheme(self) -> pulumi.Output[builtins.str]: + def scheme(self) -> pulumi.Output[_builtins.str]: """ Specifies the http scheme. Defaults to `https`. """ return pulumi.get(self, "scheme") - @property + @_builtins.property @pulumi.getter(name="scrapeInterval") - def scrape_interval(self) -> pulumi.Output[builtins.str]: + def scrape_interval(self) -> pulumi.Output[_builtins.str]: """ Specifies the scrape interval as duration string. Defaults to `5m`. """ return pulumi.get(self, "scrape_interval") - @property + @_builtins.property @pulumi.getter(name="scrapeTimeout") - def scrape_timeout(self) -> pulumi.Output[builtins.str]: + def scrape_timeout(self) -> pulumi.Output[_builtins.str]: """ Specifies the scrape timeout as duration string. Defaults to `2m`. """ return pulumi.get(self, "scrape_timeout") - @property + @_builtins.property @pulumi.getter def targets(self) -> pulumi.Output[Sequence['outputs.ObservabilityScrapeconfigTarget']]: """ diff --git a/sdk/python/pulumi_stackit/opensearch_credential.py b/sdk/python/pulumi_stackit/opensearch_credential.py index 12a7edcb..b0246b53 100644 --- a/sdk/python/pulumi_stackit/opensearch_credential.py +++ b/sdk/python/pulumi_stackit/opensearch_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,59 +19,59 @@ @pulumi.input_type class OpensearchCredentialArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str]): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a OpensearchCredential resource. - :param pulumi.Input[builtins.str] instance_id: ID of the OpenSearch instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the OpenSearch instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the OpenSearch instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) @pulumi.input_type class _OpensearchCredentialState: def __init__(__self__, *, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - scheme: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + scheme: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering OpensearchCredential resources. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the OpenSearch instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the OpenSearch instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ if credential_id is not None: pulumi.set(__self__, "credential_id", credential_id) @@ -95,103 +94,103 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credential_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credential's ID. """ return pulumi.get(self, "credential_id") @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credential_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credential_id", value) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "hosts") @hosts.setter - def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "hosts", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the OpenSearch instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def scheme(self) -> Optional[pulumi.Input[builtins.str]]: + def scheme(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "scheme") @scheme.setter - def scheme(self, value: Optional[pulumi.Input[builtins.str]]): + def scheme(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "scheme", value) - @property + @_builtins.property @pulumi.getter - def uri(self) -> Optional[pulumi.Input[builtins.str]]: + def uri(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "uri") @uri.setter - def uri(self, value: Optional[pulumi.Input[builtins.str]]): + def uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "uri", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -201,8 +200,8 @@ class OpensearchCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ OpenSearch credential resource schema. Must have a `region` specified in the provider configuration. @@ -211,8 +210,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the OpenSearch instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the OpenSearch instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ ... @overload @@ -240,8 +239,8 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -277,16 +276,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - scheme: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'OpensearchCredential': + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + scheme: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'OpensearchCredential': """ Get an existing OpensearchCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -294,9 +293,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the OpenSearch instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the OpenSearch instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -314,62 +313,62 @@ def get(resource_name: str, __props__.__dict__["username"] = username return OpensearchCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> pulumi.Output[builtins.str]: + def credential_id(self) -> pulumi.Output[_builtins.str]: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> pulumi.Output[Sequence[builtins.str]]: + def hosts(self) -> pulumi.Output[Sequence[_builtins.str]]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the OpenSearch instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def scheme(self) -> pulumi.Output[builtins.str]: + def scheme(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "scheme") - @property + @_builtins.property @pulumi.getter - def uri(self) -> pulumi.Output[builtins.str]: + def uri(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_stackit/opensearch_instance.py b/sdk/python/pulumi_stackit/opensearch_instance.py index 8dbdfc03..86d64894 100644 --- a/sdk/python/pulumi_stackit/opensearch_instance.py +++ b/sdk/python/pulumi_stackit/opensearch_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,17 +21,17 @@ @pulumi.input_type class OpensearchInstanceArgs: def __init__(__self__, *, - plan_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - version: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, + plan_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + version: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['OpensearchInstanceParametersArgs']] = None): """ The set of arguments for constructing a OpensearchInstance resource. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. - :param pulumi.Input[builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. """ pulumi.set(__self__, "plan_name", plan_name) pulumi.set(__self__, "project_id", project_id) @@ -42,55 +41,55 @@ def __init__(__self__, *, if parameters is not None: pulumi.set(__self__, "parameters", parameters) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Input[builtins.str]: + def plan_name(self) -> pulumi.Input[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: pulumi.Input[builtins.str]): + def plan_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Input[builtins.str]: + def version(self) -> pulumi.Input[_builtins.str]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: pulumi.Input[builtins.str]): + def version(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "version", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['OpensearchInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -103,26 +102,26 @@ def parameters(self, value: Optional[pulumi.Input['OpensearchInstanceParametersA @pulumi.input_type class _OpensearchInstanceState: def __init__(__self__, *, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['OpensearchInstanceParametersArgs']] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering OpensearchInstance resources. - :param pulumi.Input[builtins.str] instance_id: ID of the OpenSearch instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the OpenSearch instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ if cf_guid is not None: pulumi.set(__self__, "cf_guid", cf_guid) @@ -149,76 +148,76 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_guid") @cf_guid.setter - def cf_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_organization_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_organization_guid") @cf_organization_guid.setter - def cf_organization_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_organization_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_organization_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_space_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_space_guid") @cf_space_guid.setter - def cf_space_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_space_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_space_guid", value) - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> Optional[pulumi.Input[builtins.str]]: + def dashboard_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "dashboard_url") @dashboard_url.setter - def dashboard_url(self, value: Optional[pulumi.Input[builtins.str]]): + def dashboard_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dashboard_url", value) - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> Optional[pulumi.Input[builtins.str]]: + def image_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "image_url") @image_url.setter - def image_url(self, value: Optional[pulumi.Input[builtins.str]]): + def image_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_url", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the OpenSearch instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['OpensearchInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -227,52 +226,52 @@ def parameters(self) -> Optional[pulumi.Input['OpensearchInstanceParametersArgs' def parameters(self, value: Optional[pulumi.Input['OpensearchInstanceParametersArgs']]): pulumi.set(self, "parameters", value) - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") @plan_id.setter - def plan_id(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_id", value) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -282,11 +281,11 @@ class OpensearchInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['OpensearchInstanceParametersArgs', 'OpensearchInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ OpenSearch instance resource schema. Must have a `region` specified in the provider configuration. @@ -295,10 +294,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ ... @overload @@ -326,11 +325,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['OpensearchInstanceParametersArgs', 'OpensearchInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -368,18 +367,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['OpensearchInstanceParametersArgs', 'OpensearchInstanceParametersArgsDict']]] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'OpensearchInstance': + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'OpensearchInstance': """ Get an existing OpensearchInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -387,12 +386,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the OpenSearch instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the OpenSearch instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -412,79 +411,79 @@ def get(resource_name: str, __props__.__dict__["version"] = version return OpensearchInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> pulumi.Output[builtins.str]: + def cf_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> pulumi.Output[builtins.str]: + def cf_organization_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> pulumi.Output[builtins.str]: + def cf_space_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> pulumi.Output[builtins.str]: + def dashboard_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> pulumi.Output[builtins.str]: + def image_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the OpenSearch instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> pulumi.Output['outputs.OpensearchInstanceParameters']: return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> pulumi.Output[builtins.str]: + def plan_id(self) -> pulumi.Output[_builtins.str]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Output[builtins.str]: + def plan_name(self) -> pulumi.Output[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: """ The service version. """ diff --git a/sdk/python/pulumi_stackit/outputs.py b/sdk/python/pulumi_stackit/outputs.py index 7b70e189..d55f7c0e 100644 --- a/sdk/python/pulumi_stackit/outputs.py +++ b/sdk/python/pulumi_stackit/outputs.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -17,8 +16,10 @@ from . import outputs __all__ = [ + 'CdnCustomDomainCertificate', 'CdnDistributionConfig', 'CdnDistributionConfigBackend', + 'CdnDistributionConfigOptimizer', 'CdnDistributionDomain', 'ImageChecksum', 'ImageConfig', @@ -57,6 +58,8 @@ 'PostgresflexInstanceStorage', 'RabbitmqInstanceParameters', 'RedisInstanceParameters', + 'RoutingTableRouteDestination', + 'RoutingTableRouteNextHop', 'SecurityGroupRuleIcmpParameters', 'SecurityGroupRulePortRange', 'SecurityGroupRuleProtocol', @@ -66,6 +69,7 @@ 'SkeClusterExtensionsAcl', 'SkeClusterExtensionsArgus', 'SkeClusterExtensionsDns', + 'SkeClusterExtensionsObservability', 'SkeClusterHibernation', 'SkeClusterMaintenance', 'SkeClusterNetwork', @@ -75,11 +79,16 @@ 'SqlserverflexInstanceOptions', 'SqlserverflexInstanceStorage', 'VolumeSource', + 'GetCdnCustomDomainCertificateResult', 'GetCdnDistributionConfigResult', 'GetCdnDistributionConfigBackendResult', + 'GetCdnDistributionConfigOptimizerResult', 'GetCdnDistributionDomainResult', 'GetImageChecksumResult', 'GetImageConfigResult', + 'GetImageV2ChecksumResult', + 'GetImageV2ConfigResult', + 'GetImageV2FilterResult', 'GetLoadbalancerListenerResult', 'GetLoadbalancerListenerServerNameIndicatorResult', 'GetLoadbalancerNetworkResult', @@ -116,6 +125,12 @@ 'GetPublicIpRangesPublicIpRangeResult', 'GetRabbitmqInstanceParametersResult', 'GetRedisInstanceParametersResult', + 'GetRoutingTableRouteDestinationResult', + 'GetRoutingTableRouteNextHopResult', + 'GetRoutingTableRoutesRouteResult', + 'GetRoutingTableRoutesRouteDestinationResult', + 'GetRoutingTableRoutesRouteNextHopResult', + 'GetRoutingTablesItemResult', 'GetSecurityGroupRuleIcmpParametersResult', 'GetSecurityGroupRulePortRangeResult', 'GetSecurityGroupRuleProtocolResult', @@ -128,6 +143,7 @@ 'GetSkeClusterExtensionsAclResult', 'GetSkeClusterExtensionsArgusResult', 'GetSkeClusterExtensionsDnsResult', + 'GetSkeClusterExtensionsObservabilityResult', 'GetSkeClusterHibernationResult', 'GetSkeClusterMaintenanceResult', 'GetSkeClusterNetworkResult', @@ -139,19 +155,104 @@ 'GetVolumeSourceResult', ] +@pulumi.output_type +class CdnCustomDomainCertificate(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "privateKey": + suggest = "private_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CdnCustomDomainCertificate. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CdnCustomDomainCertificate.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CdnCustomDomainCertificate.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + certificate: Optional[_builtins.str] = None, + private_key: Optional[_builtins.str] = None, + version: Optional[_builtins.int] = None): + """ + :param _builtins.str certificate: The PEM-encoded TLS certificate. Required for custom certificates. + :param _builtins.str private_key: The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + :param _builtins.int version: A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + if certificate is not None: + pulumi.set(__self__, "certificate", certificate) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def certificate(self) -> Optional[_builtins.str]: + """ + The PEM-encoded TLS certificate. Required for custom certificates. + """ + return pulumi.get(self, "certificate") + + @_builtins.property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[_builtins.str]: + """ + The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + return pulumi.get(self, "private_key") + + @_builtins.property + @pulumi.getter + def version(self) -> Optional[_builtins.int]: + """ + A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + return pulumi.get(self, "version") + + @pulumi.output_type class CdnDistributionConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "blockedCountries": + suggest = "blocked_countries" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CdnDistributionConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CdnDistributionConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CdnDistributionConfig.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, backend: 'outputs.CdnDistributionConfigBackend', - regions: Sequence[builtins.str]): + regions: Sequence[_builtins.str], + blocked_countries: Optional[Sequence[_builtins.str]] = None, + optimizer: Optional['outputs.CdnDistributionConfigOptimizer'] = None): """ :param 'CdnDistributionConfigBackendArgs' backend: The configured backend for the distribution - :param Sequence[builtins.str] regions: The configured regions where content will be hosted + :param Sequence[_builtins.str] regions: The configured regions where content will be hosted + :param Sequence[_builtins.str] blocked_countries: The configured countries where distribution of content is blocked + :param 'CdnDistributionConfigOptimizerArgs' optimizer: Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. """ pulumi.set(__self__, "backend", backend) pulumi.set(__self__, "regions", regions) + if blocked_countries is not None: + pulumi.set(__self__, "blocked_countries", blocked_countries) + if optimizer is not None: + pulumi.set(__self__, "optimizer", optimizer) - @property + @_builtins.property @pulumi.getter def backend(self) -> 'outputs.CdnDistributionConfigBackend': """ @@ -159,14 +260,30 @@ def backend(self) -> 'outputs.CdnDistributionConfigBackend': """ return pulumi.get(self, "backend") - @property + @_builtins.property @pulumi.getter - def regions(self) -> Sequence[builtins.str]: + def regions(self) -> Sequence[_builtins.str]: """ The configured regions where content will be hosted """ return pulumi.get(self, "regions") + @_builtins.property + @pulumi.getter(name="blockedCountries") + def blocked_countries(self) -> Optional[Sequence[_builtins.str]]: + """ + The configured countries where distribution of content is blocked + """ + return pulumi.get(self, "blocked_countries") + + @_builtins.property + @pulumi.getter + def optimizer(self) -> Optional['outputs.CdnDistributionConfigOptimizer']: + """ + Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + """ + return pulumi.get(self, "optimizer") + @pulumi.output_type class CdnDistributionConfigBackend(dict): @@ -190,56 +307,69 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - origin_url: builtins.str, - type: builtins.str, - origin_request_headers: Optional[Mapping[str, builtins.str]] = None): + origin_url: _builtins.str, + type: _builtins.str, + origin_request_headers: Optional[Mapping[str, _builtins.str]] = None): """ - :param builtins.str origin_url: The configured backend type for the distribution - :param builtins.str type: The configured backend type. Supported values are: `http`. - :param Mapping[str, builtins.str] origin_request_headers: The configured origin request headers for the backend + :param _builtins.str origin_url: The configured backend type for the distribution + :param _builtins.str type: The configured backend type. Supported values are: `http`. + :param Mapping[str, _builtins.str] origin_request_headers: The configured origin request headers for the backend """ pulumi.set(__self__, "origin_url", origin_url) pulumi.set(__self__, "type", type) if origin_request_headers is not None: pulumi.set(__self__, "origin_request_headers", origin_request_headers) - @property + @_builtins.property @pulumi.getter(name="originUrl") - def origin_url(self) -> builtins.str: + def origin_url(self) -> _builtins.str: """ The configured backend type for the distribution """ return pulumi.get(self, "origin_url") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ The configured backend type. Supported values are: `http`. """ return pulumi.get(self, "type") - @property + @_builtins.property @pulumi.getter(name="originRequestHeaders") - def origin_request_headers(self) -> Optional[Mapping[str, builtins.str]]: + def origin_request_headers(self) -> Optional[Mapping[str, _builtins.str]]: """ The configured origin request headers for the backend """ return pulumi.get(self, "origin_request_headers") +@pulumi.output_type +class CdnDistributionConfigOptimizer(dict): + def __init__(__self__, *, + enabled: Optional[_builtins.bool] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @_builtins.property + @pulumi.getter + def enabled(self) -> Optional[_builtins.bool]: + return pulumi.get(self, "enabled") + + @pulumi.output_type class CdnDistributionDomain(dict): def __init__(__self__, *, - errors: Optional[Sequence[builtins.str]] = None, - name: Optional[builtins.str] = None, - status: Optional[builtins.str] = None, - type: Optional[builtins.str] = None): + errors: Optional[Sequence[_builtins.str]] = None, + name: Optional[_builtins.str] = None, + status: Optional[_builtins.str] = None, + type: Optional[_builtins.str] = None): """ - :param Sequence[builtins.str] errors: List of domain errors - :param builtins.str name: The name of the domain - :param builtins.str status: The status of the domain - :param builtins.str type: The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user + :param Sequence[_builtins.str] errors: List of domain errors + :param _builtins.str name: The name of the domain + :param _builtins.str status: The status of the domain + :param _builtins.str type: The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user """ if errors is not None: pulumi.set(__self__, "errors", errors) @@ -250,33 +380,33 @@ def __init__(__self__, *, if type is not None: pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def errors(self) -> Optional[Sequence[builtins.str]]: + def errors(self) -> Optional[Sequence[_builtins.str]]: """ List of domain errors """ return pulumi.get(self, "errors") - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[builtins.str]: + def name(self) -> Optional[_builtins.str]: """ The name of the domain """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def status(self) -> Optional[builtins.str]: + def status(self) -> Optional[_builtins.str]: """ The status of the domain """ return pulumi.get(self, "status") - @property + @_builtins.property @pulumi.getter - def type(self) -> Optional[builtins.str]: + def type(self) -> Optional[_builtins.str]: """ The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user """ @@ -286,28 +416,28 @@ def type(self) -> Optional[builtins.str]: @pulumi.output_type class ImageChecksum(dict): def __init__(__self__, *, - algorithm: Optional[builtins.str] = None, - digest: Optional[builtins.str] = None): + algorithm: Optional[_builtins.str] = None, + digest: Optional[_builtins.str] = None): """ - :param builtins.str algorithm: Algorithm for the checksum of the image data. - :param builtins.str digest: Hexdigest of the checksum of the image data. + :param _builtins.str algorithm: Algorithm for the checksum of the image data. + :param _builtins.str digest: Hexdigest of the checksum of the image data. """ if algorithm is not None: pulumi.set(__self__, "algorithm", algorithm) if digest is not None: pulumi.set(__self__, "digest", digest) - @property + @_builtins.property @pulumi.getter - def algorithm(self) -> Optional[builtins.str]: + def algorithm(self) -> Optional[_builtins.str]: """ Algorithm for the checksum of the image data. """ return pulumi.get(self, "algorithm") - @property + @_builtins.property @pulumi.getter - def digest(self) -> Optional[builtins.str]: + def digest(self) -> Optional[_builtins.str]: """ Hexdigest of the checksum of the image data. """ @@ -356,33 +486,33 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - boot_menu: Optional[builtins.bool] = None, - cdrom_bus: Optional[builtins.str] = None, - disk_bus: Optional[builtins.str] = None, - nic_model: Optional[builtins.str] = None, - operating_system: Optional[builtins.str] = None, - operating_system_distro: Optional[builtins.str] = None, - operating_system_version: Optional[builtins.str] = None, - rescue_bus: Optional[builtins.str] = None, - rescue_device: Optional[builtins.str] = None, - secure_boot: Optional[builtins.bool] = None, - uefi: Optional[builtins.bool] = None, - video_model: Optional[builtins.str] = None, - virtio_scsi: Optional[builtins.bool] = None): - """ - :param builtins.bool boot_menu: Enables the BIOS bootmenu. - :param builtins.str cdrom_bus: Sets CDROM bus controller type. - :param builtins.str disk_bus: Sets Disk bus controller type. - :param builtins.str nic_model: Sets virtual network interface model. - :param builtins.str operating_system: Enables operating system specific optimizations. - :param builtins.str operating_system_distro: Operating system distribution. - :param builtins.str operating_system_version: Version of the operating system. - :param builtins.str rescue_bus: Sets the device bus when the image is used as a rescue image. - :param builtins.str rescue_device: Sets the device when the image is used as a rescue image. - :param builtins.bool secure_boot: Enables Secure Boot. - :param builtins.bool uefi: Enables UEFI boot. - :param builtins.str video_model: Sets Graphic device model. - :param builtins.bool virtio_scsi: Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + boot_menu: Optional[_builtins.bool] = None, + cdrom_bus: Optional[_builtins.str] = None, + disk_bus: Optional[_builtins.str] = None, + nic_model: Optional[_builtins.str] = None, + operating_system: Optional[_builtins.str] = None, + operating_system_distro: Optional[_builtins.str] = None, + operating_system_version: Optional[_builtins.str] = None, + rescue_bus: Optional[_builtins.str] = None, + rescue_device: Optional[_builtins.str] = None, + secure_boot: Optional[_builtins.bool] = None, + uefi: Optional[_builtins.bool] = None, + video_model: Optional[_builtins.str] = None, + virtio_scsi: Optional[_builtins.bool] = None): + """ + :param _builtins.bool boot_menu: Enables the BIOS bootmenu. + :param _builtins.str cdrom_bus: Sets CDROM bus controller type. + :param _builtins.str disk_bus: Sets Disk bus controller type. + :param _builtins.str nic_model: Sets virtual network interface model. + :param _builtins.str operating_system: Enables operating system specific optimizations. + :param _builtins.str operating_system_distro: Operating system distribution. + :param _builtins.str operating_system_version: Version of the operating system. + :param _builtins.str rescue_bus: Sets the device bus when the image is used as a rescue image. + :param _builtins.str rescue_device: Sets the device when the image is used as a rescue image. + :param _builtins.bool secure_boot: Enables Secure Boot. + :param _builtins.bool uefi: Enables UEFI boot. + :param _builtins.str video_model: Sets Graphic device model. + :param _builtins.bool virtio_scsi: Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ if boot_menu is not None: pulumi.set(__self__, "boot_menu", boot_menu) @@ -411,105 +541,105 @@ def __init__(__self__, *, if virtio_scsi is not None: pulumi.set(__self__, "virtio_scsi", virtio_scsi) - @property + @_builtins.property @pulumi.getter(name="bootMenu") - def boot_menu(self) -> Optional[builtins.bool]: + def boot_menu(self) -> Optional[_builtins.bool]: """ Enables the BIOS bootmenu. """ return pulumi.get(self, "boot_menu") - @property + @_builtins.property @pulumi.getter(name="cdromBus") - def cdrom_bus(self) -> Optional[builtins.str]: + def cdrom_bus(self) -> Optional[_builtins.str]: """ Sets CDROM bus controller type. """ return pulumi.get(self, "cdrom_bus") - @property + @_builtins.property @pulumi.getter(name="diskBus") - def disk_bus(self) -> Optional[builtins.str]: + def disk_bus(self) -> Optional[_builtins.str]: """ Sets Disk bus controller type. """ return pulumi.get(self, "disk_bus") - @property + @_builtins.property @pulumi.getter(name="nicModel") - def nic_model(self) -> Optional[builtins.str]: + def nic_model(self) -> Optional[_builtins.str]: """ Sets virtual network interface model. """ return pulumi.get(self, "nic_model") - @property + @_builtins.property @pulumi.getter(name="operatingSystem") - def operating_system(self) -> Optional[builtins.str]: + def operating_system(self) -> Optional[_builtins.str]: """ Enables operating system specific optimizations. """ return pulumi.get(self, "operating_system") - @property + @_builtins.property @pulumi.getter(name="operatingSystemDistro") - def operating_system_distro(self) -> Optional[builtins.str]: + def operating_system_distro(self) -> Optional[_builtins.str]: """ Operating system distribution. """ return pulumi.get(self, "operating_system_distro") - @property + @_builtins.property @pulumi.getter(name="operatingSystemVersion") - def operating_system_version(self) -> Optional[builtins.str]: + def operating_system_version(self) -> Optional[_builtins.str]: """ Version of the operating system. """ return pulumi.get(self, "operating_system_version") - @property + @_builtins.property @pulumi.getter(name="rescueBus") - def rescue_bus(self) -> Optional[builtins.str]: + def rescue_bus(self) -> Optional[_builtins.str]: """ Sets the device bus when the image is used as a rescue image. """ return pulumi.get(self, "rescue_bus") - @property + @_builtins.property @pulumi.getter(name="rescueDevice") - def rescue_device(self) -> Optional[builtins.str]: + def rescue_device(self) -> Optional[_builtins.str]: """ Sets the device when the image is used as a rescue image. """ return pulumi.get(self, "rescue_device") - @property + @_builtins.property @pulumi.getter(name="secureBoot") - def secure_boot(self) -> Optional[builtins.bool]: + def secure_boot(self) -> Optional[_builtins.bool]: """ Enables Secure Boot. """ return pulumi.get(self, "secure_boot") - @property + @_builtins.property @pulumi.getter - def uefi(self) -> Optional[builtins.bool]: + def uefi(self) -> Optional[_builtins.bool]: """ Enables UEFI boot. """ return pulumi.get(self, "uefi") - @property + @_builtins.property @pulumi.getter(name="videoModel") - def video_model(self) -> Optional[builtins.str]: + def video_model(self) -> Optional[_builtins.str]: """ Sets Graphic device model. """ return pulumi.get(self, "video_model") - @property + @_builtins.property @pulumi.getter(name="virtioScsi") - def virtio_scsi(self) -> Optional[builtins.bool]: + def virtio_scsi(self) -> Optional[_builtins.bool]: """ Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ @@ -540,15 +670,15 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - port: builtins.int, - protocol: builtins.str, - target_pool: builtins.str, - display_name: Optional[builtins.str] = None, + port: _builtins.int, + protocol: _builtins.str, + target_pool: _builtins.str, + display_name: Optional[_builtins.str] = None, server_name_indicators: Optional[Sequence['outputs.LoadbalancerListenerServerNameIndicator']] = None): """ - :param builtins.int port: Port number where we listen for traffic. - :param builtins.str protocol: Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`. - :param builtins.str target_pool: Reference target pool by target pool name. + :param _builtins.int port: Port number where we listen for traffic. + :param _builtins.str protocol: Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`. + :param _builtins.str target_pool: Reference target pool by target pool name. :param Sequence['LoadbalancerListenerServerNameIndicatorArgs'] server_name_indicators: A list of domain names to match in order to pass TLS traffic to the target pool in the current listener """ pulumi.set(__self__, "port", port) @@ -559,36 +689,36 @@ def __init__(__self__, *, if server_name_indicators is not None: pulumi.set(__self__, "server_name_indicators", server_name_indicators) - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def port(self) -> _builtins.int: """ Port number where we listen for traffic. """ return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter - def protocol(self) -> builtins.str: + def protocol(self) -> _builtins.str: """ Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`. """ return pulumi.get(self, "protocol") - @property + @_builtins.property @pulumi.getter(name="targetPool") - def target_pool(self) -> builtins.str: + def target_pool(self) -> _builtins.str: """ Reference target pool by target pool name. """ return pulumi.get(self, "target_pool") - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> Optional[builtins.str]: + def display_name(self) -> Optional[_builtins.str]: return pulumi.get(self, "display_name") - @property + @_builtins.property @pulumi.getter(name="serverNameIndicators") def server_name_indicators(self) -> Optional[Sequence['outputs.LoadbalancerListenerServerNameIndicator']]: """ @@ -600,16 +730,16 @@ def server_name_indicators(self) -> Optional[Sequence['outputs.LoadbalancerListe @pulumi.output_type class LoadbalancerListenerServerNameIndicator(dict): def __init__(__self__, *, - name: Optional[builtins.str] = None): + name: Optional[_builtins.str] = None): """ - :param builtins.str name: A domain name to match in order to pass TLS traffic to the target pool in the current listener + :param _builtins.str name: A domain name to match in order to pass TLS traffic to the target pool in the current listener """ if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[builtins.str]: + def name(self) -> Optional[_builtins.str]: """ A domain name to match in order to pass TLS traffic to the target pool in the current listener """ @@ -636,26 +766,26 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - network_id: builtins.str, - role: builtins.str): + network_id: _builtins.str, + role: _builtins.str): """ - :param builtins.str network_id: Openstack network ID. - :param builtins.str role: The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`. + :param _builtins.str network_id: Openstack network ID. + :param _builtins.str role: The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`. """ pulumi.set(__self__, "network_id", network_id) pulumi.set(__self__, "role", role) - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> builtins.str: + def network_id(self) -> _builtins.str: """ Openstack network ID. """ return pulumi.get(self, "network_id") - @property + @_builtins.property @pulumi.getter - def role(self) -> builtins.str: + def role(self) -> _builtins.str: """ The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`. """ @@ -682,13 +812,13 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - acls: Optional[Sequence[builtins.str]] = None, + acls: Optional[Sequence[_builtins.str]] = None, observability: Optional['outputs.LoadbalancerOptionsObservability'] = None, - private_network_only: Optional[builtins.bool] = None): + private_network_only: Optional[_builtins.bool] = None): """ - :param Sequence[builtins.str] acls: Load Balancer is accessible only from an IP address in this range. + :param Sequence[_builtins.str] acls: Load Balancer is accessible only from an IP address in this range. :param 'LoadbalancerOptionsObservabilityArgs' observability: We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation. - :param builtins.bool private_network_only: If true, Load Balancer is accessible only via a private network IP address. + :param _builtins.bool private_network_only: If true, Load Balancer is accessible only via a private network IP address. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -697,15 +827,15 @@ def __init__(__self__, *, if private_network_only is not None: pulumi.set(__self__, "private_network_only", private_network_only) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[Sequence[builtins.str]]: + def acls(self) -> Optional[Sequence[_builtins.str]]: """ Load Balancer is accessible only from an IP address in this range. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter def observability(self) -> Optional['outputs.LoadbalancerOptionsObservability']: """ @@ -713,9 +843,9 @@ def observability(self) -> Optional['outputs.LoadbalancerOptionsObservability']: """ return pulumi.get(self, "observability") - @property + @_builtins.property @pulumi.getter(name="privateNetworkOnly") - def private_network_only(self) -> Optional[builtins.bool]: + def private_network_only(self) -> Optional[_builtins.bool]: """ If true, Load Balancer is accessible only via a private network IP address. """ @@ -736,7 +866,7 @@ def __init__(__self__, *, if metrics is not None: pulumi.set(__self__, "metrics", metrics) - @property + @_builtins.property @pulumi.getter def logs(self) -> Optional['outputs.LoadbalancerOptionsObservabilityLogs']: """ @@ -744,7 +874,7 @@ def logs(self) -> Optional['outputs.LoadbalancerOptionsObservabilityLogs']: """ return pulumi.get(self, "logs") - @property + @_builtins.property @pulumi.getter def metrics(self) -> Optional['outputs.LoadbalancerOptionsObservabilityMetrics']: """ @@ -775,28 +905,28 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - credentials_ref: Optional[builtins.str] = None, - push_url: Optional[builtins.str] = None): + credentials_ref: Optional[_builtins.str] = None, + push_url: Optional[_builtins.str] = None): """ - :param builtins.str credentials_ref: Credentials reference for logs. Not changeable after creation. - :param builtins.str push_url: Credentials reference for logs. Not changeable after creation. + :param _builtins.str credentials_ref: Credentials reference for logs. Not changeable after creation. + :param _builtins.str push_url: Credentials reference for logs. Not changeable after creation. """ if credentials_ref is not None: pulumi.set(__self__, "credentials_ref", credentials_ref) if push_url is not None: pulumi.set(__self__, "push_url", push_url) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> Optional[builtins.str]: + def credentials_ref(self) -> Optional[_builtins.str]: """ Credentials reference for logs. Not changeable after creation. """ return pulumi.get(self, "credentials_ref") - @property + @_builtins.property @pulumi.getter(name="pushUrl") - def push_url(self) -> Optional[builtins.str]: + def push_url(self) -> Optional[_builtins.str]: """ Credentials reference for logs. Not changeable after creation. """ @@ -825,28 +955,28 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - credentials_ref: Optional[builtins.str] = None, - push_url: Optional[builtins.str] = None): + credentials_ref: Optional[_builtins.str] = None, + push_url: Optional[_builtins.str] = None): """ - :param builtins.str credentials_ref: Credentials reference for metrics. Not changeable after creation. - :param builtins.str push_url: Credentials reference for metrics. Not changeable after creation. + :param _builtins.str credentials_ref: Credentials reference for metrics. Not changeable after creation. + :param _builtins.str push_url: Credentials reference for metrics. Not changeable after creation. """ if credentials_ref is not None: pulumi.set(__self__, "credentials_ref", credentials_ref) if push_url is not None: pulumi.set(__self__, "push_url", push_url) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> Optional[builtins.str]: + def credentials_ref(self) -> Optional[_builtins.str]: """ Credentials reference for metrics. Not changeable after creation. """ return pulumi.get(self, "credentials_ref") - @property + @_builtins.property @pulumi.getter(name="pushUrl") - def push_url(self) -> Optional[builtins.str]: + def push_url(self) -> Optional[_builtins.str]: """ Credentials reference for metrics. Not changeable after creation. """ @@ -877,14 +1007,14 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - name: builtins.str, - target_port: builtins.int, + name: _builtins.str, + target_port: _builtins.int, targets: Sequence['outputs.LoadbalancerTargetPoolTarget'], active_health_check: Optional['outputs.LoadbalancerTargetPoolActiveHealthCheck'] = None, session_persistence: Optional['outputs.LoadbalancerTargetPoolSessionPersistence'] = None): """ - :param builtins.str name: Target pool name. - :param builtins.int target_port: Identical port number where each target listens for traffic. + :param _builtins.str name: Target pool name. + :param _builtins.int target_port: Identical port number where each target listens for traffic. :param Sequence['LoadbalancerTargetPoolTargetArgs'] targets: List of all targets which will be used in the pool. Limited to 1000. :param 'LoadbalancerTargetPoolSessionPersistenceArgs' session_persistence: Here you can setup various session persistence options, so far only "`use_source_ip_address`" is supported. """ @@ -896,23 +1026,23 @@ def __init__(__self__, *, if session_persistence is not None: pulumi.set(__self__, "session_persistence", session_persistence) - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Target pool name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="targetPort") - def target_port(self) -> builtins.int: + def target_port(self) -> _builtins.int: """ Identical port number where each target listens for traffic. """ return pulumi.get(self, "target_port") - @property + @_builtins.property @pulumi.getter def targets(self) -> Sequence['outputs.LoadbalancerTargetPoolTarget']: """ @@ -920,12 +1050,12 @@ def targets(self) -> Sequence['outputs.LoadbalancerTargetPoolTarget']: """ return pulumi.get(self, "targets") - @property + @_builtins.property @pulumi.getter(name="activeHealthCheck") def active_health_check(self) -> Optional['outputs.LoadbalancerTargetPoolActiveHealthCheck']: return pulumi.get(self, "active_health_check") - @property + @_builtins.property @pulumi.getter(name="sessionPersistence") def session_persistence(self) -> Optional['outputs.LoadbalancerTargetPoolSessionPersistence']: """ @@ -958,17 +1088,17 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - healthy_threshold: Optional[builtins.int] = None, - interval: Optional[builtins.str] = None, - interval_jitter: Optional[builtins.str] = None, - timeout: Optional[builtins.str] = None, - unhealthy_threshold: Optional[builtins.int] = None): - """ - :param builtins.int healthy_threshold: Healthy threshold of the health checking. - :param builtins.str interval: Interval duration of health checking in seconds. - :param builtins.str interval_jitter: Interval duration threshold of the health checking in seconds. - :param builtins.str timeout: Active health checking timeout duration in seconds. - :param builtins.int unhealthy_threshold: Unhealthy threshold of the health checking. + healthy_threshold: Optional[_builtins.int] = None, + interval: Optional[_builtins.str] = None, + interval_jitter: Optional[_builtins.str] = None, + timeout: Optional[_builtins.str] = None, + unhealthy_threshold: Optional[_builtins.int] = None): + """ + :param _builtins.int healthy_threshold: Healthy threshold of the health checking. + :param _builtins.str interval: Interval duration of health checking in seconds. + :param _builtins.str interval_jitter: Interval duration threshold of the health checking in seconds. + :param _builtins.str timeout: Active health checking timeout duration in seconds. + :param _builtins.int unhealthy_threshold: Unhealthy threshold of the health checking. """ if healthy_threshold is not None: pulumi.set(__self__, "healthy_threshold", healthy_threshold) @@ -981,41 +1111,41 @@ def __init__(__self__, *, if unhealthy_threshold is not None: pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - @property + @_builtins.property @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[builtins.int]: + def healthy_threshold(self) -> Optional[_builtins.int]: """ Healthy threshold of the health checking. """ return pulumi.get(self, "healthy_threshold") - @property + @_builtins.property @pulumi.getter - def interval(self) -> Optional[builtins.str]: + def interval(self) -> Optional[_builtins.str]: """ Interval duration of health checking in seconds. """ return pulumi.get(self, "interval") - @property + @_builtins.property @pulumi.getter(name="intervalJitter") - def interval_jitter(self) -> Optional[builtins.str]: + def interval_jitter(self) -> Optional[_builtins.str]: """ Interval duration threshold of the health checking in seconds. """ return pulumi.get(self, "interval_jitter") - @property + @_builtins.property @pulumi.getter - def timeout(self) -> Optional[builtins.str]: + def timeout(self) -> Optional[_builtins.str]: """ Active health checking timeout duration in seconds. """ return pulumi.get(self, "timeout") - @property + @_builtins.property @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[builtins.int]: + def unhealthy_threshold(self) -> Optional[_builtins.int]: """ Unhealthy threshold of the health checking. """ @@ -1042,16 +1172,16 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - use_source_ip_address: Optional[builtins.bool] = None): + use_source_ip_address: Optional[_builtins.bool] = None): """ - :param builtins.bool use_source_ip_address: If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. + :param _builtins.bool use_source_ip_address: If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. """ if use_source_ip_address is not None: pulumi.set(__self__, "use_source_ip_address", use_source_ip_address) - @property + @_builtins.property @pulumi.getter(name="useSourceIpAddress") - def use_source_ip_address(self) -> Optional[builtins.bool]: + def use_source_ip_address(self) -> Optional[_builtins.bool]: """ If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. """ @@ -1078,26 +1208,26 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - display_name: builtins.str, - ip: builtins.str): + display_name: _builtins.str, + ip: _builtins.str): """ - :param builtins.str display_name: Target display name - :param builtins.str ip: Target IP + :param _builtins.str display_name: Target display name + :param _builtins.str ip: Target IP """ pulumi.set(__self__, "display_name", display_name) pulumi.set(__self__, "ip", ip) - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> builtins.str: + def display_name(self) -> _builtins.str: """ Target display name """ return pulumi.get(self, "display_name") - @property + @_builtins.property @pulumi.getter - def ip(self) -> builtins.str: + def ip(self) -> _builtins.str: """ Target IP """ @@ -1162,41 +1292,41 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - enable_monitoring: Optional[builtins.bool] = None, - fluentd_tcp: Optional[builtins.int] = None, - fluentd_tls: Optional[builtins.int] = None, - fluentd_tls_ciphers: Optional[builtins.str] = None, - fluentd_tls_max_version: Optional[builtins.str] = None, - fluentd_tls_min_version: Optional[builtins.str] = None, - fluentd_tls_version: Optional[builtins.str] = None, - fluentd_udp: Optional[builtins.int] = None, - graphite: Optional[builtins.str] = None, - ism_deletion_after: Optional[builtins.str] = None, - ism_jitter: Optional[builtins.float] = None, - ism_job_interval: Optional[builtins.int] = None, - java_heapspace: Optional[builtins.int] = None, - java_maxmetaspace: Optional[builtins.int] = None, - max_disk_threshold: Optional[builtins.int] = None, - metrics_frequency: Optional[builtins.int] = None, - metrics_prefix: Optional[builtins.str] = None, - monitoring_instance_id: Optional[builtins.str] = None, - opensearch_tls_ciphers: Optional[Sequence[builtins.str]] = None, - opensearch_tls_protocols: Optional[Sequence[builtins.str]] = None, - sgw_acl: Optional[builtins.str] = None, - syslogs: Optional[Sequence[builtins.str]] = None): - """ - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - :param builtins.str ism_deletion_after: Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. - :param builtins.int ism_job_interval: Jitter of the execution time. - :param builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - :param builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. + enable_monitoring: Optional[_builtins.bool] = None, + fluentd_tcp: Optional[_builtins.int] = None, + fluentd_tls: Optional[_builtins.int] = None, + fluentd_tls_ciphers: Optional[_builtins.str] = None, + fluentd_tls_max_version: Optional[_builtins.str] = None, + fluentd_tls_min_version: Optional[_builtins.str] = None, + fluentd_tls_version: Optional[_builtins.str] = None, + fluentd_udp: Optional[_builtins.int] = None, + graphite: Optional[_builtins.str] = None, + ism_deletion_after: Optional[_builtins.str] = None, + ism_jitter: Optional[_builtins.float] = None, + ism_job_interval: Optional[_builtins.int] = None, + java_heapspace: Optional[_builtins.int] = None, + java_maxmetaspace: Optional[_builtins.int] = None, + max_disk_threshold: Optional[_builtins.int] = None, + metrics_frequency: Optional[_builtins.int] = None, + metrics_prefix: Optional[_builtins.str] = None, + monitoring_instance_id: Optional[_builtins.str] = None, + opensearch_tls_ciphers: Optional[Sequence[_builtins.str]] = None, + opensearch_tls_protocols: Optional[Sequence[_builtins.str]] = None, + sgw_acl: Optional[_builtins.str] = None, + syslogs: Optional[Sequence[_builtins.str]] = None): + """ + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + :param _builtins.str ism_deletion_after: Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. + :param _builtins.int ism_job_interval: Jitter of the execution time. + :param _builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + :param _builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. """ if enable_monitoring is not None: pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -1243,147 +1373,147 @@ def __init__(__self__, *, if syslogs is not None: pulumi.set(__self__, "syslogs", syslogs) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[builtins.bool]: + def enable_monitoring(self) -> Optional[_builtins.bool]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter(name="fluentdTcp") - def fluentd_tcp(self) -> Optional[builtins.int]: + def fluentd_tcp(self) -> Optional[_builtins.int]: return pulumi.get(self, "fluentd_tcp") - @property + @_builtins.property @pulumi.getter(name="fluentdTls") - def fluentd_tls(self) -> Optional[builtins.int]: + def fluentd_tls(self) -> Optional[_builtins.int]: return pulumi.get(self, "fluentd_tls") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsCiphers") - def fluentd_tls_ciphers(self) -> Optional[builtins.str]: + def fluentd_tls_ciphers(self) -> Optional[_builtins.str]: return pulumi.get(self, "fluentd_tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsMaxVersion") - def fluentd_tls_max_version(self) -> Optional[builtins.str]: + def fluentd_tls_max_version(self) -> Optional[_builtins.str]: return pulumi.get(self, "fluentd_tls_max_version") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsMinVersion") - def fluentd_tls_min_version(self) -> Optional[builtins.str]: + def fluentd_tls_min_version(self) -> Optional[_builtins.str]: return pulumi.get(self, "fluentd_tls_min_version") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsVersion") - def fluentd_tls_version(self) -> Optional[builtins.str]: + def fluentd_tls_version(self) -> Optional[_builtins.str]: return pulumi.get(self, "fluentd_tls_version") - @property + @_builtins.property @pulumi.getter(name="fluentdUdp") - def fluentd_udp(self) -> Optional[builtins.int]: + def fluentd_udp(self) -> Optional[_builtins.int]: return pulumi.get(self, "fluentd_udp") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[builtins.str]: + def graphite(self) -> Optional[_builtins.str]: """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="ismDeletionAfter") - def ism_deletion_after(self) -> Optional[builtins.str]: + def ism_deletion_after(self) -> Optional[_builtins.str]: """ Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. """ return pulumi.get(self, "ism_deletion_after") - @property + @_builtins.property @pulumi.getter(name="ismJitter") - def ism_jitter(self) -> Optional[builtins.float]: + def ism_jitter(self) -> Optional[_builtins.float]: return pulumi.get(self, "ism_jitter") - @property + @_builtins.property @pulumi.getter(name="ismJobInterval") - def ism_job_interval(self) -> Optional[builtins.int]: + def ism_job_interval(self) -> Optional[_builtins.int]: """ Jitter of the execution time. """ return pulumi.get(self, "ism_job_interval") - @property + @_builtins.property @pulumi.getter(name="javaHeapspace") - def java_heapspace(self) -> Optional[builtins.int]: + def java_heapspace(self) -> Optional[_builtins.int]: """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ return pulumi.get(self, "java_heapspace") - @property + @_builtins.property @pulumi.getter(name="javaMaxmetaspace") - def java_maxmetaspace(self) -> Optional[builtins.int]: + def java_maxmetaspace(self) -> Optional[_builtins.int]: """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ return pulumi.get(self, "java_maxmetaspace") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[builtins.int]: + def max_disk_threshold(self) -> Optional[_builtins.int]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[builtins.int]: + def metrics_frequency(self) -> Optional[_builtins.int]: """ The frequency in seconds at which metrics are emitted (in seconds). """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[builtins.str]: + def metrics_prefix(self) -> Optional[_builtins.str]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[builtins.str]: + def monitoring_instance_id(self) -> Optional[_builtins.str]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter(name="opensearchTlsCiphers") - def opensearch_tls_ciphers(self) -> Optional[Sequence[builtins.str]]: + def opensearch_tls_ciphers(self) -> Optional[Sequence[_builtins.str]]: return pulumi.get(self, "opensearch_tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="opensearchTlsProtocols") - def opensearch_tls_protocols(self) -> Optional[Sequence[builtins.str]]: + def opensearch_tls_protocols(self) -> Optional[Sequence[_builtins.str]]: return pulumi.get(self, "opensearch_tls_protocols") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[builtins.str]: + def sgw_acl(self) -> Optional[_builtins.str]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[Sequence[builtins.str]]: + def syslogs(self) -> Optional[Sequence[_builtins.str]]: """ List of syslog servers to send logs to. """ @@ -1420,23 +1550,23 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - enable_monitoring: Optional[builtins.bool] = None, - graphite: Optional[builtins.str] = None, - max_disk_threshold: Optional[builtins.int] = None, - metrics_frequency: Optional[builtins.int] = None, - metrics_prefix: Optional[builtins.str] = None, - monitoring_instance_id: Optional[builtins.str] = None, - sgw_acl: Optional[builtins.str] = None, - syslogs: Optional[Sequence[builtins.str]] = None): - """ - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. Monitoring instances with the plan "Observability-Monitoring-Starter" are not supported. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. + enable_monitoring: Optional[_builtins.bool] = None, + graphite: Optional[_builtins.str] = None, + max_disk_threshold: Optional[_builtins.int] = None, + metrics_frequency: Optional[_builtins.int] = None, + metrics_prefix: Optional[_builtins.str] = None, + monitoring_instance_id: Optional[_builtins.str] = None, + sgw_acl: Optional[_builtins.str] = None, + syslogs: Optional[Sequence[_builtins.str]] = None): + """ + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. Monitoring instances with the plan "Observability-Monitoring-Starter" are not supported. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. """ if enable_monitoring is not None: pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -1455,65 +1585,65 @@ def __init__(__self__, *, if syslogs is not None: pulumi.set(__self__, "syslogs", syslogs) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[builtins.bool]: + def enable_monitoring(self) -> Optional[_builtins.bool]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[builtins.str]: + def graphite(self) -> Optional[_builtins.str]: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[builtins.int]: + def max_disk_threshold(self) -> Optional[_builtins.int]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[builtins.int]: + def metrics_frequency(self) -> Optional[_builtins.int]: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[builtins.str]: + def metrics_prefix(self) -> Optional[_builtins.str]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[builtins.str]: + def monitoring_instance_id(self) -> Optional[_builtins.str]: """ The ID of the STACKIT monitoring instance. Monitoring instances with the plan "Observability-Monitoring-Starter" are not supported. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[builtins.str]: + def sgw_acl(self) -> Optional[_builtins.str]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[Sequence[builtins.str]]: + def syslogs(self) -> Optional[Sequence[_builtins.str]]: """ List of syslog servers to send logs to. """ @@ -1523,10 +1653,10 @@ def syslogs(self) -> Optional[Sequence[builtins.str]]: @pulumi.output_type class MongodbflexInstanceFlavor(dict): def __init__(__self__, *, - cpu: builtins.int, - ram: builtins.int, - description: Optional[builtins.str] = None, - id: Optional[builtins.str] = None): + cpu: _builtins.int, + ram: _builtins.int, + description: Optional[_builtins.str] = None, + id: Optional[_builtins.str] = None): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "ram", ram) if description is not None: @@ -1534,24 +1664,24 @@ def __init__(__self__, *, if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> builtins.int: + def cpu(self) -> _builtins.int: return pulumi.get(self, "cpu") - @property + @_builtins.property @pulumi.getter - def ram(self) -> builtins.int: + def ram(self) -> _builtins.int: return pulumi.get(self, "ram") - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[builtins.str]: + def description(self) -> Optional[_builtins.str]: return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[builtins.str]: + def id(self) -> Optional[_builtins.str]: return pulumi.get(self, "id") @@ -1583,19 +1713,19 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - point_in_time_window_hours: builtins.int, - type: builtins.str, - daily_snapshot_retention_days: Optional[builtins.int] = None, - monthly_snapshot_retention_months: Optional[builtins.int] = None, - snapshot_retention_days: Optional[builtins.int] = None, - weekly_snapshot_retention_weeks: Optional[builtins.int] = None): - """ - :param builtins.int point_in_time_window_hours: The number of hours back in time the point-in-time recovery feature will be able to recover. - :param builtins.str type: Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`. - :param builtins.int daily_snapshot_retention_days: The number of days that daily backups will be retained. - :param builtins.int monthly_snapshot_retention_months: The number of months that monthly backups will be retained. - :param builtins.int snapshot_retention_days: The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. - :param builtins.int weekly_snapshot_retention_weeks: The number of weeks that weekly backups will be retained. + point_in_time_window_hours: _builtins.int, + type: _builtins.str, + daily_snapshot_retention_days: Optional[_builtins.int] = None, + monthly_snapshot_retention_months: Optional[_builtins.int] = None, + snapshot_retention_days: Optional[_builtins.int] = None, + weekly_snapshot_retention_weeks: Optional[_builtins.int] = None): + """ + :param _builtins.int point_in_time_window_hours: The number of hours back in time the point-in-time recovery feature will be able to recover. + :param _builtins.str type: Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`. + :param _builtins.int daily_snapshot_retention_days: The number of days that daily backups will be retained. + :param _builtins.int monthly_snapshot_retention_months: The number of months that monthly backups will be retained. + :param _builtins.int snapshot_retention_days: The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. + :param _builtins.int weekly_snapshot_retention_weeks: The number of weeks that weekly backups will be retained. """ pulumi.set(__self__, "point_in_time_window_hours", point_in_time_window_hours) pulumi.set(__self__, "type", type) @@ -1608,49 +1738,49 @@ def __init__(__self__, *, if weekly_snapshot_retention_weeks is not None: pulumi.set(__self__, "weekly_snapshot_retention_weeks", weekly_snapshot_retention_weeks) - @property + @_builtins.property @pulumi.getter(name="pointInTimeWindowHours") - def point_in_time_window_hours(self) -> builtins.int: + def point_in_time_window_hours(self) -> _builtins.int: """ The number of hours back in time the point-in-time recovery feature will be able to recover. """ return pulumi.get(self, "point_in_time_window_hours") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`. """ return pulumi.get(self, "type") - @property + @_builtins.property @pulumi.getter(name="dailySnapshotRetentionDays") - def daily_snapshot_retention_days(self) -> Optional[builtins.int]: + def daily_snapshot_retention_days(self) -> Optional[_builtins.int]: """ The number of days that daily backups will be retained. """ return pulumi.get(self, "daily_snapshot_retention_days") - @property + @_builtins.property @pulumi.getter(name="monthlySnapshotRetentionMonths") - def monthly_snapshot_retention_months(self) -> Optional[builtins.int]: + def monthly_snapshot_retention_months(self) -> Optional[_builtins.int]: """ The number of months that monthly backups will be retained. """ return pulumi.get(self, "monthly_snapshot_retention_months") - @property + @_builtins.property @pulumi.getter(name="snapshotRetentionDays") - def snapshot_retention_days(self) -> Optional[builtins.int]: + def snapshot_retention_days(self) -> Optional[_builtins.int]: """ The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. """ return pulumi.get(self, "snapshot_retention_days") - @property + @_builtins.property @pulumi.getter(name="weeklySnapshotRetentionWeeks") - def weekly_snapshot_retention_weeks(self) -> Optional[builtins.int]: + def weekly_snapshot_retention_weeks(self) -> Optional[_builtins.int]: """ The number of weeks that weekly backups will be retained. """ @@ -1677,19 +1807,19 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - class_: builtins.str, - size: builtins.int): + class_: _builtins.str, + size: _builtins.int): pulumi.set(__self__, "class_", class_) pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> builtins.str: + def class_(self) -> _builtins.str: return pulumi.get(self, "class_") - @property + @_builtins.property @pulumi.getter - def size(self) -> builtins.int: + def size(self) -> _builtins.int: return pulumi.get(self, "size") @@ -1713,26 +1843,26 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - prefix: builtins.str, - network_range_id: Optional[builtins.str] = None): + prefix: _builtins.str, + network_range_id: Optional[_builtins.str] = None): """ - :param builtins.str prefix: Classless Inter-Domain Routing (CIDR). + :param _builtins.str prefix: Classless Inter-Domain Routing (CIDR). """ pulumi.set(__self__, "prefix", prefix) if network_range_id is not None: pulumi.set(__self__, "network_range_id", network_range_id) - @property + @_builtins.property @pulumi.getter - def prefix(self) -> builtins.str: + def prefix(self) -> _builtins.str: """ Classless Inter-Domain Routing (CIDR). """ return pulumi.get(self, "prefix") - @property + @_builtins.property @pulumi.getter(name="networkRangeId") - def network_range_id(self) -> Optional[builtins.str]: + def network_range_id(self) -> Optional[_builtins.str]: return pulumi.get(self, "network_range_id") @@ -1756,17 +1886,17 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - alert: builtins.str, - expression: builtins.str, - annotations: Optional[Mapping[str, builtins.str]] = None, - for_: Optional[builtins.str] = None, - labels: Optional[Mapping[str, builtins.str]] = None): - """ - :param builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. - :param builtins.str expression: The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - :param Mapping[str, builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert - :param builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - :param Mapping[str, builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert + alert: _builtins.str, + expression: _builtins.str, + annotations: Optional[Mapping[str, _builtins.str]] = None, + for_: Optional[_builtins.str] = None, + labels: Optional[Mapping[str, _builtins.str]] = None): + """ + :param _builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. + :param _builtins.str expression: The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + :param Mapping[str, _builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert + :param _builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + :param Mapping[str, _builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert """ pulumi.set(__self__, "alert", alert) pulumi.set(__self__, "expression", expression) @@ -1777,41 +1907,41 @@ def __init__(__self__, *, if labels is not None: pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def alert(self) -> builtins.str: + def alert(self) -> _builtins.str: """ The name of the alert rule. Is the identifier and must be unique in the group. """ return pulumi.get(self, "alert") - @property + @_builtins.property @pulumi.getter - def expression(self) -> builtins.str: + def expression(self) -> _builtins.str: """ The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ return pulumi.get(self, "expression") - @property + @_builtins.property @pulumi.getter - def annotations(self) -> Optional[Mapping[str, builtins.str]]: + def annotations(self) -> Optional[Mapping[str, _builtins.str]]: """ A map of key:value. Annotations to add or overwrite for each alert """ return pulumi.get(self, "annotations") - @property + @_builtins.property @pulumi.getter(name="for") - def for_(self) -> Optional[builtins.str]: + def for_(self) -> Optional[_builtins.str]: """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ return pulumi.get(self, "for_") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[Mapping[str, builtins.str]]: + def labels(self) -> Optional[Mapping[str, _builtins.str]]: """ A map of key:value. Labels to add or overwrite for each alert """ @@ -1844,14 +1974,14 @@ def __init__(__self__, *, """ :param Sequence['ObservabilityInstanceAlertConfigReceiverArgs'] receivers: List of alert receivers. :param 'ObservabilityInstanceAlertConfigRouteArgs' route: Route configuration for the alerts. - :param 'ObservabilityInstanceAlertConfigGlobalArgs' global_: Global configuration for the alerts. + :param 'ObservabilityInstanceAlertConfigGlobalArgs' global_: Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. """ pulumi.set(__self__, "receivers", receivers) pulumi.set(__self__, "route", route) if global_ is not None: pulumi.set(__self__, "global_", global_) - @property + @_builtins.property @pulumi.getter def receivers(self) -> Sequence['outputs.ObservabilityInstanceAlertConfigReceiver']: """ @@ -1859,7 +1989,7 @@ def receivers(self) -> Sequence['outputs.ObservabilityInstanceAlertConfigReceive """ return pulumi.get(self, "receivers") - @property + @_builtins.property @pulumi.getter def route(self) -> 'outputs.ObservabilityInstanceAlertConfigRoute': """ @@ -1867,11 +1997,11 @@ def route(self) -> 'outputs.ObservabilityInstanceAlertConfigRoute': """ return pulumi.get(self, "route") - @property + @_builtins.property @pulumi.getter(name="global") def global_(self) -> Optional['outputs.ObservabilityInstanceAlertConfigGlobal']: """ - Global configuration for the alerts. + Global configuration for the alerts. If nothing passed the default argus config will be used. It is only possible to update the entire global part, not individual attributes. """ return pulumi.get(self, "global_") @@ -1910,23 +2040,23 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - opsgenie_api_key: Optional[builtins.str] = None, - opsgenie_api_url: Optional[builtins.str] = None, - resolve_timeout: Optional[builtins.str] = None, - smtp_auth_identity: Optional[builtins.str] = None, - smtp_auth_password: Optional[builtins.str] = None, - smtp_auth_username: Optional[builtins.str] = None, - smtp_from: Optional[builtins.str] = None, - smtp_smart_host: Optional[builtins.str] = None): - """ - :param builtins.str opsgenie_api_key: The API key for OpsGenie. - :param builtins.str opsgenie_api_url: The host to send OpsGenie API requests to. Must be a valid URL - :param builtins.str resolve_timeout: The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. - :param builtins.str smtp_auth_identity: SMTP authentication information. Must be a valid email address - :param builtins.str smtp_auth_password: SMTP Auth using LOGIN and PLAIN. - :param builtins.str smtp_auth_username: SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. - :param builtins.str smtp_from: The default SMTP From header field. Must be a valid email address - :param builtins.str smtp_smart_host: The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). + opsgenie_api_key: Optional[_builtins.str] = None, + opsgenie_api_url: Optional[_builtins.str] = None, + resolve_timeout: Optional[_builtins.str] = None, + smtp_auth_identity: Optional[_builtins.str] = None, + smtp_auth_password: Optional[_builtins.str] = None, + smtp_auth_username: Optional[_builtins.str] = None, + smtp_from: Optional[_builtins.str] = None, + smtp_smart_host: Optional[_builtins.str] = None): + """ + :param _builtins.str opsgenie_api_key: The API key for OpsGenie. + :param _builtins.str opsgenie_api_url: The host to send OpsGenie API requests to. Must be a valid URL + :param _builtins.str resolve_timeout: The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. + :param _builtins.str smtp_auth_identity: SMTP authentication information. Must be a valid email address + :param _builtins.str smtp_auth_password: SMTP Auth using LOGIN and PLAIN. + :param _builtins.str smtp_auth_username: SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. + :param _builtins.str smtp_from: The default SMTP From header field. Must be a valid email address + :param _builtins.str smtp_smart_host: The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). """ if opsgenie_api_key is not None: pulumi.set(__self__, "opsgenie_api_key", opsgenie_api_key) @@ -1945,65 +2075,65 @@ def __init__(__self__, *, if smtp_smart_host is not None: pulumi.set(__self__, "smtp_smart_host", smtp_smart_host) - @property + @_builtins.property @pulumi.getter(name="opsgenieApiKey") - def opsgenie_api_key(self) -> Optional[builtins.str]: + def opsgenie_api_key(self) -> Optional[_builtins.str]: """ The API key for OpsGenie. """ return pulumi.get(self, "opsgenie_api_key") - @property + @_builtins.property @pulumi.getter(name="opsgenieApiUrl") - def opsgenie_api_url(self) -> Optional[builtins.str]: + def opsgenie_api_url(self) -> Optional[_builtins.str]: """ The host to send OpsGenie API requests to. Must be a valid URL """ return pulumi.get(self, "opsgenie_api_url") - @property + @_builtins.property @pulumi.getter(name="resolveTimeout") - def resolve_timeout(self) -> Optional[builtins.str]: + def resolve_timeout(self) -> Optional[_builtins.str]: """ The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. """ return pulumi.get(self, "resolve_timeout") - @property + @_builtins.property @pulumi.getter(name="smtpAuthIdentity") - def smtp_auth_identity(self) -> Optional[builtins.str]: + def smtp_auth_identity(self) -> Optional[_builtins.str]: """ SMTP authentication information. Must be a valid email address """ return pulumi.get(self, "smtp_auth_identity") - @property + @_builtins.property @pulumi.getter(name="smtpAuthPassword") - def smtp_auth_password(self) -> Optional[builtins.str]: + def smtp_auth_password(self) -> Optional[_builtins.str]: """ SMTP Auth using LOGIN and PLAIN. """ return pulumi.get(self, "smtp_auth_password") - @property + @_builtins.property @pulumi.getter(name="smtpAuthUsername") - def smtp_auth_username(self) -> Optional[builtins.str]: + def smtp_auth_username(self) -> Optional[_builtins.str]: """ SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. """ return pulumi.get(self, "smtp_auth_username") - @property + @_builtins.property @pulumi.getter(name="smtpFrom") - def smtp_from(self) -> Optional[builtins.str]: + def smtp_from(self) -> Optional[_builtins.str]: """ The default SMTP From header field. Must be a valid email address """ return pulumi.get(self, "smtp_from") - @property + @_builtins.property @pulumi.getter(name="smtpSmartHost") - def smtp_smart_host(self) -> Optional[builtins.str]: + def smtp_smart_host(self) -> Optional[_builtins.str]: """ The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). """ @@ -2034,12 +2164,12 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - name: builtins.str, + name: _builtins.str, email_configs: Optional[Sequence['outputs.ObservabilityInstanceAlertConfigReceiverEmailConfig']] = None, opsgenie_configs: Optional[Sequence['outputs.ObservabilityInstanceAlertConfigReceiverOpsgenieConfig']] = None, webhooks_configs: Optional[Sequence['outputs.ObservabilityInstanceAlertConfigReceiverWebhooksConfig']] = None): """ - :param builtins.str name: Name of the receiver. + :param _builtins.str name: Name of the receiver. :param Sequence['ObservabilityInstanceAlertConfigReceiverEmailConfigArgs'] email_configs: List of email configurations. :param Sequence['ObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs'] opsgenie_configs: List of OpsGenie configurations. :param Sequence['ObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs'] webhooks_configs: List of Webhooks configurations. @@ -2052,15 +2182,15 @@ def __init__(__self__, *, if webhooks_configs is not None: pulumi.set(__self__, "webhooks_configs", webhooks_configs) - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Name of the receiver. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="emailConfigs") def email_configs(self) -> Optional[Sequence['outputs.ObservabilityInstanceAlertConfigReceiverEmailConfig']]: """ @@ -2068,7 +2198,7 @@ def email_configs(self) -> Optional[Sequence['outputs.ObservabilityInstanceAlert """ return pulumi.get(self, "email_configs") - @property + @_builtins.property @pulumi.getter(name="opsgenieConfigs") def opsgenie_configs(self) -> Optional[Sequence['outputs.ObservabilityInstanceAlertConfigReceiverOpsgenieConfig']]: """ @@ -2076,7 +2206,7 @@ def opsgenie_configs(self) -> Optional[Sequence['outputs.ObservabilityInstanceAl """ return pulumi.get(self, "opsgenie_configs") - @property + @_builtins.property @pulumi.getter(name="webhooksConfigs") def webhooks_configs(self) -> Optional[Sequence['outputs.ObservabilityInstanceAlertConfigReceiverWebhooksConfig']]: """ @@ -2098,6 +2228,8 @@ def __key_warning(key: str): suggest = "auth_username" elif key == "from": suggest = "from_" + elif key == "sendResolved": + suggest = "send_resolved" elif key == "smartHost": suggest = "smart_host" @@ -2113,19 +2245,21 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - auth_identity: Optional[builtins.str] = None, - auth_password: Optional[builtins.str] = None, - auth_username: Optional[builtins.str] = None, - from_: Optional[builtins.str] = None, - smart_host: Optional[builtins.str] = None, - to: Optional[builtins.str] = None): - """ - :param builtins.str auth_identity: SMTP authentication information. Must be a valid email address - :param builtins.str auth_password: SMTP authentication password. - :param builtins.str auth_username: SMTP authentication username. - :param builtins.str from_: The sender email address. Must be a valid email address - :param builtins.str smart_host: The SMTP host through which emails are sent. - :param builtins.str to: The email address to send notifications to. Must be a valid email address + auth_identity: Optional[_builtins.str] = None, + auth_password: Optional[_builtins.str] = None, + auth_username: Optional[_builtins.str] = None, + from_: Optional[_builtins.str] = None, + send_resolved: Optional[_builtins.bool] = None, + smart_host: Optional[_builtins.str] = None, + to: Optional[_builtins.str] = None): + """ + :param _builtins.str auth_identity: SMTP authentication information. Must be a valid email address + :param _builtins.str auth_password: SMTP authentication password. + :param _builtins.str auth_username: SMTP authentication username. + :param _builtins.str from_: The sender email address. Must be a valid email address + :param _builtins.bool send_resolved: Whether to notify about resolved alerts. + :param _builtins.str smart_host: The SMTP host through which emails are sent. + :param _builtins.str to: The email address to send notifications to. Must be a valid email address """ if auth_identity is not None: pulumi.set(__self__, "auth_identity", auth_identity) @@ -2135,54 +2269,64 @@ def __init__(__self__, *, pulumi.set(__self__, "auth_username", auth_username) if from_ is not None: pulumi.set(__self__, "from_", from_) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) if smart_host is not None: pulumi.set(__self__, "smart_host", smart_host) if to is not None: pulumi.set(__self__, "to", to) - @property + @_builtins.property @pulumi.getter(name="authIdentity") - def auth_identity(self) -> Optional[builtins.str]: + def auth_identity(self) -> Optional[_builtins.str]: """ SMTP authentication information. Must be a valid email address """ return pulumi.get(self, "auth_identity") - @property + @_builtins.property @pulumi.getter(name="authPassword") - def auth_password(self) -> Optional[builtins.str]: + def auth_password(self) -> Optional[_builtins.str]: """ SMTP authentication password. """ return pulumi.get(self, "auth_password") - @property + @_builtins.property @pulumi.getter(name="authUsername") - def auth_username(self) -> Optional[builtins.str]: + def auth_username(self) -> Optional[_builtins.str]: """ SMTP authentication username. """ return pulumi.get(self, "auth_username") - @property + @_builtins.property @pulumi.getter(name="from") - def from_(self) -> Optional[builtins.str]: + def from_(self) -> Optional[_builtins.str]: """ The sender email address. Must be a valid email address """ return pulumi.get(self, "from_") - @property + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[_builtins.bool]: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @_builtins.property @pulumi.getter(name="smartHost") - def smart_host(self) -> Optional[builtins.str]: + def smart_host(self) -> Optional[_builtins.str]: """ The SMTP host through which emails are sent. """ return pulumi.get(self, "smart_host") - @property + @_builtins.property @pulumi.getter - def to(self) -> Optional[builtins.str]: + def to(self) -> Optional[_builtins.str]: """ The email address to send notifications to. Must be a valid email address """ @@ -2198,6 +2342,8 @@ def __key_warning(key: str): suggest = "api_key" elif key == "apiUrl": suggest = "api_url" + elif key == "sendResolved": + suggest = "send_resolved" if suggest: pulumi.log.warn(f"Key '{key}' not found in ObservabilityInstanceAlertConfigReceiverOpsgenieConfig. Access the value via the '{suggest}' property getter instead.") @@ -2211,40 +2357,64 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - api_key: Optional[builtins.str] = None, - api_url: Optional[builtins.str] = None, - tags: Optional[builtins.str] = None): - """ - :param builtins.str api_key: The API key for OpsGenie. - :param builtins.str api_url: The host to send OpsGenie API requests to. Must be a valid URL - :param builtins.str tags: Comma separated list of tags attached to the notifications. + api_key: Optional[_builtins.str] = None, + api_url: Optional[_builtins.str] = None, + priority: Optional[_builtins.str] = None, + send_resolved: Optional[_builtins.bool] = None, + tags: Optional[_builtins.str] = None): + """ + :param _builtins.str api_key: The API key for OpsGenie. + :param _builtins.str api_url: The host to send OpsGenie API requests to. Must be a valid URL + :param _builtins.str priority: Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + :param _builtins.bool send_resolved: Whether to notify about resolved alerts. + :param _builtins.str tags: Comma separated list of tags attached to the notifications. """ if api_key is not None: pulumi.set(__self__, "api_key", api_key) if api_url is not None: pulumi.set(__self__, "api_url", api_url) + if priority is not None: + pulumi.set(__self__, "priority", priority) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) if tags is not None: pulumi.set(__self__, "tags", tags) - @property + @_builtins.property @pulumi.getter(name="apiKey") - def api_key(self) -> Optional[builtins.str]: + def api_key(self) -> Optional[_builtins.str]: """ The API key for OpsGenie. """ return pulumi.get(self, "api_key") - @property + @_builtins.property @pulumi.getter(name="apiUrl") - def api_url(self) -> Optional[builtins.str]: + def api_url(self) -> Optional[_builtins.str]: """ The host to send OpsGenie API requests to. Must be a valid URL """ return pulumi.get(self, "api_url") - @property + @_builtins.property @pulumi.getter - def tags(self) -> Optional[builtins.str]: + def priority(self) -> Optional[_builtins.str]: + """ + Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + """ + return pulumi.get(self, "priority") + + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[_builtins.bool]: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @_builtins.property + @pulumi.getter + def tags(self) -> Optional[_builtins.str]: """ Comma separated list of tags attached to the notifications. """ @@ -2256,8 +2426,12 @@ class ObservabilityInstanceAlertConfigReceiverWebhooksConfig(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "msTeams": + if key == "googleChat": + suggest = "google_chat" + elif key == "msTeams": suggest = "ms_teams" + elif key == "sendResolved": + suggest = "send_resolved" if suggest: pulumi.log.warn(f"Key '{key}' not found in ObservabilityInstanceAlertConfigReceiverWebhooksConfig. Access the value via the '{suggest}' property getter instead.") @@ -2271,28 +2445,52 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - ms_teams: Optional[builtins.bool] = None, - url: Optional[builtins.str] = None): - """ - :param builtins.bool ms_teams: Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. - :param builtins.str url: The endpoint to send HTTP POST requests to. Must be a valid URL - """ + google_chat: Optional[_builtins.bool] = None, + ms_teams: Optional[_builtins.bool] = None, + send_resolved: Optional[_builtins.bool] = None, + url: Optional[_builtins.str] = None): + """ + :param _builtins.bool google_chat: Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + :param _builtins.bool ms_teams: Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. + :param _builtins.bool send_resolved: Whether to notify about resolved alerts. + :param _builtins.str url: The endpoint to send HTTP POST requests to. Must be a valid URL + """ + if google_chat is not None: + pulumi.set(__self__, "google_chat", google_chat) if ms_teams is not None: pulumi.set(__self__, "ms_teams", ms_teams) + if send_resolved is not None: + pulumi.set(__self__, "send_resolved", send_resolved) if url is not None: pulumi.set(__self__, "url", url) - @property + @_builtins.property + @pulumi.getter(name="googleChat") + def google_chat(self) -> Optional[_builtins.bool]: + """ + Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + """ + return pulumi.get(self, "google_chat") + + @_builtins.property @pulumi.getter(name="msTeams") - def ms_teams(self) -> Optional[builtins.bool]: + def ms_teams(self) -> Optional[_builtins.bool]: """ Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. """ return pulumi.get(self, "ms_teams") - @property + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> Optional[_builtins.bool]: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @_builtins.property @pulumi.getter - def url(self) -> Optional[builtins.str]: + def url(self) -> Optional[_builtins.str]: """ The endpoint to send HTTP POST requests to. Must be a valid URL """ @@ -2310,8 +2508,6 @@ def __key_warning(key: str): suggest = "group_interval" elif key == "groupWait": suggest = "group_wait" - elif key == "matchRegex": - suggest = "match_regex" elif key == "repeatInterval": suggest = "repeat_interval" @@ -2327,22 +2523,18 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - receiver: builtins.str, - group_bies: Optional[Sequence[builtins.str]] = None, - group_interval: Optional[builtins.str] = None, - group_wait: Optional[builtins.str] = None, - match: Optional[Mapping[str, builtins.str]] = None, - match_regex: Optional[Mapping[str, builtins.str]] = None, - repeat_interval: Optional[builtins.str] = None, + receiver: _builtins.str, + group_bies: Optional[Sequence[_builtins.str]] = None, + group_interval: Optional[_builtins.str] = None, + group_wait: Optional[_builtins.str] = None, + repeat_interval: Optional[_builtins.str] = None, routes: Optional[Sequence['outputs.ObservabilityInstanceAlertConfigRouteRoute']] = None): """ - :param builtins.str receiver: The name of the receiver to route the alerts to. - :param Sequence[builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - :param builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - :param builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) - :param Mapping[str, builtins.str] match: A set of equality matchers an alert has to fulfill to match the node. - :param Mapping[str, builtins.str] match_regex: A set of regex-matchers an alert has to fulfill to match the node. - :param builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + :param _builtins.str receiver: The name of the receiver to route the alerts to. + :param Sequence[_builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + :param _builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + :param _builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) + :param _builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). :param Sequence['ObservabilityInstanceAlertConfigRouteRouteArgs'] routes: List of child routes. """ pulumi.set(__self__, "receiver", receiver) @@ -2352,72 +2544,52 @@ def __init__(__self__, *, pulumi.set(__self__, "group_interval", group_interval) if group_wait is not None: pulumi.set(__self__, "group_wait", group_wait) - if match is not None: - pulumi.set(__self__, "match", match) - if match_regex is not None: - pulumi.set(__self__, "match_regex", match_regex) if repeat_interval is not None: pulumi.set(__self__, "repeat_interval", repeat_interval) if routes is not None: pulumi.set(__self__, "routes", routes) - @property + @_builtins.property @pulumi.getter - def receiver(self) -> builtins.str: + def receiver(self) -> _builtins.str: """ The name of the receiver to route the alerts to. """ return pulumi.get(self, "receiver") - @property + @_builtins.property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence[builtins.str]]: + def group_bies(self) -> Optional[Sequence[_builtins.str]]: """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ return pulumi.get(self, "group_bies") - @property + @_builtins.property @pulumi.getter(name="groupInterval") - def group_interval(self) -> Optional[builtins.str]: + def group_interval(self) -> Optional[_builtins.str]: """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ return pulumi.get(self, "group_interval") - @property + @_builtins.property @pulumi.getter(name="groupWait") - def group_wait(self) -> Optional[builtins.str]: + def group_wait(self) -> Optional[_builtins.str]: """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) """ return pulumi.get(self, "group_wait") - @property - @pulumi.getter - def match(self) -> Optional[Mapping[str, builtins.str]]: - """ - A set of equality matchers an alert has to fulfill to match the node. - """ - return pulumi.get(self, "match") - - @property - @pulumi.getter(name="matchRegex") - def match_regex(self) -> Optional[Mapping[str, builtins.str]]: - """ - A set of regex-matchers an alert has to fulfill to match the node. - """ - return pulumi.get(self, "match_regex") - - @property + @_builtins.property @pulumi.getter(name="repeatInterval") - def repeat_interval(self) -> Optional[builtins.str]: + def repeat_interval(self) -> Optional[_builtins.str]: """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ return pulumi.get(self, "repeat_interval") - @property + @_builtins.property @pulumi.getter def routes(self) -> Optional[Sequence['outputs.ObservabilityInstanceAlertConfigRouteRoute']]: """ @@ -2431,7 +2603,9 @@ class ObservabilityInstanceAlertConfigRouteRoute(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "groupBies": + if key == "continue": + suggest = "continue_" + elif key == "groupBies": suggest = "group_bies" elif key == "groupInterval": suggest = "group_interval" @@ -2454,23 +2628,29 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - receiver: builtins.str, - group_bies: Optional[Sequence[builtins.str]] = None, - group_interval: Optional[builtins.str] = None, - group_wait: Optional[builtins.str] = None, - match: Optional[Mapping[str, builtins.str]] = None, - match_regex: Optional[Mapping[str, builtins.str]] = None, - repeat_interval: Optional[builtins.str] = None): - """ - :param builtins.str receiver: The name of the receiver to route the alerts to. - :param Sequence[builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - :param builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - :param builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) - :param Mapping[str, builtins.str] match: A set of equality matchers an alert has to fulfill to match the node. - :param Mapping[str, builtins.str] match_regex: A set of regex-matchers an alert has to fulfill to match the node. - :param builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + receiver: _builtins.str, + continue_: Optional[_builtins.bool] = None, + group_bies: Optional[Sequence[_builtins.str]] = None, + group_interval: Optional[_builtins.str] = None, + group_wait: Optional[_builtins.str] = None, + match: Optional[Mapping[str, _builtins.str]] = None, + match_regex: Optional[Mapping[str, _builtins.str]] = None, + matchers: Optional[Sequence[_builtins.str]] = None, + repeat_interval: Optional[_builtins.str] = None): + """ + :param _builtins.str receiver: The name of the receiver to route the alerts to. + :param _builtins.bool continue_: Whether an alert should continue matching subsequent sibling nodes. + :param Sequence[_builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + :param _builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + :param _builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) + :param Mapping[str, _builtins.str] match: A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + :param Mapping[str, _builtins.str] match_regex: A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + :param Sequence[_builtins.str] matchers: A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + :param _builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ pulumi.set(__self__, "receiver", receiver) + if continue_ is not None: + pulumi.set(__self__, "continue_", continue_) if group_bies is not None: pulumi.set(__self__, "group_bies", group_bies) if group_interval is not None: @@ -2481,60 +2661,80 @@ def __init__(__self__, *, pulumi.set(__self__, "match", match) if match_regex is not None: pulumi.set(__self__, "match_regex", match_regex) + if matchers is not None: + pulumi.set(__self__, "matchers", matchers) if repeat_interval is not None: pulumi.set(__self__, "repeat_interval", repeat_interval) - @property + @_builtins.property @pulumi.getter - def receiver(self) -> builtins.str: + def receiver(self) -> _builtins.str: """ The name of the receiver to route the alerts to. """ return pulumi.get(self, "receiver") - @property + @_builtins.property + @pulumi.getter(name="continue") + def continue_(self) -> Optional[_builtins.bool]: + """ + Whether an alert should continue matching subsequent sibling nodes. + """ + return pulumi.get(self, "continue_") + + @_builtins.property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence[builtins.str]]: + def group_bies(self) -> Optional[Sequence[_builtins.str]]: """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ return pulumi.get(self, "group_bies") - @property + @_builtins.property @pulumi.getter(name="groupInterval") - def group_interval(self) -> Optional[builtins.str]: + def group_interval(self) -> Optional[_builtins.str]: """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ return pulumi.get(self, "group_interval") - @property + @_builtins.property @pulumi.getter(name="groupWait") - def group_wait(self) -> Optional[builtins.str]: + def group_wait(self) -> Optional[_builtins.str]: """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) """ return pulumi.get(self, "group_wait") - @property + @_builtins.property @pulumi.getter - def match(self) -> Optional[Mapping[str, builtins.str]]: + @_utilities.deprecated("""Use `matchers` in the `routes` instead.""") + def match(self) -> Optional[Mapping[str, _builtins.str]]: """ - A set of equality matchers an alert has to fulfill to match the node. + A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead """ return pulumi.get(self, "match") - @property + @_builtins.property @pulumi.getter(name="matchRegex") - def match_regex(self) -> Optional[Mapping[str, builtins.str]]: + @_utilities.deprecated("""Use `matchers` in the `routes` instead.""") + def match_regex(self) -> Optional[Mapping[str, _builtins.str]]: """ - A set of regex-matchers an alert has to fulfill to match the node. + A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead """ return pulumi.get(self, "match_regex") - @property + @_builtins.property + @pulumi.getter + def matchers(self) -> Optional[Sequence[_builtins.str]]: + """ + A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + """ + return pulumi.get(self, "matchers") + + @_builtins.property @pulumi.getter(name="repeatInterval") - def repeat_interval(self) -> Optional[builtins.str]: + def repeat_interval(self) -> Optional[_builtins.str]: """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ @@ -2561,17 +2761,17 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - alert: builtins.str, - expression: builtins.str, - annotations: Optional[Mapping[str, builtins.str]] = None, - for_: Optional[builtins.str] = None, - labels: Optional[Mapping[str, builtins.str]] = None): - """ - :param builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. - :param builtins.str expression: The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - :param Mapping[str, builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert - :param builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - :param Mapping[str, builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert + alert: _builtins.str, + expression: _builtins.str, + annotations: Optional[Mapping[str, _builtins.str]] = None, + for_: Optional[_builtins.str] = None, + labels: Optional[Mapping[str, _builtins.str]] = None): + """ + :param _builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. + :param _builtins.str expression: The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + :param Mapping[str, _builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert + :param _builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + :param Mapping[str, _builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert """ pulumi.set(__self__, "alert", alert) pulumi.set(__self__, "expression", expression) @@ -2582,41 +2782,41 @@ def __init__(__self__, *, if labels is not None: pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def alert(self) -> builtins.str: + def alert(self) -> _builtins.str: """ The name of the alert rule. Is the identifier and must be unique in the group. """ return pulumi.get(self, "alert") - @property + @_builtins.property @pulumi.getter - def expression(self) -> builtins.str: + def expression(self) -> _builtins.str: """ The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ return pulumi.get(self, "expression") - @property + @_builtins.property @pulumi.getter - def annotations(self) -> Optional[Mapping[str, builtins.str]]: + def annotations(self) -> Optional[Mapping[str, _builtins.str]]: """ A map of key:value. Annotations to add or overwrite for each alert """ return pulumi.get(self, "annotations") - @property + @_builtins.property @pulumi.getter(name="for") - def for_(self) -> Optional[builtins.str]: + def for_(self) -> Optional[_builtins.str]: """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ return pulumi.get(self, "for_") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[Mapping[str, builtins.str]]: + def labels(self) -> Optional[Mapping[str, _builtins.str]]: """ A map of key:value. Labels to add or overwrite for each alert """ @@ -2626,26 +2826,26 @@ def labels(self) -> Optional[Mapping[str, builtins.str]]: @pulumi.output_type class ObservabilityScrapeconfigBasicAuth(dict): def __init__(__self__, *, - password: builtins.str, - username: builtins.str): + password: _builtins.str, + username: _builtins.str): """ - :param builtins.str password: Specifies basic auth password. - :param builtins.str username: Specifies basic auth username. + :param _builtins.str password: Specifies basic auth password. + :param _builtins.str username: Specifies basic auth username. """ pulumi.set(__self__, "password", password) pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def password(self) -> builtins.str: + def password(self) -> _builtins.str: """ Specifies basic auth password. """ return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: """ Specifies basic auth username. """ @@ -2672,16 +2872,16 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - enable_url_parameters: Optional[builtins.bool] = None): + enable_url_parameters: Optional[_builtins.bool] = None): """ - :param builtins.bool enable_url_parameters: Specifies if URL parameters are enabled. Defaults to `true` + :param _builtins.bool enable_url_parameters: Specifies if URL parameters are enabled. Defaults to `true` """ if enable_url_parameters is not None: pulumi.set(__self__, "enable_url_parameters", enable_url_parameters) - @property + @_builtins.property @pulumi.getter(name="enableUrlParameters") - def enable_url_parameters(self) -> Optional[builtins.bool]: + def enable_url_parameters(self) -> Optional[_builtins.bool]: """ Specifies if URL parameters are enabled. Defaults to `true` """ @@ -2691,27 +2891,27 @@ def enable_url_parameters(self) -> Optional[builtins.bool]: @pulumi.output_type class ObservabilityScrapeconfigTarget(dict): def __init__(__self__, *, - urls: Sequence[builtins.str], - labels: Optional[Mapping[str, builtins.str]] = None): + urls: Sequence[_builtins.str], + labels: Optional[Mapping[str, _builtins.str]] = None): """ - :param Sequence[builtins.str] urls: Specifies target URLs. - :param Mapping[str, builtins.str] labels: Specifies labels. + :param Sequence[_builtins.str] urls: Specifies target URLs. + :param Mapping[str, _builtins.str] labels: Specifies labels. """ pulumi.set(__self__, "urls", urls) if labels is not None: pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def urls(self) -> Sequence[builtins.str]: + def urls(self) -> Sequence[_builtins.str]: """ Specifies target URLs. """ return pulumi.get(self, "urls") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[Mapping[str, builtins.str]]: + def labels(self) -> Optional[Mapping[str, _builtins.str]]: """ Specifies labels. """ @@ -2758,35 +2958,35 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - enable_monitoring: Optional[builtins.bool] = None, - graphite: Optional[builtins.str] = None, - java_garbage_collector: Optional[builtins.str] = None, - java_heapspace: Optional[builtins.int] = None, - java_maxmetaspace: Optional[builtins.int] = None, - max_disk_threshold: Optional[builtins.int] = None, - metrics_frequency: Optional[builtins.int] = None, - metrics_prefix: Optional[builtins.str] = None, - monitoring_instance_id: Optional[builtins.str] = None, - plugins: Optional[Sequence[builtins.str]] = None, - sgw_acl: Optional[builtins.str] = None, - syslogs: Optional[Sequence[builtins.str]] = None, - tls_ciphers: Optional[Sequence[builtins.str]] = None, - tls_protocols: Optional[builtins.str] = None): - """ - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - :param builtins.str java_garbage_collector: The garbage collector to use for OpenSearch. - :param builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - :param builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param Sequence[builtins.str] plugins: List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. - :param Sequence[builtins.str] tls_ciphers: List of TLS ciphers to use. - :param builtins.str tls_protocols: The TLS protocol to use. + enable_monitoring: Optional[_builtins.bool] = None, + graphite: Optional[_builtins.str] = None, + java_garbage_collector: Optional[_builtins.str] = None, + java_heapspace: Optional[_builtins.int] = None, + java_maxmetaspace: Optional[_builtins.int] = None, + max_disk_threshold: Optional[_builtins.int] = None, + metrics_frequency: Optional[_builtins.int] = None, + metrics_prefix: Optional[_builtins.str] = None, + monitoring_instance_id: Optional[_builtins.str] = None, + plugins: Optional[Sequence[_builtins.str]] = None, + sgw_acl: Optional[_builtins.str] = None, + syslogs: Optional[Sequence[_builtins.str]] = None, + tls_ciphers: Optional[Sequence[_builtins.str]] = None, + tls_protocols: Optional[Sequence[_builtins.str]] = None): + """ + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + :param _builtins.str java_garbage_collector: The garbage collector to use for OpenSearch. + :param _builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + :param _builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param Sequence[_builtins.str] plugins: List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. + :param Sequence[_builtins.str] tls_ciphers: List of TLS ciphers to use. + :param Sequence[_builtins.str] tls_protocols: The TLS protocol to use. """ if enable_monitoring is not None: pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -2817,113 +3017,113 @@ def __init__(__self__, *, if tls_protocols is not None: pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[builtins.bool]: + def enable_monitoring(self) -> Optional[_builtins.bool]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[builtins.str]: + def graphite(self) -> Optional[_builtins.str]: """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="javaGarbageCollector") - def java_garbage_collector(self) -> Optional[builtins.str]: + def java_garbage_collector(self) -> Optional[_builtins.str]: """ The garbage collector to use for OpenSearch. """ return pulumi.get(self, "java_garbage_collector") - @property + @_builtins.property @pulumi.getter(name="javaHeapspace") - def java_heapspace(self) -> Optional[builtins.int]: + def java_heapspace(self) -> Optional[_builtins.int]: """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ return pulumi.get(self, "java_heapspace") - @property + @_builtins.property @pulumi.getter(name="javaMaxmetaspace") - def java_maxmetaspace(self) -> Optional[builtins.int]: + def java_maxmetaspace(self) -> Optional[_builtins.int]: """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ return pulumi.get(self, "java_maxmetaspace") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[builtins.int]: + def max_disk_threshold(self) -> Optional[_builtins.int]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[builtins.int]: + def metrics_frequency(self) -> Optional[_builtins.int]: """ The frequency in seconds at which metrics are emitted (in seconds). """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[builtins.str]: + def metrics_prefix(self) -> Optional[_builtins.str]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[builtins.str]: + def monitoring_instance_id(self) -> Optional[_builtins.str]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter - def plugins(self) -> Optional[Sequence[builtins.str]]: + def plugins(self) -> Optional[Sequence[_builtins.str]]: """ List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. """ return pulumi.get(self, "plugins") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[builtins.str]: + def sgw_acl(self) -> Optional[_builtins.str]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[Sequence[builtins.str]]: + def syslogs(self) -> Optional[Sequence[_builtins.str]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Optional[Sequence[builtins.str]]: + def tls_ciphers(self) -> Optional[Sequence[_builtins.str]]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> Optional[builtins.str]: + def tls_protocols(self) -> Optional[Sequence[_builtins.str]]: """ The TLS protocol to use. """ @@ -2933,10 +3133,10 @@ def tls_protocols(self) -> Optional[builtins.str]: @pulumi.output_type class PostgresflexInstanceFlavor(dict): def __init__(__self__, *, - cpu: builtins.int, - ram: builtins.int, - description: Optional[builtins.str] = None, - id: Optional[builtins.str] = None): + cpu: _builtins.int, + ram: _builtins.int, + description: Optional[_builtins.str] = None, + id: Optional[_builtins.str] = None): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "ram", ram) if description is not None: @@ -2944,24 +3144,24 @@ def __init__(__self__, *, if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> builtins.int: + def cpu(self) -> _builtins.int: return pulumi.get(self, "cpu") - @property + @_builtins.property @pulumi.getter - def ram(self) -> builtins.int: + def ram(self) -> _builtins.int: return pulumi.get(self, "ram") - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[builtins.str]: + def description(self) -> Optional[_builtins.str]: return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[builtins.str]: + def id(self) -> Optional[_builtins.str]: return pulumi.get(self, "id") @@ -2985,19 +3185,19 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - class_: builtins.str, - size: builtins.int): + class_: _builtins.str, + size: _builtins.int): pulumi.set(__self__, "class_", class_) pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> builtins.str: + def class_(self) -> _builtins.str: return pulumi.get(self, "class_") - @property + @_builtins.property @pulumi.getter - def size(self) -> builtins.int: + def size(self) -> _builtins.int: return pulumi.get(self, "size") @@ -3037,33 +3237,33 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - consumer_timeout: Optional[builtins.int] = None, - enable_monitoring: Optional[builtins.bool] = None, - graphite: Optional[builtins.str] = None, - max_disk_threshold: Optional[builtins.int] = None, - metrics_frequency: Optional[builtins.int] = None, - metrics_prefix: Optional[builtins.str] = None, - monitoring_instance_id: Optional[builtins.str] = None, - plugins: Optional[Sequence[builtins.str]] = None, - roles: Optional[Sequence[builtins.str]] = None, - sgw_acl: Optional[builtins.str] = None, - syslogs: Optional[Sequence[builtins.str]] = None, - tls_ciphers: Optional[Sequence[builtins.str]] = None, - tls_protocols: Optional[builtins.str] = None): - """ - :param builtins.int consumer_timeout: The timeout in milliseconds for the consumer. - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param Sequence[builtins.str] plugins: List of plugins to install. Must be a supported plugin name. - :param Sequence[builtins.str] roles: List of roles to assign to the instance. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. - :param Sequence[builtins.str] tls_ciphers: List of TLS ciphers to use. - :param builtins.str tls_protocols: TLS protocol to use. + consumer_timeout: Optional[_builtins.int] = None, + enable_monitoring: Optional[_builtins.bool] = None, + graphite: Optional[_builtins.str] = None, + max_disk_threshold: Optional[_builtins.int] = None, + metrics_frequency: Optional[_builtins.int] = None, + metrics_prefix: Optional[_builtins.str] = None, + monitoring_instance_id: Optional[_builtins.str] = None, + plugins: Optional[Sequence[_builtins.str]] = None, + roles: Optional[Sequence[_builtins.str]] = None, + sgw_acl: Optional[_builtins.str] = None, + syslogs: Optional[Sequence[_builtins.str]] = None, + tls_ciphers: Optional[Sequence[_builtins.str]] = None, + tls_protocols: Optional[_builtins.str] = None): + """ + :param _builtins.int consumer_timeout: The timeout in milliseconds for the consumer. + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param Sequence[_builtins.str] plugins: List of plugins to install. Must be a supported plugin name. + :param Sequence[_builtins.str] roles: List of roles to assign to the instance. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. + :param Sequence[_builtins.str] tls_ciphers: List of TLS ciphers to use. + :param _builtins.str tls_protocols: TLS protocol to use. """ if consumer_timeout is not None: pulumi.set(__self__, "consumer_timeout", consumer_timeout) @@ -3092,105 +3292,105 @@ def __init__(__self__, *, if tls_protocols is not None: pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="consumerTimeout") - def consumer_timeout(self) -> Optional[builtins.int]: + def consumer_timeout(self) -> Optional[_builtins.int]: """ The timeout in milliseconds for the consumer. """ return pulumi.get(self, "consumer_timeout") - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[builtins.bool]: + def enable_monitoring(self) -> Optional[_builtins.bool]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[builtins.str]: + def graphite(self) -> Optional[_builtins.str]: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[builtins.int]: + def max_disk_threshold(self) -> Optional[_builtins.int]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[builtins.int]: + def metrics_frequency(self) -> Optional[_builtins.int]: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[builtins.str]: + def metrics_prefix(self) -> Optional[_builtins.str]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[builtins.str]: + def monitoring_instance_id(self) -> Optional[_builtins.str]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter - def plugins(self) -> Optional[Sequence[builtins.str]]: + def plugins(self) -> Optional[Sequence[_builtins.str]]: """ List of plugins to install. Must be a supported plugin name. """ return pulumi.get(self, "plugins") - @property + @_builtins.property @pulumi.getter - def roles(self) -> Optional[Sequence[builtins.str]]: + def roles(self) -> Optional[Sequence[_builtins.str]]: """ List of roles to assign to the instance. """ return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[builtins.str]: + def sgw_acl(self) -> Optional[_builtins.str]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[Sequence[builtins.str]]: + def syslogs(self) -> Optional[Sequence[_builtins.str]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Optional[Sequence[builtins.str]]: + def tls_ciphers(self) -> Optional[Sequence[_builtins.str]]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> Optional[builtins.str]: + def tls_protocols(self) -> Optional[_builtins.str]: """ TLS protocol to use. """ @@ -3251,51 +3451,51 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - down_after_milliseconds: Optional[builtins.int] = None, - enable_monitoring: Optional[builtins.bool] = None, - failover_timeout: Optional[builtins.int] = None, - graphite: Optional[builtins.str] = None, - lazyfree_lazy_eviction: Optional[builtins.str] = None, - lazyfree_lazy_expire: Optional[builtins.str] = None, - lua_time_limit: Optional[builtins.int] = None, - max_disk_threshold: Optional[builtins.int] = None, - maxclients: Optional[builtins.int] = None, - maxmemory_policy: Optional[builtins.str] = None, - maxmemory_samples: Optional[builtins.int] = None, - metrics_frequency: Optional[builtins.int] = None, - metrics_prefix: Optional[builtins.str] = None, - min_replicas_max_lag: Optional[builtins.int] = None, - monitoring_instance_id: Optional[builtins.str] = None, - notify_keyspace_events: Optional[builtins.str] = None, - sgw_acl: Optional[builtins.str] = None, - snapshot: Optional[builtins.str] = None, - syslogs: Optional[Sequence[builtins.str]] = None, - tls_ciphers: Optional[Sequence[builtins.str]] = None, - tls_ciphersuites: Optional[builtins.str] = None, - tls_protocols: Optional[builtins.str] = None): - """ - :param builtins.int down_after_milliseconds: The number of milliseconds after which the instance is considered down. - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.int failover_timeout: The failover timeout in milliseconds. - :param builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param builtins.str lazyfree_lazy_eviction: The lazy eviction enablement (yes or no). - :param builtins.str lazyfree_lazy_expire: The lazy expire enablement (yes or no). - :param builtins.int lua_time_limit: The Lua time limit. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int maxclients: The maximum number of clients. - :param builtins.str maxmemory_policy: The policy to handle the maximum memory (volatile-lru, noeviction, etc). - :param builtins.int maxmemory_samples: The maximum memory samples. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param builtins.int min_replicas_max_lag: The minimum replicas maximum lag. - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param builtins.str notify_keyspace_events: The notify keyspace events. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param builtins.str snapshot: The snapshot configuration. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. - :param Sequence[builtins.str] tls_ciphers: List of TLS ciphers to use. - :param builtins.str tls_ciphersuites: TLS cipher suites to use. - :param builtins.str tls_protocols: TLS protocol to use. + down_after_milliseconds: Optional[_builtins.int] = None, + enable_monitoring: Optional[_builtins.bool] = None, + failover_timeout: Optional[_builtins.int] = None, + graphite: Optional[_builtins.str] = None, + lazyfree_lazy_eviction: Optional[_builtins.str] = None, + lazyfree_lazy_expire: Optional[_builtins.str] = None, + lua_time_limit: Optional[_builtins.int] = None, + max_disk_threshold: Optional[_builtins.int] = None, + maxclients: Optional[_builtins.int] = None, + maxmemory_policy: Optional[_builtins.str] = None, + maxmemory_samples: Optional[_builtins.int] = None, + metrics_frequency: Optional[_builtins.int] = None, + metrics_prefix: Optional[_builtins.str] = None, + min_replicas_max_lag: Optional[_builtins.int] = None, + monitoring_instance_id: Optional[_builtins.str] = None, + notify_keyspace_events: Optional[_builtins.str] = None, + sgw_acl: Optional[_builtins.str] = None, + snapshot: Optional[_builtins.str] = None, + syslogs: Optional[Sequence[_builtins.str]] = None, + tls_ciphers: Optional[Sequence[_builtins.str]] = None, + tls_ciphersuites: Optional[_builtins.str] = None, + tls_protocols: Optional[_builtins.str] = None): + """ + :param _builtins.int down_after_milliseconds: The number of milliseconds after which the instance is considered down. + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.int failover_timeout: The failover timeout in milliseconds. + :param _builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param _builtins.str lazyfree_lazy_eviction: The lazy eviction enablement (yes or no). + :param _builtins.str lazyfree_lazy_expire: The lazy expire enablement (yes or no). + :param _builtins.int lua_time_limit: The Lua time limit. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int maxclients: The maximum number of clients. + :param _builtins.str maxmemory_policy: The policy to handle the maximum memory (volatile-lru, noeviction, etc). + :param _builtins.int maxmemory_samples: The maximum memory samples. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param _builtins.int min_replicas_max_lag: The minimum replicas maximum lag. + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param _builtins.str notify_keyspace_events: The notify keyspace events. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param _builtins.str snapshot: The snapshot configuration. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. + :param Sequence[_builtins.str] tls_ciphers: List of TLS ciphers to use. + :param _builtins.str tls_ciphersuites: TLS cipher suites to use. + :param _builtins.str tls_protocols: TLS protocol to use. """ if down_after_milliseconds is not None: pulumi.set(__self__, "down_after_milliseconds", down_after_milliseconds) @@ -3342,206 +3542,265 @@ def __init__(__self__, *, if tls_protocols is not None: pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="downAfterMilliseconds") - def down_after_milliseconds(self) -> Optional[builtins.int]: + def down_after_milliseconds(self) -> Optional[_builtins.int]: """ The number of milliseconds after which the instance is considered down. """ return pulumi.get(self, "down_after_milliseconds") - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> Optional[builtins.bool]: + def enable_monitoring(self) -> Optional[_builtins.bool]: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter(name="failoverTimeout") - def failover_timeout(self) -> Optional[builtins.int]: + def failover_timeout(self) -> Optional[_builtins.int]: """ The failover timeout in milliseconds. """ return pulumi.get(self, "failover_timeout") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> Optional[builtins.str]: + def graphite(self) -> Optional[_builtins.str]: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="lazyfreeLazyEviction") - def lazyfree_lazy_eviction(self) -> Optional[builtins.str]: + def lazyfree_lazy_eviction(self) -> Optional[_builtins.str]: """ The lazy eviction enablement (yes or no). """ return pulumi.get(self, "lazyfree_lazy_eviction") - @property + @_builtins.property @pulumi.getter(name="lazyfreeLazyExpire") - def lazyfree_lazy_expire(self) -> Optional[builtins.str]: + def lazyfree_lazy_expire(self) -> Optional[_builtins.str]: """ The lazy expire enablement (yes or no). """ return pulumi.get(self, "lazyfree_lazy_expire") - @property + @_builtins.property @pulumi.getter(name="luaTimeLimit") - def lua_time_limit(self) -> Optional[builtins.int]: + def lua_time_limit(self) -> Optional[_builtins.int]: """ The Lua time limit. """ return pulumi.get(self, "lua_time_limit") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> Optional[builtins.int]: + def max_disk_threshold(self) -> Optional[_builtins.int]: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter - def maxclients(self) -> Optional[builtins.int]: + def maxclients(self) -> Optional[_builtins.int]: """ The maximum number of clients. """ return pulumi.get(self, "maxclients") - @property + @_builtins.property @pulumi.getter(name="maxmemoryPolicy") - def maxmemory_policy(self) -> Optional[builtins.str]: + def maxmemory_policy(self) -> Optional[_builtins.str]: """ The policy to handle the maximum memory (volatile-lru, noeviction, etc). """ return pulumi.get(self, "maxmemory_policy") - @property + @_builtins.property @pulumi.getter(name="maxmemorySamples") - def maxmemory_samples(self) -> Optional[builtins.int]: + def maxmemory_samples(self) -> Optional[_builtins.int]: """ The maximum memory samples. """ return pulumi.get(self, "maxmemory_samples") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> Optional[builtins.int]: + def metrics_frequency(self) -> Optional[_builtins.int]: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> Optional[builtins.str]: + def metrics_prefix(self) -> Optional[_builtins.str]: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="minReplicasMaxLag") - def min_replicas_max_lag(self) -> Optional[builtins.int]: + def min_replicas_max_lag(self) -> Optional[_builtins.int]: """ The minimum replicas maximum lag. """ return pulumi.get(self, "min_replicas_max_lag") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> Optional[builtins.str]: + def monitoring_instance_id(self) -> Optional[_builtins.str]: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter(name="notifyKeyspaceEvents") - def notify_keyspace_events(self) -> Optional[builtins.str]: + def notify_keyspace_events(self) -> Optional[_builtins.str]: """ The notify keyspace events. """ return pulumi.get(self, "notify_keyspace_events") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> Optional[builtins.str]: + def sgw_acl(self) -> Optional[_builtins.str]: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def snapshot(self) -> Optional[builtins.str]: + def snapshot(self) -> Optional[_builtins.str]: """ The snapshot configuration. """ return pulumi.get(self, "snapshot") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Optional[Sequence[builtins.str]]: + def syslogs(self) -> Optional[Sequence[_builtins.str]]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Optional[Sequence[builtins.str]]: + def tls_ciphers(self) -> Optional[Sequence[_builtins.str]]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="tlsCiphersuites") - def tls_ciphersuites(self) -> Optional[builtins.str]: + def tls_ciphersuites(self) -> Optional[_builtins.str]: """ TLS cipher suites to use. """ return pulumi.get(self, "tls_ciphersuites") - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> Optional[builtins.str]: + def tls_protocols(self) -> Optional[_builtins.str]: """ TLS protocol to use. """ return pulumi.get(self, "tls_protocols") +@pulumi.output_type +class RoutingTableRouteDestination(dict): + def __init__(__self__, *, + type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str type: CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + :param _builtins.str value: An CIDR string. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + An CIDR string. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class RoutingTableRouteNextHop(dict): + def __init__(__self__, *, + type: _builtins.str, + value: Optional[_builtins.str] = None): + """ + :param _builtins.str type: Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + :param _builtins.str value: Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def value(self) -> Optional[_builtins.str]: + """ + Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + return pulumi.get(self, "value") + + @pulumi.output_type class SecurityGroupRuleIcmpParameters(dict): def __init__(__self__, *, - code: builtins.int, - type: builtins.int): + code: _builtins.int, + type: _builtins.int): """ - :param builtins.int code: ICMP code. Can be set if the protocol is ICMP. - :param builtins.int type: ICMP type. Can be set if the protocol is ICMP. + :param _builtins.int code: ICMP code. Can be set if the protocol is ICMP. + :param _builtins.int type: ICMP type. Can be set if the protocol is ICMP. """ pulumi.set(__self__, "code", code) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def code(self) -> builtins.int: + def code(self) -> _builtins.int: """ ICMP code. Can be set if the protocol is ICMP. """ return pulumi.get(self, "code") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.int: + def type(self) -> _builtins.int: """ ICMP type. Can be set if the protocol is ICMP. """ @@ -3551,26 +3810,26 @@ def type(self) -> builtins.int: @pulumi.output_type class SecurityGroupRulePortRange(dict): def __init__(__self__, *, - max: builtins.int, - min: builtins.int): + max: _builtins.int, + min: _builtins.int): """ - :param builtins.int max: The maximum port number. Should be greater or equal to the minimum. - :param builtins.int min: The minimum port number. Should be less or equal to the maximum. + :param _builtins.int max: The maximum port number. Should be greater or equal to the minimum. + :param _builtins.int min: The minimum port number. Should be less or equal to the maximum. """ pulumi.set(__self__, "max", max) pulumi.set(__self__, "min", min) - @property + @_builtins.property @pulumi.getter - def max(self) -> builtins.int: + def max(self) -> _builtins.int: """ The maximum port number. Should be greater or equal to the minimum. """ return pulumi.get(self, "max") - @property + @_builtins.property @pulumi.getter - def min(self) -> builtins.int: + def min(self) -> _builtins.int: """ The minimum port number. Should be less or equal to the maximum. """ @@ -3580,28 +3839,28 @@ def min(self) -> builtins.int: @pulumi.output_type class SecurityGroupRuleProtocol(dict): def __init__(__self__, *, - name: Optional[builtins.str] = None, - number: Optional[builtins.int] = None): + name: Optional[_builtins.str] = None, + number: Optional[_builtins.int] = None): """ - :param builtins.str name: The protocol name which the rule should match. Either `name` or `number` must be provided. Possible values are: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`. - :param builtins.int number: The protocol number which the rule should match. Either `name` or `number` must be provided. + :param _builtins.str name: The protocol name which the rule should match. Either `name` or `number` must be provided. Possible values are: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`. + :param _builtins.int number: The protocol number which the rule should match. Either `name` or `number` must be provided. """ if name is not None: pulumi.set(__self__, "name", name) if number is not None: pulumi.set(__self__, "number", number) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[builtins.str]: + def name(self) -> Optional[_builtins.str]: """ The protocol name which the rule should match. Either `name` or `number` must be provided. Possible values are: `ah`, `dccp`, `egp`, `esp`, `gre`, `icmp`, `igmp`, `ipip`, `ipv6-encap`, `ipv6-frag`, `ipv6-icmp`, `ipv6-nonxt`, `ipv6-opts`, `ipv6-route`, `ospf`, `pgm`, `rsvp`, `sctp`, `tcp`, `udp`, `udplite`, `vrrp`. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def number(self) -> Optional[builtins.int]: + def number(self) -> Optional[_builtins.int]: """ The protocol number which the rule should match. Either `name` or `number` must be provided. """ @@ -3630,27 +3889,27 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - name: builtins.str, - retention_period: builtins.int, - volume_ids: Optional[Sequence[builtins.str]] = None): + name: _builtins.str, + retention_period: _builtins.int, + volume_ids: Optional[Sequence[_builtins.str]] = None): pulumi.set(__self__, "name", name) pulumi.set(__self__, "retention_period", retention_period) if volume_ids is not None: pulumi.set(__self__, "volume_ids", volume_ids) - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="retentionPeriod") - def retention_period(self) -> builtins.int: + def retention_period(self) -> _builtins.int: return pulumi.get(self, "retention_period") - @property + @_builtins.property @pulumi.getter(name="volumeIds") - def volume_ids(self) -> Optional[Sequence[builtins.str]]: + def volume_ids(self) -> Optional[Sequence[_builtins.str]]: return pulumi.get(self, "volume_ids") @@ -3680,19 +3939,19 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - source_id: builtins.str, - source_type: builtins.str, - delete_on_termination: Optional[builtins.bool] = None, - id: Optional[builtins.str] = None, - performance_class: Optional[builtins.str] = None, - size: Optional[builtins.int] = None): - """ - :param builtins.str source_id: The ID of the source, either image ID or volume ID - :param builtins.str source_type: The type of the source. Supported values are: `volume`, `image`. - :param builtins.bool delete_on_termination: Delete the volume during the termination of the server. Only allowed when `source_type` is `image`. - :param builtins.str id: The ID of the boot volume - :param builtins.str performance_class: The performance class of the server. - :param builtins.int size: The size of the boot volume in GB. Must be provided when `source_type` is `image`. + source_id: _builtins.str, + source_type: _builtins.str, + delete_on_termination: Optional[_builtins.bool] = None, + id: Optional[_builtins.str] = None, + performance_class: Optional[_builtins.str] = None, + size: Optional[_builtins.int] = None): + """ + :param _builtins.str source_id: The ID of the source, either image ID or volume ID + :param _builtins.str source_type: The type of the source. Supported values are: `volume`, `image`. + :param _builtins.bool delete_on_termination: Delete the volume during the termination of the server. Only allowed when `source_type` is `image`. + :param _builtins.str id: The ID of the boot volume + :param _builtins.str performance_class: The performance class of the server. + :param _builtins.int size: The size of the boot volume in GB. Must be provided when `source_type` is `image`. """ pulumi.set(__self__, "source_id", source_id) pulumi.set(__self__, "source_type", source_type) @@ -3705,49 +3964,49 @@ def __init__(__self__, *, if size is not None: pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="sourceId") - def source_id(self) -> builtins.str: + def source_id(self) -> _builtins.str: """ The ID of the source, either image ID or volume ID """ return pulumi.get(self, "source_id") - @property + @_builtins.property @pulumi.getter(name="sourceType") - def source_type(self) -> builtins.str: + def source_type(self) -> _builtins.str: """ The type of the source. Supported values are: `volume`, `image`. """ return pulumi.get(self, "source_type") - @property + @_builtins.property @pulumi.getter(name="deleteOnTermination") - def delete_on_termination(self) -> Optional[builtins.bool]: + def delete_on_termination(self) -> Optional[_builtins.bool]: """ Delete the volume during the termination of the server. Only allowed when `source_type` is `image`. """ return pulumi.get(self, "delete_on_termination") - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[builtins.str]: + def id(self) -> Optional[_builtins.str]: """ The ID of the boot volume """ return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter(name="performanceClass") - def performance_class(self) -> Optional[builtins.str]: + def performance_class(self) -> Optional[_builtins.str]: """ The performance class of the server. """ return pulumi.get(self, "performance_class") - @property + @_builtins.property @pulumi.getter - def size(self) -> Optional[builtins.int]: + def size(self) -> Optional[_builtins.int]: """ The size of the boot volume in GB. Must be provided when `source_type` is `image`. """ @@ -3759,11 +4018,13 @@ class SkeClusterExtensions(dict): def __init__(__self__, *, acl: Optional['outputs.SkeClusterExtensionsAcl'] = None, argus: Optional['outputs.SkeClusterExtensionsArgus'] = None, - dns: Optional['outputs.SkeClusterExtensionsDns'] = None): + dns: Optional['outputs.SkeClusterExtensionsDns'] = None, + observability: Optional['outputs.SkeClusterExtensionsObservability'] = None): """ :param 'SkeClusterExtensionsAclArgs' acl: Cluster access control configuration. - :param 'SkeClusterExtensionsArgusArgs' argus: A single argus block as defined below. + :param 'SkeClusterExtensionsArgusArgs' argus: A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. :param 'SkeClusterExtensionsDnsArgs' dns: DNS extension configuration + :param 'SkeClusterExtensionsObservabilityArgs' observability: A single observability block as defined below. """ if acl is not None: pulumi.set(__self__, "acl", acl) @@ -3771,8 +4032,10 @@ def __init__(__self__, *, pulumi.set(__self__, "argus", argus) if dns is not None: pulumi.set(__self__, "dns", dns) + if observability is not None: + pulumi.set(__self__, "observability", observability) - @property + @_builtins.property @pulumi.getter def acl(self) -> Optional['outputs.SkeClusterExtensionsAcl']: """ @@ -3780,15 +4043,16 @@ def acl(self) -> Optional['outputs.SkeClusterExtensionsAcl']: """ return pulumi.get(self, "acl") - @property + @_builtins.property @pulumi.getter + @_utilities.deprecated("""Use observability instead.""") def argus(self) -> Optional['outputs.SkeClusterExtensionsArgus']: """ - A single argus block as defined below. + A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. """ return pulumi.get(self, "argus") - @property + @_builtins.property @pulumi.getter def dns(self) -> Optional['outputs.SkeClusterExtensionsDns']: """ @@ -3796,6 +4060,14 @@ def dns(self) -> Optional['outputs.SkeClusterExtensionsDns']: """ return pulumi.get(self, "dns") + @_builtins.property + @pulumi.getter + def observability(self) -> Optional['outputs.SkeClusterExtensionsObservability']: + """ + A single observability block as defined below. + """ + return pulumi.get(self, "observability") + @pulumi.output_type class SkeClusterExtensionsAcl(dict): @@ -3817,26 +4089,26 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - allowed_cidrs: Sequence[builtins.str], - enabled: builtins.bool): + allowed_cidrs: Sequence[_builtins.str], + enabled: _builtins.bool): """ - :param Sequence[builtins.str] allowed_cidrs: Specify a list of CIDRs to whitelist. - :param builtins.bool enabled: Is ACL enabled? + :param Sequence[_builtins.str] allowed_cidrs: Specify a list of CIDRs to whitelist. + :param _builtins.bool enabled: Is ACL enabled? """ pulumi.set(__self__, "allowed_cidrs", allowed_cidrs) pulumi.set(__self__, "enabled", enabled) - @property + @_builtins.property @pulumi.getter(name="allowedCidrs") - def allowed_cidrs(self) -> Sequence[builtins.str]: + def allowed_cidrs(self) -> Sequence[_builtins.str]: """ Specify a list of CIDRs to whitelist. """ return pulumi.get(self, "allowed_cidrs") - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Is ACL enabled? """ @@ -3863,27 +4135,27 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - enabled: builtins.bool, - argus_instance_id: Optional[builtins.str] = None): + enabled: _builtins.bool, + argus_instance_id: Optional[_builtins.str] = None): """ - :param builtins.bool enabled: Flag to enable/disable Argus extensions. - :param builtins.str argus_instance_id: Argus instance ID to choose which Argus instance is used. Required when enabled is set to `true`. + :param _builtins.bool enabled: Flag to enable/disable Argus extensions. + :param _builtins.str argus_instance_id: Argus instance ID to choose which Argus instance is used. Required when enabled is set to `true`. """ pulumi.set(__self__, "enabled", enabled) if argus_instance_id is not None: pulumi.set(__self__, "argus_instance_id", argus_instance_id) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Flag to enable/disable Argus extensions. """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter(name="argusInstanceId") - def argus_instance_id(self) -> Optional[builtins.str]: + def argus_instance_id(self) -> Optional[_builtins.str]: """ Argus instance ID to choose which Argus instance is used. Required when enabled is set to `true`. """ @@ -3893,68 +4165,115 @@ def argus_instance_id(self) -> Optional[builtins.str]: @pulumi.output_type class SkeClusterExtensionsDns(dict): def __init__(__self__, *, - enabled: builtins.bool, - zones: Optional[Sequence[builtins.str]] = None): + enabled: _builtins.bool, + zones: Optional[Sequence[_builtins.str]] = None): """ - :param builtins.bool enabled: Flag to enable/disable DNS extensions - :param Sequence[builtins.str] zones: Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) + :param _builtins.bool enabled: Flag to enable/disable DNS extensions + :param Sequence[_builtins.str] zones: Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) """ pulumi.set(__self__, "enabled", enabled) if zones is not None: pulumi.set(__self__, "zones", zones) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Flag to enable/disable DNS extensions """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter - def zones(self) -> Optional[Sequence[builtins.str]]: + def zones(self) -> Optional[Sequence[_builtins.str]]: """ Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) """ return pulumi.get(self, "zones") +@pulumi.output_type +class SkeClusterExtensionsObservability(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "instanceId": + suggest = "instance_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SkeClusterExtensionsObservability. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SkeClusterExtensionsObservability.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SkeClusterExtensionsObservability.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enabled: _builtins.bool, + instance_id: Optional[_builtins.str] = None): + """ + :param _builtins.bool enabled: Flag to enable/disable Observability extensions. + :param _builtins.str instance_id: Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + """ + pulumi.set(__self__, "enabled", enabled) + if instance_id is not None: + pulumi.set(__self__, "instance_id", instance_id) + + @_builtins.property + @pulumi.getter + def enabled(self) -> _builtins.bool: + """ + Flag to enable/disable Observability extensions. + """ + return pulumi.get(self, "enabled") + + @_builtins.property + @pulumi.getter(name="instanceId") + def instance_id(self) -> Optional[_builtins.str]: + """ + Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + """ + return pulumi.get(self, "instance_id") + + @pulumi.output_type class SkeClusterHibernation(dict): def __init__(__self__, *, - end: builtins.str, - start: builtins.str, - timezone: Optional[builtins.str] = None): + end: _builtins.str, + start: _builtins.str, + timezone: Optional[_builtins.str] = None): """ - :param builtins.str end: End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. - :param builtins.str start: Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. - :param builtins.str timezone: Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. + :param _builtins.str end: End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. + :param _builtins.str start: Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. + :param _builtins.str timezone: Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. """ pulumi.set(__self__, "end", end) pulumi.set(__self__, "start", start) if timezone is not None: pulumi.set(__self__, "timezone", timezone) - @property + @_builtins.property @pulumi.getter - def end(self) -> builtins.str: + def end(self) -> _builtins.str: """ End time of hibernation in crontab syntax. E.g. `0 8 * * *` for waking up the cluster at 8am. """ return pulumi.get(self, "end") - @property + @_builtins.property @pulumi.getter - def start(self) -> builtins.str: + def start(self) -> _builtins.str: """ Start time of cluster hibernation in crontab syntax. E.g. `0 18 * * *` for starting everyday at 6pm. """ return pulumi.get(self, "start") - @property + @_builtins.property @pulumi.getter - def timezone(self) -> Optional[builtins.str]: + def timezone(self) -> Optional[_builtins.str]: """ Timezone name corresponding to a file in the IANA Time Zone database. i.e. `Europe/Berlin`. """ @@ -3983,15 +4302,15 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - end: builtins.str, - start: builtins.str, - enable_kubernetes_version_updates: Optional[builtins.bool] = None, - enable_machine_image_version_updates: Optional[builtins.bool] = None): + end: _builtins.str, + start: _builtins.str, + enable_kubernetes_version_updates: Optional[_builtins.bool] = None, + enable_machine_image_version_updates: Optional[_builtins.bool] = None): """ - :param builtins.str end: Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`. - :param builtins.str start: Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`. - :param builtins.bool enable_kubernetes_version_updates: Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). - :param builtins.bool enable_machine_image_version_updates: Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + :param _builtins.str end: Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`. + :param _builtins.str start: Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`. + :param _builtins.bool enable_kubernetes_version_updates: Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + :param _builtins.bool enable_machine_image_version_updates: Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ pulumi.set(__self__, "end", end) pulumi.set(__self__, "start", start) @@ -4000,33 +4319,33 @@ def __init__(__self__, *, if enable_machine_image_version_updates is not None: pulumi.set(__self__, "enable_machine_image_version_updates", enable_machine_image_version_updates) - @property + @_builtins.property @pulumi.getter - def end(self) -> builtins.str: + def end(self) -> _builtins.str: """ Time for maintenance window end. E.g. `01:23:45Z`, `05:00:00+02:00`. """ return pulumi.get(self, "end") - @property + @_builtins.property @pulumi.getter - def start(self) -> builtins.str: + def start(self) -> _builtins.str: """ Time for maintenance window start. E.g. `01:23:45Z`, `05:00:00+02:00`. """ return pulumi.get(self, "start") - @property + @_builtins.property @pulumi.getter(name="enableKubernetesVersionUpdates") - def enable_kubernetes_version_updates(self) -> Optional[builtins.bool]: + def enable_kubernetes_version_updates(self) -> Optional[_builtins.bool]: """ Flag to enable/disable auto-updates of the Kubernetes version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "enable_kubernetes_version_updates") - @property + @_builtins.property @pulumi.getter(name="enableMachineImageVersionUpdates") - def enable_machine_image_version_updates(self) -> Optional[builtins.bool]: + def enable_machine_image_version_updates(self) -> Optional[_builtins.bool]: """ Flag to enable/disable auto-updates of the OS image version. Defaults to `true`. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ @@ -4036,16 +4355,16 @@ def enable_machine_image_version_updates(self) -> Optional[builtins.bool]: @pulumi.output_type class SkeClusterNetwork(dict): def __init__(__self__, *, - id: Optional[builtins.str] = None): + id: Optional[_builtins.str] = None): """ - :param builtins.str id: ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. + :param _builtins.str id: ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. """ if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[builtins.str]: + def id(self) -> Optional[_builtins.str]: """ ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. """ @@ -4092,41 +4411,41 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - availability_zones: Sequence[builtins.str], - machine_type: builtins.str, - maximum: builtins.int, - minimum: builtins.int, - name: builtins.str, - allow_system_components: Optional[builtins.bool] = None, - cri: Optional[builtins.str] = None, - labels: Optional[Mapping[str, builtins.str]] = None, - max_surge: Optional[builtins.int] = None, - max_unavailable: Optional[builtins.int] = None, - os_name: Optional[builtins.str] = None, - os_version: Optional[builtins.str] = None, - os_version_min: Optional[builtins.str] = None, - os_version_used: Optional[builtins.str] = None, + availability_zones: Sequence[_builtins.str], + machine_type: _builtins.str, + maximum: _builtins.int, + minimum: _builtins.int, + name: _builtins.str, + allow_system_components: Optional[_builtins.bool] = None, + cri: Optional[_builtins.str] = None, + labels: Optional[Mapping[str, _builtins.str]] = None, + max_surge: Optional[_builtins.int] = None, + max_unavailable: Optional[_builtins.int] = None, + os_name: Optional[_builtins.str] = None, + os_version: Optional[_builtins.str] = None, + os_version_min: Optional[_builtins.str] = None, + os_version_used: Optional[_builtins.str] = None, taints: Optional[Sequence['outputs.SkeClusterNodePoolTaint']] = None, - volume_size: Optional[builtins.int] = None, - volume_type: Optional[builtins.str] = None): - """ - :param Sequence[builtins.str] availability_zones: Specify a list of availability zones. E.g. `eu01-m` - :param builtins.str machine_type: The machine type. - :param builtins.int maximum: Maximum number of nodes in the pool. - :param builtins.int minimum: Minimum number of nodes in the pool. - :param builtins.str name: Specifies the name of the node pool. - :param builtins.bool allow_system_components: Allow system components to run on this node pool. - :param builtins.str cri: Specifies the container runtime. Defaults to `containerd` - :param Mapping[str, builtins.str] labels: Labels to add to each node. - :param builtins.int max_surge: Maximum number of additional VMs that are created during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. - :param builtins.int max_unavailable: Maximum number of VMs that that can be unavailable during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. - :param builtins.str os_name: The name of the OS image. Defaults to `flatcar`. - :param builtins.str os_version: This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. - :param builtins.str os_version_min: The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. - :param builtins.str os_version_used: Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + volume_size: Optional[_builtins.int] = None, + volume_type: Optional[_builtins.str] = None): + """ + :param Sequence[_builtins.str] availability_zones: Specify a list of availability zones. E.g. `eu01-m` + :param _builtins.str machine_type: The machine type. + :param _builtins.int maximum: Maximum number of nodes in the pool. + :param _builtins.int minimum: Minimum number of nodes in the pool. + :param _builtins.str name: Specifies the name of the node pool. + :param _builtins.bool allow_system_components: Allow system components to run on this node pool. + :param _builtins.str cri: Specifies the container runtime. Defaults to `containerd` + :param Mapping[str, _builtins.str] labels: Labels to add to each node. + :param _builtins.int max_surge: Maximum number of additional VMs that are created during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. + :param _builtins.int max_unavailable: Maximum number of VMs that that can be unavailable during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. + :param _builtins.str os_name: The name of the OS image. Defaults to `flatcar`. + :param _builtins.str os_version: This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. + :param _builtins.str os_version_min: The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. + :param _builtins.str os_version_used: Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). :param Sequence['SkeClusterNodePoolTaintArgs'] taints: Specifies a taint list as defined below. - :param builtins.int volume_size: The volume size in GB. Defaults to `20` - :param builtins.str volume_type: Specifies the volume type. Defaults to `storage_premium_perf1`. + :param _builtins.int volume_size: The volume size in GB. Defaults to `20` + :param _builtins.str volume_type: Specifies the volume type. Defaults to `storage_premium_perf1`. """ pulumi.set(__self__, "availability_zones", availability_zones) pulumi.set(__self__, "machine_type", machine_type) @@ -4158,120 +4477,120 @@ def __init__(__self__, *, if volume_type is not None: pulumi.set(__self__, "volume_type", volume_type) - @property + @_builtins.property @pulumi.getter(name="availabilityZones") - def availability_zones(self) -> Sequence[builtins.str]: + def availability_zones(self) -> Sequence[_builtins.str]: """ Specify a list of availability zones. E.g. `eu01-m` """ return pulumi.get(self, "availability_zones") - @property + @_builtins.property @pulumi.getter(name="machineType") - def machine_type(self) -> builtins.str: + def machine_type(self) -> _builtins.str: """ The machine type. """ return pulumi.get(self, "machine_type") - @property + @_builtins.property @pulumi.getter - def maximum(self) -> builtins.int: + def maximum(self) -> _builtins.int: """ Maximum number of nodes in the pool. """ return pulumi.get(self, "maximum") - @property + @_builtins.property @pulumi.getter - def minimum(self) -> builtins.int: + def minimum(self) -> _builtins.int: """ Minimum number of nodes in the pool. """ return pulumi.get(self, "minimum") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Specifies the name of the node pool. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="allowSystemComponents") - def allow_system_components(self) -> Optional[builtins.bool]: + def allow_system_components(self) -> Optional[_builtins.bool]: """ Allow system components to run on this node pool. """ return pulumi.get(self, "allow_system_components") - @property + @_builtins.property @pulumi.getter - def cri(self) -> Optional[builtins.str]: + def cri(self) -> Optional[_builtins.str]: """ Specifies the container runtime. Defaults to `containerd` """ return pulumi.get(self, "cri") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[Mapping[str, builtins.str]]: + def labels(self) -> Optional[Mapping[str, _builtins.str]]: """ Labels to add to each node. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="maxSurge") - def max_surge(self) -> Optional[builtins.int]: + def max_surge(self) -> Optional[_builtins.int]: """ Maximum number of additional VMs that are created during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. """ return pulumi.get(self, "max_surge") - @property + @_builtins.property @pulumi.getter(name="maxUnavailable") - def max_unavailable(self) -> Optional[builtins.int]: + def max_unavailable(self) -> Optional[_builtins.int]: """ Maximum number of VMs that that can be unavailable during an update. If set (larger than 0), then it must be at least the amount of zones configured for the nodepool. The `max_surge` and `max_unavailable` fields cannot both be unset at the same time. """ return pulumi.get(self, "max_unavailable") - @property + @_builtins.property @pulumi.getter(name="osName") - def os_name(self) -> Optional[builtins.str]: + def os_name(self) -> Optional[_builtins.str]: """ The name of the OS image. Defaults to `flatcar`. """ return pulumi.get(self, "os_name") - @property + @_builtins.property @pulumi.getter(name="osVersion") @_utilities.deprecated("""Use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. Setting a specific OS image version will cause errors during minor OS upgrades due to forced updates.""") - def os_version(self) -> Optional[builtins.str]: + def os_version(self) -> Optional[_builtins.str]: """ This field is deprecated, use `os_version_min` to configure the version and `os_version_used` to get the currently used version instead. """ return pulumi.get(self, "os_version") - @property + @_builtins.property @pulumi.getter(name="osVersionMin") - def os_version_min(self) -> Optional[builtins.str]: + def os_version_min(self) -> Optional[_builtins.str]: """ The minimum OS image version. This field will be used to set the minimum OS image version on creation/update of the cluster. If unset, the latest supported OS image version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. """ return pulumi.get(self, "os_version_min") - @property + @_builtins.property @pulumi.getter(name="osVersionUsed") - def os_version_used(self) -> Optional[builtins.str]: + def os_version_used(self) -> Optional[_builtins.str]: """ Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "os_version_used") - @property + @_builtins.property @pulumi.getter def taints(self) -> Optional[Sequence['outputs.SkeClusterNodePoolTaint']]: """ @@ -4279,17 +4598,17 @@ def taints(self) -> Optional[Sequence['outputs.SkeClusterNodePoolTaint']]: """ return pulumi.get(self, "taints") - @property + @_builtins.property @pulumi.getter(name="volumeSize") - def volume_size(self) -> Optional[builtins.int]: + def volume_size(self) -> Optional[_builtins.int]: """ The volume size in GB. Defaults to `20` """ return pulumi.get(self, "volume_size") - @property + @_builtins.property @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[builtins.str]: + def volume_type(self) -> Optional[_builtins.str]: """ Specifies the volume type. Defaults to `storage_premium_perf1`. """ @@ -4299,38 +4618,38 @@ def volume_type(self) -> Optional[builtins.str]: @pulumi.output_type class SkeClusterNodePoolTaint(dict): def __init__(__self__, *, - effect: builtins.str, - key: builtins.str, - value: Optional[builtins.str] = None): + effect: _builtins.str, + key: _builtins.str, + value: Optional[_builtins.str] = None): """ - :param builtins.str effect: The taint effect. E.g `PreferNoSchedule`. - :param builtins.str key: Taint key to be applied to a node. - :param builtins.str value: Taint value corresponding to the taint key. + :param _builtins.str effect: The taint effect. E.g `PreferNoSchedule`. + :param _builtins.str key: Taint key to be applied to a node. + :param _builtins.str value: Taint value corresponding to the taint key. """ pulumi.set(__self__, "effect", effect) pulumi.set(__self__, "key", key) if value is not None: pulumi.set(__self__, "value", value) - @property + @_builtins.property @pulumi.getter - def effect(self) -> builtins.str: + def effect(self) -> _builtins.str: """ The taint effect. E.g `PreferNoSchedule`. """ return pulumi.get(self, "effect") - @property + @_builtins.property @pulumi.getter - def key(self) -> builtins.str: + def key(self) -> _builtins.str: """ Taint key to be applied to a node. """ return pulumi.get(self, "key") - @property + @_builtins.property @pulumi.getter - def value(self) -> Optional[builtins.str]: + def value(self) -> Optional[_builtins.str]: """ Taint value corresponding to the taint key. """ @@ -4340,10 +4659,10 @@ def value(self) -> Optional[builtins.str]: @pulumi.output_type class SqlserverflexInstanceFlavor(dict): def __init__(__self__, *, - cpu: builtins.int, - ram: builtins.int, - description: Optional[builtins.str] = None, - id: Optional[builtins.str] = None): + cpu: _builtins.int, + ram: _builtins.int, + description: Optional[_builtins.str] = None, + id: Optional[_builtins.str] = None): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "ram", ram) if description is not None: @@ -4351,24 +4670,24 @@ def __init__(__self__, *, if id is not None: pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> builtins.int: + def cpu(self) -> _builtins.int: return pulumi.get(self, "cpu") - @property + @_builtins.property @pulumi.getter - def ram(self) -> builtins.int: + def ram(self) -> _builtins.int: return pulumi.get(self, "ram") - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[builtins.str]: + def description(self) -> Optional[_builtins.str]: return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> Optional[builtins.str]: + def id(self) -> Optional[_builtins.str]: return pulumi.get(self, "id") @@ -4392,21 +4711,21 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - edition: Optional[builtins.str] = None, - retention_days: Optional[builtins.int] = None): + edition: Optional[_builtins.str] = None, + retention_days: Optional[_builtins.int] = None): if edition is not None: pulumi.set(__self__, "edition", edition) if retention_days is not None: pulumi.set(__self__, "retention_days", retention_days) - @property + @_builtins.property @pulumi.getter - def edition(self) -> Optional[builtins.str]: + def edition(self) -> Optional[_builtins.str]: return pulumi.get(self, "edition") - @property + @_builtins.property @pulumi.getter(name="retentionDays") - def retention_days(self) -> Optional[builtins.int]: + def retention_days(self) -> Optional[_builtins.int]: return pulumi.get(self, "retention_days") @@ -4430,66 +4749,91 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - class_: Optional[builtins.str] = None, - size: Optional[builtins.int] = None): + class_: Optional[_builtins.str] = None, + size: Optional[_builtins.int] = None): if class_ is not None: pulumi.set(__self__, "class_", class_) if size is not None: pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> Optional[builtins.str]: + def class_(self) -> Optional[_builtins.str]: return pulumi.get(self, "class_") - @property + @_builtins.property @pulumi.getter - def size(self) -> Optional[builtins.int]: + def size(self) -> Optional[_builtins.int]: return pulumi.get(self, "size") @pulumi.output_type class VolumeSource(dict): def __init__(__self__, *, - id: builtins.str, - type: builtins.str): + id: _builtins.str, + type: _builtins.str): """ - :param builtins.str id: The ID of the source, e.g. image ID - :param builtins.str type: The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. + :param _builtins.str id: The ID of the source, e.g. image ID + :param _builtins.str type: The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. """ pulumi.set(__self__, "id", id) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: """ The ID of the source, e.g. image ID """ return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. """ return pulumi.get(self, "type") +@pulumi.output_type +class GetCdnCustomDomainCertificateResult(dict): + def __init__(__self__, *, + version: _builtins.int): + """ + :param _builtins.int version: A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def version(self) -> _builtins.int: + """ + A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed. + """ + return pulumi.get(self, "version") + + @pulumi.output_type class GetCdnDistributionConfigResult(dict): def __init__(__self__, *, backend: 'outputs.GetCdnDistributionConfigBackendResult', - regions: Sequence[builtins.str]): + optimizer: 'outputs.GetCdnDistributionConfigOptimizerResult', + regions: Sequence[_builtins.str], + blocked_countries: Optional[Sequence[_builtins.str]] = None): """ :param 'GetCdnDistributionConfigBackendArgs' backend: The configured backend for the distribution - :param Sequence[builtins.str] regions: The configured regions where content will be hosted + :param 'GetCdnDistributionConfigOptimizerArgs' optimizer: Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + :param Sequence[_builtins.str] regions: The configured regions where content will be hosted + :param Sequence[_builtins.str] blocked_countries: The configured countries where distribution of content is blocked """ pulumi.set(__self__, "backend", backend) + pulumi.set(__self__, "optimizer", optimizer) pulumi.set(__self__, "regions", regions) + if blocked_countries is not None: + pulumi.set(__self__, "blocked_countries", blocked_countries) - @property + @_builtins.property @pulumi.getter def backend(self) -> 'outputs.GetCdnDistributionConfigBackendResult': """ @@ -4497,100 +4841,128 @@ def backend(self) -> 'outputs.GetCdnDistributionConfigBackendResult': """ return pulumi.get(self, "backend") - @property + @_builtins.property + @pulumi.getter + def optimizer(self) -> 'outputs.GetCdnDistributionConfigOptimizerResult': + """ + Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. + """ + return pulumi.get(self, "optimizer") + + @_builtins.property @pulumi.getter - def regions(self) -> Sequence[builtins.str]: + def regions(self) -> Sequence[_builtins.str]: """ The configured regions where content will be hosted """ return pulumi.get(self, "regions") + @_builtins.property + @pulumi.getter(name="blockedCountries") + def blocked_countries(self) -> Optional[Sequence[_builtins.str]]: + """ + The configured countries where distribution of content is blocked + """ + return pulumi.get(self, "blocked_countries") + @pulumi.output_type class GetCdnDistributionConfigBackendResult(dict): def __init__(__self__, *, - origin_request_headers: Mapping[str, builtins.str], - origin_url: builtins.str, - type: builtins.str): + origin_request_headers: Mapping[str, _builtins.str], + origin_url: _builtins.str, + type: _builtins.str): """ - :param Mapping[str, builtins.str] origin_request_headers: The configured origin request headers for the backend - :param builtins.str origin_url: The configured backend type for the distribution - :param builtins.str type: The configured backend type. Supported values are: `http`. + :param Mapping[str, _builtins.str] origin_request_headers: The configured origin request headers for the backend + :param _builtins.str origin_url: The configured backend type for the distribution + :param _builtins.str type: The configured backend type. Supported values are: `http`. """ pulumi.set(__self__, "origin_request_headers", origin_request_headers) pulumi.set(__self__, "origin_url", origin_url) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter(name="originRequestHeaders") - def origin_request_headers(self) -> Mapping[str, builtins.str]: + def origin_request_headers(self) -> Mapping[str, _builtins.str]: """ The configured origin request headers for the backend """ return pulumi.get(self, "origin_request_headers") - @property + @_builtins.property @pulumi.getter(name="originUrl") - def origin_url(self) -> builtins.str: + def origin_url(self) -> _builtins.str: """ The configured backend type for the distribution """ return pulumi.get(self, "origin_url") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ The configured backend type. Supported values are: `http`. """ return pulumi.get(self, "type") +@pulumi.output_type +class GetCdnDistributionConfigOptimizerResult(dict): + def __init__(__self__, *, + enabled: _builtins.bool): + pulumi.set(__self__, "enabled", enabled) + + @_builtins.property + @pulumi.getter + def enabled(self) -> _builtins.bool: + return pulumi.get(self, "enabled") + + @pulumi.output_type class GetCdnDistributionDomainResult(dict): def __init__(__self__, *, - errors: Sequence[builtins.str], - name: builtins.str, - status: builtins.str, - type: builtins.str): + errors: Sequence[_builtins.str], + name: _builtins.str, + status: _builtins.str, + type: _builtins.str): """ - :param Sequence[builtins.str] errors: List of domain errors - :param builtins.str name: The name of the domain - :param builtins.str status: The status of the domain - :param builtins.str type: The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user + :param Sequence[_builtins.str] errors: List of domain errors + :param _builtins.str name: The name of the domain + :param _builtins.str status: The status of the domain + :param _builtins.str type: The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user """ pulumi.set(__self__, "errors", errors) pulumi.set(__self__, "name", name) pulumi.set(__self__, "status", status) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def errors(self) -> Sequence[builtins.str]: + def errors(self) -> Sequence[_builtins.str]: """ List of domain errors """ return pulumi.get(self, "errors") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The name of the domain """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def status(self) -> builtins.str: + def status(self) -> _builtins.str: """ The status of the domain """ return pulumi.get(self, "status") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ The type of the domain. Each distribution has one domain of type "managed", and domains of type "custom" may be additionally created by the user """ @@ -4600,26 +4972,26 @@ def type(self) -> builtins.str: @pulumi.output_type class GetImageChecksumResult(dict): def __init__(__self__, *, - algorithm: builtins.str, - digest: builtins.str): + algorithm: _builtins.str, + digest: _builtins.str): """ - :param builtins.str algorithm: Algorithm for the checksum of the image data. - :param builtins.str digest: Hexdigest of the checksum of the image data. + :param _builtins.str algorithm: Algorithm for the checksum of the image data. + :param _builtins.str digest: Hexdigest of the checksum of the image data. """ pulumi.set(__self__, "algorithm", algorithm) pulumi.set(__self__, "digest", digest) - @property + @_builtins.property @pulumi.getter - def algorithm(self) -> builtins.str: + def algorithm(self) -> _builtins.str: """ Algorithm for the checksum of the image data. """ return pulumi.get(self, "algorithm") - @property + @_builtins.property @pulumi.getter - def digest(self) -> builtins.str: + def digest(self) -> _builtins.str: """ Hexdigest of the checksum of the image data. """ @@ -4629,33 +5001,33 @@ def digest(self) -> builtins.str: @pulumi.output_type class GetImageConfigResult(dict): def __init__(__self__, *, - boot_menu: builtins.bool, - cdrom_bus: builtins.str, - disk_bus: builtins.str, - nic_model: builtins.str, - operating_system: builtins.str, - operating_system_distro: builtins.str, - operating_system_version: builtins.str, - rescue_bus: builtins.str, - rescue_device: builtins.str, - secure_boot: builtins.bool, - uefi: builtins.bool, - video_model: builtins.str, - virtio_scsi: builtins.bool): - """ - :param builtins.bool boot_menu: Enables the BIOS bootmenu. - :param builtins.str cdrom_bus: Sets CDROM bus controller type. - :param builtins.str disk_bus: Sets Disk bus controller type. - :param builtins.str nic_model: Sets virtual network interface model. - :param builtins.str operating_system: Enables operating system specific optimizations. - :param builtins.str operating_system_distro: Operating system distribution. - :param builtins.str operating_system_version: Version of the operating system. - :param builtins.str rescue_bus: Sets the device bus when the image is used as a rescue image. - :param builtins.str rescue_device: Sets the device when the image is used as a rescue image. - :param builtins.bool secure_boot: Enables Secure Boot. - :param builtins.bool uefi: Enables UEFI boot. - :param builtins.str video_model: Sets Graphic device model. - :param builtins.bool virtio_scsi: Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + boot_menu: _builtins.bool, + cdrom_bus: _builtins.str, + disk_bus: _builtins.str, + nic_model: _builtins.str, + operating_system: _builtins.str, + operating_system_distro: _builtins.str, + operating_system_version: _builtins.str, + rescue_bus: _builtins.str, + rescue_device: _builtins.str, + secure_boot: _builtins.bool, + uefi: _builtins.bool, + video_model: _builtins.str, + virtio_scsi: _builtins.bool): + """ + :param _builtins.bool boot_menu: Enables the BIOS bootmenu. + :param _builtins.str cdrom_bus: Sets CDROM bus controller type. + :param _builtins.str disk_bus: Sets Disk bus controller type. + :param _builtins.str nic_model: Sets virtual network interface model. + :param _builtins.str operating_system: Enables operating system specific optimizations. + :param _builtins.str operating_system_distro: Operating system distribution. + :param _builtins.str operating_system_version: Version of the operating system. + :param _builtins.str rescue_bus: Sets the device bus when the image is used as a rescue image. + :param _builtins.str rescue_device: Sets the device when the image is used as a rescue image. + :param _builtins.bool secure_boot: Enables Secure Boot. + :param _builtins.bool uefi: Enables UEFI boot. + :param _builtins.str video_model: Sets Graphic device model. + :param _builtins.bool virtio_scsi: Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ pulumi.set(__self__, "boot_menu", boot_menu) pulumi.set(__self__, "cdrom_bus", cdrom_bus) @@ -4671,105 +5043,105 @@ def __init__(__self__, *, pulumi.set(__self__, "video_model", video_model) pulumi.set(__self__, "virtio_scsi", virtio_scsi) - @property + @_builtins.property @pulumi.getter(name="bootMenu") - def boot_menu(self) -> builtins.bool: + def boot_menu(self) -> _builtins.bool: """ Enables the BIOS bootmenu. """ return pulumi.get(self, "boot_menu") - @property + @_builtins.property @pulumi.getter(name="cdromBus") - def cdrom_bus(self) -> builtins.str: + def cdrom_bus(self) -> _builtins.str: """ Sets CDROM bus controller type. """ return pulumi.get(self, "cdrom_bus") - @property + @_builtins.property @pulumi.getter(name="diskBus") - def disk_bus(self) -> builtins.str: + def disk_bus(self) -> _builtins.str: """ Sets Disk bus controller type. """ return pulumi.get(self, "disk_bus") - @property + @_builtins.property @pulumi.getter(name="nicModel") - def nic_model(self) -> builtins.str: + def nic_model(self) -> _builtins.str: """ Sets virtual network interface model. """ return pulumi.get(self, "nic_model") - @property + @_builtins.property @pulumi.getter(name="operatingSystem") - def operating_system(self) -> builtins.str: + def operating_system(self) -> _builtins.str: """ Enables operating system specific optimizations. """ return pulumi.get(self, "operating_system") - @property + @_builtins.property @pulumi.getter(name="operatingSystemDistro") - def operating_system_distro(self) -> builtins.str: + def operating_system_distro(self) -> _builtins.str: """ Operating system distribution. """ return pulumi.get(self, "operating_system_distro") - @property + @_builtins.property @pulumi.getter(name="operatingSystemVersion") - def operating_system_version(self) -> builtins.str: + def operating_system_version(self) -> _builtins.str: """ Version of the operating system. """ return pulumi.get(self, "operating_system_version") - @property + @_builtins.property @pulumi.getter(name="rescueBus") - def rescue_bus(self) -> builtins.str: + def rescue_bus(self) -> _builtins.str: """ Sets the device bus when the image is used as a rescue image. """ return pulumi.get(self, "rescue_bus") - @property + @_builtins.property @pulumi.getter(name="rescueDevice") - def rescue_device(self) -> builtins.str: + def rescue_device(self) -> _builtins.str: """ Sets the device when the image is used as a rescue image. """ return pulumi.get(self, "rescue_device") - @property + @_builtins.property @pulumi.getter(name="secureBoot") - def secure_boot(self) -> builtins.bool: + def secure_boot(self) -> _builtins.bool: """ Enables Secure Boot. """ return pulumi.get(self, "secure_boot") - @property + @_builtins.property @pulumi.getter - def uefi(self) -> builtins.bool: + def uefi(self) -> _builtins.bool: """ Enables UEFI boot. """ return pulumi.get(self, "uefi") - @property + @_builtins.property @pulumi.getter(name="videoModel") - def video_model(self) -> builtins.str: + def video_model(self) -> _builtins.str: """ Sets Graphic device model. """ return pulumi.get(self, "video_model") - @property + @_builtins.property @pulumi.getter(name="virtioScsi") - def virtio_scsi(self) -> builtins.bool: + def virtio_scsi(self) -> _builtins.bool: """ Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ @@ -4777,77 +5149,323 @@ def virtio_scsi(self) -> builtins.bool: @pulumi.output_type -class GetLoadbalancerListenerResult(dict): +class GetImageV2ChecksumResult(dict): def __init__(__self__, *, - display_name: builtins.str, - port: builtins.int, - protocol: builtins.str, - target_pool: builtins.str, - server_name_indicators: Optional[Sequence['outputs.GetLoadbalancerListenerServerNameIndicatorResult']] = None): + algorithm: _builtins.str, + digest: _builtins.str): """ - :param builtins.int port: Port number where we listen for traffic. - :param builtins.str protocol: Protocol is the highest network protocol we understand to load balance. - :param builtins.str target_pool: Reference target pool by target pool name. - :param Sequence['GetLoadbalancerListenerServerNameIndicatorArgs'] server_name_indicators: A list of domain names to match in order to pass TLS traffic to the target pool in the current listener + :param _builtins.str algorithm: Algorithm for the checksum of the image data. + :param _builtins.str digest: Hexdigest of the checksum of the image data. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "target_pool", target_pool) - if server_name_indicators is not None: - pulumi.set(__self__, "server_name_indicators", server_name_indicators) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> builtins.str: - return pulumi.get(self, "display_name") + pulumi.set(__self__, "algorithm", algorithm) + pulumi.set(__self__, "digest", digest) - @property + @_builtins.property @pulumi.getter - def port(self) -> builtins.int: + def algorithm(self) -> _builtins.str: """ - Port number where we listen for traffic. + Algorithm for the checksum of the image data. """ - return pulumi.get(self, "port") + return pulumi.get(self, "algorithm") - @property + @_builtins.property @pulumi.getter - def protocol(self) -> builtins.str: - """ - Protocol is the highest network protocol we understand to load balance. - """ - return pulumi.get(self, "protocol") - - @property - @pulumi.getter(name="targetPool") - def target_pool(self) -> builtins.str: - """ - Reference target pool by target pool name. - """ - return pulumi.get(self, "target_pool") - - @property - @pulumi.getter(name="serverNameIndicators") - def server_name_indicators(self) -> Optional[Sequence['outputs.GetLoadbalancerListenerServerNameIndicatorResult']]: + def digest(self) -> _builtins.str: """ - A list of domain names to match in order to pass TLS traffic to the target pool in the current listener + Hexdigest of the checksum of the image data. """ - return pulumi.get(self, "server_name_indicators") + return pulumi.get(self, "digest") @pulumi.output_type -class GetLoadbalancerListenerServerNameIndicatorResult(dict): +class GetImageV2ConfigResult(dict): def __init__(__self__, *, - name: Optional[builtins.str] = None): + boot_menu: _builtins.bool, + cdrom_bus: _builtins.str, + disk_bus: _builtins.str, + nic_model: _builtins.str, + operating_system: _builtins.str, + operating_system_distro: _builtins.str, + operating_system_version: _builtins.str, + rescue_bus: _builtins.str, + rescue_device: _builtins.str, + secure_boot: _builtins.bool, + uefi: _builtins.bool, + video_model: _builtins.str, + virtio_scsi: _builtins.bool): + """ + :param _builtins.bool boot_menu: Enables the BIOS bootmenu. + :param _builtins.str cdrom_bus: Sets CDROM bus controller type. + :param _builtins.str disk_bus: Sets Disk bus controller type. + :param _builtins.str nic_model: Sets virtual network interface model. + :param _builtins.str operating_system: Enables operating system specific optimizations. + :param _builtins.str operating_system_distro: Operating system distribution. + :param _builtins.str operating_system_version: Version of the operating system. + :param _builtins.str rescue_bus: Sets the device bus when the image is used as a rescue image. + :param _builtins.str rescue_device: Sets the device when the image is used as a rescue image. + :param _builtins.bool secure_boot: Enables Secure Boot. + :param _builtins.bool uefi: Enables UEFI boot. + :param _builtins.str video_model: Sets Graphic device model. + :param _builtins.bool virtio_scsi: Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. """ - :param builtins.str name: A domain name to match in order to pass TLS traffic to the target pool in the current listener - """ - if name is not None: - pulumi.set(__self__, "name", name) + pulumi.set(__self__, "boot_menu", boot_menu) + pulumi.set(__self__, "cdrom_bus", cdrom_bus) + pulumi.set(__self__, "disk_bus", disk_bus) + pulumi.set(__self__, "nic_model", nic_model) + pulumi.set(__self__, "operating_system", operating_system) + pulumi.set(__self__, "operating_system_distro", operating_system_distro) + pulumi.set(__self__, "operating_system_version", operating_system_version) + pulumi.set(__self__, "rescue_bus", rescue_bus) + pulumi.set(__self__, "rescue_device", rescue_device) + pulumi.set(__self__, "secure_boot", secure_boot) + pulumi.set(__self__, "uefi", uefi) + pulumi.set(__self__, "video_model", video_model) + pulumi.set(__self__, "virtio_scsi", virtio_scsi) - @property - @pulumi.getter - def name(self) -> Optional[builtins.str]: + @_builtins.property + @pulumi.getter(name="bootMenu") + def boot_menu(self) -> _builtins.bool: + """ + Enables the BIOS bootmenu. + """ + return pulumi.get(self, "boot_menu") + + @_builtins.property + @pulumi.getter(name="cdromBus") + def cdrom_bus(self) -> _builtins.str: + """ + Sets CDROM bus controller type. + """ + return pulumi.get(self, "cdrom_bus") + + @_builtins.property + @pulumi.getter(name="diskBus") + def disk_bus(self) -> _builtins.str: + """ + Sets Disk bus controller type. + """ + return pulumi.get(self, "disk_bus") + + @_builtins.property + @pulumi.getter(name="nicModel") + def nic_model(self) -> _builtins.str: + """ + Sets virtual network interface model. + """ + return pulumi.get(self, "nic_model") + + @_builtins.property + @pulumi.getter(name="operatingSystem") + def operating_system(self) -> _builtins.str: + """ + Enables operating system specific optimizations. + """ + return pulumi.get(self, "operating_system") + + @_builtins.property + @pulumi.getter(name="operatingSystemDistro") + def operating_system_distro(self) -> _builtins.str: + """ + Operating system distribution. + """ + return pulumi.get(self, "operating_system_distro") + + @_builtins.property + @pulumi.getter(name="operatingSystemVersion") + def operating_system_version(self) -> _builtins.str: + """ + Version of the operating system. + """ + return pulumi.get(self, "operating_system_version") + + @_builtins.property + @pulumi.getter(name="rescueBus") + def rescue_bus(self) -> _builtins.str: + """ + Sets the device bus when the image is used as a rescue image. + """ + return pulumi.get(self, "rescue_bus") + + @_builtins.property + @pulumi.getter(name="rescueDevice") + def rescue_device(self) -> _builtins.str: + """ + Sets the device when the image is used as a rescue image. + """ + return pulumi.get(self, "rescue_device") + + @_builtins.property + @pulumi.getter(name="secureBoot") + def secure_boot(self) -> _builtins.bool: + """ + Enables Secure Boot. + """ + return pulumi.get(self, "secure_boot") + + @_builtins.property + @pulumi.getter + def uefi(self) -> _builtins.bool: + """ + Enables UEFI boot. + """ + return pulumi.get(self, "uefi") + + @_builtins.property + @pulumi.getter(name="videoModel") + def video_model(self) -> _builtins.str: + """ + Sets Graphic device model. + """ + return pulumi.get(self, "video_model") + + @_builtins.property + @pulumi.getter(name="virtioScsi") + def virtio_scsi(self) -> _builtins.bool: + """ + Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. + """ + return pulumi.get(self, "virtio_scsi") + + +@pulumi.output_type +class GetImageV2FilterResult(dict): + def __init__(__self__, *, + distro: Optional[_builtins.str] = None, + os: Optional[_builtins.str] = None, + secure_boot: Optional[_builtins.bool] = None, + uefi: Optional[_builtins.bool] = None, + version: Optional[_builtins.str] = None): + """ + :param _builtins.str distro: Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + :param _builtins.str os: Filter images by operating system type, such as `linux` or `windows`. + :param _builtins.bool secure_boot: Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + :param _builtins.bool uefi: Filter images based on UEFI support. Set to `true` to match images that support UEFI. + :param _builtins.str version: Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + """ + if distro is not None: + pulumi.set(__self__, "distro", distro) + if os is not None: + pulumi.set(__self__, "os", os) + if secure_boot is not None: + pulumi.set(__self__, "secure_boot", secure_boot) + if uefi is not None: + pulumi.set(__self__, "uefi", uefi) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def distro(self) -> Optional[_builtins.str]: + """ + Filter images by operating system distribution. For example: `ubuntu`, `ubuntu-arm64`, `debian`, `rhel`, etc. + """ + return pulumi.get(self, "distro") + + @_builtins.property + @pulumi.getter + def os(self) -> Optional[_builtins.str]: + """ + Filter images by operating system type, such as `linux` or `windows`. + """ + return pulumi.get(self, "os") + + @_builtins.property + @pulumi.getter(name="secureBoot") + def secure_boot(self) -> Optional[_builtins.bool]: + """ + Filter images with Secure Boot support. Set to `true` to match images that support Secure Boot. + """ + return pulumi.get(self, "secure_boot") + + @_builtins.property + @pulumi.getter + def uefi(self) -> Optional[_builtins.bool]: + """ + Filter images based on UEFI support. Set to `true` to match images that support UEFI. + """ + return pulumi.get(self, "uefi") + + @_builtins.property + @pulumi.getter + def version(self) -> Optional[_builtins.str]: + """ + Filter images by OS distribution version, such as `22.04`, `11`, or `9.1`. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class GetLoadbalancerListenerResult(dict): + def __init__(__self__, *, + display_name: _builtins.str, + port: _builtins.int, + protocol: _builtins.str, + target_pool: _builtins.str, + server_name_indicators: Optional[Sequence['outputs.GetLoadbalancerListenerServerNameIndicatorResult']] = None): + """ + :param _builtins.int port: Port number where we listen for traffic. + :param _builtins.str protocol: Protocol is the highest network protocol we understand to load balance. + :param _builtins.str target_pool: Reference target pool by target pool name. + :param Sequence['GetLoadbalancerListenerServerNameIndicatorArgs'] server_name_indicators: A list of domain names to match in order to pass TLS traffic to the target pool in the current listener + """ + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "port", port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "target_pool", target_pool) + if server_name_indicators is not None: + pulumi.set(__self__, "server_name_indicators", server_name_indicators) + + @_builtins.property + @pulumi.getter(name="displayName") + def display_name(self) -> _builtins.str: + return pulumi.get(self, "display_name") + + @_builtins.property + @pulumi.getter + def port(self) -> _builtins.int: + """ + Port number where we listen for traffic. + """ + return pulumi.get(self, "port") + + @_builtins.property + @pulumi.getter + def protocol(self) -> _builtins.str: + """ + Protocol is the highest network protocol we understand to load balance. + """ + return pulumi.get(self, "protocol") + + @_builtins.property + @pulumi.getter(name="targetPool") + def target_pool(self) -> _builtins.str: + """ + Reference target pool by target pool name. + """ + return pulumi.get(self, "target_pool") + + @_builtins.property + @pulumi.getter(name="serverNameIndicators") + def server_name_indicators(self) -> Optional[Sequence['outputs.GetLoadbalancerListenerServerNameIndicatorResult']]: + """ + A list of domain names to match in order to pass TLS traffic to the target pool in the current listener + """ + return pulumi.get(self, "server_name_indicators") + + +@pulumi.output_type +class GetLoadbalancerListenerServerNameIndicatorResult(dict): + def __init__(__self__, *, + name: Optional[_builtins.str] = None): + """ + :param _builtins.str name: A domain name to match in order to pass TLS traffic to the target pool in the current listener + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[_builtins.str]: """ A domain name to match in order to pass TLS traffic to the target pool in the current listener """ @@ -4857,26 +5475,26 @@ def name(self) -> Optional[builtins.str]: @pulumi.output_type class GetLoadbalancerNetworkResult(dict): def __init__(__self__, *, - network_id: builtins.str, - role: builtins.str): + network_id: _builtins.str, + role: _builtins.str): """ - :param builtins.str network_id: Openstack network ID. - :param builtins.str role: The role defines how the load balancer is using the network. + :param _builtins.str network_id: Openstack network ID. + :param _builtins.str role: The role defines how the load balancer is using the network. """ pulumi.set(__self__, "network_id", network_id) pulumi.set(__self__, "role", role) - @property + @_builtins.property @pulumi.getter(name="networkId") - def network_id(self) -> builtins.str: + def network_id(self) -> _builtins.str: """ Openstack network ID. """ return pulumi.get(self, "network_id") - @property + @_builtins.property @pulumi.getter - def role(self) -> builtins.str: + def role(self) -> _builtins.str: """ The role defines how the load balancer is using the network. """ @@ -4886,27 +5504,27 @@ def role(self) -> builtins.str: @pulumi.output_type class GetLoadbalancerOptionsResult(dict): def __init__(__self__, *, - acls: Sequence[builtins.str], + acls: Sequence[_builtins.str], observability: 'outputs.GetLoadbalancerOptionsObservabilityResult', - private_network_only: builtins.bool): + private_network_only: _builtins.bool): """ - :param Sequence[builtins.str] acls: Load Balancer is accessible only from an IP address in this range. + :param Sequence[_builtins.str] acls: Load Balancer is accessible only from an IP address in this range. :param 'GetLoadbalancerOptionsObservabilityArgs' observability: We offer Load Balancer metrics observability via ARGUS or external solutions. - :param builtins.bool private_network_only: If true, Load Balancer is accessible only via a private network IP address. + :param _builtins.bool private_network_only: If true, Load Balancer is accessible only via a private network IP address. """ pulumi.set(__self__, "acls", acls) pulumi.set(__self__, "observability", observability) pulumi.set(__self__, "private_network_only", private_network_only) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Sequence[builtins.str]: + def acls(self) -> Sequence[_builtins.str]: """ Load Balancer is accessible only from an IP address in this range. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter def observability(self) -> 'outputs.GetLoadbalancerOptionsObservabilityResult': """ @@ -4914,9 +5532,9 @@ def observability(self) -> 'outputs.GetLoadbalancerOptionsObservabilityResult': """ return pulumi.get(self, "observability") - @property + @_builtins.property @pulumi.getter(name="privateNetworkOnly") - def private_network_only(self) -> builtins.bool: + def private_network_only(self) -> _builtins.bool: """ If true, Load Balancer is accessible only via a private network IP address. """ @@ -4935,7 +5553,7 @@ def __init__(__self__, *, pulumi.set(__self__, "logs", logs) pulumi.set(__self__, "metrics", metrics) - @property + @_builtins.property @pulumi.getter def logs(self) -> 'outputs.GetLoadbalancerOptionsObservabilityLogsResult': """ @@ -4943,7 +5561,7 @@ def logs(self) -> 'outputs.GetLoadbalancerOptionsObservabilityLogsResult': """ return pulumi.get(self, "logs") - @property + @_builtins.property @pulumi.getter def metrics(self) -> 'outputs.GetLoadbalancerOptionsObservabilityMetricsResult': """ @@ -4955,26 +5573,26 @@ def metrics(self) -> 'outputs.GetLoadbalancerOptionsObservabilityMetricsResult': @pulumi.output_type class GetLoadbalancerOptionsObservabilityLogsResult(dict): def __init__(__self__, *, - credentials_ref: builtins.str, - push_url: builtins.str): + credentials_ref: _builtins.str, + push_url: _builtins.str): """ - :param builtins.str credentials_ref: Credentials reference for logs. - :param builtins.str push_url: Credentials reference for logs. + :param _builtins.str credentials_ref: Credentials reference for logs. + :param _builtins.str push_url: Credentials reference for logs. """ pulumi.set(__self__, "credentials_ref", credentials_ref) pulumi.set(__self__, "push_url", push_url) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> builtins.str: + def credentials_ref(self) -> _builtins.str: """ Credentials reference for logs. """ return pulumi.get(self, "credentials_ref") - @property + @_builtins.property @pulumi.getter(name="pushUrl") - def push_url(self) -> builtins.str: + def push_url(self) -> _builtins.str: """ Credentials reference for logs. """ @@ -4984,26 +5602,26 @@ def push_url(self) -> builtins.str: @pulumi.output_type class GetLoadbalancerOptionsObservabilityMetricsResult(dict): def __init__(__self__, *, - credentials_ref: builtins.str, - push_url: builtins.str): + credentials_ref: _builtins.str, + push_url: _builtins.str): """ - :param builtins.str credentials_ref: Credentials reference for metrics. - :param builtins.str push_url: Credentials reference for metrics. + :param _builtins.str credentials_ref: Credentials reference for metrics. + :param _builtins.str push_url: Credentials reference for metrics. """ pulumi.set(__self__, "credentials_ref", credentials_ref) pulumi.set(__self__, "push_url", push_url) - @property + @_builtins.property @pulumi.getter(name="credentialsRef") - def credentials_ref(self) -> builtins.str: + def credentials_ref(self) -> _builtins.str: """ Credentials reference for metrics. """ return pulumi.get(self, "credentials_ref") - @property + @_builtins.property @pulumi.getter(name="pushUrl") - def push_url(self) -> builtins.str: + def push_url(self) -> _builtins.str: """ Credentials reference for metrics. """ @@ -5014,13 +5632,13 @@ def push_url(self) -> builtins.str: class GetLoadbalancerTargetPoolResult(dict): def __init__(__self__, *, active_health_check: 'outputs.GetLoadbalancerTargetPoolActiveHealthCheckResult', - name: builtins.str, - target_port: builtins.int, + name: _builtins.str, + target_port: _builtins.int, targets: Sequence['outputs.GetLoadbalancerTargetPoolTargetResult'], session_persistence: Optional['outputs.GetLoadbalancerTargetPoolSessionPersistenceResult'] = None): """ - :param builtins.str name: Target pool name. - :param builtins.int target_port: Identical port number where each target listens for traffic. + :param _builtins.str name: Target pool name. + :param _builtins.int target_port: Identical port number where each target listens for traffic. :param Sequence['GetLoadbalancerTargetPoolTargetArgs'] targets: List of all targets which will be used in the pool. Limited to 1000. :param 'GetLoadbalancerTargetPoolSessionPersistenceArgs' session_persistence: Here you can setup various session persistence options, so far only "`use_source_ip_address`" is supported. """ @@ -5031,28 +5649,28 @@ def __init__(__self__, *, if session_persistence is not None: pulumi.set(__self__, "session_persistence", session_persistence) - @property + @_builtins.property @pulumi.getter(name="activeHealthCheck") def active_health_check(self) -> 'outputs.GetLoadbalancerTargetPoolActiveHealthCheckResult': return pulumi.get(self, "active_health_check") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Target pool name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="targetPort") - def target_port(self) -> builtins.int: + def target_port(self) -> _builtins.int: """ Identical port number where each target listens for traffic. """ return pulumi.get(self, "target_port") - @property + @_builtins.property @pulumi.getter def targets(self) -> Sequence['outputs.GetLoadbalancerTargetPoolTargetResult']: """ @@ -5060,7 +5678,7 @@ def targets(self) -> Sequence['outputs.GetLoadbalancerTargetPoolTargetResult']: """ return pulumi.get(self, "targets") - @property + @_builtins.property @pulumi.getter(name="sessionPersistence") def session_persistence(self) -> Optional['outputs.GetLoadbalancerTargetPoolSessionPersistenceResult']: """ @@ -5072,17 +5690,17 @@ def session_persistence(self) -> Optional['outputs.GetLoadbalancerTargetPoolSess @pulumi.output_type class GetLoadbalancerTargetPoolActiveHealthCheckResult(dict): def __init__(__self__, *, - healthy_threshold: builtins.int, - interval: builtins.str, - interval_jitter: builtins.str, - timeout: builtins.str, - unhealthy_threshold: builtins.int): - """ - :param builtins.int healthy_threshold: Healthy threshold of the health checking. - :param builtins.str interval: Interval duration of health checking in seconds. - :param builtins.str interval_jitter: Interval duration threshold of the health checking in seconds. - :param builtins.str timeout: Active health checking timeout duration in seconds. - :param builtins.int unhealthy_threshold: Unhealthy threshold of the health checking. + healthy_threshold: _builtins.int, + interval: _builtins.str, + interval_jitter: _builtins.str, + timeout: _builtins.str, + unhealthy_threshold: _builtins.int): + """ + :param _builtins.int healthy_threshold: Healthy threshold of the health checking. + :param _builtins.str interval: Interval duration of health checking in seconds. + :param _builtins.str interval_jitter: Interval duration threshold of the health checking in seconds. + :param _builtins.str timeout: Active health checking timeout duration in seconds. + :param _builtins.int unhealthy_threshold: Unhealthy threshold of the health checking. """ pulumi.set(__self__, "healthy_threshold", healthy_threshold) pulumi.set(__self__, "interval", interval) @@ -5090,41 +5708,41 @@ def __init__(__self__, *, pulumi.set(__self__, "timeout", timeout) pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - @property + @_builtins.property @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> builtins.int: + def healthy_threshold(self) -> _builtins.int: """ Healthy threshold of the health checking. """ return pulumi.get(self, "healthy_threshold") - @property + @_builtins.property @pulumi.getter - def interval(self) -> builtins.str: + def interval(self) -> _builtins.str: """ Interval duration of health checking in seconds. """ return pulumi.get(self, "interval") - @property + @_builtins.property @pulumi.getter(name="intervalJitter") - def interval_jitter(self) -> builtins.str: + def interval_jitter(self) -> _builtins.str: """ Interval duration threshold of the health checking in seconds. """ return pulumi.get(self, "interval_jitter") - @property + @_builtins.property @pulumi.getter - def timeout(self) -> builtins.str: + def timeout(self) -> _builtins.str: """ Active health checking timeout duration in seconds. """ return pulumi.get(self, "timeout") - @property + @_builtins.property @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> builtins.int: + def unhealthy_threshold(self) -> _builtins.int: """ Unhealthy threshold of the health checking. """ @@ -5134,16 +5752,16 @@ def unhealthy_threshold(self) -> builtins.int: @pulumi.output_type class GetLoadbalancerTargetPoolSessionPersistenceResult(dict): def __init__(__self__, *, - use_source_ip_address: Optional[builtins.bool] = None): + use_source_ip_address: Optional[_builtins.bool] = None): """ - :param builtins.bool use_source_ip_address: If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. + :param _builtins.bool use_source_ip_address: If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. """ if use_source_ip_address is not None: pulumi.set(__self__, "use_source_ip_address", use_source_ip_address) - @property + @_builtins.property @pulumi.getter(name="useSourceIpAddress") - def use_source_ip_address(self) -> Optional[builtins.bool]: + def use_source_ip_address(self) -> Optional[_builtins.bool]: """ If true then all connections from one source IP address are redirected to the same target. This setting changes the load balancing algorithm to Maglev. """ @@ -5153,26 +5771,26 @@ def use_source_ip_address(self) -> Optional[builtins.bool]: @pulumi.output_type class GetLoadbalancerTargetPoolTargetResult(dict): def __init__(__self__, *, - display_name: builtins.str, - ip: builtins.str): + display_name: _builtins.str, + ip: _builtins.str): """ - :param builtins.str display_name: Target display name - :param builtins.str ip: Target IP + :param _builtins.str display_name: Target display name + :param _builtins.str ip: Target IP """ pulumi.set(__self__, "display_name", display_name) pulumi.set(__self__, "ip", ip) - @property + @_builtins.property @pulumi.getter(name="displayName") - def display_name(self) -> builtins.str: + def display_name(self) -> _builtins.str: """ Target display name """ return pulumi.get(self, "display_name") - @property + @_builtins.property @pulumi.getter - def ip(self) -> builtins.str: + def ip(self) -> _builtins.str: """ Target IP """ @@ -5182,41 +5800,41 @@ def ip(self) -> builtins.str: @pulumi.output_type class GetLogmeInstanceParametersResult(dict): def __init__(__self__, *, - enable_monitoring: builtins.bool, - fluentd_tcp: builtins.int, - fluentd_tls: builtins.int, - fluentd_tls_ciphers: builtins.str, - fluentd_tls_max_version: builtins.str, - fluentd_tls_min_version: builtins.str, - fluentd_tls_version: builtins.str, - fluentd_udp: builtins.int, - graphite: builtins.str, - ism_deletion_after: builtins.str, - ism_jitter: builtins.float, - ism_job_interval: builtins.int, - java_heapspace: builtins.int, - java_maxmetaspace: builtins.int, - max_disk_threshold: builtins.int, - metrics_frequency: builtins.int, - metrics_prefix: builtins.str, - monitoring_instance_id: builtins.str, - opensearch_tls_ciphers: Sequence[builtins.str], - opensearch_tls_protocols: Sequence[builtins.str], - sgw_acl: builtins.str, - syslogs: Sequence[builtins.str]): - """ - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - :param builtins.str ism_deletion_after: Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. - :param builtins.int ism_job_interval: Jitter of the execution time. - :param builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - :param builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. + enable_monitoring: _builtins.bool, + fluentd_tcp: _builtins.int, + fluentd_tls: _builtins.int, + fluentd_tls_ciphers: _builtins.str, + fluentd_tls_max_version: _builtins.str, + fluentd_tls_min_version: _builtins.str, + fluentd_tls_version: _builtins.str, + fluentd_udp: _builtins.int, + graphite: _builtins.str, + ism_deletion_after: _builtins.str, + ism_jitter: _builtins.float, + ism_job_interval: _builtins.int, + java_heapspace: _builtins.int, + java_maxmetaspace: _builtins.int, + max_disk_threshold: _builtins.int, + metrics_frequency: _builtins.int, + metrics_prefix: _builtins.str, + monitoring_instance_id: _builtins.str, + opensearch_tls_ciphers: Sequence[_builtins.str], + opensearch_tls_protocols: Sequence[_builtins.str], + sgw_acl: _builtins.str, + syslogs: Sequence[_builtins.str]): + """ + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + :param _builtins.str ism_deletion_after: Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. + :param _builtins.int ism_job_interval: Jitter of the execution time. + :param _builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + :param _builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. """ pulumi.set(__self__, "enable_monitoring", enable_monitoring) pulumi.set(__self__, "fluentd_tcp", fluentd_tcp) @@ -5241,147 +5859,147 @@ def __init__(__self__, *, pulumi.set(__self__, "sgw_acl", sgw_acl) pulumi.set(__self__, "syslogs", syslogs) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> builtins.bool: + def enable_monitoring(self) -> _builtins.bool: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter(name="fluentdTcp") - def fluentd_tcp(self) -> builtins.int: + def fluentd_tcp(self) -> _builtins.int: return pulumi.get(self, "fluentd_tcp") - @property + @_builtins.property @pulumi.getter(name="fluentdTls") - def fluentd_tls(self) -> builtins.int: + def fluentd_tls(self) -> _builtins.int: return pulumi.get(self, "fluentd_tls") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsCiphers") - def fluentd_tls_ciphers(self) -> builtins.str: + def fluentd_tls_ciphers(self) -> _builtins.str: return pulumi.get(self, "fluentd_tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsMaxVersion") - def fluentd_tls_max_version(self) -> builtins.str: + def fluentd_tls_max_version(self) -> _builtins.str: return pulumi.get(self, "fluentd_tls_max_version") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsMinVersion") - def fluentd_tls_min_version(self) -> builtins.str: + def fluentd_tls_min_version(self) -> _builtins.str: return pulumi.get(self, "fluentd_tls_min_version") - @property + @_builtins.property @pulumi.getter(name="fluentdTlsVersion") - def fluentd_tls_version(self) -> builtins.str: + def fluentd_tls_version(self) -> _builtins.str: return pulumi.get(self, "fluentd_tls_version") - @property + @_builtins.property @pulumi.getter(name="fluentdUdp") - def fluentd_udp(self) -> builtins.int: + def fluentd_udp(self) -> _builtins.int: return pulumi.get(self, "fluentd_udp") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> builtins.str: + def graphite(self) -> _builtins.str: """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="ismDeletionAfter") - def ism_deletion_after(self) -> builtins.str: + def ism_deletion_after(self) -> _builtins.str: """ Combination of an integer and a timerange when an index will be considered "old" and can be deleted. Possible values for the timerange are `s`, `m`, `h` and `d`. """ return pulumi.get(self, "ism_deletion_after") - @property + @_builtins.property @pulumi.getter(name="ismJitter") - def ism_jitter(self) -> builtins.float: + def ism_jitter(self) -> _builtins.float: return pulumi.get(self, "ism_jitter") - @property + @_builtins.property @pulumi.getter(name="ismJobInterval") - def ism_job_interval(self) -> builtins.int: + def ism_job_interval(self) -> _builtins.int: """ Jitter of the execution time. """ return pulumi.get(self, "ism_job_interval") - @property + @_builtins.property @pulumi.getter(name="javaHeapspace") - def java_heapspace(self) -> builtins.int: + def java_heapspace(self) -> _builtins.int: """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ return pulumi.get(self, "java_heapspace") - @property + @_builtins.property @pulumi.getter(name="javaMaxmetaspace") - def java_maxmetaspace(self) -> builtins.int: + def java_maxmetaspace(self) -> _builtins.int: """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ return pulumi.get(self, "java_maxmetaspace") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> builtins.int: + def max_disk_threshold(self) -> _builtins.int: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> builtins.int: + def metrics_frequency(self) -> _builtins.int: """ The frequency in seconds at which metrics are emitted (in seconds). """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> builtins.str: + def metrics_prefix(self) -> _builtins.str: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> builtins.str: + def monitoring_instance_id(self) -> _builtins.str: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter(name="opensearchTlsCiphers") - def opensearch_tls_ciphers(self) -> Sequence[builtins.str]: + def opensearch_tls_ciphers(self) -> Sequence[_builtins.str]: return pulumi.get(self, "opensearch_tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="opensearchTlsProtocols") - def opensearch_tls_protocols(self) -> Sequence[builtins.str]: + def opensearch_tls_protocols(self) -> Sequence[_builtins.str]: return pulumi.get(self, "opensearch_tls_protocols") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> builtins.str: + def sgw_acl(self) -> _builtins.str: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Sequence[builtins.str]: + def syslogs(self) -> Sequence[_builtins.str]: """ List of syslog servers to send logs to. """ @@ -5391,22 +6009,22 @@ def syslogs(self) -> Sequence[builtins.str]: @pulumi.output_type class GetMariadbInstanceParametersResult(dict): def __init__(__self__, *, - enable_monitoring: builtins.bool, - graphite: builtins.str, - max_disk_threshold: builtins.int, - metrics_frequency: builtins.int, - metrics_prefix: builtins.str, - monitoring_instance_id: builtins.str, - sgw_acl: builtins.str, - syslogs: Sequence[builtins.str]): - """ - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. + enable_monitoring: _builtins.bool, + graphite: _builtins.str, + max_disk_threshold: _builtins.int, + metrics_frequency: _builtins.int, + metrics_prefix: _builtins.str, + monitoring_instance_id: _builtins.str, + sgw_acl: _builtins.str, + syslogs: Sequence[_builtins.str]): + """ + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. """ pulumi.set(__self__, "enable_monitoring", enable_monitoring) pulumi.set(__self__, "graphite", graphite) @@ -5417,62 +6035,62 @@ def __init__(__self__, *, pulumi.set(__self__, "sgw_acl", sgw_acl) pulumi.set(__self__, "syslogs", syslogs) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> builtins.bool: + def enable_monitoring(self) -> _builtins.bool: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> builtins.str: + def graphite(self) -> _builtins.str: return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> builtins.int: + def max_disk_threshold(self) -> _builtins.int: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> builtins.int: + def metrics_frequency(self) -> _builtins.int: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> builtins.str: + def metrics_prefix(self) -> _builtins.str: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> builtins.str: + def monitoring_instance_id(self) -> _builtins.str: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> builtins.str: + def sgw_acl(self) -> _builtins.str: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Sequence[builtins.str]: + def syslogs(self) -> Sequence[_builtins.str]: """ List of syslog servers to send logs to. """ @@ -5482,52 +6100,52 @@ def syslogs(self) -> Sequence[builtins.str]: @pulumi.output_type class GetMongodbflexInstanceFlavorResult(dict): def __init__(__self__, *, - cpu: builtins.int, - description: builtins.str, - id: builtins.str, - ram: builtins.int): + cpu: _builtins.int, + description: _builtins.str, + id: _builtins.str, + ram: _builtins.int): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "description", description) pulumi.set(__self__, "id", id) pulumi.set(__self__, "ram", ram) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> builtins.int: + def cpu(self) -> _builtins.int: return pulumi.get(self, "cpu") - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def ram(self) -> builtins.int: + def ram(self) -> _builtins.int: return pulumi.get(self, "ram") @pulumi.output_type class GetMongodbflexInstanceOptionsResult(dict): def __init__(__self__, *, - daily_snapshot_retention_days: builtins.int, - monthly_snapshot_retention_months: builtins.int, - point_in_time_window_hours: builtins.int, - snapshot_retention_days: builtins.int, - type: builtins.str, - weekly_snapshot_retention_weeks: builtins.int): - """ - :param builtins.int daily_snapshot_retention_days: The number of days that daily backups will be retained. - :param builtins.int monthly_snapshot_retention_months: The number of months that monthly backups will be retained. - :param builtins.int point_in_time_window_hours: The number of hours back in time the point-in-time recovery feature will be able to recover. - :param builtins.int snapshot_retention_days: The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. - :param builtins.str type: Type of the MongoDB Flex instance. - :param builtins.int weekly_snapshot_retention_weeks: The number of weeks that weekly backups will be retained. + daily_snapshot_retention_days: _builtins.int, + monthly_snapshot_retention_months: _builtins.int, + point_in_time_window_hours: _builtins.int, + snapshot_retention_days: _builtins.int, + type: _builtins.str, + weekly_snapshot_retention_weeks: _builtins.int): + """ + :param _builtins.int daily_snapshot_retention_days: The number of days that daily backups will be retained. + :param _builtins.int monthly_snapshot_retention_months: The number of months that monthly backups will be retained. + :param _builtins.int point_in_time_window_hours: The number of hours back in time the point-in-time recovery feature will be able to recover. + :param _builtins.int snapshot_retention_days: The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. + :param _builtins.str type: Type of the MongoDB Flex instance. + :param _builtins.int weekly_snapshot_retention_weeks: The number of weeks that weekly backups will be retained. """ pulumi.set(__self__, "daily_snapshot_retention_days", daily_snapshot_retention_days) pulumi.set(__self__, "monthly_snapshot_retention_months", monthly_snapshot_retention_months) @@ -5536,49 +6154,49 @@ def __init__(__self__, *, pulumi.set(__self__, "type", type) pulumi.set(__self__, "weekly_snapshot_retention_weeks", weekly_snapshot_retention_weeks) - @property + @_builtins.property @pulumi.getter(name="dailySnapshotRetentionDays") - def daily_snapshot_retention_days(self) -> builtins.int: + def daily_snapshot_retention_days(self) -> _builtins.int: """ The number of days that daily backups will be retained. """ return pulumi.get(self, "daily_snapshot_retention_days") - @property + @_builtins.property @pulumi.getter(name="monthlySnapshotRetentionMonths") - def monthly_snapshot_retention_months(self) -> builtins.int: + def monthly_snapshot_retention_months(self) -> _builtins.int: """ The number of months that monthly backups will be retained. """ return pulumi.get(self, "monthly_snapshot_retention_months") - @property + @_builtins.property @pulumi.getter(name="pointInTimeWindowHours") - def point_in_time_window_hours(self) -> builtins.int: + def point_in_time_window_hours(self) -> _builtins.int: """ The number of hours back in time the point-in-time recovery feature will be able to recover. """ return pulumi.get(self, "point_in_time_window_hours") - @property + @_builtins.property @pulumi.getter(name="snapshotRetentionDays") - def snapshot_retention_days(self) -> builtins.int: + def snapshot_retention_days(self) -> _builtins.int: """ The number of days that continuous backups (controlled via the `backup_schedule`) will be retained. """ return pulumi.get(self, "snapshot_retention_days") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ Type of the MongoDB Flex instance. """ return pulumi.get(self, "type") - @property + @_builtins.property @pulumi.getter(name="weeklySnapshotRetentionWeeks") - def weekly_snapshot_retention_weeks(self) -> builtins.int: + def weekly_snapshot_retention_weeks(self) -> _builtins.int: """ The number of weeks that weekly backups will be retained. """ @@ -5588,55 +6206,55 @@ def weekly_snapshot_retention_weeks(self) -> builtins.int: @pulumi.output_type class GetMongodbflexInstanceStorageResult(dict): def __init__(__self__, *, - class_: builtins.str, - size: builtins.int): + class_: _builtins.str, + size: _builtins.int): pulumi.set(__self__, "class_", class_) pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> builtins.str: + def class_(self) -> _builtins.str: return pulumi.get(self, "class_") - @property + @_builtins.property @pulumi.getter - def size(self) -> builtins.int: + def size(self) -> _builtins.int: return pulumi.get(self, "size") @pulumi.output_type class GetNetworkAreaNetworkRangeResult(dict): def __init__(__self__, *, - network_range_id: builtins.str, - prefix: builtins.str): + network_range_id: _builtins.str, + prefix: _builtins.str): pulumi.set(__self__, "network_range_id", network_range_id) pulumi.set(__self__, "prefix", prefix) - @property + @_builtins.property @pulumi.getter(name="networkRangeId") - def network_range_id(self) -> builtins.str: + def network_range_id(self) -> _builtins.str: return pulumi.get(self, "network_range_id") - @property + @_builtins.property @pulumi.getter - def prefix(self) -> builtins.str: + def prefix(self) -> _builtins.str: return pulumi.get(self, "prefix") @pulumi.output_type class GetObservabilityAlertgroupRuleResult(dict): def __init__(__self__, *, - alert: builtins.str, - annotations: Mapping[str, builtins.str], - expression: builtins.str, - for_: builtins.str, - labels: Mapping[str, builtins.str]): - """ - :param builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. - :param Mapping[str, builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert - :param builtins.str expression: The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - :param builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - :param Mapping[str, builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert + alert: _builtins.str, + annotations: Mapping[str, _builtins.str], + expression: _builtins.str, + for_: _builtins.str, + labels: Mapping[str, _builtins.str]): + """ + :param _builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. + :param Mapping[str, _builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert + :param _builtins.str expression: The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + :param _builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + :param Mapping[str, _builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert """ pulumi.set(__self__, "alert", alert) pulumi.set(__self__, "annotations", annotations) @@ -5644,41 +6262,41 @@ def __init__(__self__, *, pulumi.set(__self__, "for_", for_) pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def alert(self) -> builtins.str: + def alert(self) -> _builtins.str: """ The name of the alert rule. Is the identifier and must be unique in the group. """ return pulumi.get(self, "alert") - @property + @_builtins.property @pulumi.getter - def annotations(self) -> Mapping[str, builtins.str]: + def annotations(self) -> Mapping[str, _builtins.str]: """ A map of key:value. Annotations to add or overwrite for each alert """ return pulumi.get(self, "annotations") - @property + @_builtins.property @pulumi.getter - def expression(self) -> builtins.str: + def expression(self) -> _builtins.str: """ The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ return pulumi.get(self, "expression") - @property + @_builtins.property @pulumi.getter(name="for") - def for_(self) -> builtins.str: + def for_(self) -> _builtins.str: """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ return pulumi.get(self, "for_") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ A map of key:value. Labels to add or overwrite for each alert """ @@ -5700,7 +6318,7 @@ def __init__(__self__, *, pulumi.set(__self__, "receivers", receivers) pulumi.set(__self__, "route", route) - @property + @_builtins.property @pulumi.getter(name="global") def global_(self) -> 'outputs.GetObservabilityInstanceAlertConfigGlobalResult': """ @@ -5708,7 +6326,7 @@ def global_(self) -> 'outputs.GetObservabilityInstanceAlertConfigGlobalResult': """ return pulumi.get(self, "global_") - @property + @_builtins.property @pulumi.getter def receivers(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfigReceiverResult']: """ @@ -5716,7 +6334,7 @@ def receivers(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfigRece """ return pulumi.get(self, "receivers") - @property + @_builtins.property @pulumi.getter def route(self) -> 'outputs.GetObservabilityInstanceAlertConfigRouteResult': """ @@ -5728,23 +6346,23 @@ def route(self) -> 'outputs.GetObservabilityInstanceAlertConfigRouteResult': @pulumi.output_type class GetObservabilityInstanceAlertConfigGlobalResult(dict): def __init__(__self__, *, - opsgenie_api_key: builtins.str, - opsgenie_api_url: builtins.str, - resolve_timeout: builtins.str, - smtp_auth_identity: builtins.str, - smtp_auth_password: builtins.str, - smtp_auth_username: builtins.str, - smtp_from: builtins.str, - smtp_smart_host: builtins.str): - """ - :param builtins.str opsgenie_api_key: The API key for OpsGenie. - :param builtins.str opsgenie_api_url: The host to send OpsGenie API requests to. Must be a valid URL - :param builtins.str resolve_timeout: The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. - :param builtins.str smtp_auth_identity: SMTP authentication information. Must be a valid email address - :param builtins.str smtp_auth_password: SMTP Auth using LOGIN and PLAIN. - :param builtins.str smtp_auth_username: SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. - :param builtins.str smtp_from: The default SMTP From header field. Must be a valid email address - :param builtins.str smtp_smart_host: The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). + opsgenie_api_key: _builtins.str, + opsgenie_api_url: _builtins.str, + resolve_timeout: _builtins.str, + smtp_auth_identity: _builtins.str, + smtp_auth_password: _builtins.str, + smtp_auth_username: _builtins.str, + smtp_from: _builtins.str, + smtp_smart_host: _builtins.str): + """ + :param _builtins.str opsgenie_api_key: The API key for OpsGenie. + :param _builtins.str opsgenie_api_url: The host to send OpsGenie API requests to. Must be a valid URL + :param _builtins.str resolve_timeout: The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. + :param _builtins.str smtp_auth_identity: SMTP authentication information. Must be a valid email address + :param _builtins.str smtp_auth_password: SMTP Auth using LOGIN and PLAIN. + :param _builtins.str smtp_auth_username: SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. + :param _builtins.str smtp_from: The default SMTP From header field. Must be a valid email address + :param _builtins.str smtp_smart_host: The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). """ pulumi.set(__self__, "opsgenie_api_key", opsgenie_api_key) pulumi.set(__self__, "opsgenie_api_url", opsgenie_api_url) @@ -5755,65 +6373,65 @@ def __init__(__self__, *, pulumi.set(__self__, "smtp_from", smtp_from) pulumi.set(__self__, "smtp_smart_host", smtp_smart_host) - @property + @_builtins.property @pulumi.getter(name="opsgenieApiKey") - def opsgenie_api_key(self) -> builtins.str: + def opsgenie_api_key(self) -> _builtins.str: """ The API key for OpsGenie. """ return pulumi.get(self, "opsgenie_api_key") - @property + @_builtins.property @pulumi.getter(name="opsgenieApiUrl") - def opsgenie_api_url(self) -> builtins.str: + def opsgenie_api_url(self) -> _builtins.str: """ The host to send OpsGenie API requests to. Must be a valid URL """ return pulumi.get(self, "opsgenie_api_url") - @property + @_builtins.property @pulumi.getter(name="resolveTimeout") - def resolve_timeout(self) -> builtins.str: + def resolve_timeout(self) -> _builtins.str: """ The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt. """ return pulumi.get(self, "resolve_timeout") - @property + @_builtins.property @pulumi.getter(name="smtpAuthIdentity") - def smtp_auth_identity(self) -> builtins.str: + def smtp_auth_identity(self) -> _builtins.str: """ SMTP authentication information. Must be a valid email address """ return pulumi.get(self, "smtp_auth_identity") - @property + @_builtins.property @pulumi.getter(name="smtpAuthPassword") - def smtp_auth_password(self) -> builtins.str: + def smtp_auth_password(self) -> _builtins.str: """ SMTP Auth using LOGIN and PLAIN. """ return pulumi.get(self, "smtp_auth_password") - @property + @_builtins.property @pulumi.getter(name="smtpAuthUsername") - def smtp_auth_username(self) -> builtins.str: + def smtp_auth_username(self) -> _builtins.str: """ SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server. """ return pulumi.get(self, "smtp_auth_username") - @property + @_builtins.property @pulumi.getter(name="smtpFrom") - def smtp_from(self) -> builtins.str: + def smtp_from(self) -> _builtins.str: """ The default SMTP From header field. Must be a valid email address """ return pulumi.get(self, "smtp_from") - @property + @_builtins.property @pulumi.getter(name="smtpSmartHost") - def smtp_smart_host(self) -> builtins.str: + def smtp_smart_host(self) -> _builtins.str: """ The default SMTP smarthost used for sending emails, including port number. Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS). """ @@ -5824,12 +6442,12 @@ def smtp_smart_host(self) -> builtins.str: class GetObservabilityInstanceAlertConfigReceiverResult(dict): def __init__(__self__, *, email_configs: Sequence['outputs.GetObservabilityInstanceAlertConfigReceiverEmailConfigResult'], - name: builtins.str, + name: _builtins.str, opsgenie_configs: Sequence['outputs.GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult'], webhooks_configs: Sequence['outputs.GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult']): """ :param Sequence['GetObservabilityInstanceAlertConfigReceiverEmailConfigArgs'] email_configs: List of email configurations. - :param builtins.str name: Name of the receiver. + :param _builtins.str name: Name of the receiver. :param Sequence['GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigArgs'] opsgenie_configs: List of OpsGenie configurations. :param Sequence['GetObservabilityInstanceAlertConfigReceiverWebhooksConfigArgs'] webhooks_configs: List of Webhooks configurations. """ @@ -5838,7 +6456,7 @@ def __init__(__self__, *, pulumi.set(__self__, "opsgenie_configs", opsgenie_configs) pulumi.set(__self__, "webhooks_configs", webhooks_configs) - @property + @_builtins.property @pulumi.getter(name="emailConfigs") def email_configs(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfigReceiverEmailConfigResult']: """ @@ -5846,15 +6464,15 @@ def email_configs(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfig """ return pulumi.get(self, "email_configs") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Name of the receiver. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="opsgenieConfigs") def opsgenie_configs(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult']: """ @@ -5862,7 +6480,7 @@ def opsgenie_configs(self) -> Sequence['outputs.GetObservabilityInstanceAlertCon """ return pulumi.get(self, "opsgenie_configs") - @property + @_builtins.property @pulumi.getter(name="webhooksConfigs") def webhooks_configs(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult']: """ @@ -5874,70 +6492,81 @@ def webhooks_configs(self) -> Sequence['outputs.GetObservabilityInstanceAlertCon @pulumi.output_type class GetObservabilityInstanceAlertConfigReceiverEmailConfigResult(dict): def __init__(__self__, *, - auth_identity: builtins.str, - auth_password: builtins.str, - auth_username: builtins.str, - from_: builtins.str, - smart_host: builtins.str, - to: builtins.str): - """ - :param builtins.str auth_identity: SMTP authentication information. Must be a valid email address - :param builtins.str auth_password: SMTP authentication password. - :param builtins.str auth_username: SMTP authentication username. - :param builtins.str from_: The sender email address. Must be a valid email address - :param builtins.str smart_host: The SMTP host through which emails are sent. - :param builtins.str to: The email address to send notifications to. Must be a valid email address + auth_identity: _builtins.str, + auth_password: _builtins.str, + auth_username: _builtins.str, + from_: _builtins.str, + send_resolved: _builtins.bool, + smart_host: _builtins.str, + to: _builtins.str): + """ + :param _builtins.str auth_identity: SMTP authentication information. Must be a valid email address + :param _builtins.str auth_password: SMTP authentication password. + :param _builtins.str auth_username: SMTP authentication username. + :param _builtins.str from_: The sender email address. Must be a valid email address + :param _builtins.bool send_resolved: Whether to notify about resolved alerts. + :param _builtins.str smart_host: The SMTP host through which emails are sent. + :param _builtins.str to: The email address to send notifications to. Must be a valid email address """ pulumi.set(__self__, "auth_identity", auth_identity) pulumi.set(__self__, "auth_password", auth_password) pulumi.set(__self__, "auth_username", auth_username) pulumi.set(__self__, "from_", from_) + pulumi.set(__self__, "send_resolved", send_resolved) pulumi.set(__self__, "smart_host", smart_host) pulumi.set(__self__, "to", to) - @property + @_builtins.property @pulumi.getter(name="authIdentity") - def auth_identity(self) -> builtins.str: + def auth_identity(self) -> _builtins.str: """ SMTP authentication information. Must be a valid email address """ return pulumi.get(self, "auth_identity") - @property + @_builtins.property @pulumi.getter(name="authPassword") - def auth_password(self) -> builtins.str: + def auth_password(self) -> _builtins.str: """ SMTP authentication password. """ return pulumi.get(self, "auth_password") - @property + @_builtins.property @pulumi.getter(name="authUsername") - def auth_username(self) -> builtins.str: + def auth_username(self) -> _builtins.str: """ SMTP authentication username. """ return pulumi.get(self, "auth_username") - @property + @_builtins.property @pulumi.getter(name="from") - def from_(self) -> builtins.str: + def from_(self) -> _builtins.str: """ The sender email address. Must be a valid email address """ return pulumi.get(self, "from_") - @property + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> _builtins.bool: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @_builtins.property @pulumi.getter(name="smartHost") - def smart_host(self) -> builtins.str: + def smart_host(self) -> _builtins.str: """ The SMTP host through which emails are sent. """ return pulumi.get(self, "smart_host") - @property + @_builtins.property @pulumi.getter - def to(self) -> builtins.str: + def to(self) -> _builtins.str: """ The email address to send notifications to. Must be a valid email address """ @@ -5947,37 +6576,59 @@ def to(self) -> builtins.str: @pulumi.output_type class GetObservabilityInstanceAlertConfigReceiverOpsgenieConfigResult(dict): def __init__(__self__, *, - api_key: builtins.str, - api_url: builtins.str, - tags: builtins.str): - """ - :param builtins.str api_key: The API key for OpsGenie. - :param builtins.str api_url: The host to send OpsGenie API requests to. Must be a valid URL - :param builtins.str tags: Comma separated list of tags attached to the notifications. + api_key: _builtins.str, + api_url: _builtins.str, + priority: _builtins.str, + send_resolved: _builtins.bool, + tags: _builtins.str): + """ + :param _builtins.str api_key: The API key for OpsGenie. + :param _builtins.str api_url: The host to send OpsGenie API requests to. Must be a valid URL + :param _builtins.str priority: Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + :param _builtins.bool send_resolved: Whether to notify about resolved alerts. + :param _builtins.str tags: Comma separated list of tags attached to the notifications. """ pulumi.set(__self__, "api_key", api_key) pulumi.set(__self__, "api_url", api_url) + pulumi.set(__self__, "priority", priority) + pulumi.set(__self__, "send_resolved", send_resolved) pulumi.set(__self__, "tags", tags) - @property + @_builtins.property @pulumi.getter(name="apiKey") - def api_key(self) -> builtins.str: + def api_key(self) -> _builtins.str: """ The API key for OpsGenie. """ return pulumi.get(self, "api_key") - @property + @_builtins.property @pulumi.getter(name="apiUrl") - def api_url(self) -> builtins.str: + def api_url(self) -> _builtins.str: """ The host to send OpsGenie API requests to. Must be a valid URL """ return pulumi.get(self, "api_url") - @property + @_builtins.property + @pulumi.getter + def priority(self) -> _builtins.str: + """ + Priority of the alert. Possible values are: `P1`, `P2`, `P3`, `P4`, `P5`. + """ + return pulumi.get(self, "priority") + + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> _builtins.bool: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @_builtins.property @pulumi.getter - def tags(self) -> builtins.str: + def tags(self) -> _builtins.str: """ Comma separated list of tags attached to the notifications. """ @@ -5987,26 +6638,48 @@ def tags(self) -> builtins.str: @pulumi.output_type class GetObservabilityInstanceAlertConfigReceiverWebhooksConfigResult(dict): def __init__(__self__, *, - ms_teams: builtins.bool, - url: builtins.str): + google_chat: _builtins.bool, + ms_teams: _builtins.bool, + send_resolved: _builtins.bool, + url: _builtins.str): """ - :param builtins.bool ms_teams: Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. - :param builtins.str url: The endpoint to send HTTP POST requests to. Must be a valid URL + :param _builtins.bool google_chat: Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + :param _builtins.bool ms_teams: Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. + :param _builtins.bool send_resolved: Whether to notify about resolved alerts. + :param _builtins.str url: The endpoint to send HTTP POST requests to. Must be a valid URL """ + pulumi.set(__self__, "google_chat", google_chat) pulumi.set(__self__, "ms_teams", ms_teams) + pulumi.set(__self__, "send_resolved", send_resolved) pulumi.set(__self__, "url", url) - @property + @_builtins.property + @pulumi.getter(name="googleChat") + def google_chat(self) -> _builtins.bool: + """ + Google Chat webhooks require special handling, set this to true if the webhook is for Google Chat. + """ + return pulumi.get(self, "google_chat") + + @_builtins.property @pulumi.getter(name="msTeams") - def ms_teams(self) -> builtins.bool: + def ms_teams(self) -> _builtins.bool: """ Microsoft Teams webhooks require special handling, set this to true if the webhook is for Microsoft Teams. """ return pulumi.get(self, "ms_teams") - @property + @_builtins.property + @pulumi.getter(name="sendResolved") + def send_resolved(self) -> _builtins.bool: + """ + Whether to notify about resolved alerts. + """ + return pulumi.get(self, "send_resolved") + + @_builtins.property @pulumi.getter - def url(self) -> builtins.str: + def url(self) -> _builtins.str: """ The endpoint to send HTTP POST requests to. Must be a valid URL """ @@ -6016,90 +6689,68 @@ def url(self) -> builtins.str: @pulumi.output_type class GetObservabilityInstanceAlertConfigRouteResult(dict): def __init__(__self__, *, - group_bies: Sequence[builtins.str], - group_interval: builtins.str, - group_wait: builtins.str, - match: Mapping[str, builtins.str], - match_regex: Mapping[str, builtins.str], - receiver: builtins.str, - repeat_interval: builtins.str, + group_bies: Sequence[_builtins.str], + group_interval: _builtins.str, + group_wait: _builtins.str, + receiver: _builtins.str, + repeat_interval: _builtins.str, routes: Sequence['outputs.GetObservabilityInstanceAlertConfigRouteRouteResult']): """ - :param Sequence[builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - :param builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - :param builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . - :param Mapping[str, builtins.str] match: A set of equality matchers an alert has to fulfill to match the node. - :param Mapping[str, builtins.str] match_regex: A set of regex-matchers an alert has to fulfill to match the node. - :param builtins.str receiver: The name of the receiver to route the alerts to. - :param builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + :param Sequence[_builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + :param _builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + :param _builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . + :param _builtins.str receiver: The name of the receiver to route the alerts to. + :param _builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). :param Sequence['GetObservabilityInstanceAlertConfigRouteRouteArgs'] routes: List of child routes. """ pulumi.set(__self__, "group_bies", group_bies) pulumi.set(__self__, "group_interval", group_interval) pulumi.set(__self__, "group_wait", group_wait) - pulumi.set(__self__, "match", match) - pulumi.set(__self__, "match_regex", match_regex) pulumi.set(__self__, "receiver", receiver) pulumi.set(__self__, "repeat_interval", repeat_interval) pulumi.set(__self__, "routes", routes) - @property + @_builtins.property @pulumi.getter(name="groupBies") - def group_bies(self) -> Sequence[builtins.str]: + def group_bies(self) -> Sequence[_builtins.str]: """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ return pulumi.get(self, "group_bies") - @property + @_builtins.property @pulumi.getter(name="groupInterval") - def group_interval(self) -> builtins.str: + def group_interval(self) -> _builtins.str: """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ return pulumi.get(self, "group_interval") - @property + @_builtins.property @pulumi.getter(name="groupWait") - def group_wait(self) -> builtins.str: + def group_wait(self) -> _builtins.str: """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) . """ return pulumi.get(self, "group_wait") - @property + @_builtins.property @pulumi.getter - def match(self) -> Mapping[str, builtins.str]: - """ - A set of equality matchers an alert has to fulfill to match the node. - """ - return pulumi.get(self, "match") - - @property - @pulumi.getter(name="matchRegex") - def match_regex(self) -> Mapping[str, builtins.str]: - """ - A set of regex-matchers an alert has to fulfill to match the node. - """ - return pulumi.get(self, "match_regex") - - @property - @pulumi.getter - def receiver(self) -> builtins.str: + def receiver(self) -> _builtins.str: """ The name of the receiver to route the alerts to. """ return pulumi.get(self, "receiver") - @property + @_builtins.property @pulumi.getter(name="repeatInterval") - def repeat_interval(self) -> builtins.str: + def repeat_interval(self) -> _builtins.str: """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ return pulumi.get(self, "repeat_interval") - @property + @_builtins.property @pulumi.getter def routes(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfigRouteRouteResult']: """ @@ -6111,81 +6762,105 @@ def routes(self) -> Sequence['outputs.GetObservabilityInstanceAlertConfigRouteRo @pulumi.output_type class GetObservabilityInstanceAlertConfigRouteRouteResult(dict): def __init__(__self__, *, - group_bies: Sequence[builtins.str], - group_interval: builtins.str, - group_wait: builtins.str, - match: Mapping[str, builtins.str], - match_regex: Mapping[str, builtins.str], - receiver: builtins.str, - repeat_interval: builtins.str): - """ - :param Sequence[builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. - :param builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) - :param builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) - :param Mapping[str, builtins.str] match: A set of equality matchers an alert has to fulfill to match the node. - :param Mapping[str, builtins.str] match_regex: A set of regex-matchers an alert has to fulfill to match the node. - :param builtins.str receiver: The name of the receiver to route the alerts to. - :param builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). - """ + continue_: _builtins.bool, + group_bies: Sequence[_builtins.str], + group_interval: _builtins.str, + group_wait: _builtins.str, + match: Mapping[str, _builtins.str], + match_regex: Mapping[str, _builtins.str], + matchers: Sequence[_builtins.str], + receiver: _builtins.str, + repeat_interval: _builtins.str): + """ + :param _builtins.bool continue_: Whether an alert should continue matching subsequent sibling nodes. + :param Sequence[_builtins.str] group_bies: The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. + :param _builtins.str group_interval: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) + :param _builtins.str group_wait: How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) + :param Mapping[str, _builtins.str] match: A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + :param Mapping[str, _builtins.str] match_regex: A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead + :param Sequence[_builtins.str] matchers: A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + :param _builtins.str receiver: The name of the receiver to route the alerts to. + :param _builtins.str repeat_interval: How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). + """ + pulumi.set(__self__, "continue_", continue_) pulumi.set(__self__, "group_bies", group_bies) pulumi.set(__self__, "group_interval", group_interval) pulumi.set(__self__, "group_wait", group_wait) pulumi.set(__self__, "match", match) pulumi.set(__self__, "match_regex", match_regex) + pulumi.set(__self__, "matchers", matchers) pulumi.set(__self__, "receiver", receiver) pulumi.set(__self__, "repeat_interval", repeat_interval) - @property + @_builtins.property + @pulumi.getter(name="continue") + def continue_(self) -> _builtins.bool: + """ + Whether an alert should continue matching subsequent sibling nodes. + """ + return pulumi.get(self, "continue_") + + @_builtins.property @pulumi.getter(name="groupBies") - def group_bies(self) -> Sequence[builtins.str]: + def group_bies(self) -> Sequence[_builtins.str]: """ The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. """ return pulumi.get(self, "group_bies") - @property + @_builtins.property @pulumi.getter(name="groupInterval") - def group_interval(self) -> builtins.str: + def group_interval(self) -> _builtins.str: """ How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) """ return pulumi.get(self, "group_interval") - @property + @_builtins.property @pulumi.getter(name="groupWait") - def group_wait(self) -> builtins.str: + def group_wait(self) -> _builtins.str: """ How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) """ return pulumi.get(self, "group_wait") - @property + @_builtins.property @pulumi.getter - def match(self) -> Mapping[str, builtins.str]: + @_utilities.deprecated("""Use `matchers` in the `routes` instead.""") + def match(self) -> Mapping[str, _builtins.str]: """ - A set of equality matchers an alert has to fulfill to match the node. + A set of equality matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead """ return pulumi.get(self, "match") - @property + @_builtins.property @pulumi.getter(name="matchRegex") - def match_regex(self) -> Mapping[str, builtins.str]: + @_utilities.deprecated("""Use `matchers` in the `routes` instead.""") + def match_regex(self) -> Mapping[str, _builtins.str]: """ - A set of regex-matchers an alert has to fulfill to match the node. + A set of regex-matchers an alert has to fulfill to match the node. This field is deprecated and will be removed after 10th March 2026, use `matchers` in the `routes` instead """ return pulumi.get(self, "match_regex") - @property + @_builtins.property @pulumi.getter - def receiver(self) -> builtins.str: + def matchers(self) -> Sequence[_builtins.str]: + """ + A list of matchers that an alert has to fulfill to match the node. A matcher is a string with a syntax inspired by PromQL and OpenMetrics. + """ + return pulumi.get(self, "matchers") + + @_builtins.property + @pulumi.getter + def receiver(self) -> _builtins.str: """ The name of the receiver to route the alerts to. """ return pulumi.get(self, "receiver") - @property + @_builtins.property @pulumi.getter(name="repeatInterval") - def repeat_interval(self) -> builtins.str: + def repeat_interval(self) -> _builtins.str: """ How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). """ @@ -6195,17 +6870,17 @@ def repeat_interval(self) -> builtins.str: @pulumi.output_type class GetObservabilityLogalertgroupRuleResult(dict): def __init__(__self__, *, - alert: builtins.str, - annotations: Mapping[str, builtins.str], - expression: builtins.str, - for_: builtins.str, - labels: Mapping[str, builtins.str]): - """ - :param builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. - :param Mapping[str, builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert - :param builtins.str expression: The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. - :param builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s - :param Mapping[str, builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert + alert: _builtins.str, + annotations: Mapping[str, _builtins.str], + expression: _builtins.str, + for_: _builtins.str, + labels: Mapping[str, _builtins.str]): + """ + :param _builtins.str alert: The name of the alert rule. Is the identifier and must be unique in the group. + :param Mapping[str, _builtins.str] annotations: A map of key:value. Annotations to add or overwrite for each alert + :param _builtins.str expression: The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. + :param _builtins.str for_: Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s + :param Mapping[str, _builtins.str] labels: A map of key:value. Labels to add or overwrite for each alert """ pulumi.set(__self__, "alert", alert) pulumi.set(__self__, "annotations", annotations) @@ -6213,41 +6888,41 @@ def __init__(__self__, *, pulumi.set(__self__, "for_", for_) pulumi.set(__self__, "labels", labels) - @property + @_builtins.property @pulumi.getter - def alert(self) -> builtins.str: + def alert(self) -> _builtins.str: """ The name of the alert rule. Is the identifier and must be unique in the group. """ return pulumi.get(self, "alert") - @property + @_builtins.property @pulumi.getter - def annotations(self) -> Mapping[str, builtins.str]: + def annotations(self) -> Mapping[str, _builtins.str]: """ A map of key:value. Annotations to add or overwrite for each alert """ return pulumi.get(self, "annotations") - @property + @_builtins.property @pulumi.getter - def expression(self) -> builtins.str: + def expression(self) -> _builtins.str: """ The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. """ return pulumi.get(self, "expression") - @property + @_builtins.property @pulumi.getter(name="for") - def for_(self) -> builtins.str: + def for_(self) -> _builtins.str: """ Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s """ return pulumi.get(self, "for_") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ A map of key:value. Labels to add or overwrite for each alert """ @@ -6257,26 +6932,26 @@ def labels(self) -> Mapping[str, builtins.str]: @pulumi.output_type class GetObservabilityScrapeconfigBasicAuthResult(dict): def __init__(__self__, *, - password: builtins.str, - username: builtins.str): + password: _builtins.str, + username: _builtins.str): """ - :param builtins.str password: Specifies basic auth password. - :param builtins.str username: Specifies basic auth username. + :param _builtins.str password: Specifies basic auth password. + :param _builtins.str username: Specifies basic auth username. """ pulumi.set(__self__, "password", password) pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def password(self) -> builtins.str: + def password(self) -> _builtins.str: """ Specifies basic auth password. """ return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def username(self) -> builtins.str: + def username(self) -> _builtins.str: """ Specifies basic auth username. """ @@ -6286,15 +6961,15 @@ def username(self) -> builtins.str: @pulumi.output_type class GetObservabilityScrapeconfigSaml2Result(dict): def __init__(__self__, *, - enable_url_parameters: builtins.bool): + enable_url_parameters: _builtins.bool): """ - :param builtins.bool enable_url_parameters: Specifies if URL parameters are enabled + :param _builtins.bool enable_url_parameters: Specifies if URL parameters are enabled """ pulumi.set(__self__, "enable_url_parameters", enable_url_parameters) - @property + @_builtins.property @pulumi.getter(name="enableUrlParameters") - def enable_url_parameters(self) -> builtins.bool: + def enable_url_parameters(self) -> _builtins.bool: """ Specifies if URL parameters are enabled """ @@ -6304,26 +6979,26 @@ def enable_url_parameters(self) -> builtins.bool: @pulumi.output_type class GetObservabilityScrapeconfigTargetResult(dict): def __init__(__self__, *, - labels: Mapping[str, builtins.str], - urls: Sequence[builtins.str]): + labels: Mapping[str, _builtins.str], + urls: Sequence[_builtins.str]): """ - :param Mapping[str, builtins.str] labels: Specifies labels. - :param Sequence[builtins.str] urls: Specifies target URLs. + :param Mapping[str, _builtins.str] labels: Specifies labels. + :param Sequence[_builtins.str] urls: Specifies target URLs. """ pulumi.set(__self__, "labels", labels) pulumi.set(__self__, "urls", urls) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Specifies labels. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def urls(self) -> Sequence[builtins.str]: + def urls(self) -> Sequence[_builtins.str]: """ Specifies target URLs. """ @@ -6333,35 +7008,35 @@ def urls(self) -> Sequence[builtins.str]: @pulumi.output_type class GetOpensearchInstanceParametersResult(dict): def __init__(__self__, *, - enable_monitoring: builtins.bool, - graphite: builtins.str, - java_garbage_collector: builtins.str, - java_heapspace: builtins.int, - java_maxmetaspace: builtins.int, - max_disk_threshold: builtins.int, - metrics_frequency: builtins.int, - metrics_prefix: builtins.str, - monitoring_instance_id: builtins.str, - plugins: Sequence[builtins.str], - sgw_acl: builtins.str, - syslogs: Sequence[builtins.str], - tls_ciphers: Sequence[builtins.str], - tls_protocols: builtins.str): - """ - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). - :param builtins.str java_garbage_collector: The garbage collector to use for OpenSearch. - :param builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. - :param builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param Sequence[builtins.str] plugins: List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. - :param Sequence[builtins.str] tls_ciphers: List of TLS ciphers to use. - :param builtins.str tls_protocols: The TLS protocol to use. + enable_monitoring: _builtins.bool, + graphite: _builtins.str, + java_garbage_collector: _builtins.str, + java_heapspace: _builtins.int, + java_maxmetaspace: _builtins.int, + max_disk_threshold: _builtins.int, + metrics_frequency: _builtins.int, + metrics_prefix: _builtins.str, + monitoring_instance_id: _builtins.str, + plugins: Sequence[_builtins.str], + sgw_acl: _builtins.str, + syslogs: Sequence[_builtins.str], + tls_ciphers: Sequence[_builtins.str], + tls_protocols: _builtins.str): + """ + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.str graphite: If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). + :param _builtins.str java_garbage_collector: The garbage collector to use for OpenSearch. + :param _builtins.int java_heapspace: The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + :param _builtins.int java_maxmetaspace: The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted (in seconds). + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param Sequence[_builtins.str] plugins: List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. + :param Sequence[_builtins.str] tls_ciphers: List of TLS ciphers to use. + :param _builtins.str tls_protocols: The TLS protocol to use. """ pulumi.set(__self__, "enable_monitoring", enable_monitoring) pulumi.set(__self__, "graphite", graphite) @@ -6378,113 +7053,113 @@ def __init__(__self__, *, pulumi.set(__self__, "tls_ciphers", tls_ciphers) pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> builtins.bool: + def enable_monitoring(self) -> _builtins.bool: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> builtins.str: + def graphite(self) -> _builtins.str: """ If set, monitoring with Graphite will be enabled. Expects the host and port where the Graphite metrics should be sent to (host:port). """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="javaGarbageCollector") - def java_garbage_collector(self) -> builtins.str: + def java_garbage_collector(self) -> _builtins.str: """ The garbage collector to use for OpenSearch. """ return pulumi.get(self, "java_garbage_collector") - @property + @_builtins.property @pulumi.getter(name="javaHeapspace") - def java_heapspace(self) -> builtins.int: + def java_heapspace(self) -> _builtins.int: """ The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. """ return pulumi.get(self, "java_heapspace") - @property + @_builtins.property @pulumi.getter(name="javaMaxmetaspace") - def java_maxmetaspace(self) -> builtins.int: + def java_maxmetaspace(self) -> _builtins.int: """ The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. """ return pulumi.get(self, "java_maxmetaspace") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> builtins.int: + def max_disk_threshold(self) -> _builtins.int: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> builtins.int: + def metrics_frequency(self) -> _builtins.int: """ The frequency in seconds at which metrics are emitted (in seconds). """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> builtins.str: + def metrics_prefix(self) -> _builtins.str: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key. """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> builtins.str: + def monitoring_instance_id(self) -> _builtins.str: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter - def plugins(self) -> Sequence[builtins.str]: + def plugins(self) -> Sequence[_builtins.str]: """ List of plugins to install. Must be a supported plugin name. The plugins `repository-s3` and `repository-azure` are enabled by default and cannot be disabled. """ return pulumi.get(self, "plugins") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> builtins.str: + def sgw_acl(self) -> _builtins.str: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Sequence[builtins.str]: + def syslogs(self) -> Sequence[_builtins.str]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Sequence[builtins.str]: + def tls_ciphers(self) -> Sequence[_builtins.str]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> builtins.str: + def tls_protocols(self) -> _builtins.str: """ The TLS protocol to use. """ @@ -6494,67 +7169,67 @@ def tls_protocols(self) -> builtins.str: @pulumi.output_type class GetPostgresflexInstanceFlavorResult(dict): def __init__(__self__, *, - cpu: builtins.int, - description: builtins.str, - id: builtins.str, - ram: builtins.int): + cpu: _builtins.int, + description: _builtins.str, + id: _builtins.str, + ram: _builtins.int): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "description", description) pulumi.set(__self__, "id", id) pulumi.set(__self__, "ram", ram) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> builtins.int: + def cpu(self) -> _builtins.int: return pulumi.get(self, "cpu") - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def ram(self) -> builtins.int: + def ram(self) -> _builtins.int: return pulumi.get(self, "ram") @pulumi.output_type class GetPostgresflexInstanceStorageResult(dict): def __init__(__self__, *, - class_: builtins.str, - size: builtins.int): + class_: _builtins.str, + size: _builtins.int): pulumi.set(__self__, "class_", class_) pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> builtins.str: + def class_(self) -> _builtins.str: return pulumi.get(self, "class_") - @property + @_builtins.property @pulumi.getter - def size(self) -> builtins.int: + def size(self) -> _builtins.int: return pulumi.get(self, "size") @pulumi.output_type class GetPublicIpRangesPublicIpRangeResult(dict): def __init__(__self__, *, - cidr: builtins.str): + cidr: _builtins.str): """ - :param builtins.str cidr: Classless Inter-Domain Routing (CIDR) + :param _builtins.str cidr: Classless Inter-Domain Routing (CIDR) """ pulumi.set(__self__, "cidr", cidr) - @property + @_builtins.property @pulumi.getter - def cidr(self) -> builtins.str: + def cidr(self) -> _builtins.str: """ Classless Inter-Domain Routing (CIDR) """ @@ -6564,33 +7239,33 @@ def cidr(self) -> builtins.str: @pulumi.output_type class GetRabbitmqInstanceParametersResult(dict): def __init__(__self__, *, - consumer_timeout: builtins.int, - enable_monitoring: builtins.bool, - graphite: builtins.str, - max_disk_threshold: builtins.int, - metrics_frequency: builtins.int, - metrics_prefix: builtins.str, - monitoring_instance_id: builtins.str, - plugins: Sequence[builtins.str], - roles: Sequence[builtins.str], - sgw_acl: builtins.str, - syslogs: Sequence[builtins.str], - tls_ciphers: Sequence[builtins.str], - tls_protocols: builtins.str): - """ - :param builtins.int consumer_timeout: The timeout in milliseconds for the consumer. - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param Sequence[builtins.str] plugins: List of plugins to install. Must be a supported plugin name. - :param Sequence[builtins.str] roles: List of roles to assign to the instance. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. - :param Sequence[builtins.str] tls_ciphers: List of TLS ciphers to use. - :param builtins.str tls_protocols: TLS protocol to use. + consumer_timeout: _builtins.int, + enable_monitoring: _builtins.bool, + graphite: _builtins.str, + max_disk_threshold: _builtins.int, + metrics_frequency: _builtins.int, + metrics_prefix: _builtins.str, + monitoring_instance_id: _builtins.str, + plugins: Sequence[_builtins.str], + roles: Sequence[_builtins.str], + sgw_acl: _builtins.str, + syslogs: Sequence[_builtins.str], + tls_ciphers: Sequence[_builtins.str], + tls_protocols: _builtins.str): + """ + :param _builtins.int consumer_timeout: The timeout in milliseconds for the consumer. + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param Sequence[_builtins.str] plugins: List of plugins to install. Must be a supported plugin name. + :param Sequence[_builtins.str] roles: List of roles to assign to the instance. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. + :param Sequence[_builtins.str] tls_ciphers: List of TLS ciphers to use. + :param _builtins.str tls_protocols: TLS protocol to use. """ pulumi.set(__self__, "consumer_timeout", consumer_timeout) pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -6606,105 +7281,105 @@ def __init__(__self__, *, pulumi.set(__self__, "tls_ciphers", tls_ciphers) pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="consumerTimeout") - def consumer_timeout(self) -> builtins.int: + def consumer_timeout(self) -> _builtins.int: """ The timeout in milliseconds for the consumer. """ return pulumi.get(self, "consumer_timeout") - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> builtins.bool: + def enable_monitoring(self) -> _builtins.bool: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> builtins.str: + def graphite(self) -> _builtins.str: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> builtins.int: + def max_disk_threshold(self) -> _builtins.int: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> builtins.int: + def metrics_frequency(self) -> _builtins.int: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> builtins.str: + def metrics_prefix(self) -> _builtins.str: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> builtins.str: + def monitoring_instance_id(self) -> _builtins.str: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter - def plugins(self) -> Sequence[builtins.str]: + def plugins(self) -> Sequence[_builtins.str]: """ List of plugins to install. Must be a supported plugin name. """ return pulumi.get(self, "plugins") - @property + @_builtins.property @pulumi.getter - def roles(self) -> Sequence[builtins.str]: + def roles(self) -> Sequence[_builtins.str]: """ List of roles to assign to the instance. """ return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> builtins.str: + def sgw_acl(self) -> _builtins.str: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Sequence[builtins.str]: + def syslogs(self) -> Sequence[_builtins.str]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Sequence[builtins.str]: + def tls_ciphers(self) -> Sequence[_builtins.str]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> builtins.str: + def tls_protocols(self) -> _builtins.str: """ TLS protocol to use. """ @@ -6714,51 +7389,51 @@ def tls_protocols(self) -> builtins.str: @pulumi.output_type class GetRedisInstanceParametersResult(dict): def __init__(__self__, *, - down_after_milliseconds: builtins.int, - enable_monitoring: builtins.bool, - failover_timeout: builtins.int, - graphite: builtins.str, - lazyfree_lazy_eviction: builtins.str, - lazyfree_lazy_expire: builtins.str, - lua_time_limit: builtins.int, - max_disk_threshold: builtins.int, - maxclients: builtins.int, - maxmemory_policy: builtins.str, - maxmemory_samples: builtins.int, - metrics_frequency: builtins.int, - metrics_prefix: builtins.str, - min_replicas_max_lag: builtins.int, - monitoring_instance_id: builtins.str, - notify_keyspace_events: builtins.str, - sgw_acl: builtins.str, - snapshot: builtins.str, - syslogs: Sequence[builtins.str], - tls_ciphers: Sequence[builtins.str], - tls_ciphersuites: builtins.str, - tls_protocols: builtins.str): - """ - :param builtins.int down_after_milliseconds: The number of milliseconds after which the instance is considered down. - :param builtins.bool enable_monitoring: Enable monitoring. - :param builtins.int failover_timeout: The failover timeout in milliseconds. - :param builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. - :param builtins.str lazyfree_lazy_eviction: The lazy eviction enablement (yes or no). - :param builtins.str lazyfree_lazy_expire: The lazy expire enablement (yes or no). - :param builtins.int lua_time_limit: The Lua time limit. - :param builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. - :param builtins.int maxclients: The maximum number of clients. - :param builtins.str maxmemory_policy: The policy to handle the maximum memory (volatile-lru, noeviction, etc). - :param builtins.int maxmemory_samples: The maximum memory samples. - :param builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. - :param builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key - :param builtins.int min_replicas_max_lag: The minimum replicas maximum lag. - :param builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. - :param builtins.str notify_keyspace_events: The notify keyspace events. - :param builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - :param builtins.str snapshot: The snapshot configuration. - :param Sequence[builtins.str] syslogs: List of syslog servers to send logs to. - :param Sequence[builtins.str] tls_ciphers: List of TLS ciphers to use. - :param builtins.str tls_ciphersuites: TLS cipher suites to use. - :param builtins.str tls_protocols: TLS protocol to use. + down_after_milliseconds: _builtins.int, + enable_monitoring: _builtins.bool, + failover_timeout: _builtins.int, + graphite: _builtins.str, + lazyfree_lazy_eviction: _builtins.str, + lazyfree_lazy_expire: _builtins.str, + lua_time_limit: _builtins.int, + max_disk_threshold: _builtins.int, + maxclients: _builtins.int, + maxmemory_policy: _builtins.str, + maxmemory_samples: _builtins.int, + metrics_frequency: _builtins.int, + metrics_prefix: _builtins.str, + min_replicas_max_lag: _builtins.int, + monitoring_instance_id: _builtins.str, + notify_keyspace_events: _builtins.str, + sgw_acl: _builtins.str, + snapshot: _builtins.str, + syslogs: Sequence[_builtins.str], + tls_ciphers: Sequence[_builtins.str], + tls_ciphersuites: _builtins.str, + tls_protocols: _builtins.str): + """ + :param _builtins.int down_after_milliseconds: The number of milliseconds after which the instance is considered down. + :param _builtins.bool enable_monitoring: Enable monitoring. + :param _builtins.int failover_timeout: The failover timeout in milliseconds. + :param _builtins.str graphite: Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. + :param _builtins.str lazyfree_lazy_eviction: The lazy eviction enablement (yes or no). + :param _builtins.str lazyfree_lazy_expire: The lazy expire enablement (yes or no). + :param _builtins.int lua_time_limit: The Lua time limit. + :param _builtins.int max_disk_threshold: The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. + :param _builtins.int maxclients: The maximum number of clients. + :param _builtins.str maxmemory_policy: The policy to handle the maximum memory (volatile-lru, noeviction, etc). + :param _builtins.int maxmemory_samples: The maximum memory samples. + :param _builtins.int metrics_frequency: The frequency in seconds at which metrics are emitted. + :param _builtins.str metrics_prefix: The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key + :param _builtins.int min_replicas_max_lag: The minimum replicas maximum lag. + :param _builtins.str monitoring_instance_id: The ID of the STACKIT monitoring instance. + :param _builtins.str notify_keyspace_events: The notify keyspace events. + :param _builtins.str sgw_acl: Comma separated list of IP networks in CIDR notation which are allowed to access this instance. + :param _builtins.str snapshot: The snapshot configuration. + :param Sequence[_builtins.str] syslogs: List of syslog servers to send logs to. + :param Sequence[_builtins.str] tls_ciphers: List of TLS ciphers to use. + :param _builtins.str tls_ciphersuites: TLS cipher suites to use. + :param _builtins.str tls_protocols: TLS protocol to use. """ pulumi.set(__self__, "down_after_milliseconds", down_after_milliseconds) pulumi.set(__self__, "enable_monitoring", enable_monitoring) @@ -6783,206 +7458,490 @@ def __init__(__self__, *, pulumi.set(__self__, "tls_ciphersuites", tls_ciphersuites) pulumi.set(__self__, "tls_protocols", tls_protocols) - @property + @_builtins.property @pulumi.getter(name="downAfterMilliseconds") - def down_after_milliseconds(self) -> builtins.int: + def down_after_milliseconds(self) -> _builtins.int: """ The number of milliseconds after which the instance is considered down. """ return pulumi.get(self, "down_after_milliseconds") - @property + @_builtins.property @pulumi.getter(name="enableMonitoring") - def enable_monitoring(self) -> builtins.bool: + def enable_monitoring(self) -> _builtins.bool: """ Enable monitoring. """ return pulumi.get(self, "enable_monitoring") - @property + @_builtins.property @pulumi.getter(name="failoverTimeout") - def failover_timeout(self) -> builtins.int: + def failover_timeout(self) -> _builtins.int: """ The failover timeout in milliseconds. """ return pulumi.get(self, "failover_timeout") - @property + @_builtins.property @pulumi.getter - def graphite(self) -> builtins.str: + def graphite(self) -> _builtins.str: """ Graphite server URL (host and port). If set, monitoring with Graphite will be enabled. """ return pulumi.get(self, "graphite") - @property + @_builtins.property @pulumi.getter(name="lazyfreeLazyEviction") - def lazyfree_lazy_eviction(self) -> builtins.str: + def lazyfree_lazy_eviction(self) -> _builtins.str: """ The lazy eviction enablement (yes or no). """ return pulumi.get(self, "lazyfree_lazy_eviction") - @property + @_builtins.property @pulumi.getter(name="lazyfreeLazyExpire") - def lazyfree_lazy_expire(self) -> builtins.str: + def lazyfree_lazy_expire(self) -> _builtins.str: """ The lazy expire enablement (yes or no). """ return pulumi.get(self, "lazyfree_lazy_expire") - @property + @_builtins.property @pulumi.getter(name="luaTimeLimit") - def lua_time_limit(self) -> builtins.int: + def lua_time_limit(self) -> _builtins.int: """ The Lua time limit. """ return pulumi.get(self, "lua_time_limit") - @property + @_builtins.property @pulumi.getter(name="maxDiskThreshold") - def max_disk_threshold(self) -> builtins.int: + def max_disk_threshold(self) -> _builtins.int: """ The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped. """ return pulumi.get(self, "max_disk_threshold") - @property + @_builtins.property @pulumi.getter - def maxclients(self) -> builtins.int: + def maxclients(self) -> _builtins.int: """ The maximum number of clients. """ return pulumi.get(self, "maxclients") - @property + @_builtins.property @pulumi.getter(name="maxmemoryPolicy") - def maxmemory_policy(self) -> builtins.str: + def maxmemory_policy(self) -> _builtins.str: """ The policy to handle the maximum memory (volatile-lru, noeviction, etc). """ return pulumi.get(self, "maxmemory_policy") - @property + @_builtins.property @pulumi.getter(name="maxmemorySamples") - def maxmemory_samples(self) -> builtins.int: + def maxmemory_samples(self) -> _builtins.int: """ The maximum memory samples. """ return pulumi.get(self, "maxmemory_samples") - @property + @_builtins.property @pulumi.getter(name="metricsFrequency") - def metrics_frequency(self) -> builtins.int: + def metrics_frequency(self) -> _builtins.int: """ The frequency in seconds at which metrics are emitted. """ return pulumi.get(self, "metrics_frequency") - @property + @_builtins.property @pulumi.getter(name="metricsPrefix") - def metrics_prefix(self) -> builtins.str: + def metrics_prefix(self) -> _builtins.str: """ The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key """ return pulumi.get(self, "metrics_prefix") - @property + @_builtins.property @pulumi.getter(name="minReplicasMaxLag") - def min_replicas_max_lag(self) -> builtins.int: + def min_replicas_max_lag(self) -> _builtins.int: """ The minimum replicas maximum lag. """ return pulumi.get(self, "min_replicas_max_lag") - @property + @_builtins.property @pulumi.getter(name="monitoringInstanceId") - def monitoring_instance_id(self) -> builtins.str: + def monitoring_instance_id(self) -> _builtins.str: """ The ID of the STACKIT monitoring instance. """ return pulumi.get(self, "monitoring_instance_id") - @property + @_builtins.property @pulumi.getter(name="notifyKeyspaceEvents") - def notify_keyspace_events(self) -> builtins.str: + def notify_keyspace_events(self) -> _builtins.str: """ The notify keyspace events. """ return pulumi.get(self, "notify_keyspace_events") - @property + @_builtins.property @pulumi.getter(name="sgwAcl") - def sgw_acl(self) -> builtins.str: + def sgw_acl(self) -> _builtins.str: """ Comma separated list of IP networks in CIDR notation which are allowed to access this instance. """ return pulumi.get(self, "sgw_acl") - @property + @_builtins.property @pulumi.getter - def snapshot(self) -> builtins.str: + def snapshot(self) -> _builtins.str: """ The snapshot configuration. """ return pulumi.get(self, "snapshot") - @property + @_builtins.property @pulumi.getter - def syslogs(self) -> Sequence[builtins.str]: + def syslogs(self) -> Sequence[_builtins.str]: """ List of syslog servers to send logs to. """ return pulumi.get(self, "syslogs") - @property + @_builtins.property @pulumi.getter(name="tlsCiphers") - def tls_ciphers(self) -> Sequence[builtins.str]: + def tls_ciphers(self) -> Sequence[_builtins.str]: """ List of TLS ciphers to use. """ return pulumi.get(self, "tls_ciphers") - @property + @_builtins.property @pulumi.getter(name="tlsCiphersuites") - def tls_ciphersuites(self) -> builtins.str: + def tls_ciphersuites(self) -> _builtins.str: """ TLS cipher suites to use. """ return pulumi.get(self, "tls_ciphersuites") - @property + @_builtins.property @pulumi.getter(name="tlsProtocols") - def tls_protocols(self) -> builtins.str: + def tls_protocols(self) -> _builtins.str: """ TLS protocol to use. """ return pulumi.get(self, "tls_protocols") +@pulumi.output_type +class GetRoutingTableRouteDestinationResult(dict): + def __init__(__self__, *, + type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str type: CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + :param _builtins.str value: An CIDR string. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + An CIDR string. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetRoutingTableRouteNextHopResult(dict): + def __init__(__self__, *, + type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str type: Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + :param _builtins.str value: Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetRoutingTableRoutesRouteResult(dict): + def __init__(__self__, *, + created_at: _builtins.str, + destination: 'outputs.GetRoutingTableRoutesRouteDestinationResult', + labels: Mapping[str, _builtins.str], + next_hop: 'outputs.GetRoutingTableRoutesRouteNextHopResult', + route_id: _builtins.str, + updated_at: _builtins.str): + """ + :param _builtins.str created_at: Date-time when the route was created + :param 'GetRoutingTableRoutesRouteDestinationArgs' destination: Destination of the route. + :param Mapping[str, _builtins.str] labels: Labels are key-value string pairs which can be attached to a resource container + :param 'GetRoutingTableRoutesRouteNextHopArgs' next_hop: Next hop destination. + :param _builtins.str route_id: Route ID. + :param _builtins.str updated_at: Date-time when the route was updated + """ + pulumi.set(__self__, "created_at", created_at) + pulumi.set(__self__, "destination", destination) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "next_hop", next_hop) + pulumi.set(__self__, "route_id", route_id) + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> _builtins.str: + """ + Date-time when the route was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def destination(self) -> 'outputs.GetRoutingTableRoutesRouteDestinationResult': + """ + Destination of the route. + """ + return pulumi.get(self, "destination") + + @_builtins.property + @pulumi.getter + def labels(self) -> Mapping[str, _builtins.str]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter(name="nextHop") + def next_hop(self) -> 'outputs.GetRoutingTableRoutesRouteNextHopResult': + """ + Next hop destination. + """ + return pulumi.get(self, "next_hop") + + @_builtins.property + @pulumi.getter(name="routeId") + def route_id(self) -> _builtins.str: + """ + Route ID. + """ + return pulumi.get(self, "route_id") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> _builtins.str: + """ + Date-time when the route was updated + """ + return pulumi.get(self, "updated_at") + + +@pulumi.output_type +class GetRoutingTableRoutesRouteDestinationResult(dict): + def __init__(__self__, *, + type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str type: CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + :param _builtins.str value: An CIDR string. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + An CIDR string. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetRoutingTableRoutesRouteNextHopResult(dict): + def __init__(__self__, *, + type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str type: Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + :param _builtins.str value: Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetRoutingTablesItemResult(dict): + def __init__(__self__, *, + created_at: _builtins.str, + default: _builtins.bool, + description: _builtins.str, + labels: Mapping[str, _builtins.str], + name: _builtins.str, + routing_table_id: _builtins.str, + system_routes: _builtins.bool, + updated_at: _builtins.str): + """ + :param _builtins.str created_at: Date-time when the routing table was created + :param _builtins.bool default: When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + :param _builtins.str description: Description of the routing table. + :param Mapping[str, _builtins.str] labels: Labels are key-value string pairs which can be attached to a resource container + :param _builtins.str name: The name of the routing table. + :param _builtins.str routing_table_id: The routing tables ID. + :param _builtins.bool system_routes: This controls whether the routes for project-to-project communication are created automatically or not. + :param _builtins.str updated_at: Date-time when the routing table was updated + """ + pulumi.set(__self__, "created_at", created_at) + pulumi.set(__self__, "default", default) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "routing_table_id", routing_table_id) + pulumi.set(__self__, "system_routes", system_routes) + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> _builtins.str: + """ + Date-time when the routing table was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def default(self) -> _builtins.bool: + """ + When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise. + """ + return pulumi.get(self, "default") + + @_builtins.property + @pulumi.getter + def description(self) -> _builtins.str: + """ + Description of the routing table. + """ + return pulumi.get(self, "description") + + @_builtins.property + @pulumi.getter + def labels(self) -> Mapping[str, _builtins.str]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + The name of the routing table. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> _builtins.str: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @_builtins.property + @pulumi.getter(name="systemRoutes") + def system_routes(self) -> _builtins.bool: + """ + This controls whether the routes for project-to-project communication are created automatically or not. + """ + return pulumi.get(self, "system_routes") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> _builtins.str: + """ + Date-time when the routing table was updated + """ + return pulumi.get(self, "updated_at") + + @pulumi.output_type class GetSecurityGroupRuleIcmpParametersResult(dict): def __init__(__self__, *, - code: builtins.int, - type: builtins.int): + code: _builtins.int, + type: _builtins.int): """ - :param builtins.int code: ICMP code. Can be set if the protocol is ICMP. - :param builtins.int type: ICMP type. Can be set if the protocol is ICMP. + :param _builtins.int code: ICMP code. Can be set if the protocol is ICMP. + :param _builtins.int type: ICMP type. Can be set if the protocol is ICMP. """ pulumi.set(__self__, "code", code) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def code(self) -> builtins.int: + def code(self) -> _builtins.int: """ ICMP code. Can be set if the protocol is ICMP. """ return pulumi.get(self, "code") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.int: + def type(self) -> _builtins.int: """ ICMP type. Can be set if the protocol is ICMP. """ @@ -6992,26 +7951,26 @@ def type(self) -> builtins.int: @pulumi.output_type class GetSecurityGroupRulePortRangeResult(dict): def __init__(__self__, *, - max: builtins.int, - min: builtins.int): + max: _builtins.int, + min: _builtins.int): """ - :param builtins.int max: The maximum port number. Should be greater or equal to the minimum. - :param builtins.int min: The minimum port number. Should be less or equal to the minimum. + :param _builtins.int max: The maximum port number. Should be greater or equal to the minimum. + :param _builtins.int min: The minimum port number. Should be less or equal to the minimum. """ pulumi.set(__self__, "max", max) pulumi.set(__self__, "min", min) - @property + @_builtins.property @pulumi.getter - def max(self) -> builtins.int: + def max(self) -> _builtins.int: """ The maximum port number. Should be greater or equal to the minimum. """ return pulumi.get(self, "max") - @property + @_builtins.property @pulumi.getter - def min(self) -> builtins.int: + def min(self) -> _builtins.int: """ The minimum port number. Should be less or equal to the minimum. """ @@ -7021,26 +7980,26 @@ def min(self) -> builtins.int: @pulumi.output_type class GetSecurityGroupRuleProtocolResult(dict): def __init__(__self__, *, - name: builtins.str, - number: builtins.int): + name: _builtins.str, + number: _builtins.int): """ - :param builtins.str name: The protocol name which the rule should match. - :param builtins.int number: The protocol number which the rule should match. + :param _builtins.str name: The protocol name which the rule should match. + :param _builtins.int number: The protocol number which the rule should match. """ pulumi.set(__self__, "name", name) pulumi.set(__self__, "number", number) - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The protocol name which the rule should match. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def number(self) -> builtins.int: + def number(self) -> _builtins.int: """ The protocol number which the rule should match. """ @@ -7050,26 +8009,26 @@ def number(self) -> builtins.int: @pulumi.output_type class GetServerBackupScheduleBackupPropertiesResult(dict): def __init__(__self__, *, - name: builtins.str, - retention_period: builtins.int, - volume_ids: Sequence[builtins.str]): + name: _builtins.str, + retention_period: _builtins.int, + volume_ids: Sequence[_builtins.str]): pulumi.set(__self__, "name", name) pulumi.set(__self__, "retention_period", retention_period) pulumi.set(__self__, "volume_ids", volume_ids) - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="retentionPeriod") - def retention_period(self) -> builtins.int: + def retention_period(self) -> _builtins.int: return pulumi.get(self, "retention_period") - @property + @_builtins.property @pulumi.getter(name="volumeIds") - def volume_ids(self) -> Sequence[builtins.str]: + def volume_ids(self) -> Sequence[_builtins.str]: return pulumi.get(self, "volume_ids") @@ -7077,15 +8036,15 @@ def volume_ids(self) -> Sequence[builtins.str]: class GetServerBackupSchedulesItemResult(dict): def __init__(__self__, *, backup_properties: 'outputs.GetServerBackupSchedulesItemBackupPropertiesResult', - backup_schedule_id: builtins.int, - enabled: builtins.bool, - name: builtins.str, - rrule: builtins.str): + backup_schedule_id: _builtins.int, + enabled: _builtins.bool, + name: _builtins.str, + rrule: _builtins.str): """ :param 'GetServerBackupSchedulesItemBackupPropertiesArgs' backup_properties: Backup schedule details for the backups. - :param builtins.bool enabled: Is the backup schedule enabled or disabled. - :param builtins.str name: The backup schedule name. - :param builtins.str rrule: Backup schedule described in `rrule` (recurrence rule) format. + :param _builtins.bool enabled: Is the backup schedule enabled or disabled. + :param _builtins.str name: The backup schedule name. + :param _builtins.str rrule: Backup schedule described in `rrule` (recurrence rule) format. """ pulumi.set(__self__, "backup_properties", backup_properties) pulumi.set(__self__, "backup_schedule_id", backup_schedule_id) @@ -7093,7 +8052,7 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) pulumi.set(__self__, "rrule", rrule) - @property + @_builtins.property @pulumi.getter(name="backupProperties") def backup_properties(self) -> 'outputs.GetServerBackupSchedulesItemBackupPropertiesResult': """ @@ -7101,30 +8060,30 @@ def backup_properties(self) -> 'outputs.GetServerBackupSchedulesItemBackupProper """ return pulumi.get(self, "backup_properties") - @property + @_builtins.property @pulumi.getter(name="backupScheduleId") - def backup_schedule_id(self) -> builtins.int: + def backup_schedule_id(self) -> _builtins.int: return pulumi.get(self, "backup_schedule_id") - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Is the backup schedule enabled or disabled. """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The backup schedule name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def rrule(self) -> builtins.str: + def rrule(self) -> _builtins.str: """ Backup schedule described in `rrule` (recurrence rule) format. """ @@ -7134,52 +8093,52 @@ def rrule(self) -> builtins.str: @pulumi.output_type class GetServerBackupSchedulesItemBackupPropertiesResult(dict): def __init__(__self__, *, - name: builtins.str, - retention_period: builtins.int, - volume_ids: Sequence[builtins.str]): + name: _builtins.str, + retention_period: _builtins.int, + volume_ids: Sequence[_builtins.str]): pulumi.set(__self__, "name", name) pulumi.set(__self__, "retention_period", retention_period) pulumi.set(__self__, "volume_ids", volume_ids) - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="retentionPeriod") - def retention_period(self) -> builtins.int: + def retention_period(self) -> _builtins.int: return pulumi.get(self, "retention_period") - @property + @_builtins.property @pulumi.getter(name="volumeIds") - def volume_ids(self) -> Sequence[builtins.str]: + def volume_ids(self) -> Sequence[_builtins.str]: return pulumi.get(self, "volume_ids") @pulumi.output_type class GetServerBootVolumeResult(dict): def __init__(__self__, *, - delete_on_termination: builtins.bool, - id: builtins.str): + delete_on_termination: _builtins.bool, + id: _builtins.str): """ - :param builtins.bool delete_on_termination: Delete the volume during the termination of the server. - :param builtins.str id: The ID of the boot volume + :param _builtins.bool delete_on_termination: Delete the volume during the termination of the server. + :param _builtins.str id: The ID of the boot volume """ pulumi.set(__self__, "delete_on_termination", delete_on_termination) pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter(name="deleteOnTermination") - def delete_on_termination(self) -> builtins.bool: + def delete_on_termination(self) -> _builtins.bool: """ Delete the volume during the termination of the server. """ return pulumi.get(self, "delete_on_termination") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: """ The ID of the boot volume """ @@ -7189,16 +8148,16 @@ def id(self) -> builtins.str: @pulumi.output_type class GetServerUpdateSchedulesItemResult(dict): def __init__(__self__, *, - enabled: builtins.bool, - maintenance_window: builtins.int, - name: builtins.str, - rrule: builtins.str, - update_schedule_id: builtins.int): + enabled: _builtins.bool, + maintenance_window: _builtins.int, + name: _builtins.str, + rrule: _builtins.str, + update_schedule_id: _builtins.int): """ - :param builtins.bool enabled: Is the update schedule enabled or disabled. - :param builtins.int maintenance_window: Maintenance window [1..24]. - :param builtins.str name: The update schedule name. - :param builtins.str rrule: Update schedule described in `rrule` (recurrence rule) format. + :param _builtins.bool enabled: Is the update schedule enabled or disabled. + :param _builtins.int maintenance_window: Maintenance window [1..24]. + :param _builtins.str name: The update schedule name. + :param _builtins.str rrule: Update schedule described in `rrule` (recurrence rule) format. """ pulumi.set(__self__, "enabled", enabled) pulumi.set(__self__, "maintenance_window", maintenance_window) @@ -7206,41 +8165,41 @@ def __init__(__self__, *, pulumi.set(__self__, "rrule", rrule) pulumi.set(__self__, "update_schedule_id", update_schedule_id) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Is the update schedule enabled or disabled. """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> builtins.int: + def maintenance_window(self) -> _builtins.int: """ Maintenance window [1..24]. """ return pulumi.get(self, "maintenance_window") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ The update schedule name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def rrule(self) -> builtins.str: + def rrule(self) -> _builtins.str: """ Update schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") - @property + @_builtins.property @pulumi.getter(name="updateScheduleId") - def update_schedule_id(self) -> builtins.int: + def update_schedule_id(self) -> _builtins.int: return pulumi.get(self, "update_schedule_id") @@ -7249,17 +8208,20 @@ class GetSkeClusterExtensionsResult(dict): def __init__(__self__, *, acl: 'outputs.GetSkeClusterExtensionsAclResult', argus: 'outputs.GetSkeClusterExtensionsArgusResult', - dns: 'outputs.GetSkeClusterExtensionsDnsResult'): + dns: 'outputs.GetSkeClusterExtensionsDnsResult', + observability: 'outputs.GetSkeClusterExtensionsObservabilityResult'): """ :param 'GetSkeClusterExtensionsAclArgs' acl: Cluster access control configuration - :param 'GetSkeClusterExtensionsArgusArgs' argus: A single argus block as defined below + :param 'GetSkeClusterExtensionsArgusArgs' argus: A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. :param 'GetSkeClusterExtensionsDnsArgs' dns: DNS extension configuration + :param 'GetSkeClusterExtensionsObservabilityArgs' observability: A single observability block as defined below. """ pulumi.set(__self__, "acl", acl) pulumi.set(__self__, "argus", argus) pulumi.set(__self__, "dns", dns) + pulumi.set(__self__, "observability", observability) - @property + @_builtins.property @pulumi.getter def acl(self) -> 'outputs.GetSkeClusterExtensionsAclResult': """ @@ -7267,15 +8229,16 @@ def acl(self) -> 'outputs.GetSkeClusterExtensionsAclResult': """ return pulumi.get(self, "acl") - @property + @_builtins.property @pulumi.getter + @_utilities.deprecated("""Use observability instead.""") def argus(self) -> 'outputs.GetSkeClusterExtensionsArgusResult': """ - A single argus block as defined below + A single argus block as defined below. This field is deprecated and will be removed 06 January 2026. """ return pulumi.get(self, "argus") - @property + @_builtins.property @pulumi.getter def dns(self) -> 'outputs.GetSkeClusterExtensionsDnsResult': """ @@ -7283,30 +8246,38 @@ def dns(self) -> 'outputs.GetSkeClusterExtensionsDnsResult': """ return pulumi.get(self, "dns") + @_builtins.property + @pulumi.getter + def observability(self) -> 'outputs.GetSkeClusterExtensionsObservabilityResult': + """ + A single observability block as defined below. + """ + return pulumi.get(self, "observability") + @pulumi.output_type class GetSkeClusterExtensionsAclResult(dict): def __init__(__self__, *, - allowed_cidrs: Sequence[builtins.str], - enabled: builtins.bool): + allowed_cidrs: Sequence[_builtins.str], + enabled: _builtins.bool): """ - :param Sequence[builtins.str] allowed_cidrs: Specify a list of CIDRs to whitelist - :param builtins.bool enabled: Is ACL enabled? + :param Sequence[_builtins.str] allowed_cidrs: Specify a list of CIDRs to whitelist + :param _builtins.bool enabled: Is ACL enabled? """ pulumi.set(__self__, "allowed_cidrs", allowed_cidrs) pulumi.set(__self__, "enabled", enabled) - @property + @_builtins.property @pulumi.getter(name="allowedCidrs") - def allowed_cidrs(self) -> Sequence[builtins.str]: + def allowed_cidrs(self) -> Sequence[_builtins.str]: """ Specify a list of CIDRs to whitelist """ return pulumi.get(self, "allowed_cidrs") - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Is ACL enabled? """ @@ -7316,26 +8287,26 @@ def enabled(self) -> builtins.bool: @pulumi.output_type class GetSkeClusterExtensionsArgusResult(dict): def __init__(__self__, *, - argus_instance_id: builtins.str, - enabled: builtins.bool): + argus_instance_id: _builtins.str, + enabled: _builtins.bool): """ - :param builtins.str argus_instance_id: Instance ID of argus - :param builtins.bool enabled: Flag to enable/disable argus extensions. + :param _builtins.str argus_instance_id: Instance ID of argus + :param _builtins.bool enabled: Flag to enable/disable argus extensions. """ pulumi.set(__self__, "argus_instance_id", argus_instance_id) pulumi.set(__self__, "enabled", enabled) - @property + @_builtins.property @pulumi.getter(name="argusInstanceId") - def argus_instance_id(self) -> builtins.str: + def argus_instance_id(self) -> _builtins.str: """ Instance ID of argus """ return pulumi.get(self, "argus_instance_id") - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Flag to enable/disable argus extensions. """ @@ -7345,66 +8316,95 @@ def enabled(self) -> builtins.bool: @pulumi.output_type class GetSkeClusterExtensionsDnsResult(dict): def __init__(__self__, *, - enabled: builtins.bool, - zones: Sequence[builtins.str]): + enabled: _builtins.bool, + zones: Sequence[_builtins.str]): """ - :param builtins.bool enabled: Flag to enable/disable DNS extensions - :param Sequence[builtins.str] zones: Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) + :param _builtins.bool enabled: Flag to enable/disable DNS extensions + :param Sequence[_builtins.str] zones: Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) """ pulumi.set(__self__, "enabled", enabled) pulumi.set(__self__, "zones", zones) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> builtins.bool: + def enabled(self) -> _builtins.bool: """ Flag to enable/disable DNS extensions """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter - def zones(self) -> Sequence[builtins.str]: + def zones(self) -> Sequence[_builtins.str]: """ Specify a list of domain filters for externalDNS (e.g., `foo.runs.onstackit.cloud`) """ return pulumi.get(self, "zones") +@pulumi.output_type +class GetSkeClusterExtensionsObservabilityResult(dict): + def __init__(__self__, *, + enabled: _builtins.bool, + instance_id: _builtins.str): + """ + :param _builtins.bool enabled: Flag to enable/disable Observability extensions. + :param _builtins.str instance_id: Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + """ + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "instance_id", instance_id) + + @_builtins.property + @pulumi.getter + def enabled(self) -> _builtins.bool: + """ + Flag to enable/disable Observability extensions. + """ + return pulumi.get(self, "enabled") + + @_builtins.property + @pulumi.getter(name="instanceId") + def instance_id(self) -> _builtins.str: + """ + Observability instance ID to choose which Observability instance is used. Required when enabled is set to `true`. + """ + return pulumi.get(self, "instance_id") + + @pulumi.output_type class GetSkeClusterHibernationResult(dict): def __init__(__self__, *, - end: builtins.str, - start: builtins.str, - timezone: builtins.str): + end: _builtins.str, + start: _builtins.str, + timezone: _builtins.str): """ - :param builtins.str end: End time of hibernation, in crontab syntax. - :param builtins.str start: Start time of cluster hibernation in crontab syntax. - :param builtins.str timezone: Timezone name corresponding to a file in the IANA Time Zone database. + :param _builtins.str end: End time of hibernation, in crontab syntax. + :param _builtins.str start: Start time of cluster hibernation in crontab syntax. + :param _builtins.str timezone: Timezone name corresponding to a file in the IANA Time Zone database. """ pulumi.set(__self__, "end", end) pulumi.set(__self__, "start", start) pulumi.set(__self__, "timezone", timezone) - @property + @_builtins.property @pulumi.getter - def end(self) -> builtins.str: + def end(self) -> _builtins.str: """ End time of hibernation, in crontab syntax. """ return pulumi.get(self, "end") - @property + @_builtins.property @pulumi.getter - def start(self) -> builtins.str: + def start(self) -> _builtins.str: """ Start time of cluster hibernation in crontab syntax. """ return pulumi.get(self, "start") - @property + @_builtins.property @pulumi.getter - def timezone(self) -> builtins.str: + def timezone(self) -> _builtins.str: """ Timezone name corresponding to a file in the IANA Time Zone database. """ @@ -7414,48 +8414,48 @@ def timezone(self) -> builtins.str: @pulumi.output_type class GetSkeClusterMaintenanceResult(dict): def __init__(__self__, *, - enable_kubernetes_version_updates: builtins.bool, - enable_machine_image_version_updates: builtins.bool, - end: builtins.str, - start: builtins.str): + enable_kubernetes_version_updates: _builtins.bool, + enable_machine_image_version_updates: _builtins.bool, + end: _builtins.str, + start: _builtins.str): """ - :param builtins.bool enable_kubernetes_version_updates: Flag to enable/disable auto-updates of the Kubernetes version. - :param builtins.bool enable_machine_image_version_updates: Flag to enable/disable auto-updates of the OS image version. - :param builtins.str end: Date time for maintenance window end. - :param builtins.str start: Date time for maintenance window start. + :param _builtins.bool enable_kubernetes_version_updates: Flag to enable/disable auto-updates of the Kubernetes version. + :param _builtins.bool enable_machine_image_version_updates: Flag to enable/disable auto-updates of the OS image version. + :param _builtins.str end: Date time for maintenance window end. + :param _builtins.str start: Date time for maintenance window start. """ pulumi.set(__self__, "enable_kubernetes_version_updates", enable_kubernetes_version_updates) pulumi.set(__self__, "enable_machine_image_version_updates", enable_machine_image_version_updates) pulumi.set(__self__, "end", end) pulumi.set(__self__, "start", start) - @property + @_builtins.property @pulumi.getter(name="enableKubernetesVersionUpdates") - def enable_kubernetes_version_updates(self) -> builtins.bool: + def enable_kubernetes_version_updates(self) -> _builtins.bool: """ Flag to enable/disable auto-updates of the Kubernetes version. """ return pulumi.get(self, "enable_kubernetes_version_updates") - @property + @_builtins.property @pulumi.getter(name="enableMachineImageVersionUpdates") - def enable_machine_image_version_updates(self) -> builtins.bool: + def enable_machine_image_version_updates(self) -> _builtins.bool: """ Flag to enable/disable auto-updates of the OS image version. """ return pulumi.get(self, "enable_machine_image_version_updates") - @property + @_builtins.property @pulumi.getter - def end(self) -> builtins.str: + def end(self) -> _builtins.str: """ Date time for maintenance window end. """ return pulumi.get(self, "end") - @property + @_builtins.property @pulumi.getter - def start(self) -> builtins.str: + def start(self) -> _builtins.str: """ Date time for maintenance window start. """ @@ -7465,15 +8465,15 @@ def start(self) -> builtins.str: @pulumi.output_type class GetSkeClusterNetworkResult(dict): def __init__(__self__, *, - id: builtins.str): + id: _builtins.str): """ - :param builtins.str id: ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. + :param _builtins.str id: ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. """ pulumi.set(__self__, "id", id) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: """ ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed. """ @@ -7483,41 +8483,41 @@ def id(self) -> builtins.str: @pulumi.output_type class GetSkeClusterNodePoolResult(dict): def __init__(__self__, *, - allow_system_components: builtins.bool, - availability_zones: Sequence[builtins.str], - cri: builtins.str, - labels: Mapping[str, builtins.str], - machine_type: builtins.str, - max_surge: builtins.int, - max_unavailable: builtins.int, - maximum: builtins.int, - minimum: builtins.int, - name: builtins.str, - os_name: builtins.str, - os_version: builtins.str, - os_version_min: builtins.str, - os_version_used: builtins.str, + allow_system_components: _builtins.bool, + availability_zones: Sequence[_builtins.str], + cri: _builtins.str, + labels: Mapping[str, _builtins.str], + machine_type: _builtins.str, + max_surge: _builtins.int, + max_unavailable: _builtins.int, + maximum: _builtins.int, + minimum: _builtins.int, + name: _builtins.str, + os_name: _builtins.str, + os_version: _builtins.str, + os_version_min: _builtins.str, + os_version_used: _builtins.str, taints: Sequence['outputs.GetSkeClusterNodePoolTaintResult'], - volume_size: builtins.int, - volume_type: builtins.str): - """ - :param builtins.bool allow_system_components: Allow system components to run on this node pool. - :param Sequence[builtins.str] availability_zones: Specify a list of availability zones. - :param builtins.str cri: Specifies the container runtime. - :param Mapping[str, builtins.str] labels: Labels to add to each node. - :param builtins.str machine_type: The machine type. - :param builtins.int max_surge: The maximum number of nodes upgraded simultaneously. - :param builtins.int max_unavailable: The maximum number of nodes unavailable during upgraded. - :param builtins.int maximum: Maximum number of nodes in the pool. - :param builtins.int minimum: Minimum number of nodes in the pool. - :param builtins.str name: Specifies the name of the node pool. - :param builtins.str os_name: The name of the OS image. - :param builtins.str os_version: The OS image version. - :param builtins.str os_version_min: The minimum OS image version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. - :param builtins.str os_version_used: Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + volume_size: _builtins.int, + volume_type: _builtins.str): + """ + :param _builtins.bool allow_system_components: Allow system components to run on this node pool. + :param Sequence[_builtins.str] availability_zones: Specify a list of availability zones. + :param _builtins.str cri: Specifies the container runtime. + :param Mapping[str, _builtins.str] labels: Labels to add to each node. + :param _builtins.str machine_type: The machine type. + :param _builtins.int max_surge: The maximum number of nodes upgraded simultaneously. + :param _builtins.int max_unavailable: The maximum number of nodes unavailable during upgraded. + :param _builtins.int maximum: Maximum number of nodes in the pool. + :param _builtins.int minimum: Minimum number of nodes in the pool. + :param _builtins.str name: Specifies the name of the node pool. + :param _builtins.str os_name: The name of the OS image. + :param _builtins.str os_version: The OS image version. + :param _builtins.str os_version_min: The minimum OS image version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. + :param _builtins.str os_version_used: Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). :param Sequence['GetSkeClusterNodePoolTaintArgs'] taints: Specifies a taint list as defined below. - :param builtins.int volume_size: The volume size in GB. - :param builtins.str volume_type: Specifies the volume type. + :param _builtins.int volume_size: The volume size in GB. + :param _builtins.str volume_type: Specifies the volume type. """ pulumi.set(__self__, "allow_system_components", allow_system_components) pulumi.set(__self__, "availability_zones", availability_zones) @@ -7537,119 +8537,119 @@ def __init__(__self__, *, pulumi.set(__self__, "volume_size", volume_size) pulumi.set(__self__, "volume_type", volume_type) - @property + @_builtins.property @pulumi.getter(name="allowSystemComponents") - def allow_system_components(self) -> builtins.bool: + def allow_system_components(self) -> _builtins.bool: """ Allow system components to run on this node pool. """ return pulumi.get(self, "allow_system_components") - @property + @_builtins.property @pulumi.getter(name="availabilityZones") - def availability_zones(self) -> Sequence[builtins.str]: + def availability_zones(self) -> Sequence[_builtins.str]: """ Specify a list of availability zones. """ return pulumi.get(self, "availability_zones") - @property + @_builtins.property @pulumi.getter - def cri(self) -> builtins.str: + def cri(self) -> _builtins.str: """ Specifies the container runtime. """ return pulumi.get(self, "cri") - @property + @_builtins.property @pulumi.getter - def labels(self) -> Mapping[str, builtins.str]: + def labels(self) -> Mapping[str, _builtins.str]: """ Labels to add to each node. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="machineType") - def machine_type(self) -> builtins.str: + def machine_type(self) -> _builtins.str: """ The machine type. """ return pulumi.get(self, "machine_type") - @property + @_builtins.property @pulumi.getter(name="maxSurge") - def max_surge(self) -> builtins.int: + def max_surge(self) -> _builtins.int: """ The maximum number of nodes upgraded simultaneously. """ return pulumi.get(self, "max_surge") - @property + @_builtins.property @pulumi.getter(name="maxUnavailable") - def max_unavailable(self) -> builtins.int: + def max_unavailable(self) -> _builtins.int: """ The maximum number of nodes unavailable during upgraded. """ return pulumi.get(self, "max_unavailable") - @property + @_builtins.property @pulumi.getter - def maximum(self) -> builtins.int: + def maximum(self) -> _builtins.int: """ Maximum number of nodes in the pool. """ return pulumi.get(self, "maximum") - @property + @_builtins.property @pulumi.getter - def minimum(self) -> builtins.int: + def minimum(self) -> _builtins.int: """ Minimum number of nodes in the pool. """ return pulumi.get(self, "minimum") - @property + @_builtins.property @pulumi.getter - def name(self) -> builtins.str: + def name(self) -> _builtins.str: """ Specifies the name of the node pool. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="osName") - def os_name(self) -> builtins.str: + def os_name(self) -> _builtins.str: """ The name of the OS image. """ return pulumi.get(self, "os_name") - @property + @_builtins.property @pulumi.getter(name="osVersion") - def os_version(self) -> builtins.str: + def os_version(self) -> _builtins.str: """ The OS image version. """ return pulumi.get(self, "os_version") - @property + @_builtins.property @pulumi.getter(name="osVersionMin") - def os_version_min(self) -> builtins.str: + def os_version_min(self) -> _builtins.str: """ The minimum OS image version, this field is always nil. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current OS image version being used for the node pool, use the read-only `os_version_used` field. """ return pulumi.get(self, "os_version_min") - @property + @_builtins.property @pulumi.getter(name="osVersionUsed") - def os_version_used(self) -> builtins.str: + def os_version_used(self) -> _builtins.str: """ Full OS image version used. For example, if 3815.2 was set in `os_version_min`, this value may result to 3815.2.2. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "os_version_used") - @property + @_builtins.property @pulumi.getter def taints(self) -> Sequence['outputs.GetSkeClusterNodePoolTaintResult']: """ @@ -7657,17 +8657,17 @@ def taints(self) -> Sequence['outputs.GetSkeClusterNodePoolTaintResult']: """ return pulumi.get(self, "taints") - @property + @_builtins.property @pulumi.getter(name="volumeSize") - def volume_size(self) -> builtins.int: + def volume_size(self) -> _builtins.int: """ The volume size in GB. """ return pulumi.get(self, "volume_size") - @property + @_builtins.property @pulumi.getter(name="volumeType") - def volume_type(self) -> builtins.str: + def volume_type(self) -> _builtins.str: """ Specifies the volume type. """ @@ -7677,37 +8677,37 @@ def volume_type(self) -> builtins.str: @pulumi.output_type class GetSkeClusterNodePoolTaintResult(dict): def __init__(__self__, *, - effect: builtins.str, - key: builtins.str, - value: builtins.str): + effect: _builtins.str, + key: _builtins.str, + value: _builtins.str): """ - :param builtins.str effect: The taint effect. - :param builtins.str key: Taint key to be applied to a node. - :param builtins.str value: Taint value corresponding to the taint key. + :param _builtins.str effect: The taint effect. + :param _builtins.str key: Taint key to be applied to a node. + :param _builtins.str value: Taint value corresponding to the taint key. """ pulumi.set(__self__, "effect", effect) pulumi.set(__self__, "key", key) pulumi.set(__self__, "value", value) - @property + @_builtins.property @pulumi.getter - def effect(self) -> builtins.str: + def effect(self) -> _builtins.str: """ The taint effect. """ return pulumi.get(self, "effect") - @property + @_builtins.property @pulumi.getter - def key(self) -> builtins.str: + def key(self) -> _builtins.str: """ Taint key to be applied to a node. """ return pulumi.get(self, "key") - @property + @_builtins.property @pulumi.getter - def value(self) -> builtins.str: + def value(self) -> _builtins.str: """ Taint value corresponding to the taint key. """ @@ -7717,97 +8717,97 @@ def value(self) -> builtins.str: @pulumi.output_type class GetSqlserverflexInstanceFlavorResult(dict): def __init__(__self__, *, - cpu: builtins.int, - description: builtins.str, - id: builtins.str, - ram: builtins.int): + cpu: _builtins.int, + description: _builtins.str, + id: _builtins.str, + ram: _builtins.int): pulumi.set(__self__, "cpu", cpu) pulumi.set(__self__, "description", description) pulumi.set(__self__, "id", id) pulumi.set(__self__, "ram", ram) - @property + @_builtins.property @pulumi.getter - def cpu(self) -> builtins.int: + def cpu(self) -> _builtins.int: return pulumi.get(self, "cpu") - @property + @_builtins.property @pulumi.getter - def description(self) -> builtins.str: + def description(self) -> _builtins.str: return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def ram(self) -> builtins.int: + def ram(self) -> _builtins.int: return pulumi.get(self, "ram") @pulumi.output_type class GetSqlserverflexInstanceOptionsResult(dict): def __init__(__self__, *, - edition: builtins.str, - retention_days: builtins.int): + edition: _builtins.str, + retention_days: _builtins.int): pulumi.set(__self__, "edition", edition) pulumi.set(__self__, "retention_days", retention_days) - @property + @_builtins.property @pulumi.getter - def edition(self) -> builtins.str: + def edition(self) -> _builtins.str: return pulumi.get(self, "edition") - @property + @_builtins.property @pulumi.getter(name="retentionDays") - def retention_days(self) -> builtins.int: + def retention_days(self) -> _builtins.int: return pulumi.get(self, "retention_days") @pulumi.output_type class GetSqlserverflexInstanceStorageResult(dict): def __init__(__self__, *, - class_: builtins.str, - size: builtins.int): + class_: _builtins.str, + size: _builtins.int): pulumi.set(__self__, "class_", class_) pulumi.set(__self__, "size", size) - @property + @_builtins.property @pulumi.getter(name="class") - def class_(self) -> builtins.str: + def class_(self) -> _builtins.str: return pulumi.get(self, "class_") - @property + @_builtins.property @pulumi.getter - def size(self) -> builtins.int: + def size(self) -> _builtins.int: return pulumi.get(self, "size") @pulumi.output_type class GetVolumeSourceResult(dict): def __init__(__self__, *, - id: builtins.str, - type: builtins.str): + id: _builtins.str, + type: _builtins.str): """ - :param builtins.str id: The ID of the source, e.g. image ID - :param builtins.str type: The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. + :param _builtins.str id: The ID of the source, e.g. image ID + :param _builtins.str type: The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. """ pulumi.set(__self__, "id", id) pulumi.set(__self__, "type", type) - @property + @_builtins.property @pulumi.getter - def id(self) -> builtins.str: + def id(self) -> _builtins.str: """ The ID of the source, e.g. image ID """ return pulumi.get(self, "id") - @property + @_builtins.property @pulumi.getter - def type(self) -> builtins.str: + def type(self) -> _builtins.str: """ The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`. """ diff --git a/sdk/python/pulumi_stackit/postgresflex_database.py b/sdk/python/pulumi_stackit/postgresflex_database.py index 364e0d79..6f544be3 100644 --- a/sdk/python/pulumi_stackit/postgresflex_database.py +++ b/sdk/python/pulumi_stackit/postgresflex_database.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,18 +19,18 @@ @pulumi.input_type class PostgresflexDatabaseArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - owner: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + instance_id: pulumi.Input[_builtins.str], + owner: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a PostgresflexDatabase resource. - :param pulumi.Input[builtins.str] instance_id: ID of the Postgres Flex instance. - :param pulumi.Input[builtins.str] owner: Username of the database owner. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] name: Database name. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] instance_id: ID of the Postgres Flex instance. + :param pulumi.Input[_builtins.str] owner: Username of the database owner. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] name: Database name. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "owner", owner) @@ -41,84 +40,84 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the Postgres Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def owner(self) -> pulumi.Input[builtins.str]: + def owner(self) -> pulumi.Input[_builtins.str]: """ Username of the database owner. """ return pulumi.get(self, "owner") @owner.setter - def owner(self, value: pulumi.Input[builtins.str]): + def owner(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "owner", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Database name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _PostgresflexDatabaseState: def __init__(__self__, *, - database_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + database_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering PostgresflexDatabase resources. - :param pulumi.Input[builtins.str] database_id: Database ID. - :param pulumi.Input[builtins.str] instance_id: ID of the Postgres Flex instance. - :param pulumi.Input[builtins.str] name: Database name. - :param pulumi.Input[builtins.str] owner: Username of the database owner. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] database_id: Database ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the Postgres Flex instance. + :param pulumi.Input[_builtins.str] name: Database name. + :param pulumi.Input[_builtins.str] owner: Username of the database owner. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ if database_id is not None: pulumi.set(__self__, "database_id", database_id) @@ -133,76 +132,76 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="databaseId") - def database_id(self) -> Optional[pulumi.Input[builtins.str]]: + def database_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Database ID. """ return pulumi.get(self, "database_id") @database_id.setter - def database_id(self, value: Optional[pulumi.Input[builtins.str]]): + def database_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "database_id", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the Postgres Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Database name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def owner(self) -> Optional[pulumi.Input[builtins.str]]: + def owner(self) -> Optional[pulumi.Input[_builtins.str]]: """ Username of the database owner. """ return pulumi.get(self, "owner") @owner.setter - def owner(self, value: Optional[pulumi.Input[builtins.str]]): + def owner(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "owner", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @@ -212,11 +211,11 @@ class PostgresflexDatabase(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Postgres Flex database resource schema. Must have a `region` specified in the provider configuration. @@ -225,11 +224,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the Postgres Flex instance. - :param pulumi.Input[builtins.str] name: Database name. - :param pulumi.Input[builtins.str] owner: Username of the database owner. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] instance_id: ID of the Postgres Flex instance. + :param pulumi.Input[_builtins.str] name: Database name. + :param pulumi.Input[_builtins.str] owner: Username of the database owner. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -257,11 +256,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -293,12 +292,12 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - database_id: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None) -> 'PostgresflexDatabase': + database_id: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None) -> 'PostgresflexDatabase': """ Get an existing PostgresflexDatabase resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -306,12 +305,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] database_id: Database ID. - :param pulumi.Input[builtins.str] instance_id: ID of the Postgres Flex instance. - :param pulumi.Input[builtins.str] name: Database name. - :param pulumi.Input[builtins.str] owner: Username of the database owner. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] database_id: Database ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the Postgres Flex instance. + :param pulumi.Input[_builtins.str] name: Database name. + :param pulumi.Input[_builtins.str] owner: Username of the database owner. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -325,49 +324,49 @@ def get(resource_name: str, __props__.__dict__["region"] = region return PostgresflexDatabase(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="databaseId") - def database_id(self) -> pulumi.Output[builtins.str]: + def database_id(self) -> pulumi.Output[_builtins.str]: """ Database ID. """ return pulumi.get(self, "database_id") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the Postgres Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Database name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter - def owner(self) -> pulumi.Output[builtins.str]: + def owner(self) -> pulumi.Output[_builtins.str]: """ Username of the database owner. """ return pulumi.get(self, "owner") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ diff --git a/sdk/python/pulumi_stackit/postgresflex_instance.py b/sdk/python/pulumi_stackit/postgresflex_instance.py index 625d7c7e..139f6bde 100644 --- a/sdk/python/pulumi_stackit/postgresflex_instance.py +++ b/sdk/python/pulumi_stackit/postgresflex_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,21 +21,21 @@ @pulumi.input_type class PostgresflexInstanceArgs: def __init__(__self__, *, - acls: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - backup_schedule: pulumi.Input[builtins.str], + acls: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + backup_schedule: pulumi.Input[_builtins.str], flavor: pulumi.Input['PostgresflexInstanceFlavorArgs'], - project_id: pulumi.Input[builtins.str], - replicas: pulumi.Input[builtins.int], + project_id: pulumi.Input[_builtins.str], + replicas: pulumi.Input[_builtins.int], storage: pulumi.Input['PostgresflexInstanceStorageArgs'], - version: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + version: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a PostgresflexInstance resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "acls", acls) pulumi.set(__self__, "backup_schedule", backup_schedule) @@ -50,28 +49,28 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter - def acls(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def acls(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ The Access Control List (ACL) for the PostgresFlex instance. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def acls(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> pulumi.Input[builtins.str]: + def backup_schedule(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "backup_schedule") @backup_schedule.setter - def backup_schedule(self, value: pulumi.Input[builtins.str]): + def backup_schedule(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "backup_schedule", value) - @property + @_builtins.property @pulumi.getter def flavor(self) -> pulumi.Input['PostgresflexInstanceFlavorArgs']: return pulumi.get(self, "flavor") @@ -80,28 +79,28 @@ def flavor(self) -> pulumi.Input['PostgresflexInstanceFlavorArgs']: def flavor(self, value: pulumi.Input['PostgresflexInstanceFlavorArgs']): pulumi.set(self, "flavor", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def replicas(self) -> pulumi.Input[builtins.int]: + def replicas(self) -> pulumi.Input[_builtins.int]: return pulumi.get(self, "replicas") @replicas.setter - def replicas(self, value: pulumi.Input[builtins.int]): + def replicas(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "replicas", value) - @property + @_builtins.property @pulumi.getter def storage(self) -> pulumi.Input['PostgresflexInstanceStorageArgs']: return pulumi.get(self, "storage") @@ -110,60 +109,60 @@ def storage(self) -> pulumi.Input['PostgresflexInstanceStorageArgs']: def storage(self, value: pulumi.Input['PostgresflexInstanceStorageArgs']): pulumi.set(self, "storage", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Input[builtins.str]: + def version(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "version") @version.setter - def version(self, value: pulumi.Input[builtins.str]): + def version(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "version", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _PostgresflexInstanceState: def __init__(__self__, *, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input['PostgresflexInstanceFlavorArgs']] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input['PostgresflexInstanceStorageArgs']] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering PostgresflexInstance resources. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. - :param pulumi.Input[builtins.str] instance_id: ID of the PostgresFlex instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. + :param pulumi.Input[_builtins.str] instance_id: ID of the PostgresFlex instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -186,28 +185,28 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The Access Control List (ACL) for the PostgresFlex instance. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> Optional[pulumi.Input[builtins.str]]: + def backup_schedule(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "backup_schedule") @backup_schedule.setter - def backup_schedule(self, value: Optional[pulumi.Input[builtins.str]]): + def backup_schedule(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "backup_schedule", value) - @property + @_builtins.property @pulumi.getter def flavor(self) -> Optional[pulumi.Input['PostgresflexInstanceFlavorArgs']]: return pulumi.get(self, "flavor") @@ -216,64 +215,64 @@ def flavor(self) -> Optional[pulumi.Input['PostgresflexInstanceFlavorArgs']]: def flavor(self, value: Optional[pulumi.Input['PostgresflexInstanceFlavorArgs']]): pulumi.set(self, "flavor", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the PostgresFlex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def replicas(self) -> Optional[pulumi.Input[builtins.int]]: + def replicas(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "replicas") @replicas.setter - def replicas(self, value: Optional[pulumi.Input[builtins.int]]): + def replicas(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "replicas", value) - @property + @_builtins.property @pulumi.getter def storage(self) -> Optional[pulumi.Input['PostgresflexInstanceStorageArgs']]: return pulumi.get(self, "storage") @@ -282,13 +281,13 @@ def storage(self) -> Optional[pulumi.Input['PostgresflexInstanceStorageArgs']]: def storage(self, value: Optional[pulumi.Input['PostgresflexInstanceStorageArgs']]): pulumi.set(self, "storage", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -298,15 +297,15 @@ class PostgresflexInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['PostgresflexInstanceFlavorArgs', 'PostgresflexInstanceFlavorArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input[Union['PostgresflexInstanceStorageArgs', 'PostgresflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Postgres Flex instance resource schema. Must have a `region` specified in the provider configuration. @@ -315,10 +314,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -346,15 +345,15 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['PostgresflexInstanceFlavorArgs', 'PostgresflexInstanceFlavorArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input[Union['PostgresflexInstanceStorageArgs', 'PostgresflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -398,16 +397,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['PostgresflexInstanceFlavorArgs', 'PostgresflexInstanceFlavorArgsDict']]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input[Union['PostgresflexInstanceStorageArgs', 'PostgresflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'PostgresflexInstance': + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'PostgresflexInstance': """ Get an existing PostgresflexInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -415,11 +414,11 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. - :param pulumi.Input[builtins.str] instance_id: ID of the PostgresFlex instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the PostgresFlex instance. + :param pulumi.Input[_builtins.str] instance_id: ID of the PostgresFlex instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -437,68 +436,68 @@ def get(resource_name: str, __props__.__dict__["version"] = version return PostgresflexInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def acls(self) -> pulumi.Output[Sequence[builtins.str]]: + def acls(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The Access Control List (ACL) for the PostgresFlex instance. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> pulumi.Output[builtins.str]: + def backup_schedule(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "backup_schedule") - @property + @_builtins.property @pulumi.getter def flavor(self) -> pulumi.Output['outputs.PostgresflexInstanceFlavor']: return pulumi.get(self, "flavor") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the PostgresFlex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def replicas(self) -> pulumi.Output[builtins.int]: + def replicas(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "replicas") - @property + @_builtins.property @pulumi.getter def storage(self) -> pulumi.Output['outputs.PostgresflexInstanceStorage']: return pulumi.get(self, "storage") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "version") diff --git a/sdk/python/pulumi_stackit/postgresflex_user.py b/sdk/python/pulumi_stackit/postgresflex_user.py index 76690929..18753156 100644 --- a/sdk/python/pulumi_stackit/postgresflex_user.py +++ b/sdk/python/pulumi_stackit/postgresflex_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,17 +19,17 @@ @pulumi.input_type class PostgresflexUserArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - roles: pulumi.Input[Sequence[pulumi.Input[builtins.str]]], - username: pulumi.Input[builtins.str], - region: Optional[pulumi.Input[builtins.str]] = None): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + roles: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + username: pulumi.Input[_builtins.str], + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a PostgresflexUser resource. - :param pulumi.Input[builtins.str] instance_id: ID of the PostgresFlex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] instance_id: ID of the PostgresFlex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) @@ -39,84 +38,84 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the PostgresFlex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def roles(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]: + def roles(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: """ Database access levels for the user. Supported values are: `login`, `createdb`. """ return pulumi.get(self, "roles") @roles.setter - def roles(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]): + def roles(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): pulumi.set(self, "roles", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Input[builtins.str]: + def username(self) -> pulumi.Input[_builtins.str]: return pulumi.get(self, "username") @username.setter - def username(self, value: pulumi.Input[builtins.str]): + def username(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "username", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _PostgresflexUserState: def __init__(__self__, *, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering PostgresflexUser resources. - :param pulumi.Input[builtins.str] instance_id: ID of the PostgresFlex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. - :param pulumi.Input[builtins.str] user_id: User ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the PostgresFlex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. + :param pulumi.Input[_builtins.str] user_id: User ID. """ if host is not None: pulumi.set(__self__, "host", host) @@ -139,109 +138,109 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the PostgresFlex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Database access levels for the user. Supported values are: `login`, `createdb`. """ return pulumi.get(self, "roles") @roles.setter - def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "roles", value) - @property + @_builtins.property @pulumi.getter - def uri(self) -> Optional[pulumi.Input[builtins.str]]: + def uri(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "uri") @uri.setter - def uri(self, value: Optional[pulumi.Input[builtins.str]]): + def uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "uri", value) - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> Optional[pulumi.Input[builtins.str]]: + def user_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ User ID. """ return pulumi.get(self, "user_id") @user_id.setter - def user_id(self, value: Optional[pulumi.Input[builtins.str]]): + def user_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "user_id", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -251,11 +250,11 @@ class PostgresflexUser(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Postgres Flex user resource schema. Must have a `region` specified in the provider configuration. @@ -264,10 +263,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the PostgresFlex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. + :param pulumi.Input[_builtins.str] instance_id: ID of the PostgresFlex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. """ ... @overload @@ -295,11 +294,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -339,16 +338,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'PostgresflexUser': + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'PostgresflexUser': """ Get an existing PostgresflexUser resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -356,11 +355,11 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the PostgresFlex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. - :param pulumi.Input[builtins.str] user_id: User ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the PostgresFlex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. Supported values are: `login`, `createdb`. + :param pulumi.Input[_builtins.str] user_id: User ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -378,68 +377,68 @@ def get(resource_name: str, __props__.__dict__["username"] = username return PostgresflexUser(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the PostgresFlex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def roles(self) -> pulumi.Output[Sequence[builtins.str]]: + def roles(self) -> pulumi.Output[Sequence[_builtins.str]]: """ Database access levels for the user. Supported values are: `login`, `createdb`. """ return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter - def uri(self) -> pulumi.Output[builtins.str]: + def uri(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> pulumi.Output[builtins.str]: + def user_id(self) -> pulumi.Output[_builtins.str]: """ User ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_stackit/provider.py b/sdk/python/pulumi_stackit/provider.py index 0a3bc562..324a1d08 100644 --- a/sdk/python/pulumi_stackit/provider.py +++ b/sdk/python/pulumi_stackit/provider.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,94 +19,83 @@ @pulumi.input_type class ProviderArgs: def __init__(__self__, *, - argus_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - authorization_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - cdn_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - credentials_path: Optional[pulumi.Input[builtins.str]] = None, - default_region: Optional[pulumi.Input[builtins.str]] = None, - dns_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - enable_beta_resources: Optional[pulumi.Input[builtins.bool]] = None, - experiments: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - git_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - iaas_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - loadbalancer_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - logme_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - mariadb_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - modelserving_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - mongodbflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - objectstorage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - observability_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - opensearch_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - postgresflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - private_key: Optional[pulumi.Input[builtins.str]] = None, - private_key_path: Optional[pulumi.Input[builtins.str]] = None, - rabbitmq_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - redis_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - resourcemanager_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - secretsmanager_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - server_backup_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - server_update_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - service_account_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - service_account_key: Optional[pulumi.Input[builtins.str]] = None, - service_account_key_path: Optional[pulumi.Input[builtins.str]] = None, - service_account_token: Optional[pulumi.Input[builtins.str]] = None, - service_enablement_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - ske_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - sqlserverflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - token_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None): + authorization_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + cdn_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + credentials_path: Optional[pulumi.Input[_builtins.str]] = None, + default_region: Optional[pulumi.Input[_builtins.str]] = None, + dns_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + enable_beta_resources: Optional[pulumi.Input[_builtins.bool]] = None, + experiments: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + git_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + iaas_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + loadbalancer_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + logme_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + mariadb_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + modelserving_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + mongodbflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + objectstorage_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + observability_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + opensearch_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + postgresflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + private_key: Optional[pulumi.Input[_builtins.str]] = None, + private_key_path: Optional[pulumi.Input[_builtins.str]] = None, + rabbitmq_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + redis_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + resourcemanager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + scf_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + secretsmanager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + server_backup_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + server_update_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + service_account_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + service_account_key: Optional[pulumi.Input[_builtins.str]] = None, + service_account_key_path: Optional[pulumi.Input[_builtins.str]] = None, + service_account_token: Optional[pulumi.Input[_builtins.str]] = None, + service_enablement_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + ske_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + sqlserverflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + token_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a Provider resource. - :param pulumi.Input[builtins.str] argus_custom_endpoint: Custom endpoint for the Argus service - :param pulumi.Input[builtins.str] authorization_custom_endpoint: Custom endpoint for the Membership service - :param pulumi.Input[builtins.str] cdn_custom_endpoint: Custom endpoint for the CDN service - :param pulumi.Input[builtins.str] credentials_path: Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - value is `~/.stackit/credentials.json`. - :param pulumi.Input[builtins.str] default_region: Region will be used as the default location for regional services. Not all services require a region, some are global - :param pulumi.Input[builtins.str] dns_custom_endpoint: Custom endpoint for the DNS service - :param pulumi.Input[builtins.bool] enable_beta_resources: Enable beta resources. Default is false. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] experiments: Enables experiments. These are unstable features without official support. More information can be found in the README. - Available Experiments: [iam] - :param pulumi.Input[builtins.str] git_custom_endpoint: Custom endpoint for the Git service - :param pulumi.Input[builtins.str] iaas_custom_endpoint: Custom endpoint for the IaaS service - :param pulumi.Input[builtins.str] loadbalancer_custom_endpoint: Custom endpoint for the Load Balancer service - :param pulumi.Input[builtins.str] logme_custom_endpoint: Custom endpoint for the LogMe service - :param pulumi.Input[builtins.str] mariadb_custom_endpoint: Custom endpoint for the MariaDB service - :param pulumi.Input[builtins.str] modelserving_custom_endpoint: Custom endpoint for the AI Model Serving service - :param pulumi.Input[builtins.str] mongodbflex_custom_endpoint: Custom endpoint for the MongoDB Flex service - :param pulumi.Input[builtins.str] objectstorage_custom_endpoint: Custom endpoint for the Object Storage service - :param pulumi.Input[builtins.str] observability_custom_endpoint: Custom endpoint for the Observability service - :param pulumi.Input[builtins.str] opensearch_custom_endpoint: Custom endpoint for the OpenSearch service - :param pulumi.Input[builtins.str] postgresflex_custom_endpoint: Custom endpoint for the PostgresFlex service - :param pulumi.Input[builtins.str] private_key: Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - included in the service account key. - :param pulumi.Input[builtins.str] private_key_path: Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - key that is included in the service account key. - :param pulumi.Input[builtins.str] rabbitmq_custom_endpoint: Custom endpoint for the RabbitMQ service - :param pulumi.Input[builtins.str] redis_custom_endpoint: Custom endpoint for the Redis service - :param pulumi.Input[builtins.str] region: Region will be used as the default location for regional services. Not all services require a region, some are global - :param pulumi.Input[builtins.str] resourcemanager_custom_endpoint: Custom endpoint for the Resource Manager service - :param pulumi.Input[builtins.str] secretsmanager_custom_endpoint: Custom endpoint for the Secrets Manager service - :param pulumi.Input[builtins.str] server_backup_custom_endpoint: Custom endpoint for the Server Backup service - :param pulumi.Input[builtins.str] server_update_custom_endpoint: Custom endpoint for the Server Update service - :param pulumi.Input[builtins.str] service_account_custom_endpoint: Custom endpoint for the Service Account service - :param pulumi.Input[builtins.str] service_account_email: Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - if you want to use the resource manager project resource. - :param pulumi.Input[builtins.str] service_account_key: Service account key used for authentication. If set, the key flow will be used to authenticate all operations. - :param pulumi.Input[builtins.str] service_account_key_path: Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - operations. - :param pulumi.Input[builtins.str] service_account_token: Token used for authentication. If set, the token flow will be used to authenticate all operations. - :param pulumi.Input[builtins.str] service_enablement_custom_endpoint: Custom endpoint for the Service Enablement API - :param pulumi.Input[builtins.str] ske_custom_endpoint: Custom endpoint for the Kubernetes Engine (SKE) service - :param pulumi.Input[builtins.str] sqlserverflex_custom_endpoint: Custom endpoint for the SQL Server Flex service - :param pulumi.Input[builtins.str] token_custom_endpoint: Custom endpoint for the token API, which is used to request access tokens when using the key flow - """ - if argus_custom_endpoint is not None: - warnings.warn("""Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observability_custom_endpoint` and `observability` resources instead, which offer the exact same functionality.""", DeprecationWarning) - pulumi.log.warn("""argus_custom_endpoint is deprecated: Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observability_custom_endpoint` and `observability` resources instead, which offer the exact same functionality.""") - if argus_custom_endpoint is not None: - pulumi.set(__self__, "argus_custom_endpoint", argus_custom_endpoint) + :param pulumi.Input[_builtins.str] authorization_custom_endpoint: Custom endpoint for the Membership service + :param pulumi.Input[_builtins.str] cdn_custom_endpoint: Custom endpoint for the CDN service + :param pulumi.Input[_builtins.str] credentials_path: Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. + :param pulumi.Input[_builtins.str] default_region: Region will be used as the default location for regional services. Not all services require a region, some are global + :param pulumi.Input[_builtins.str] dns_custom_endpoint: Custom endpoint for the DNS service + :param pulumi.Input[_builtins.bool] enable_beta_resources: Enable beta resources. Default is false. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] experiments: Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network + :param pulumi.Input[_builtins.str] git_custom_endpoint: Custom endpoint for the Git service + :param pulumi.Input[_builtins.str] iaas_custom_endpoint: Custom endpoint for the IaaS service + :param pulumi.Input[_builtins.str] loadbalancer_custom_endpoint: Custom endpoint for the Load Balancer service + :param pulumi.Input[_builtins.str] logme_custom_endpoint: Custom endpoint for the LogMe service + :param pulumi.Input[_builtins.str] mariadb_custom_endpoint: Custom endpoint for the MariaDB service + :param pulumi.Input[_builtins.str] modelserving_custom_endpoint: Custom endpoint for the AI Model Serving service + :param pulumi.Input[_builtins.str] mongodbflex_custom_endpoint: Custom endpoint for the MongoDB Flex service + :param pulumi.Input[_builtins.str] objectstorage_custom_endpoint: Custom endpoint for the Object Storage service + :param pulumi.Input[_builtins.str] observability_custom_endpoint: Custom endpoint for the Observability service + :param pulumi.Input[_builtins.str] opensearch_custom_endpoint: Custom endpoint for the OpenSearch service + :param pulumi.Input[_builtins.str] postgresflex_custom_endpoint: Custom endpoint for the PostgresFlex service + :param pulumi.Input[_builtins.str] private_key: Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. + :param pulumi.Input[_builtins.str] private_key_path: Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. + :param pulumi.Input[_builtins.str] rabbitmq_custom_endpoint: Custom endpoint for the RabbitMQ service + :param pulumi.Input[_builtins.str] redis_custom_endpoint: Custom endpoint for the Redis service + :param pulumi.Input[_builtins.str] region: Region will be used as the default location for regional services. Not all services require a region, some are global + :param pulumi.Input[_builtins.str] resourcemanager_custom_endpoint: Custom endpoint for the Resource Manager service + :param pulumi.Input[_builtins.str] scf_custom_endpoint: Custom endpoint for the Cloud Foundry (SCF) service + :param pulumi.Input[_builtins.str] secretsmanager_custom_endpoint: Custom endpoint for the Secrets Manager service + :param pulumi.Input[_builtins.str] server_backup_custom_endpoint: Custom endpoint for the Server Backup service + :param pulumi.Input[_builtins.str] server_update_custom_endpoint: Custom endpoint for the Server Update service + :param pulumi.Input[_builtins.str] service_account_custom_endpoint: Custom endpoint for the Service Account service + :param pulumi.Input[_builtins.str] service_account_email: Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. + :param pulumi.Input[_builtins.str] service_account_key: Service account key used for authentication. If set, the key flow will be used to authenticate all operations. + :param pulumi.Input[_builtins.str] service_account_key_path: Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. + :param pulumi.Input[_builtins.str] service_account_token: Token used for authentication. If set, the token flow will be used to authenticate all operations. + :param pulumi.Input[_builtins.str] service_enablement_custom_endpoint: Custom endpoint for the Service Enablement API + :param pulumi.Input[_builtins.str] ske_custom_endpoint: Custom endpoint for the Kubernetes Engine (SKE) service + :param pulumi.Input[_builtins.str] sqlserverflex_custom_endpoint: Custom endpoint for the SQL Server Flex service + :param pulumi.Input[_builtins.str] token_custom_endpoint: Custom endpoint for the token API, which is used to request access tokens when using the key flow + """ if authorization_custom_endpoint is not None: pulumi.set(__self__, "authorization_custom_endpoint", authorization_custom_endpoint) if cdn_custom_endpoint is not None: @@ -159,6 +147,8 @@ def __init__(__self__, *, pulumi.set(__self__, "region", region) if resourcemanager_custom_endpoint is not None: pulumi.set(__self__, "resourcemanager_custom_endpoint", resourcemanager_custom_endpoint) + if scf_custom_endpoint is not None: + pulumi.set(__self__, "scf_custom_endpoint", scf_custom_endpoint) if secretsmanager_custom_endpoint is not None: pulumi.set(__self__, "secretsmanager_custom_endpoint", secretsmanager_custom_endpoint) if server_backup_custom_endpoint is not None: @@ -176,6 +166,9 @@ def __init__(__self__, *, pulumi.set(__self__, "service_account_key", service_account_key) if service_account_key_path is not None: pulumi.set(__self__, "service_account_key_path", service_account_key_path) + if service_account_token is not None: + warnings.warn("""Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `service_account_key` or `service_account_key_path` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html""", DeprecationWarning) + pulumi.log.warn("""service_account_token is deprecated: Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `service_account_key` or `service_account_key_path` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html""") if service_account_token is not None: pulumi.set(__self__, "service_account_token", service_account_token) if service_enablement_custom_endpoint is not None: @@ -187,457 +180,451 @@ def __init__(__self__, *, if token_custom_endpoint is not None: pulumi.set(__self__, "token_custom_endpoint", token_custom_endpoint) - @property - @pulumi.getter(name="argusCustomEndpoint") - @_utilities.deprecated("""Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observability_custom_endpoint` and `observability` resources instead, which offer the exact same functionality.""") - def argus_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: - """ - Custom endpoint for the Argus service - """ - return pulumi.get(self, "argus_custom_endpoint") - - @argus_custom_endpoint.setter - def argus_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): - pulumi.set(self, "argus_custom_endpoint", value) - - @property + @_builtins.property @pulumi.getter(name="authorizationCustomEndpoint") - def authorization_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def authorization_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Membership service """ return pulumi.get(self, "authorization_custom_endpoint") @authorization_custom_endpoint.setter - def authorization_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def authorization_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "authorization_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="cdnCustomEndpoint") - def cdn_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def cdn_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the CDN service """ return pulumi.get(self, "cdn_custom_endpoint") @cdn_custom_endpoint.setter - def cdn_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def cdn_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cdn_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="credentialsPath") - def credentials_path(self) -> Optional[pulumi.Input[builtins.str]]: + def credentials_path(self) -> Optional[pulumi.Input[_builtins.str]]: """ - Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - value is `~/.stackit/credentials.json`. + Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. """ return pulumi.get(self, "credentials_path") @credentials_path.setter - def credentials_path(self, value: Optional[pulumi.Input[builtins.str]]): + def credentials_path(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credentials_path", value) - @property + @_builtins.property @pulumi.getter(name="defaultRegion") - def default_region(self) -> Optional[pulumi.Input[builtins.str]]: + def default_region(self) -> Optional[pulumi.Input[_builtins.str]]: """ Region will be used as the default location for regional services. Not all services require a region, some are global """ return pulumi.get(self, "default_region") @default_region.setter - def default_region(self, value: Optional[pulumi.Input[builtins.str]]): + def default_region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "default_region", value) - @property + @_builtins.property @pulumi.getter(name="dnsCustomEndpoint") - def dns_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def dns_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the DNS service """ return pulumi.get(self, "dns_custom_endpoint") @dns_custom_endpoint.setter - def dns_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def dns_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dns_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="enableBetaResources") - def enable_beta_resources(self) -> Optional[pulumi.Input[builtins.bool]]: + def enable_beta_resources(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Enable beta resources. Default is false. """ return pulumi.get(self, "enable_beta_resources") @enable_beta_resources.setter - def enable_beta_resources(self, value: Optional[pulumi.Input[builtins.bool]]): + def enable_beta_resources(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enable_beta_resources", value) - @property + @_builtins.property @pulumi.getter - def experiments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def experiments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ - Enables experiments. These are unstable features without official support. More information can be found in the README. - Available Experiments: [iam] + Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network """ return pulumi.get(self, "experiments") @experiments.setter - def experiments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def experiments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "experiments", value) - @property + @_builtins.property @pulumi.getter(name="gitCustomEndpoint") - def git_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def git_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Git service """ return pulumi.get(self, "git_custom_endpoint") @git_custom_endpoint.setter - def git_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def git_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "git_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="iaasCustomEndpoint") - def iaas_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def iaas_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the IaaS service """ return pulumi.get(self, "iaas_custom_endpoint") @iaas_custom_endpoint.setter - def iaas_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def iaas_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "iaas_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="loadbalancerCustomEndpoint") - def loadbalancer_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def loadbalancer_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Load Balancer service """ return pulumi.get(self, "loadbalancer_custom_endpoint") @loadbalancer_custom_endpoint.setter - def loadbalancer_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def loadbalancer_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "loadbalancer_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="logmeCustomEndpoint") - def logme_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def logme_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the LogMe service """ return pulumi.get(self, "logme_custom_endpoint") @logme_custom_endpoint.setter - def logme_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def logme_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "logme_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="mariadbCustomEndpoint") - def mariadb_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def mariadb_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the MariaDB service """ return pulumi.get(self, "mariadb_custom_endpoint") @mariadb_custom_endpoint.setter - def mariadb_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def mariadb_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "mariadb_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="modelservingCustomEndpoint") - def modelserving_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def modelserving_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the AI Model Serving service """ return pulumi.get(self, "modelserving_custom_endpoint") @modelserving_custom_endpoint.setter - def modelserving_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def modelserving_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "modelserving_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="mongodbflexCustomEndpoint") - def mongodbflex_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def mongodbflex_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the MongoDB Flex service """ return pulumi.get(self, "mongodbflex_custom_endpoint") @mongodbflex_custom_endpoint.setter - def mongodbflex_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def mongodbflex_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "mongodbflex_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="objectstorageCustomEndpoint") - def objectstorage_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def objectstorage_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Object Storage service """ return pulumi.get(self, "objectstorage_custom_endpoint") @objectstorage_custom_endpoint.setter - def objectstorage_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def objectstorage_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "objectstorage_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="observabilityCustomEndpoint") - def observability_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def observability_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Observability service """ return pulumi.get(self, "observability_custom_endpoint") @observability_custom_endpoint.setter - def observability_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def observability_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "observability_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="opensearchCustomEndpoint") - def opensearch_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def opensearch_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the OpenSearch service """ return pulumi.get(self, "opensearch_custom_endpoint") @opensearch_custom_endpoint.setter - def opensearch_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def opensearch_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "opensearch_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="postgresflexCustomEndpoint") - def postgresflex_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def postgresflex_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the PostgresFlex service """ return pulumi.get(self, "postgresflex_custom_endpoint") @postgresflex_custom_endpoint.setter - def postgresflex_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def postgresflex_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "postgresflex_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="privateKey") - def private_key(self) -> Optional[pulumi.Input[builtins.str]]: + def private_key(self) -> Optional[pulumi.Input[_builtins.str]]: """ - Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - included in the service account key. + Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ return pulumi.get(self, "private_key") @private_key.setter - def private_key(self, value: Optional[pulumi.Input[builtins.str]]): + def private_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "private_key", value) - @property + @_builtins.property @pulumi.getter(name="privateKeyPath") - def private_key_path(self) -> Optional[pulumi.Input[builtins.str]]: + def private_key_path(self) -> Optional[pulumi.Input[_builtins.str]]: """ - Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - key that is included in the service account key. + Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ return pulumi.get(self, "private_key_path") @private_key_path.setter - def private_key_path(self, value: Optional[pulumi.Input[builtins.str]]): + def private_key_path(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "private_key_path", value) - @property + @_builtins.property @pulumi.getter(name="rabbitmqCustomEndpoint") - def rabbitmq_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def rabbitmq_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the RabbitMQ service """ return pulumi.get(self, "rabbitmq_custom_endpoint") @rabbitmq_custom_endpoint.setter - def rabbitmq_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def rabbitmq_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "rabbitmq_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="redisCustomEndpoint") - def redis_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def redis_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Redis service """ return pulumi.get(self, "redis_custom_endpoint") @redis_custom_endpoint.setter - def redis_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def redis_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "redis_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""This attribute is deprecated. Use 'default_region' instead""") - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ Region will be used as the default location for regional services. Not all services require a region, some are global """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter(name="resourcemanagerCustomEndpoint") - def resourcemanager_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def resourcemanager_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Resource Manager service """ return pulumi.get(self, "resourcemanager_custom_endpoint") @resourcemanager_custom_endpoint.setter - def resourcemanager_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def resourcemanager_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "resourcemanager_custom_endpoint", value) - @property + @_builtins.property + @pulumi.getter(name="scfCustomEndpoint") + def scf_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Custom endpoint for the Cloud Foundry (SCF) service + """ + return pulumi.get(self, "scf_custom_endpoint") + + @scf_custom_endpoint.setter + def scf_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "scf_custom_endpoint", value) + + @_builtins.property @pulumi.getter(name="secretsmanagerCustomEndpoint") - def secretsmanager_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def secretsmanager_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Secrets Manager service """ return pulumi.get(self, "secretsmanager_custom_endpoint") @secretsmanager_custom_endpoint.setter - def secretsmanager_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def secretsmanager_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "secretsmanager_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="serverBackupCustomEndpoint") - def server_backup_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def server_backup_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Server Backup service """ return pulumi.get(self, "server_backup_custom_endpoint") @server_backup_custom_endpoint.setter - def server_backup_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def server_backup_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_backup_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="serverUpdateCustomEndpoint") - def server_update_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def server_update_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Server Update service """ return pulumi.get(self, "server_update_custom_endpoint") @server_update_custom_endpoint.setter - def server_update_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def server_update_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_update_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountCustomEndpoint") - def service_account_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def service_account_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Service Account service """ return pulumi.get(self, "service_account_custom_endpoint") @service_account_custom_endpoint.setter - def service_account_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") @_utilities.deprecated("""The `service_account_email` field has been deprecated because it is not required. Will be removed after June 12th 2025.""") - def service_account_email(self) -> Optional[pulumi.Input[builtins.str]]: + def service_account_email(self) -> Optional[pulumi.Input[_builtins.str]]: """ - Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - if you want to use the resource manager project resource. + Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. """ return pulumi.get(self, "service_account_email") @service_account_email.setter - def service_account_email(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_email", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountKey") - def service_account_key(self) -> Optional[pulumi.Input[builtins.str]]: + def service_account_key(self) -> Optional[pulumi.Input[_builtins.str]]: """ Service account key used for authentication. If set, the key flow will be used to authenticate all operations. """ return pulumi.get(self, "service_account_key") @service_account_key.setter - def service_account_key(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_key", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountKeyPath") - def service_account_key_path(self) -> Optional[pulumi.Input[builtins.str]]: + def service_account_key_path(self) -> Optional[pulumi.Input[_builtins.str]]: """ - Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - operations. + Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. """ return pulumi.get(self, "service_account_key_path") @service_account_key_path.setter - def service_account_key_path(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_key_path(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_key_path", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountToken") - def service_account_token(self) -> Optional[pulumi.Input[builtins.str]]: + @_utilities.deprecated("""Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `service_account_key` or `service_account_key_path` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html""") + def service_account_token(self) -> Optional[pulumi.Input[_builtins.str]]: """ Token used for authentication. If set, the token flow will be used to authenticate all operations. """ return pulumi.get(self, "service_account_token") @service_account_token.setter - def service_account_token(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_token(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_token", value) - @property + @_builtins.property @pulumi.getter(name="serviceEnablementCustomEndpoint") - def service_enablement_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def service_enablement_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Service Enablement API """ return pulumi.get(self, "service_enablement_custom_endpoint") @service_enablement_custom_endpoint.setter - def service_enablement_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def service_enablement_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_enablement_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="skeCustomEndpoint") - def ske_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def ske_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the Kubernetes Engine (SKE) service """ return pulumi.get(self, "ske_custom_endpoint") @ske_custom_endpoint.setter - def ske_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def ske_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ske_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="sqlserverflexCustomEndpoint") - def sqlserverflex_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def sqlserverflex_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the SQL Server Flex service """ return pulumi.get(self, "sqlserverflex_custom_endpoint") @sqlserverflex_custom_endpoint.setter - def sqlserverflex_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def sqlserverflex_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "sqlserverflex_custom_endpoint", value) - @property + @_builtins.property @pulumi.getter(name="tokenCustomEndpoint") - def token_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]: + def token_custom_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]: """ Custom endpoint for the token API, which is used to request access tokens when using the key flow """ return pulumi.get(self, "token_custom_endpoint") @token_custom_endpoint.setter - def token_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]): + def token_custom_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "token_custom_endpoint", value) @@ -647,43 +634,43 @@ class Provider(pulumi.ProviderResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - argus_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - authorization_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - cdn_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - credentials_path: Optional[pulumi.Input[builtins.str]] = None, - default_region: Optional[pulumi.Input[builtins.str]] = None, - dns_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - enable_beta_resources: Optional[pulumi.Input[builtins.bool]] = None, - experiments: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - git_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - iaas_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - loadbalancer_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - logme_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - mariadb_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - modelserving_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - mongodbflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - objectstorage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - observability_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - opensearch_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - postgresflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - private_key: Optional[pulumi.Input[builtins.str]] = None, - private_key_path: Optional[pulumi.Input[builtins.str]] = None, - rabbitmq_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - redis_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - resourcemanager_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - secretsmanager_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - server_backup_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - server_update_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - service_account_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - service_account_key: Optional[pulumi.Input[builtins.str]] = None, - service_account_key_path: Optional[pulumi.Input[builtins.str]] = None, - service_account_token: Optional[pulumi.Input[builtins.str]] = None, - service_enablement_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - ske_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - sqlserverflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - token_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, + authorization_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + cdn_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + credentials_path: Optional[pulumi.Input[_builtins.str]] = None, + default_region: Optional[pulumi.Input[_builtins.str]] = None, + dns_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + enable_beta_resources: Optional[pulumi.Input[_builtins.bool]] = None, + experiments: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + git_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + iaas_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + loadbalancer_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + logme_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + mariadb_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + modelserving_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + mongodbflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + objectstorage_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + observability_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + opensearch_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + postgresflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + private_key: Optional[pulumi.Input[_builtins.str]] = None, + private_key_path: Optional[pulumi.Input[_builtins.str]] = None, + rabbitmq_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + redis_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + resourcemanager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + scf_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + secretsmanager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + server_backup_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + server_update_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + service_account_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + service_account_key: Optional[pulumi.Input[_builtins.str]] = None, + service_account_key_path: Optional[pulumi.Input[_builtins.str]] = None, + service_account_token: Optional[pulumi.Input[_builtins.str]] = None, + service_enablement_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + ske_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + sqlserverflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + token_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ The provider type for the stackit package. By default, resources use package-wide configuration @@ -693,49 +680,43 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] argus_custom_endpoint: Custom endpoint for the Argus service - :param pulumi.Input[builtins.str] authorization_custom_endpoint: Custom endpoint for the Membership service - :param pulumi.Input[builtins.str] cdn_custom_endpoint: Custom endpoint for the CDN service - :param pulumi.Input[builtins.str] credentials_path: Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - value is `~/.stackit/credentials.json`. - :param pulumi.Input[builtins.str] default_region: Region will be used as the default location for regional services. Not all services require a region, some are global - :param pulumi.Input[builtins.str] dns_custom_endpoint: Custom endpoint for the DNS service - :param pulumi.Input[builtins.bool] enable_beta_resources: Enable beta resources. Default is false. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] experiments: Enables experiments. These are unstable features without official support. More information can be found in the README. - Available Experiments: [iam] - :param pulumi.Input[builtins.str] git_custom_endpoint: Custom endpoint for the Git service - :param pulumi.Input[builtins.str] iaas_custom_endpoint: Custom endpoint for the IaaS service - :param pulumi.Input[builtins.str] loadbalancer_custom_endpoint: Custom endpoint for the Load Balancer service - :param pulumi.Input[builtins.str] logme_custom_endpoint: Custom endpoint for the LogMe service - :param pulumi.Input[builtins.str] mariadb_custom_endpoint: Custom endpoint for the MariaDB service - :param pulumi.Input[builtins.str] modelserving_custom_endpoint: Custom endpoint for the AI Model Serving service - :param pulumi.Input[builtins.str] mongodbflex_custom_endpoint: Custom endpoint for the MongoDB Flex service - :param pulumi.Input[builtins.str] objectstorage_custom_endpoint: Custom endpoint for the Object Storage service - :param pulumi.Input[builtins.str] observability_custom_endpoint: Custom endpoint for the Observability service - :param pulumi.Input[builtins.str] opensearch_custom_endpoint: Custom endpoint for the OpenSearch service - :param pulumi.Input[builtins.str] postgresflex_custom_endpoint: Custom endpoint for the PostgresFlex service - :param pulumi.Input[builtins.str] private_key: Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - included in the service account key. - :param pulumi.Input[builtins.str] private_key_path: Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - key that is included in the service account key. - :param pulumi.Input[builtins.str] rabbitmq_custom_endpoint: Custom endpoint for the RabbitMQ service - :param pulumi.Input[builtins.str] redis_custom_endpoint: Custom endpoint for the Redis service - :param pulumi.Input[builtins.str] region: Region will be used as the default location for regional services. Not all services require a region, some are global - :param pulumi.Input[builtins.str] resourcemanager_custom_endpoint: Custom endpoint for the Resource Manager service - :param pulumi.Input[builtins.str] secretsmanager_custom_endpoint: Custom endpoint for the Secrets Manager service - :param pulumi.Input[builtins.str] server_backup_custom_endpoint: Custom endpoint for the Server Backup service - :param pulumi.Input[builtins.str] server_update_custom_endpoint: Custom endpoint for the Server Update service - :param pulumi.Input[builtins.str] service_account_custom_endpoint: Custom endpoint for the Service Account service - :param pulumi.Input[builtins.str] service_account_email: Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - if you want to use the resource manager project resource. - :param pulumi.Input[builtins.str] service_account_key: Service account key used for authentication. If set, the key flow will be used to authenticate all operations. - :param pulumi.Input[builtins.str] service_account_key_path: Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - operations. - :param pulumi.Input[builtins.str] service_account_token: Token used for authentication. If set, the token flow will be used to authenticate all operations. - :param pulumi.Input[builtins.str] service_enablement_custom_endpoint: Custom endpoint for the Service Enablement API - :param pulumi.Input[builtins.str] ske_custom_endpoint: Custom endpoint for the Kubernetes Engine (SKE) service - :param pulumi.Input[builtins.str] sqlserverflex_custom_endpoint: Custom endpoint for the SQL Server Flex service - :param pulumi.Input[builtins.str] token_custom_endpoint: Custom endpoint for the token API, which is used to request access tokens when using the key flow + :param pulumi.Input[_builtins.str] authorization_custom_endpoint: Custom endpoint for the Membership service + :param pulumi.Input[_builtins.str] cdn_custom_endpoint: Custom endpoint for the CDN service + :param pulumi.Input[_builtins.str] credentials_path: Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. + :param pulumi.Input[_builtins.str] default_region: Region will be used as the default location for regional services. Not all services require a region, some are global + :param pulumi.Input[_builtins.str] dns_custom_endpoint: Custom endpoint for the DNS service + :param pulumi.Input[_builtins.bool] enable_beta_resources: Enable beta resources. Default is false. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] experiments: Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network + :param pulumi.Input[_builtins.str] git_custom_endpoint: Custom endpoint for the Git service + :param pulumi.Input[_builtins.str] iaas_custom_endpoint: Custom endpoint for the IaaS service + :param pulumi.Input[_builtins.str] loadbalancer_custom_endpoint: Custom endpoint for the Load Balancer service + :param pulumi.Input[_builtins.str] logme_custom_endpoint: Custom endpoint for the LogMe service + :param pulumi.Input[_builtins.str] mariadb_custom_endpoint: Custom endpoint for the MariaDB service + :param pulumi.Input[_builtins.str] modelserving_custom_endpoint: Custom endpoint for the AI Model Serving service + :param pulumi.Input[_builtins.str] mongodbflex_custom_endpoint: Custom endpoint for the MongoDB Flex service + :param pulumi.Input[_builtins.str] objectstorage_custom_endpoint: Custom endpoint for the Object Storage service + :param pulumi.Input[_builtins.str] observability_custom_endpoint: Custom endpoint for the Observability service + :param pulumi.Input[_builtins.str] opensearch_custom_endpoint: Custom endpoint for the OpenSearch service + :param pulumi.Input[_builtins.str] postgresflex_custom_endpoint: Custom endpoint for the PostgresFlex service + :param pulumi.Input[_builtins.str] private_key: Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. + :param pulumi.Input[_builtins.str] private_key_path: Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. + :param pulumi.Input[_builtins.str] rabbitmq_custom_endpoint: Custom endpoint for the RabbitMQ service + :param pulumi.Input[_builtins.str] redis_custom_endpoint: Custom endpoint for the Redis service + :param pulumi.Input[_builtins.str] region: Region will be used as the default location for regional services. Not all services require a region, some are global + :param pulumi.Input[_builtins.str] resourcemanager_custom_endpoint: Custom endpoint for the Resource Manager service + :param pulumi.Input[_builtins.str] scf_custom_endpoint: Custom endpoint for the Cloud Foundry (SCF) service + :param pulumi.Input[_builtins.str] secretsmanager_custom_endpoint: Custom endpoint for the Secrets Manager service + :param pulumi.Input[_builtins.str] server_backup_custom_endpoint: Custom endpoint for the Server Backup service + :param pulumi.Input[_builtins.str] server_update_custom_endpoint: Custom endpoint for the Server Update service + :param pulumi.Input[_builtins.str] service_account_custom_endpoint: Custom endpoint for the Service Account service + :param pulumi.Input[_builtins.str] service_account_email: Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. + :param pulumi.Input[_builtins.str] service_account_key: Service account key used for authentication. If set, the key flow will be used to authenticate all operations. + :param pulumi.Input[_builtins.str] service_account_key_path: Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. + :param pulumi.Input[_builtins.str] service_account_token: Token used for authentication. If set, the token flow will be used to authenticate all operations. + :param pulumi.Input[_builtins.str] service_enablement_custom_endpoint: Custom endpoint for the Service Enablement API + :param pulumi.Input[_builtins.str] ske_custom_endpoint: Custom endpoint for the Kubernetes Engine (SKE) service + :param pulumi.Input[_builtins.str] sqlserverflex_custom_endpoint: Custom endpoint for the SQL Server Flex service + :param pulumi.Input[_builtins.str] token_custom_endpoint: Custom endpoint for the token API, which is used to request access tokens when using the key flow """ ... @overload @@ -764,43 +745,43 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - argus_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - authorization_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - cdn_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - credentials_path: Optional[pulumi.Input[builtins.str]] = None, - default_region: Optional[pulumi.Input[builtins.str]] = None, - dns_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - enable_beta_resources: Optional[pulumi.Input[builtins.bool]] = None, - experiments: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - git_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - iaas_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - loadbalancer_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - logme_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - mariadb_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - modelserving_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - mongodbflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - objectstorage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - observability_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - opensearch_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - postgresflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - private_key: Optional[pulumi.Input[builtins.str]] = None, - private_key_path: Optional[pulumi.Input[builtins.str]] = None, - rabbitmq_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - redis_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - resourcemanager_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - secretsmanager_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - server_backup_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - server_update_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - service_account_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - service_account_key: Optional[pulumi.Input[builtins.str]] = None, - service_account_key_path: Optional[pulumi.Input[builtins.str]] = None, - service_account_token: Optional[pulumi.Input[builtins.str]] = None, - service_enablement_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - ske_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - sqlserverflex_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, - token_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None, + authorization_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + cdn_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + credentials_path: Optional[pulumi.Input[_builtins.str]] = None, + default_region: Optional[pulumi.Input[_builtins.str]] = None, + dns_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + enable_beta_resources: Optional[pulumi.Input[_builtins.bool]] = None, + experiments: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + git_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + iaas_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + loadbalancer_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + logme_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + mariadb_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + modelserving_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + mongodbflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + objectstorage_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + observability_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + opensearch_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + postgresflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + private_key: Optional[pulumi.Input[_builtins.str]] = None, + private_key_path: Optional[pulumi.Input[_builtins.str]] = None, + rabbitmq_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + redis_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + resourcemanager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + scf_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + secretsmanager_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + server_backup_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + server_update_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + service_account_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + service_account_key: Optional[pulumi.Input[_builtins.str]] = None, + service_account_key_path: Optional[pulumi.Input[_builtins.str]] = None, + service_account_token: Optional[pulumi.Input[_builtins.str]] = None, + service_enablement_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + ske_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + sqlserverflex_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, + token_custom_endpoint: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -810,7 +791,6 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ProviderArgs.__new__(ProviderArgs) - __props__.__dict__["argus_custom_endpoint"] = argus_custom_endpoint __props__.__dict__["authorization_custom_endpoint"] = authorization_custom_endpoint __props__.__dict__["cdn_custom_endpoint"] = cdn_custom_endpoint __props__.__dict__["credentials_path"] = credentials_path @@ -835,6 +815,7 @@ def _internal_init(__self__, __props__.__dict__["redis_custom_endpoint"] = redis_custom_endpoint __props__.__dict__["region"] = region __props__.__dict__["resourcemanager_custom_endpoint"] = resourcemanager_custom_endpoint + __props__.__dict__["scf_custom_endpoint"] = scf_custom_endpoint __props__.__dict__["secretsmanager_custom_endpoint"] = secretsmanager_custom_endpoint __props__.__dict__["server_backup_custom_endpoint"] = server_backup_custom_endpoint __props__.__dict__["server_update_custom_endpoint"] = server_update_custom_endpoint @@ -853,289 +834,284 @@ def _internal_init(__self__, __props__, opts) - @property - @pulumi.getter(name="argusCustomEndpoint") - @_utilities.deprecated("""Argus service has been deprecated and integration will be removed after February 26th 2025. Please use `observability_custom_endpoint` and `observability` resources instead, which offer the exact same functionality.""") - def argus_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: - """ - Custom endpoint for the Argus service - """ - return pulumi.get(self, "argus_custom_endpoint") - - @property + @_builtins.property @pulumi.getter(name="authorizationCustomEndpoint") - def authorization_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def authorization_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Membership service """ return pulumi.get(self, "authorization_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="cdnCustomEndpoint") - def cdn_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def cdn_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the CDN service """ return pulumi.get(self, "cdn_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="credentialsPath") - def credentials_path(self) -> pulumi.Output[Optional[builtins.str]]: + def credentials_path(self) -> pulumi.Output[Optional[_builtins.str]]: """ - Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default - value is `~/.stackit/credentials.json`. + Path of JSON from where the credentials are read. Takes precedence over the env var `STACKIT_CREDENTIALS_PATH`. Default value is `~/.stackit/credentials.json`. """ return pulumi.get(self, "credentials_path") - @property + @_builtins.property @pulumi.getter(name="defaultRegion") - def default_region(self) -> pulumi.Output[Optional[builtins.str]]: + def default_region(self) -> pulumi.Output[Optional[_builtins.str]]: """ Region will be used as the default location for regional services. Not all services require a region, some are global """ return pulumi.get(self, "default_region") - @property + @_builtins.property @pulumi.getter(name="dnsCustomEndpoint") - def dns_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def dns_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the DNS service """ return pulumi.get(self, "dns_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="gitCustomEndpoint") - def git_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def git_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Git service """ return pulumi.get(self, "git_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="iaasCustomEndpoint") - def iaas_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def iaas_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the IaaS service """ return pulumi.get(self, "iaas_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="loadbalancerCustomEndpoint") - def loadbalancer_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def loadbalancer_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Load Balancer service """ return pulumi.get(self, "loadbalancer_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="logmeCustomEndpoint") - def logme_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def logme_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the LogMe service """ return pulumi.get(self, "logme_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="mariadbCustomEndpoint") - def mariadb_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def mariadb_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the MariaDB service """ return pulumi.get(self, "mariadb_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="modelservingCustomEndpoint") - def modelserving_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def modelserving_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the AI Model Serving service """ return pulumi.get(self, "modelserving_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="mongodbflexCustomEndpoint") - def mongodbflex_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def mongodbflex_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the MongoDB Flex service """ return pulumi.get(self, "mongodbflex_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="objectstorageCustomEndpoint") - def objectstorage_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def objectstorage_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Object Storage service """ return pulumi.get(self, "objectstorage_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="observabilityCustomEndpoint") - def observability_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def observability_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Observability service """ return pulumi.get(self, "observability_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="opensearchCustomEndpoint") - def opensearch_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def opensearch_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the OpenSearch service """ return pulumi.get(self, "opensearch_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="postgresflexCustomEndpoint") - def postgresflex_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def postgresflex_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the PostgresFlex service """ return pulumi.get(self, "postgresflex_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="privateKey") - def private_key(self) -> pulumi.Output[Optional[builtins.str]]: + def private_key(self) -> pulumi.Output[Optional[_builtins.str]]: """ - Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is - included in the service account key. + Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ return pulumi.get(self, "private_key") - @property + @_builtins.property @pulumi.getter(name="privateKeyPath") - def private_key_path(self) -> pulumi.Output[Optional[builtins.str]]: + def private_key_path(self) -> pulumi.Output[Optional[_builtins.str]]: """ - Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private - key that is included in the service account key. + Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key. """ return pulumi.get(self, "private_key_path") - @property + @_builtins.property @pulumi.getter(name="rabbitmqCustomEndpoint") - def rabbitmq_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def rabbitmq_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the RabbitMQ service """ return pulumi.get(self, "rabbitmq_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="redisCustomEndpoint") - def redis_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def redis_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Redis service """ return pulumi.get(self, "redis_custom_endpoint") - @property + @_builtins.property @pulumi.getter @_utilities.deprecated("""This attribute is deprecated. Use 'default_region' instead""") - def region(self) -> pulumi.Output[Optional[builtins.str]]: + def region(self) -> pulumi.Output[Optional[_builtins.str]]: """ Region will be used as the default location for regional services. Not all services require a region, some are global """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter(name="resourcemanagerCustomEndpoint") - def resourcemanager_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def resourcemanager_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Resource Manager service """ return pulumi.get(self, "resourcemanager_custom_endpoint") - @property + @_builtins.property + @pulumi.getter(name="scfCustomEndpoint") + def scf_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: + """ + Custom endpoint for the Cloud Foundry (SCF) service + """ + return pulumi.get(self, "scf_custom_endpoint") + + @_builtins.property @pulumi.getter(name="secretsmanagerCustomEndpoint") - def secretsmanager_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def secretsmanager_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Secrets Manager service """ return pulumi.get(self, "secretsmanager_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="serverBackupCustomEndpoint") - def server_backup_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def server_backup_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Server Backup service """ return pulumi.get(self, "server_backup_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="serverUpdateCustomEndpoint") - def server_update_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def server_update_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Server Update service """ return pulumi.get(self, "server_update_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="serviceAccountCustomEndpoint") - def service_account_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def service_account_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Service Account service """ return pulumi.get(self, "service_account_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") @_utilities.deprecated("""The `service_account_email` field has been deprecated because it is not required. Will be removed after June 12th 2025.""") - def service_account_email(self) -> pulumi.Output[Optional[builtins.str]]: + def service_account_email(self) -> pulumi.Output[Optional[_builtins.str]]: """ - Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required - if you want to use the resource manager project resource. + Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource. """ return pulumi.get(self, "service_account_email") - @property + @_builtins.property @pulumi.getter(name="serviceAccountKey") - def service_account_key(self) -> pulumi.Output[Optional[builtins.str]]: + def service_account_key(self) -> pulumi.Output[Optional[_builtins.str]]: """ Service account key used for authentication. If set, the key flow will be used to authenticate all operations. """ return pulumi.get(self, "service_account_key") - @property + @_builtins.property @pulumi.getter(name="serviceAccountKeyPath") - def service_account_key_path(self) -> pulumi.Output[Optional[builtins.str]]: + def service_account_key_path(self) -> pulumi.Output[Optional[_builtins.str]]: """ - Path for the service account key used for authentication. If set, the key flow will be used to authenticate all - operations. + Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations. """ return pulumi.get(self, "service_account_key_path") - @property + @_builtins.property @pulumi.getter(name="serviceAccountToken") - def service_account_token(self) -> pulumi.Output[Optional[builtins.str]]: + @_utilities.deprecated("""Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. Please use `service_account_key` or `service_account_key_path` instead. For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html""") + def service_account_token(self) -> pulumi.Output[Optional[_builtins.str]]: """ Token used for authentication. If set, the token flow will be used to authenticate all operations. """ return pulumi.get(self, "service_account_token") - @property + @_builtins.property @pulumi.getter(name="serviceEnablementCustomEndpoint") - def service_enablement_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def service_enablement_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Service Enablement API """ return pulumi.get(self, "service_enablement_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="skeCustomEndpoint") - def ske_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def ske_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the Kubernetes Engine (SKE) service """ return pulumi.get(self, "ske_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="sqlserverflexCustomEndpoint") - def sqlserverflex_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def sqlserverflex_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the SQL Server Flex service """ return pulumi.get(self, "sqlserverflex_custom_endpoint") - @property + @_builtins.property @pulumi.getter(name="tokenCustomEndpoint") - def token_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]: + def token_custom_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]: """ Custom endpoint for the token API, which is used to request access tokens when using the key flow """ @@ -1148,7 +1124,7 @@ def __init__(__self__, result=None): raise TypeError("Expected argument 'result' to be a dict") pulumi.set(__self__, "result", result) - @property + @_builtins.property @pulumi.getter def result(self) -> Mapping[str, Any]: return pulumi.get(self, "result") diff --git a/sdk/python/pulumi_stackit/public_ip.py b/sdk/python/pulumi_stackit/public_ip.py index 43d6e2c5..e6d64d0d 100644 --- a/sdk/python/pulumi_stackit/public_ip.py +++ b/sdk/python/pulumi_stackit/public_ip.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,13 +19,13 @@ @pulumi.input_type class PublicIpArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None): + project_id: pulumi.Input[_builtins.str], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a PublicIp resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container """ pulumi.set(__self__, "project_id", project_id) if labels is not None: @@ -34,54 +33,54 @@ def __init__(__self__, *, if network_interface_id is not None: pulumi.set(__self__, "network_interface_id", network_interface_id) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the public IP is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_interface_id(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "network_interface_id") @network_interface_id.setter - def network_interface_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_interface_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_interface_id", value) @pulumi.input_type class _PublicIpState: def __init__(__self__, *, - ip: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip_id: Optional[pulumi.Input[builtins.str]] = None): + ip: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering PublicIp resources. - :param pulumi.Input[builtins.str] ip: The IP address. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. - :param pulumi.Input[builtins.str] public_ip_id: The public IP ID. + :param pulumi.Input[_builtins.str] ip: The IP address. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[_builtins.str] public_ip_id: The public IP ID. """ if ip is not None: pulumi.set(__self__, "ip", ip) @@ -94,61 +93,61 @@ def __init__(__self__, *, if public_ip_id is not None: pulumi.set(__self__, "public_ip_id", public_ip_id) - @property + @_builtins.property @pulumi.getter - def ip(self) -> Optional[pulumi.Input[builtins.str]]: + def ip(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IP address. """ return pulumi.get(self, "ip") @ip.setter - def ip(self, value: Optional[pulumi.Input[builtins.str]]): + def ip(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ip", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_interface_id(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "network_interface_id") @network_interface_id.setter - def network_interface_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_interface_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_interface_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the public IP is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[builtins.str]]: + def public_ip_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The public IP ID. """ return pulumi.get(self, "public_ip_id") @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[builtins.str]]): + def public_ip_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "public_ip_id", value) @@ -158,9 +157,9 @@ class PublicIp(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Public IP resource schema. Must have a `region` specified in the provider configuration. @@ -169,8 +168,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. """ ... @overload @@ -198,9 +197,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -227,11 +226,11 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - ip: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip_id: Optional[pulumi.Input[builtins.str]] = None) -> 'PublicIp': + ip: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'PublicIp': """ Get an existing PublicIp resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -239,10 +238,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] ip: The IP address. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. - :param pulumi.Input[builtins.str] public_ip_id: The public IP ID. + :param pulumi.Input[_builtins.str] ip: The IP address. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[_builtins.str] public_ip_id: The public IP ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -255,38 +254,38 @@ def get(resource_name: str, __props__.__dict__["public_ip_id"] = public_ip_id return PublicIp(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def ip(self) -> pulumi.Output[builtins.str]: + def ip(self) -> pulumi.Output[_builtins.str]: """ The IP address. """ return pulumi.get(self, "ip") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> pulumi.Output[builtins.str]: + def network_interface_id(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "network_interface_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the public IP is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> pulumi.Output[builtins.str]: + def public_ip_id(self) -> pulumi.Output[_builtins.str]: """ The public IP ID. """ diff --git a/sdk/python/pulumi_stackit/public_ip_associate.py b/sdk/python/pulumi_stackit/public_ip_associate.py index c6f66293..ff57d6d8 100644 --- a/sdk/python/pulumi_stackit/public_ip_associate.py +++ b/sdk/python/pulumi_stackit/public_ip_associate.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,69 +19,69 @@ @pulumi.input_type class PublicIpAssociateArgs: def __init__(__self__, *, - network_interface_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - public_ip_id: pulumi.Input[builtins.str]): + network_interface_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + public_ip_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a PublicIpAssociate resource. - :param pulumi.Input[builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. - :param pulumi.Input[builtins.str] public_ip_id: The public IP ID. + :param pulumi.Input[_builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[_builtins.str] public_ip_id: The public IP ID. """ pulumi.set(__self__, "network_interface_id", network_interface_id) pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "public_ip_id", public_ip_id) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> pulumi.Input[builtins.str]: + def network_interface_id(self) -> pulumi.Input[_builtins.str]: """ The ID of the network interface (or virtual IP) to which the public IP should be attached to. """ return pulumi.get(self, "network_interface_id") @network_interface_id.setter - def network_interface_id(self, value: pulumi.Input[builtins.str]): + def network_interface_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "network_interface_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the public IP is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> pulumi.Input[builtins.str]: + def public_ip_id(self) -> pulumi.Input[_builtins.str]: """ The public IP ID. """ return pulumi.get(self, "public_ip_id") @public_ip_id.setter - def public_ip_id(self, value: pulumi.Input[builtins.str]): + def public_ip_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "public_ip_id", value) @pulumi.input_type class _PublicIpAssociateState: def __init__(__self__, *, - ip: Optional[pulumi.Input[builtins.str]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip_id: Optional[pulumi.Input[builtins.str]] = None): + ip: Optional[pulumi.Input[_builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering PublicIpAssociate resources. - :param pulumi.Input[builtins.str] ip: The IP address. - :param pulumi.Input[builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. - :param pulumi.Input[builtins.str] public_ip_id: The public IP ID. + :param pulumi.Input[_builtins.str] ip: The IP address. + :param pulumi.Input[_builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[_builtins.str] public_ip_id: The public IP ID. """ if ip is not None: pulumi.set(__self__, "ip", ip) @@ -93,52 +92,52 @@ def __init__(__self__, *, if public_ip_id is not None: pulumi.set(__self__, "public_ip_id", public_ip_id) - @property + @_builtins.property @pulumi.getter - def ip(self) -> Optional[pulumi.Input[builtins.str]]: + def ip(self) -> Optional[pulumi.Input[_builtins.str]]: """ The IP address. """ return pulumi.get(self, "ip") @ip.setter - def ip(self, value: Optional[pulumi.Input[builtins.str]]): + def ip(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ip", value) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_interface_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ID of the network interface (or virtual IP) to which the public IP should be attached to. """ return pulumi.get(self, "network_interface_id") @network_interface_id.setter - def network_interface_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_interface_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_interface_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the public IP is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[builtins.str]]: + def public_ip_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The public IP ID. """ return pulumi.get(self, "public_ip_id") @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[builtins.str]]): + def public_ip_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "public_ip_id", value) @@ -148,9 +147,9 @@ class PublicIpAssociate(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip_id: Optional[pulumi.Input[builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Associates an existing public IP to a network interface. This is useful for situations where you have a pre-allocated public IP or unable to use the `PublicIp` resource to create a new public IP. Must have a `region` specified in the provider configuration. @@ -162,9 +161,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. - :param pulumi.Input[builtins.str] public_ip_id: The public IP ID. + :param pulumi.Input[_builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[_builtins.str] public_ip_id: The public IP ID. """ ... @overload @@ -195,9 +194,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip_id: Optional[pulumi.Input[builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -227,10 +226,10 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - ip: Optional[pulumi.Input[builtins.str]] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_ip_id: Optional[pulumi.Input[builtins.str]] = None) -> 'PublicIpAssociate': + ip: Optional[pulumi.Input[_builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_ip_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'PublicIpAssociate': """ Get an existing PublicIpAssociate resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -238,10 +237,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] ip: The IP address. - :param pulumi.Input[builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the public IP is associated. - :param pulumi.Input[builtins.str] public_ip_id: The public IP ID. + :param pulumi.Input[_builtins.str] ip: The IP address. + :param pulumi.Input[_builtins.str] network_interface_id: The ID of the network interface (or virtual IP) to which the public IP should be attached to. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the public IP is associated. + :param pulumi.Input[_builtins.str] public_ip_id: The public IP ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -253,33 +252,33 @@ def get(resource_name: str, __props__.__dict__["public_ip_id"] = public_ip_id return PublicIpAssociate(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def ip(self) -> pulumi.Output[builtins.str]: + def ip(self) -> pulumi.Output[_builtins.str]: """ The IP address. """ return pulumi.get(self, "ip") - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> pulumi.Output[builtins.str]: + def network_interface_id(self) -> pulumi.Output[_builtins.str]: """ The ID of the network interface (or virtual IP) to which the public IP should be attached to. """ return pulumi.get(self, "network_interface_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the public IP is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> pulumi.Output[builtins.str]: + def public_ip_id(self) -> pulumi.Output[_builtins.str]: """ The public IP ID. """ diff --git a/sdk/python/pulumi_stackit/rabbitmq_credential.py b/sdk/python/pulumi_stackit/rabbitmq_credential.py index 61605177..e60d3709 100644 --- a/sdk/python/pulumi_stackit/rabbitmq_credential.py +++ b/sdk/python/pulumi_stackit/rabbitmq_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,62 +19,62 @@ @pulumi.input_type class RabbitmqCredentialArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str]): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a RabbitmqCredential resource. - :param pulumi.Input[builtins.str] instance_id: ID of the RabbitMQ instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the RabbitMQ instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the RabbitMQ instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) @pulumi.input_type class _RabbitmqCredentialState: def __init__(__self__, *, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - http_api_uri: Optional[pulumi.Input[builtins.str]] = None, - http_api_uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - management: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + http_api_uri: Optional[pulumi.Input[_builtins.str]] = None, + http_api_uris: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + management: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + uris: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering RabbitmqCredential resources. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the RabbitMQ instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the RabbitMQ instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ if credential_id is not None: pulumi.set(__self__, "credential_id", credential_id) @@ -104,130 +103,130 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credential_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credential's ID. """ return pulumi.get(self, "credential_id") @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credential_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credential_id", value) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "hosts") @hosts.setter - def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "hosts", value) - @property + @_builtins.property @pulumi.getter(name="httpApiUri") - def http_api_uri(self) -> Optional[pulumi.Input[builtins.str]]: + def http_api_uri(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "http_api_uri") @http_api_uri.setter - def http_api_uri(self, value: Optional[pulumi.Input[builtins.str]]): + def http_api_uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "http_api_uri", value) - @property + @_builtins.property @pulumi.getter(name="httpApiUris") - def http_api_uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def http_api_uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "http_api_uris") @http_api_uris.setter - def http_api_uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def http_api_uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "http_api_uris", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the RabbitMQ instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def management(self) -> Optional[pulumi.Input[builtins.str]]: + def management(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "management") @management.setter - def management(self, value: Optional[pulumi.Input[builtins.str]]): + def management(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "management", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def uri(self) -> Optional[pulumi.Input[builtins.str]]: + def uri(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "uri") @uri.setter - def uri(self, value: Optional[pulumi.Input[builtins.str]]): + def uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "uri", value) - @property + @_builtins.property @pulumi.getter - def uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "uris") @uris.setter - def uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "uris", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -237,8 +236,8 @@ class RabbitmqCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ RabbitMQ credential resource schema. Must have a `region` specified in the provider configuration. @@ -247,8 +246,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the RabbitMQ instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the RabbitMQ instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ ... @overload @@ -276,8 +275,8 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -316,19 +315,19 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - http_api_uri: Optional[pulumi.Input[builtins.str]] = None, - http_api_uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - management: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'RabbitmqCredential': + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + http_api_uri: Optional[pulumi.Input[_builtins.str]] = None, + http_api_uris: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + management: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + uris: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'RabbitmqCredential': """ Get an existing RabbitmqCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -336,9 +335,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the RabbitMQ instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the RabbitMQ instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -359,77 +358,77 @@ def get(resource_name: str, __props__.__dict__["username"] = username return RabbitmqCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> pulumi.Output[builtins.str]: + def credential_id(self) -> pulumi.Output[_builtins.str]: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> pulumi.Output[Sequence[builtins.str]]: + def hosts(self) -> pulumi.Output[Sequence[_builtins.str]]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter(name="httpApiUri") - def http_api_uri(self) -> pulumi.Output[builtins.str]: + def http_api_uri(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "http_api_uri") - @property + @_builtins.property @pulumi.getter(name="httpApiUris") - def http_api_uris(self) -> pulumi.Output[Sequence[builtins.str]]: + def http_api_uris(self) -> pulumi.Output[Sequence[_builtins.str]]: return pulumi.get(self, "http_api_uris") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the RabbitMQ instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def management(self) -> pulumi.Output[builtins.str]: + def management(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "management") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> pulumi.Output[builtins.str]: + def uri(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def uris(self) -> pulumi.Output[Sequence[builtins.str]]: + def uris(self) -> pulumi.Output[Sequence[_builtins.str]]: return pulumi.get(self, "uris") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_stackit/rabbitmq_instance.py b/sdk/python/pulumi_stackit/rabbitmq_instance.py index 122638d2..9042fd51 100644 --- a/sdk/python/pulumi_stackit/rabbitmq_instance.py +++ b/sdk/python/pulumi_stackit/rabbitmq_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,17 +21,17 @@ @pulumi.input_type class RabbitmqInstanceArgs: def __init__(__self__, *, - plan_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - version: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, + plan_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + version: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['RabbitmqInstanceParametersArgs']] = None): """ The set of arguments for constructing a RabbitmqInstance resource. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. - :param pulumi.Input[builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. """ pulumi.set(__self__, "plan_name", plan_name) pulumi.set(__self__, "project_id", project_id) @@ -42,55 +41,55 @@ def __init__(__self__, *, if parameters is not None: pulumi.set(__self__, "parameters", parameters) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Input[builtins.str]: + def plan_name(self) -> pulumi.Input[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: pulumi.Input[builtins.str]): + def plan_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Input[builtins.str]: + def version(self) -> pulumi.Input[_builtins.str]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: pulumi.Input[builtins.str]): + def version(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "version", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['RabbitmqInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -103,26 +102,26 @@ def parameters(self, value: Optional[pulumi.Input['RabbitmqInstanceParametersArg @pulumi.input_type class _RabbitmqInstanceState: def __init__(__self__, *, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['RabbitmqInstanceParametersArgs']] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering RabbitmqInstance resources. - :param pulumi.Input[builtins.str] instance_id: ID of the RabbitMQ instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the RabbitMQ instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ if cf_guid is not None: pulumi.set(__self__, "cf_guid", cf_guid) @@ -149,76 +148,76 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_guid") @cf_guid.setter - def cf_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_organization_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_organization_guid") @cf_organization_guid.setter - def cf_organization_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_organization_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_organization_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_space_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_space_guid") @cf_space_guid.setter - def cf_space_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_space_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_space_guid", value) - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> Optional[pulumi.Input[builtins.str]]: + def dashboard_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "dashboard_url") @dashboard_url.setter - def dashboard_url(self, value: Optional[pulumi.Input[builtins.str]]): + def dashboard_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dashboard_url", value) - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> Optional[pulumi.Input[builtins.str]]: + def image_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "image_url") @image_url.setter - def image_url(self, value: Optional[pulumi.Input[builtins.str]]): + def image_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_url", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the RabbitMQ instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['RabbitmqInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -227,52 +226,52 @@ def parameters(self) -> Optional[pulumi.Input['RabbitmqInstanceParametersArgs']] def parameters(self, value: Optional[pulumi.Input['RabbitmqInstanceParametersArgs']]): pulumi.set(self, "parameters", value) - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") @plan_id.setter - def plan_id(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_id", value) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -282,11 +281,11 @@ class RabbitmqInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['RabbitmqInstanceParametersArgs', 'RabbitmqInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ RabbitMQ instance resource schema. Must have a `region` specified in the provider configuration. @@ -295,10 +294,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ ... @overload @@ -326,11 +325,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['RabbitmqInstanceParametersArgs', 'RabbitmqInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -368,18 +367,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['RabbitmqInstanceParametersArgs', 'RabbitmqInstanceParametersArgsDict']]] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'RabbitmqInstance': + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'RabbitmqInstance': """ Get an existing RabbitmqInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -387,12 +386,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the RabbitMQ instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the RabbitMQ instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -412,79 +411,79 @@ def get(resource_name: str, __props__.__dict__["version"] = version return RabbitmqInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> pulumi.Output[builtins.str]: + def cf_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> pulumi.Output[builtins.str]: + def cf_organization_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> pulumi.Output[builtins.str]: + def cf_space_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> pulumi.Output[builtins.str]: + def dashboard_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> pulumi.Output[builtins.str]: + def image_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the RabbitMQ instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> pulumi.Output['outputs.RabbitmqInstanceParameters']: return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> pulumi.Output[builtins.str]: + def plan_id(self) -> pulumi.Output[_builtins.str]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Output[builtins.str]: + def plan_name(self) -> pulumi.Output[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: """ The service version. """ diff --git a/sdk/python/pulumi_stackit/redis_credential.py b/sdk/python/pulumi_stackit/redis_credential.py index 8817f22e..30037316 100644 --- a/sdk/python/pulumi_stackit/redis_credential.py +++ b/sdk/python/pulumi_stackit/redis_credential.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,60 +19,60 @@ @pulumi.input_type class RedisCredentialArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str]): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a RedisCredential resource. - :param pulumi.Input[builtins.str] instance_id: ID of the Redis instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the Redis instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the Redis instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) @pulumi.input_type class _RedisCredentialState: def __init__(__self__, *, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - load_balanced_host: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + load_balanced_host: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering RedisCredential resources. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the Redis instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. - :param pulumi.Input[builtins.str] uri: Connection URI. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the Redis instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] uri: Connection URI. """ if credential_id is not None: pulumi.set(__self__, "credential_id", credential_id) @@ -96,106 +95,106 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> Optional[pulumi.Input[builtins.str]]: + def credential_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The credential's ID. """ return pulumi.get(self, "credential_id") @credential_id.setter - def credential_id(self, value: Optional[pulumi.Input[builtins.str]]): + def credential_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "credential_id", value) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter - def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: return pulumi.get(self, "hosts") @hosts.setter - def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "hosts", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the Redis instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="loadBalancedHost") - def load_balanced_host(self) -> Optional[pulumi.Input[builtins.str]]: + def load_balanced_host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "load_balanced_host") @load_balanced_host.setter - def load_balanced_host(self, value: Optional[pulumi.Input[builtins.str]]): + def load_balanced_host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "load_balanced_host", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def uri(self) -> Optional[pulumi.Input[builtins.str]]: + def uri(self) -> Optional[pulumi.Input[_builtins.str]]: """ Connection URI. """ return pulumi.get(self, "uri") @uri.setter - def uri(self, value: Optional[pulumi.Input[builtins.str]]): + def uri(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "uri", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -205,8 +204,8 @@ class RedisCredential(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Redis credential resource schema. Must have a `region` specified in the provider configuration. @@ -215,8 +214,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the Redis instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] instance_id: ID of the Redis instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. """ ... @overload @@ -244,8 +243,8 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -281,16 +280,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - credential_id: Optional[pulumi.Input[builtins.str]] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - load_balanced_host: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - uri: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'RedisCredential': + credential_id: Optional[pulumi.Input[_builtins.str]] = None, + host: Optional[pulumi.Input[_builtins.str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + load_balanced_host: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + uri: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'RedisCredential': """ Get an existing RedisCredential resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -298,10 +297,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] credential_id: The credential's ID. - :param pulumi.Input[builtins.str] instance_id: ID of the Redis instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. - :param pulumi.Input[builtins.str] uri: Connection URI. + :param pulumi.Input[_builtins.str] credential_id: The credential's ID. + :param pulumi.Input[_builtins.str] instance_id: ID of the Redis instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] uri: Connection URI. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -319,65 +318,65 @@ def get(resource_name: str, __props__.__dict__["username"] = username return RedisCredential(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="credentialId") - def credential_id(self) -> pulumi.Output[builtins.str]: + def credential_id(self) -> pulumi.Output[_builtins.str]: """ The credential's ID. """ return pulumi.get(self, "credential_id") - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter - def hosts(self) -> pulumi.Output[Sequence[builtins.str]]: + def hosts(self) -> pulumi.Output[Sequence[_builtins.str]]: return pulumi.get(self, "hosts") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the Redis instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter(name="loadBalancedHost") - def load_balanced_host(self) -> pulumi.Output[builtins.str]: + def load_balanced_host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "load_balanced_host") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def uri(self) -> pulumi.Output[builtins.str]: + def uri(self) -> pulumi.Output[_builtins.str]: """ Connection URI. """ return pulumi.get(self, "uri") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "username") diff --git a/sdk/python/pulumi_stackit/redis_instance.py b/sdk/python/pulumi_stackit/redis_instance.py index 914bfd1c..d48f10f0 100644 --- a/sdk/python/pulumi_stackit/redis_instance.py +++ b/sdk/python/pulumi_stackit/redis_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,17 +21,17 @@ @pulumi.input_type class RedisInstanceArgs: def __init__(__self__, *, - plan_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - version: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, + plan_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + version: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['RedisInstanceParametersArgs']] = None): """ The set of arguments for constructing a RedisInstance resource. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. - :param pulumi.Input[builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. """ pulumi.set(__self__, "plan_name", plan_name) pulumi.set(__self__, "project_id", project_id) @@ -42,55 +41,55 @@ def __init__(__self__, *, if parameters is not None: pulumi.set(__self__, "parameters", parameters) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Input[builtins.str]: + def plan_name(self) -> pulumi.Input[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: pulumi.Input[builtins.str]): + def plan_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Input[builtins.str]: + def version(self) -> pulumi.Input[_builtins.str]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: pulumi.Input[builtins.str]): + def version(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "version", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['RedisInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -103,26 +102,26 @@ def parameters(self, value: Optional[pulumi.Input['RedisInstanceParametersArgs'] @pulumi.input_type class _RedisInstanceState: def __init__(__self__, *, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input['RedisInstanceParametersArgs']] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering RedisInstance resources. - :param pulumi.Input[builtins.str] instance_id: ID of the Redis instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the Redis instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ if cf_guid is not None: pulumi.set(__self__, "cf_guid", cf_guid) @@ -149,76 +148,76 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_guid") @cf_guid.setter - def cf_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_organization_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_organization_guid") @cf_organization_guid.setter - def cf_organization_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_organization_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_organization_guid", value) - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> Optional[pulumi.Input[builtins.str]]: + def cf_space_guid(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "cf_space_guid") @cf_space_guid.setter - def cf_space_guid(self, value: Optional[pulumi.Input[builtins.str]]): + def cf_space_guid(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cf_space_guid", value) - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> Optional[pulumi.Input[builtins.str]]: + def dashboard_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "dashboard_url") @dashboard_url.setter - def dashboard_url(self, value: Optional[pulumi.Input[builtins.str]]): + def dashboard_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "dashboard_url", value) - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> Optional[pulumi.Input[builtins.str]]: + def image_url(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "image_url") @image_url.setter - def image_url(self, value: Optional[pulumi.Input[builtins.str]]): + def image_url(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_url", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the Redis instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['RedisInstanceParametersArgs']]: return pulumi.get(self, "parameters") @@ -227,52 +226,52 @@ def parameters(self) -> Optional[pulumi.Input['RedisInstanceParametersArgs']]: def parameters(self, value: Optional[pulumi.Input['RedisInstanceParametersArgs']]): pulumi.set(self, "parameters", value) - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") @plan_id.setter - def plan_id(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_id", value) - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> Optional[pulumi.Input[builtins.str]]: + def plan_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The selected plan name. """ return pulumi.get(self, "plan_name") @plan_name.setter - def plan_name(self, value: Optional[pulumi.Input[builtins.str]]): + def plan_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "plan_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: """ The service version. """ return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -282,11 +281,11 @@ class RedisInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['RedisInstanceParametersArgs', 'RedisInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Redis instance resource schema. Must have a `region` specified in the provider configuration. @@ -295,10 +294,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ ... @overload @@ -326,11 +325,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['RedisInstanceParametersArgs', 'RedisInstanceParametersArgsDict']]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -368,18 +367,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - cf_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_organization_guid: Optional[pulumi.Input[builtins.str]] = None, - cf_space_guid: Optional[pulumi.Input[builtins.str]] = None, - dashboard_url: Optional[pulumi.Input[builtins.str]] = None, - image_url: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + cf_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_organization_guid: Optional[pulumi.Input[_builtins.str]] = None, + cf_space_guid: Optional[pulumi.Input[_builtins.str]] = None, + dashboard_url: Optional[pulumi.Input[_builtins.str]] = None, + image_url: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, parameters: Optional[pulumi.Input[Union['RedisInstanceParametersArgs', 'RedisInstanceParametersArgsDict']]] = None, - plan_id: Optional[pulumi.Input[builtins.str]] = None, - plan_name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'RedisInstance': + plan_id: Optional[pulumi.Input[_builtins.str]] = None, + plan_name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'RedisInstance': """ Get an existing RedisInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -387,12 +386,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the Redis instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] plan_id: The selected plan ID. - :param pulumi.Input[builtins.str] plan_name: The selected plan name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] version: The service version. + :param pulumi.Input[_builtins.str] instance_id: ID of the Redis instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] plan_id: The selected plan ID. + :param pulumi.Input[_builtins.str] plan_name: The selected plan name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] version: The service version. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -412,79 +411,79 @@ def get(resource_name: str, __props__.__dict__["version"] = version return RedisInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="cfGuid") - def cf_guid(self) -> pulumi.Output[builtins.str]: + def cf_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_guid") - @property + @_builtins.property @pulumi.getter(name="cfOrganizationGuid") - def cf_organization_guid(self) -> pulumi.Output[builtins.str]: + def cf_organization_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_organization_guid") - @property + @_builtins.property @pulumi.getter(name="cfSpaceGuid") - def cf_space_guid(self) -> pulumi.Output[builtins.str]: + def cf_space_guid(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "cf_space_guid") - @property + @_builtins.property @pulumi.getter(name="dashboardUrl") - def dashboard_url(self) -> pulumi.Output[builtins.str]: + def dashboard_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "dashboard_url") - @property + @_builtins.property @pulumi.getter(name="imageUrl") - def image_url(self) -> pulumi.Output[builtins.str]: + def image_url(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "image_url") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the Redis instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def parameters(self) -> pulumi.Output['outputs.RedisInstanceParameters']: return pulumi.get(self, "parameters") - @property + @_builtins.property @pulumi.getter(name="planId") - def plan_id(self) -> pulumi.Output[builtins.str]: + def plan_id(self) -> pulumi.Output[_builtins.str]: """ The selected plan ID. """ return pulumi.get(self, "plan_id") - @property + @_builtins.property @pulumi.getter(name="planName") - def plan_name(self) -> pulumi.Output[builtins.str]: + def plan_name(self) -> pulumi.Output[_builtins.str]: """ The selected plan name. """ return pulumi.get(self, "plan_name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: """ The service version. """ diff --git a/sdk/python/pulumi_stackit/resourcemanager_folder.py b/sdk/python/pulumi_stackit/resourcemanager_folder.py new file mode 100644 index 00000000..90d7725b --- /dev/null +++ b/sdk/python/pulumi_stackit/resourcemanager_folder.py @@ -0,0 +1,414 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['ResourcemanagerFolderArgs', 'ResourcemanagerFolder'] + +@pulumi.input_type +class ResourcemanagerFolderArgs: + def __init__(__self__, *, + owner_email: pulumi.Input[_builtins.str], + parent_container_id: pulumi.Input[_builtins.str], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): + """ + The set of arguments for constructing a ResourcemanagerFolder resource. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + :param pulumi.Input[_builtins.str] name: The name of the folder. + """ + pulumi.set(__self__, "owner_email", owner_email) + pulumi.set(__self__, "parent_container_id", parent_container_id) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if name is not None: + pulumi.set(__self__, "name", name) + + @_builtins.property + @pulumi.getter(name="ownerEmail") + def owner_email(self) -> pulumi.Input[_builtins.str]: + """ + Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + """ + return pulumi.get(self, "owner_email") + + @owner_email.setter + def owner_email(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "owner_email", value) + + @_builtins.property + @pulumi.getter(name="parentContainerId") + def parent_container_id(self) -> pulumi.Input[_builtins.str]: + """ + Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + """ + return pulumi.get(self, "parent_container_id") + + @parent_container_id.setter + def parent_container_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "parent_container_id", value) + + @_builtins.property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: + """ + Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "labels", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The name of the folder. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class _ResourcemanagerFolderState: + def __init__(__self__, *, + container_id: Optional[pulumi.Input[_builtins.str]] = None, + creation_time: Optional[pulumi.Input[_builtins.str]] = None, + folder_id: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, + update_time: Optional[pulumi.Input[_builtins.str]] = None): + """ + Input properties used for looking up and filtering ResourcemanagerFolder resources. + :param pulumi.Input[_builtins.str] container_id: Folder container ID. Globally unique, user-friendly identifier. + :param pulumi.Input[_builtins.str] creation_time: Date-time at which the folder was created. + :param pulumi.Input[_builtins.str] folder_id: Folder UUID identifier. Globally unique folder identifier + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + :param pulumi.Input[_builtins.str] name: The name of the folder. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + :param pulumi.Input[_builtins.str] update_time: Date-time at which the folder was last modified. + """ + if container_id is not None: + pulumi.set(__self__, "container_id", container_id) + if creation_time is not None: + pulumi.set(__self__, "creation_time", creation_time) + if folder_id is not None: + pulumi.set(__self__, "folder_id", folder_id) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if name is not None: + pulumi.set(__self__, "name", name) + if owner_email is not None: + pulumi.set(__self__, "owner_email", owner_email) + if parent_container_id is not None: + pulumi.set(__self__, "parent_container_id", parent_container_id) + if update_time is not None: + pulumi.set(__self__, "update_time", update_time) + + @_builtins.property + @pulumi.getter(name="containerId") + def container_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Folder container ID. Globally unique, user-friendly identifier. + """ + return pulumi.get(self, "container_id") + + @container_id.setter + def container_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "container_id", value) + + @_builtins.property + @pulumi.getter(name="creationTime") + def creation_time(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time at which the folder was created. + """ + return pulumi.get(self, "creation_time") + + @creation_time.setter + def creation_time(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "creation_time", value) + + @_builtins.property + @pulumi.getter(name="folderId") + def folder_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Folder UUID identifier. Globally unique folder identifier + """ + return pulumi.get(self, "folder_id") + + @folder_id.setter + def folder_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "folder_id", value) + + @_builtins.property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: + """ + Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "labels", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The name of the folder. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "name", value) + + @_builtins.property + @pulumi.getter(name="ownerEmail") + def owner_email(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + """ + return pulumi.get(self, "owner_email") + + @owner_email.setter + def owner_email(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "owner_email", value) + + @_builtins.property + @pulumi.getter(name="parentContainerId") + def parent_container_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + """ + return pulumi.get(self, "parent_container_id") + + @parent_container_id.setter + def parent_container_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "parent_container_id", value) + + @_builtins.property + @pulumi.getter(name="updateTime") + def update_time(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time at which the folder was last modified. + """ + return pulumi.get(self, "update_time") + + @update_time.setter + def update_time(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "update_time", value) + + +@pulumi.type_token("stackit:index/resourcemanagerFolder:ResourcemanagerFolder") +class ResourcemanagerFolder(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, + __props__=None): + """ + Resource Manager folder resource schema. + + > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + :param pulumi.Input[_builtins.str] name: The name of the folder. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ResourcemanagerFolderArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Resource Manager folder resource schema. + + > This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param ResourcemanagerFolderArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ResourcemanagerFolderArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ResourcemanagerFolderArgs.__new__(ResourcemanagerFolderArgs) + + __props__.__dict__["labels"] = labels + __props__.__dict__["name"] = name + if owner_email is None and not opts.urn: + raise TypeError("Missing required property 'owner_email'") + __props__.__dict__["owner_email"] = owner_email + if parent_container_id is None and not opts.urn: + raise TypeError("Missing required property 'parent_container_id'") + __props__.__dict__["parent_container_id"] = parent_container_id + __props__.__dict__["container_id"] = None + __props__.__dict__["creation_time"] = None + __props__.__dict__["folder_id"] = None + __props__.__dict__["update_time"] = None + super(ResourcemanagerFolder, __self__).__init__( + 'stackit:index/resourcemanagerFolder:ResourcemanagerFolder', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + container_id: Optional[pulumi.Input[_builtins.str]] = None, + creation_time: Optional[pulumi.Input[_builtins.str]] = None, + folder_id: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, + update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'ResourcemanagerFolder': + """ + Get an existing ResourcemanagerFolder resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] container_id: Folder container ID. Globally unique, user-friendly identifier. + :param pulumi.Input[_builtins.str] creation_time: Date-time at which the folder was created. + :param pulumi.Input[_builtins.str] folder_id: Folder UUID identifier. Globally unique folder identifier + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + :param pulumi.Input[_builtins.str] name: The name of the folder. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + :param pulumi.Input[_builtins.str] update_time: Date-time at which the folder was last modified. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ResourcemanagerFolderState.__new__(_ResourcemanagerFolderState) + + __props__.__dict__["container_id"] = container_id + __props__.__dict__["creation_time"] = creation_time + __props__.__dict__["folder_id"] = folder_id + __props__.__dict__["labels"] = labels + __props__.__dict__["name"] = name + __props__.__dict__["owner_email"] = owner_email + __props__.__dict__["parent_container_id"] = parent_container_id + __props__.__dict__["update_time"] = update_time + return ResourcemanagerFolder(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="containerId") + def container_id(self) -> pulumi.Output[_builtins.str]: + """ + Folder container ID. Globally unique, user-friendly identifier. + """ + return pulumi.get(self, "container_id") + + @_builtins.property + @pulumi.getter(name="creationTime") + def creation_time(self) -> pulumi.Output[_builtins.str]: + """ + Date-time at which the folder was created. + """ + return pulumi.get(self, "creation_time") + + @_builtins.property + @pulumi.getter(name="folderId") + def folder_id(self) -> pulumi.Output[_builtins.str]: + """ + Folder UUID identifier. Globally unique folder identifier + """ + return pulumi.get(self, "folder_id") + + @_builtins.property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: + """ + Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Output[_builtins.str]: + """ + The name of the folder. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="ownerEmail") + def owner_email(self) -> pulumi.Output[_builtins.str]: + """ + Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect. + """ + return pulumi.get(self, "owner_email") + + @_builtins.property + @pulumi.getter(name="parentContainerId") + def parent_container_id(self) -> pulumi.Output[_builtins.str]: + """ + Parent resource identifier. Both container ID (user-friendly) and UUID are supported. + """ + return pulumi.get(self, "parent_container_id") + + @_builtins.property + @pulumi.getter(name="updateTime") + def update_time(self) -> pulumi.Output[_builtins.str]: + """ + Date-time at which the folder was last modified. + """ + return pulumi.get(self, "update_time") + diff --git a/sdk/python/pulumi_stackit/resourcemanager_project.py b/sdk/python/pulumi_stackit/resourcemanager_project.py index ccd2e2ef..2ec8bbe8 100644 --- a/sdk/python/pulumi_stackit/resourcemanager_project.py +++ b/sdk/python/pulumi_stackit/resourcemanager_project.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,16 +19,17 @@ @pulumi.input_type class ResourcemanagerProjectArgs: def __init__(__self__, *, - owner_email: pulumi.Input[builtins.str], - parent_container_id: pulumi.Input[builtins.str], - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None): + owner_email: pulumi.Input[_builtins.str], + parent_container_id: pulumi.Input[_builtins.str], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ResourcemanagerProject resource. - :param pulumi.Input[builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. - :param pulumi.Input[builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. - :param pulumi.Input[builtins.str] name: Project name. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. + :param pulumi.Input[_builtins.str] name: Project name. """ pulumi.set(__self__, "owner_email", owner_email) pulumi.set(__self__, "parent_container_id", parent_container_id) @@ -38,75 +38,83 @@ def __init__(__self__, *, if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="ownerEmail") - def owner_email(self) -> pulumi.Input[builtins.str]: + def owner_email(self) -> pulumi.Input[_builtins.str]: """ Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. """ return pulumi.get(self, "owner_email") @owner_email.setter - def owner_email(self, value: pulumi.Input[builtins.str]): + def owner_email(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "owner_email", value) - @property + @_builtins.property @pulumi.getter(name="parentContainerId") - def parent_container_id(self) -> pulumi.Input[builtins.str]: + def parent_container_id(self) -> pulumi.Input[_builtins.str]: """ Parent resource identifier. Both container ID (user-friendly) and UUID are supported """ return pulumi.get(self, "parent_container_id") @parent_container_id.setter - def parent_container_id(self, value: pulumi.Input[builtins.str]): + def parent_container_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "parent_container_id", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ - Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Project name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _ResourcemanagerProjectState: def __init__(__self__, *, - container_id: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner_email: Optional[pulumi.Input[builtins.str]] = None, - parent_container_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None): + container_id: Optional[pulumi.Input[_builtins.str]] = None, + creation_time: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + update_time: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ResourcemanagerProject resources. - :param pulumi.Input[builtins.str] container_id: Project container ID. Globally unique, user-friendly identifier. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. - :param pulumi.Input[builtins.str] name: Project name. - :param pulumi.Input[builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. - :param pulumi.Input[builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported - :param pulumi.Input[builtins.str] project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. + :param pulumi.Input[_builtins.str] container_id: Project container ID. Globally unique, user-friendly identifier. + :param pulumi.Input[_builtins.str] creation_time: Date-time at which the project was created. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. + :param pulumi.Input[_builtins.str] name: Project name. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported + :param pulumi.Input[_builtins.str] project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. + :param pulumi.Input[_builtins.str] update_time: Date-time at which the project was last modified. """ if container_id is not None: pulumi.set(__self__, "container_id", container_id) + if creation_time is not None: + pulumi.set(__self__, "creation_time", creation_time) if labels is not None: pulumi.set(__self__, "labels", labels) if name is not None: @@ -117,79 +125,106 @@ def __init__(__self__, *, pulumi.set(__self__, "parent_container_id", parent_container_id) if project_id is not None: pulumi.set(__self__, "project_id", project_id) + if update_time is not None: + pulumi.set(__self__, "update_time", update_time) - @property + @_builtins.property @pulumi.getter(name="containerId") - def container_id(self) -> Optional[pulumi.Input[builtins.str]]: + def container_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Project container ID. Globally unique, user-friendly identifier. """ return pulumi.get(self, "container_id") @container_id.setter - def container_id(self, value: Optional[pulumi.Input[builtins.str]]): + def container_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "container_id", value) - @property + @_builtins.property + @pulumi.getter(name="creationTime") + def creation_time(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time at which the project was created. + """ + return pulumi.get(self, "creation_time") + + @creation_time.setter + def creation_time(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "creation_time", value) + + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ - Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Project name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="ownerEmail") - def owner_email(self) -> Optional[pulumi.Input[builtins.str]]: + def owner_email(self) -> Optional[pulumi.Input[_builtins.str]]: """ Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. """ return pulumi.get(self, "owner_email") @owner_email.setter - def owner_email(self, value: Optional[pulumi.Input[builtins.str]]): + def owner_email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "owner_email", value) - @property + @_builtins.property @pulumi.getter(name="parentContainerId") - def parent_container_id(self) -> Optional[pulumi.Input[builtins.str]]: + def parent_container_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Parent resource identifier. Both container ID (user-friendly) and UUID are supported """ return pulumi.get(self, "parent_container_id") @parent_container_id.setter - def parent_container_id(self, value: Optional[pulumi.Input[builtins.str]]): + def parent_container_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "parent_container_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) + @_builtins.property + @pulumi.getter(name="updateTime") + def update_time(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time at which the project was last modified. + """ + return pulumi.get(self, "update_time") + + @update_time.setter + def update_time(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "update_time", value) + @pulumi.type_token("stackit:index/resourcemanagerProject:ResourcemanagerProject") class ResourcemanagerProject(pulumi.CustomResource): @@ -197,20 +232,21 @@ class ResourcemanagerProject(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner_email: Optional[pulumi.Input[builtins.str]] = None, - parent_container_id: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ ## Example Usage :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. - :param pulumi.Input[builtins.str] name: Project name. - :param pulumi.Input[builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. - :param pulumi.Input[builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. + :param pulumi.Input[_builtins.str] name: Project name. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported """ ... @overload @@ -236,10 +272,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner_email: Optional[pulumi.Input[builtins.str]] = None, - parent_container_id: Optional[pulumi.Input[builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -258,7 +294,9 @@ def _internal_init(__self__, raise TypeError("Missing required property 'parent_container_id'") __props__.__dict__["parent_container_id"] = parent_container_id __props__.__dict__["container_id"] = None + __props__.__dict__["creation_time"] = None __props__.__dict__["project_id"] = None + __props__.__dict__["update_time"] = None super(ResourcemanagerProject, __self__).__init__( 'stackit:index/resourcemanagerProject:ResourcemanagerProject', resource_name, @@ -269,12 +307,14 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - container_id: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - owner_email: Optional[pulumi.Input[builtins.str]] = None, - parent_container_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None) -> 'ResourcemanagerProject': + container_id: Optional[pulumi.Input[_builtins.str]] = None, + creation_time: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + owner_email: Optional[pulumi.Input[_builtins.str]] = None, + parent_container_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'ResourcemanagerProject': """ Get an existing ResourcemanagerProject resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -282,70 +322,92 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] container_id: Project container ID. Globally unique, user-friendly identifier. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. - :param pulumi.Input[builtins.str] name: Project name. - :param pulumi.Input[builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. - :param pulumi.Input[builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported - :param pulumi.Input[builtins.str] project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. + :param pulumi.Input[_builtins.str] container_id: Project container ID. Globally unique, user-friendly identifier. + :param pulumi.Input[_builtins.str] creation_time: Date-time at which the project was created. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. + :param pulumi.Input[_builtins.str] name: Project name. + :param pulumi.Input[_builtins.str] owner_email: Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. + :param pulumi.Input[_builtins.str] parent_container_id: Parent resource identifier. Both container ID (user-friendly) and UUID are supported + :param pulumi.Input[_builtins.str] project_id: Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. + :param pulumi.Input[_builtins.str] update_time: Date-time at which the project was last modified. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _ResourcemanagerProjectState.__new__(_ResourcemanagerProjectState) __props__.__dict__["container_id"] = container_id + __props__.__dict__["creation_time"] = creation_time __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name __props__.__dict__["owner_email"] = owner_email __props__.__dict__["parent_container_id"] = parent_container_id __props__.__dict__["project_id"] = project_id + __props__.__dict__["update_time"] = update_time return ResourcemanagerProject(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="containerId") - def container_id(self) -> pulumi.Output[builtins.str]: + def container_id(self) -> pulumi.Output[_builtins.str]: """ Project container ID. Globally unique, user-friendly identifier. """ return pulumi.get(self, "container_id") - @property + @_builtins.property + @pulumi.getter(name="creationTime") + def creation_time(self) -> pulumi.Output[_builtins.str]: + """ + Date-time at which the project was created. + """ + return pulumi.get(self, "creation_time") + + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ - Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9*-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9*-]{1,64}. To add a project to a STACKIT Network Area, setting the label `networkArea=` is required. + Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}. + To create a project within a STACKIT Network Area, setting the label `networkArea=` is required. This can not be changed after project creation. """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Project name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="ownerEmail") - def owner_email(self) -> pulumi.Output[builtins.str]: + def owner_email(self) -> pulumi.Output[_builtins.str]: """ Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect. """ return pulumi.get(self, "owner_email") - @property + @_builtins.property @pulumi.getter(name="parentContainerId") - def parent_container_id(self) -> pulumi.Output[builtins.str]: + def parent_container_id(self) -> pulumi.Output[_builtins.str]: """ Parent resource identifier. Both container ID (user-friendly) and UUID are supported """ return pulumi.get(self, "parent_container_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project. """ return pulumi.get(self, "project_id") + @_builtins.property + @pulumi.getter(name="updateTime") + def update_time(self) -> pulumi.Output[_builtins.str]: + """ + Date-time at which the project was last modified. + """ + return pulumi.get(self, "update_time") + diff --git a/sdk/python/pulumi_stackit/routing_table.py b/sdk/python/pulumi_stackit/routing_table.py new file mode 100644 index 00000000..84a7f11e --- /dev/null +++ b/sdk/python/pulumi_stackit/routing_table.py @@ -0,0 +1,527 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['RoutingTableArgs', 'RoutingTable'] + +@pulumi.input_type +class RoutingTableArgs: + def __init__(__self__, *, + network_area_id: pulumi.Input[_builtins.str], + organization_id: pulumi.Input[_builtins.str], + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + system_routes: Optional[pulumi.Input[_builtins.bool]] = None): + """ + The set of arguments for constructing a RoutingTable resource. + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] description: Description of the routing table. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the routing table. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] system_routes: This controls whether the routes for project-to-project communication are created automatically or not. + """ + pulumi.set(__self__, "network_area_id", network_area_id) + pulumi.set(__self__, "organization_id", organization_id) + if description is not None: + pulumi.set(__self__, "description", description) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if name is not None: + pulumi.set(__self__, "name", name) + if region is not None: + pulumi.set(__self__, "region", region) + if system_routes is not None: + pulumi.set(__self__, "system_routes", system_routes) + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> pulumi.Input[_builtins.str]: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @network_area_id.setter + def network_area_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "network_area_id", value) + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> pulumi.Input[_builtins.str]: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @organization_id.setter + def organization_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "organization_id", value) + + @_builtins.property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Description of the routing table. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "description", value) + + @_builtins.property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "labels", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The name of the routing table. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "name", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter(name="systemRoutes") + def system_routes(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + This controls whether the routes for project-to-project communication are created automatically or not. + """ + return pulumi.get(self, "system_routes") + + @system_routes.setter + def system_routes(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "system_routes", value) + + +@pulumi.input_type +class _RoutingTableState: + def __init__(__self__, *, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + system_routes: Optional[pulumi.Input[_builtins.bool]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None): + """ + Input properties used for looking up and filtering RoutingTable resources. + :param pulumi.Input[_builtins.str] created_at: Date-time when the routing table was created + :param pulumi.Input[_builtins.str] description: Description of the routing table. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the routing table. + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] routing_table_id: The routing tables ID. + :param pulumi.Input[_builtins.bool] system_routes: This controls whether the routes for project-to-project communication are created automatically or not. + :param pulumi.Input[_builtins.str] updated_at: Date-time when the routing table was updated + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if description is not None: + pulumi.set(__self__, "description", description) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if name is not None: + pulumi.set(__self__, "name", name) + if network_area_id is not None: + pulumi.set(__self__, "network_area_id", network_area_id) + if organization_id is not None: + pulumi.set(__self__, "organization_id", organization_id) + if region is not None: + pulumi.set(__self__, "region", region) + if routing_table_id is not None: + pulumi.set(__self__, "routing_table_id", routing_table_id) + if system_routes is not None: + pulumi.set(__self__, "system_routes", system_routes) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time when the routing table was created + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "created_at", value) + + @_builtins.property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Description of the routing table. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "description", value) + + @_builtins.property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "labels", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The name of the routing table. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "name", value) + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @network_area_id.setter + def network_area_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "network_area_id", value) + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @organization_id.setter + def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "organization_id", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @routing_table_id.setter + def routing_table_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "routing_table_id", value) + + @_builtins.property + @pulumi.getter(name="systemRoutes") + def system_routes(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + This controls whether the routes for project-to-project communication are created automatically or not. + """ + return pulumi.get(self, "system_routes") + + @system_routes.setter + def system_routes(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "system_routes", value) + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time when the routing table was updated + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "updated_at", value) + + +@pulumi.type_token("stackit:index/routingTable:RoutingTable") +class RoutingTable(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + system_routes: Optional[pulumi.Input[_builtins.bool]] = None, + __props__=None): + """ + Routing table resource schema. Must have a `region` specified in the provider configuration. + + > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] description: Description of the routing table. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the routing table. + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] system_routes: This controls whether the routes for project-to-project communication are created automatically or not. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RoutingTableArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Routing table resource schema. Must have a `region` specified in the provider configuration. + + > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param RoutingTableArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(RoutingTableArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + system_routes: Optional[pulumi.Input[_builtins.bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RoutingTableArgs.__new__(RoutingTableArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["labels"] = labels + __props__.__dict__["name"] = name + if network_area_id is None and not opts.urn: + raise TypeError("Missing required property 'network_area_id'") + __props__.__dict__["network_area_id"] = network_area_id + if organization_id is None and not opts.urn: + raise TypeError("Missing required property 'organization_id'") + __props__.__dict__["organization_id"] = organization_id + __props__.__dict__["region"] = region + __props__.__dict__["system_routes"] = system_routes + __props__.__dict__["created_at"] = None + __props__.__dict__["routing_table_id"] = None + __props__.__dict__["updated_at"] = None + super(RoutingTable, __self__).__init__( + 'stackit:index/routingTable:RoutingTable', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + system_routes: Optional[pulumi.Input[_builtins.bool]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'RoutingTable': + """ + Get an existing RoutingTable resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] created_at: Date-time when the routing table was created + :param pulumi.Input[_builtins.str] description: Description of the routing table. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the routing table. + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] routing_table_id: The routing tables ID. + :param pulumi.Input[_builtins.bool] system_routes: This controls whether the routes for project-to-project communication are created automatically or not. + :param pulumi.Input[_builtins.str] updated_at: Date-time when the routing table was updated + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _RoutingTableState.__new__(_RoutingTableState) + + __props__.__dict__["created_at"] = created_at + __props__.__dict__["description"] = description + __props__.__dict__["labels"] = labels + __props__.__dict__["name"] = name + __props__.__dict__["network_area_id"] = network_area_id + __props__.__dict__["organization_id"] = organization_id + __props__.__dict__["region"] = region + __props__.__dict__["routing_table_id"] = routing_table_id + __props__.__dict__["system_routes"] = system_routes + __props__.__dict__["updated_at"] = updated_at + return RoutingTable(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[_builtins.str]: + """ + Date-time when the routing table was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def description(self) -> pulumi.Output[_builtins.str]: + """ + Description of the routing table. + """ + return pulumi.get(self, "description") + + @_builtins.property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Output[_builtins.str]: + """ + The name of the routing table. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> pulumi.Output[_builtins.str]: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> pulumi.Output[_builtins.str]: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> pulumi.Output[_builtins.str]: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @_builtins.property + @pulumi.getter(name="systemRoutes") + def system_routes(self) -> pulumi.Output[_builtins.bool]: + """ + This controls whether the routes for project-to-project communication are created automatically or not. + """ + return pulumi.get(self, "system_routes") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[_builtins.str]: + """ + Date-time when the routing table was updated + """ + return pulumi.get(self, "updated_at") + diff --git a/sdk/python/pulumi_stackit/routing_table_route.py b/sdk/python/pulumi_stackit/routing_table_route.py new file mode 100644 index 00000000..b74784d3 --- /dev/null +++ b/sdk/python/pulumi_stackit/routing_table_route.py @@ -0,0 +1,532 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['RoutingTableRouteArgs', 'RoutingTableRoute'] + +@pulumi.input_type +class RoutingTableRouteArgs: + def __init__(__self__, *, + destination: pulumi.Input['RoutingTableRouteDestinationArgs'], + network_area_id: pulumi.Input[_builtins.str], + next_hop: pulumi.Input['RoutingTableRouteNextHopArgs'], + organization_id: pulumi.Input[_builtins.str], + routing_table_id: pulumi.Input[_builtins.str], + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): + """ + The set of arguments for constructing a RoutingTableRoute resource. + :param pulumi.Input['RoutingTableRouteDestinationArgs'] destination: Destination of the route. + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input['RoutingTableRouteNextHopArgs'] next_hop: Next hop destination. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] routing_table_id: The routing tables ID. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + """ + pulumi.set(__self__, "destination", destination) + pulumi.set(__self__, "network_area_id", network_area_id) + pulumi.set(__self__, "next_hop", next_hop) + pulumi.set(__self__, "organization_id", organization_id) + pulumi.set(__self__, "routing_table_id", routing_table_id) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if region is not None: + pulumi.set(__self__, "region", region) + + @_builtins.property + @pulumi.getter + def destination(self) -> pulumi.Input['RoutingTableRouteDestinationArgs']: + """ + Destination of the route. + """ + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: pulumi.Input['RoutingTableRouteDestinationArgs']): + pulumi.set(self, "destination", value) + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> pulumi.Input[_builtins.str]: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @network_area_id.setter + def network_area_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "network_area_id", value) + + @_builtins.property + @pulumi.getter(name="nextHop") + def next_hop(self) -> pulumi.Input['RoutingTableRouteNextHopArgs']: + """ + Next hop destination. + """ + return pulumi.get(self, "next_hop") + + @next_hop.setter + def next_hop(self, value: pulumi.Input['RoutingTableRouteNextHopArgs']): + pulumi.set(self, "next_hop", value) + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> pulumi.Input[_builtins.str]: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @organization_id.setter + def organization_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "organization_id", value) + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> pulumi.Input[_builtins.str]: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @routing_table_id.setter + def routing_table_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "routing_table_id", value) + + @_builtins.property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "labels", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + +@pulumi.input_type +class _RoutingTableRouteState: + def __init__(__self__, *, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + destination: Optional[pulumi.Input['RoutingTableRouteDestinationArgs']] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input['RoutingTableRouteNextHopArgs']] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + route_id: Optional[pulumi.Input[_builtins.str]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None): + """ + Input properties used for looking up and filtering RoutingTableRoute resources. + :param pulumi.Input[_builtins.str] created_at: Date-time when the route was created. + :param pulumi.Input['RoutingTableRouteDestinationArgs'] destination: Destination of the route. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input['RoutingTableRouteNextHopArgs'] next_hop: Next hop destination. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] route_id: The ID of the route. + :param pulumi.Input[_builtins.str] routing_table_id: The routing tables ID. + :param pulumi.Input[_builtins.str] updated_at: Date-time when the route was updated. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if destination is not None: + pulumi.set(__self__, "destination", destination) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if network_area_id is not None: + pulumi.set(__self__, "network_area_id", network_area_id) + if next_hop is not None: + pulumi.set(__self__, "next_hop", next_hop) + if organization_id is not None: + pulumi.set(__self__, "organization_id", organization_id) + if region is not None: + pulumi.set(__self__, "region", region) + if route_id is not None: + pulumi.set(__self__, "route_id", route_id) + if routing_table_id is not None: + pulumi.set(__self__, "routing_table_id", routing_table_id) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time when the route was created. + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "created_at", value) + + @_builtins.property + @pulumi.getter + def destination(self) -> Optional[pulumi.Input['RoutingTableRouteDestinationArgs']]: + """ + Destination of the route. + """ + return pulumi.get(self, "destination") + + @destination.setter + def destination(self, value: Optional[pulumi.Input['RoutingTableRouteDestinationArgs']]): + pulumi.set(self, "destination", value) + + @_builtins.property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "labels", value) + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @network_area_id.setter + def network_area_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "network_area_id", value) + + @_builtins.property + @pulumi.getter(name="nextHop") + def next_hop(self) -> Optional[pulumi.Input['RoutingTableRouteNextHopArgs']]: + """ + Next hop destination. + """ + return pulumi.get(self, "next_hop") + + @next_hop.setter + def next_hop(self, value: Optional[pulumi.Input['RoutingTableRouteNextHopArgs']]): + pulumi.set(self, "next_hop", value) + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @organization_id.setter + def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "organization_id", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter(name="routeId") + def route_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the route. + """ + return pulumi.get(self, "route_id") + + @route_id.setter + def route_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "route_id", value) + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @routing_table_id.setter + def routing_table_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "routing_table_id", value) + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + Date-time when the route was updated. + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "updated_at", value) + + +@pulumi.type_token("stackit:index/routingTableRoute:RoutingTableRoute") +class RoutingTableRoute(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + destination: Optional[pulumi.Input[Union['RoutingTableRouteDestinationArgs', 'RoutingTableRouteDestinationArgsDict']]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input[Union['RoutingTableRouteNextHopArgs', 'RoutingTableRouteNextHopArgsDict']]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + __props__=None): + """ + Routing table route resource schema. Must have a `region` specified in the provider configuration. + + > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['RoutingTableRouteDestinationArgs', 'RoutingTableRouteDestinationArgsDict']] destination: Destination of the route. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input[Union['RoutingTableRouteNextHopArgs', 'RoutingTableRouteNextHopArgsDict']] next_hop: Next hop destination. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] routing_table_id: The routing tables ID. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RoutingTableRouteArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Routing table route resource schema. Must have a `region` specified in the provider configuration. + + > This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param RoutingTableRouteArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(RoutingTableRouteArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + destination: Optional[pulumi.Input[Union['RoutingTableRouteDestinationArgs', 'RoutingTableRouteDestinationArgsDict']]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input[Union['RoutingTableRouteNextHopArgs', 'RoutingTableRouteNextHopArgsDict']]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RoutingTableRouteArgs.__new__(RoutingTableRouteArgs) + + if destination is None and not opts.urn: + raise TypeError("Missing required property 'destination'") + __props__.__dict__["destination"] = destination + __props__.__dict__["labels"] = labels + if network_area_id is None and not opts.urn: + raise TypeError("Missing required property 'network_area_id'") + __props__.__dict__["network_area_id"] = network_area_id + if next_hop is None and not opts.urn: + raise TypeError("Missing required property 'next_hop'") + __props__.__dict__["next_hop"] = next_hop + if organization_id is None and not opts.urn: + raise TypeError("Missing required property 'organization_id'") + __props__.__dict__["organization_id"] = organization_id + __props__.__dict__["region"] = region + if routing_table_id is None and not opts.urn: + raise TypeError("Missing required property 'routing_table_id'") + __props__.__dict__["routing_table_id"] = routing_table_id + __props__.__dict__["created_at"] = None + __props__.__dict__["route_id"] = None + __props__.__dict__["updated_at"] = None + super(RoutingTableRoute, __self__).__init__( + 'stackit:index/routingTableRoute:RoutingTableRoute', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + destination: Optional[pulumi.Input[Union['RoutingTableRouteDestinationArgs', 'RoutingTableRouteDestinationArgsDict']]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + network_area_id: Optional[pulumi.Input[_builtins.str]] = None, + next_hop: Optional[pulumi.Input[Union['RoutingTableRouteNextHopArgs', 'RoutingTableRouteNextHopArgsDict']]] = None, + organization_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + route_id: Optional[pulumi.Input[_builtins.str]] = None, + routing_table_id: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'RoutingTableRoute': + """ + Get an existing RoutingTableRoute resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] created_at: Date-time when the route was created. + :param pulumi.Input[Union['RoutingTableRouteDestinationArgs', 'RoutingTableRouteDestinationArgsDict']] destination: Destination of the route. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] network_area_id: The network area ID to which the routing table is associated. + :param pulumi.Input[Union['RoutingTableRouteNextHopArgs', 'RoutingTableRouteNextHopArgsDict']] next_hop: Next hop destination. + :param pulumi.Input[_builtins.str] organization_id: STACKIT organization ID to which the routing table is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] route_id: The ID of the route. + :param pulumi.Input[_builtins.str] routing_table_id: The routing tables ID. + :param pulumi.Input[_builtins.str] updated_at: Date-time when the route was updated. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _RoutingTableRouteState.__new__(_RoutingTableRouteState) + + __props__.__dict__["created_at"] = created_at + __props__.__dict__["destination"] = destination + __props__.__dict__["labels"] = labels + __props__.__dict__["network_area_id"] = network_area_id + __props__.__dict__["next_hop"] = next_hop + __props__.__dict__["organization_id"] = organization_id + __props__.__dict__["region"] = region + __props__.__dict__["route_id"] = route_id + __props__.__dict__["routing_table_id"] = routing_table_id + __props__.__dict__["updated_at"] = updated_at + return RoutingTableRoute(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[_builtins.str]: + """ + Date-time when the route was created. + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def destination(self) -> pulumi.Output['outputs.RoutingTableRouteDestination']: + """ + Destination of the route. + """ + return pulumi.get(self, "destination") + + @_builtins.property + @pulumi.getter + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: + """ + Labels are key-value string pairs which can be attached to a resource container + """ + return pulumi.get(self, "labels") + + @_builtins.property + @pulumi.getter(name="networkAreaId") + def network_area_id(self) -> pulumi.Output[_builtins.str]: + """ + The network area ID to which the routing table is associated. + """ + return pulumi.get(self, "network_area_id") + + @_builtins.property + @pulumi.getter(name="nextHop") + def next_hop(self) -> pulumi.Output['outputs.RoutingTableRouteNextHop']: + """ + Next hop destination. + """ + return pulumi.get(self, "next_hop") + + @_builtins.property + @pulumi.getter(name="organizationId") + def organization_id(self) -> pulumi.Output[_builtins.str]: + """ + STACKIT organization ID to which the routing table is associated. + """ + return pulumi.get(self, "organization_id") + + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter(name="routeId") + def route_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the route. + """ + return pulumi.get(self, "route_id") + + @_builtins.property + @pulumi.getter(name="routingTableId") + def routing_table_id(self) -> pulumi.Output[_builtins.str]: + """ + The routing tables ID. + """ + return pulumi.get(self, "routing_table_id") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[_builtins.str]: + """ + Date-time when the route was updated. + """ + return pulumi.get(self, "updated_at") + diff --git a/sdk/python/pulumi_stackit/scf_organization.py b/sdk/python/pulumi_stackit/scf_organization.py new file mode 100644 index 00000000..a2839ef1 --- /dev/null +++ b/sdk/python/pulumi_stackit/scf_organization.py @@ -0,0 +1,503 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['ScfOrganizationArgs', 'ScfOrganization'] + +@pulumi.input_type +class ScfOrganizationArgs: + def __init__(__self__, *, + project_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + platform_id: Optional[pulumi.Input[_builtins.str]] = None, + quota_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + suspended: Optional[pulumi.Input[_builtins.bool]] = None): + """ + The set of arguments for constructing a ScfOrganization resource. + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization + :param pulumi.Input[_builtins.str] name: The name of the organization + :param pulumi.Input[_builtins.str] platform_id: The ID of the platform associated with the organization + :param pulumi.Input[_builtins.str] quota_id: The ID of the quota associated with the organization + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used + :param pulumi.Input[_builtins.bool] suspended: A boolean indicating whether the organization is suspended + """ + pulumi.set(__self__, "project_id", project_id) + if name is not None: + pulumi.set(__self__, "name", name) + if platform_id is not None: + pulumi.set(__self__, "platform_id", platform_id) + if quota_id is not None: + pulumi.set(__self__, "quota_id", quota_id) + if region is not None: + pulumi.set(__self__, "region", region) + if suspended is not None: + pulumi.set(__self__, "suspended", suspended) + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Input[_builtins.str]: + """ + The ID of the project associated with the organization + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "project_id", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The name of the organization + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "name", value) + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the platform associated with the organization + """ + return pulumi.get(self, "platform_id") + + @platform_id.setter + def platform_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "platform_id", value) + + @_builtins.property + @pulumi.getter(name="quotaId") + def quota_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the quota associated with the organization + """ + return pulumi.get(self, "quota_id") + + @quota_id.setter + def quota_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "quota_id", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter + def suspended(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + A boolean indicating whether the organization is suspended + """ + return pulumi.get(self, "suspended") + + @suspended.setter + def suspended(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "suspended", value) + + +@pulumi.input_type +class _ScfOrganizationState: + def __init__(__self__, *, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + org_id: Optional[pulumi.Input[_builtins.str]] = None, + platform_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + quota_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + status: Optional[pulumi.Input[_builtins.str]] = None, + suspended: Optional[pulumi.Input[_builtins.bool]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None): + """ + Input properties used for looking up and filtering ScfOrganization resources. + :param pulumi.Input[_builtins.str] created_at: The time when the organization was created + :param pulumi.Input[_builtins.str] name: The name of the organization + :param pulumi.Input[_builtins.str] org_id: The ID of the Cloud Foundry Organization + :param pulumi.Input[_builtins.str] platform_id: The ID of the platform associated with the organization + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization + :param pulumi.Input[_builtins.str] quota_id: The ID of the quota associated with the organization + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used + :param pulumi.Input[_builtins.str] status: The status of the organization (e.g., deleting, delete_failed) + :param pulumi.Input[_builtins.bool] suspended: A boolean indicating whether the organization is suspended + :param pulumi.Input[_builtins.str] updated_at: The time when the organization was last updated + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if name is not None: + pulumi.set(__self__, "name", name) + if org_id is not None: + pulumi.set(__self__, "org_id", org_id) + if platform_id is not None: + pulumi.set(__self__, "platform_id", platform_id) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if quota_id is not None: + pulumi.set(__self__, "quota_id", quota_id) + if region is not None: + pulumi.set(__self__, "region", region) + if status is not None: + pulumi.set(__self__, "status", status) + if suspended is not None: + pulumi.set(__self__, "suspended", suspended) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The time when the organization was created + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "created_at", value) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The name of the organization + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "name", value) + + @_builtins.property + @pulumi.getter(name="orgId") + def org_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the Cloud Foundry Organization + """ + return pulumi.get(self, "org_id") + + @org_id.setter + def org_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "org_id", value) + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the platform associated with the organization + """ + return pulumi.get(self, "platform_id") + + @platform_id.setter + def platform_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "platform_id", value) + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the project associated with the organization + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "project_id", value) + + @_builtins.property + @pulumi.getter(name="quotaId") + def quota_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the quota associated with the organization + """ + return pulumi.get(self, "quota_id") + + @quota_id.setter + def quota_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "quota_id", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The status of the organization (e.g., deleting, delete_failed) + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "status", value) + + @_builtins.property + @pulumi.getter + def suspended(self) -> Optional[pulumi.Input[_builtins.bool]]: + """ + A boolean indicating whether the organization is suspended + """ + return pulumi.get(self, "suspended") + + @suspended.setter + def suspended(self, value: Optional[pulumi.Input[_builtins.bool]]): + pulumi.set(self, "suspended", value) + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The time when the organization was last updated + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "updated_at", value) + + +@pulumi.type_token("stackit:index/scfOrganization:ScfOrganization") +class ScfOrganization(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + platform_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + quota_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + suspended: Optional[pulumi.Input[_builtins.bool]] = None, + __props__=None): + """ + STACKIT Cloud Foundry organization resource schema. Must have a `region` specified in the provider configuration. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] name: The name of the organization + :param pulumi.Input[_builtins.str] platform_id: The ID of the platform associated with the organization + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization + :param pulumi.Input[_builtins.str] quota_id: The ID of the quota associated with the organization + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used + :param pulumi.Input[_builtins.bool] suspended: A boolean indicating whether the organization is suspended + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScfOrganizationArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + STACKIT Cloud Foundry organization resource schema. Must have a `region` specified in the provider configuration. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param ScfOrganizationArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ScfOrganizationArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + platform_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + quota_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + suspended: Optional[pulumi.Input[_builtins.bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ScfOrganizationArgs.__new__(ScfOrganizationArgs) + + __props__.__dict__["name"] = name + __props__.__dict__["platform_id"] = platform_id + if project_id is None and not opts.urn: + raise TypeError("Missing required property 'project_id'") + __props__.__dict__["project_id"] = project_id + __props__.__dict__["quota_id"] = quota_id + __props__.__dict__["region"] = region + __props__.__dict__["suspended"] = suspended + __props__.__dict__["created_at"] = None + __props__.__dict__["org_id"] = None + __props__.__dict__["status"] = None + __props__.__dict__["updated_at"] = None + super(ScfOrganization, __self__).__init__( + 'stackit:index/scfOrganization:ScfOrganization', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + org_id: Optional[pulumi.Input[_builtins.str]] = None, + platform_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + quota_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + status: Optional[pulumi.Input[_builtins.str]] = None, + suspended: Optional[pulumi.Input[_builtins.bool]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'ScfOrganization': + """ + Get an existing ScfOrganization resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] created_at: The time when the organization was created + :param pulumi.Input[_builtins.str] name: The name of the organization + :param pulumi.Input[_builtins.str] org_id: The ID of the Cloud Foundry Organization + :param pulumi.Input[_builtins.str] platform_id: The ID of the platform associated with the organization + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization + :param pulumi.Input[_builtins.str] quota_id: The ID of the quota associated with the organization + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used + :param pulumi.Input[_builtins.str] status: The status of the organization (e.g., deleting, delete_failed) + :param pulumi.Input[_builtins.bool] suspended: A boolean indicating whether the organization is suspended + :param pulumi.Input[_builtins.str] updated_at: The time when the organization was last updated + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ScfOrganizationState.__new__(_ScfOrganizationState) + + __props__.__dict__["created_at"] = created_at + __props__.__dict__["name"] = name + __props__.__dict__["org_id"] = org_id + __props__.__dict__["platform_id"] = platform_id + __props__.__dict__["project_id"] = project_id + __props__.__dict__["quota_id"] = quota_id + __props__.__dict__["region"] = region + __props__.__dict__["status"] = status + __props__.__dict__["suspended"] = suspended + __props__.__dict__["updated_at"] = updated_at + return ScfOrganization(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[_builtins.str]: + """ + The time when the organization was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Output[_builtins.str]: + """ + The name of the organization + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="orgId") + def org_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the Cloud Foundry Organization + """ + return pulumi.get(self, "org_id") + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the platform associated with the organization + """ + return pulumi.get(self, "platform_id") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the project associated with the organization + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter(name="quotaId") + def quota_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the quota associated with the organization + """ + return pulumi.get(self, "quota_id") + + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + The resource region. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def status(self) -> pulumi.Output[_builtins.str]: + """ + The status of the organization (e.g., deleting, delete_failed) + """ + return pulumi.get(self, "status") + + @_builtins.property + @pulumi.getter + def suspended(self) -> pulumi.Output[_builtins.bool]: + """ + A boolean indicating whether the organization is suspended + """ + return pulumi.get(self, "suspended") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[_builtins.str]: + """ + The time when the organization was last updated + """ + return pulumi.get(self, "updated_at") + diff --git a/sdk/python/pulumi_stackit/scf_organization_manager.py b/sdk/python/pulumi_stackit/scf_organization_manager.py new file mode 100644 index 00000000..5f72e52b --- /dev/null +++ b/sdk/python/pulumi_stackit/scf_organization_manager.py @@ -0,0 +1,421 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['ScfOrganizationManagerArgs', 'ScfOrganizationManager'] + +@pulumi.input_type +class ScfOrganizationManagerArgs: + def __init__(__self__, *, + org_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + region: Optional[pulumi.Input[_builtins.str]] = None): + """ + The set of arguments for constructing a ScfOrganizationManager resource. + :param pulumi.Input[_builtins.str] org_id: The ID of the Cloud Foundry Organization + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization of the organization manager + :param pulumi.Input[_builtins.str] region: The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + pulumi.set(__self__, "org_id", org_id) + pulumi.set(__self__, "project_id", project_id) + if region is not None: + pulumi.set(__self__, "region", region) + + @_builtins.property + @pulumi.getter(name="orgId") + def org_id(self) -> pulumi.Input[_builtins.str]: + """ + The ID of the Cloud Foundry Organization + """ + return pulumi.get(self, "org_id") + + @org_id.setter + def org_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "org_id", value) + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Input[_builtins.str]: + """ + The ID of the project associated with the organization of the organization manager + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "project_id", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + +@pulumi.input_type +class _ScfOrganizationManagerState: + def __init__(__self__, *, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + org_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + platform_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): + """ + Input properties used for looking up and filtering ScfOrganizationManager resources. + :param pulumi.Input[_builtins.str] created_at: The time when the organization manager was created + :param pulumi.Input[_builtins.str] org_id: The ID of the Cloud Foundry Organization + :param pulumi.Input[_builtins.str] password: An auto-generated password + :param pulumi.Input[_builtins.str] platform_id: The ID of the platform associated with the organization of the organization manager + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization of the organization manager + :param pulumi.Input[_builtins.str] region: The region where the organization of the organization manager is located. If not defined, the provider region is used + :param pulumi.Input[_builtins.str] updated_at: The time when the organization manager was last updated + :param pulumi.Input[_builtins.str] user_id: The ID of the organization manager user + :param pulumi.Input[_builtins.str] username: An auto-generated organization manager user name + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if org_id is not None: + pulumi.set(__self__, "org_id", org_id) + if password is not None: + pulumi.set(__self__, "password", password) + if platform_id is not None: + pulumi.set(__self__, "platform_id", platform_id) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if region is not None: + pulumi.set(__self__, "region", region) + if updated_at is not None: + pulumi.set(__self__, "updated_at", updated_at) + if user_id is not None: + pulumi.set(__self__, "user_id", user_id) + if username is not None: + pulumi.set(__self__, "username", username) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The time when the organization manager was created + """ + return pulumi.get(self, "created_at") + + @created_at.setter + def created_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "created_at", value) + + @_builtins.property + @pulumi.getter(name="orgId") + def org_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the Cloud Foundry Organization + """ + return pulumi.get(self, "org_id") + + @org_id.setter + def org_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "org_id", value) + + @_builtins.property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + An auto-generated password + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "password", value) + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the platform associated with the organization of the organization manager + """ + return pulumi.get(self, "platform_id") + + @platform_id.setter + def platform_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "platform_id", value) + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the project associated with the organization of the organization manager + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "project_id", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The time when the organization manager was last updated + """ + return pulumi.get(self, "updated_at") + + @updated_at.setter + def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "updated_at", value) + + @_builtins.property + @pulumi.getter(name="userId") + def user_id(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The ID of the organization manager user + """ + return pulumi.get(self, "user_id") + + @user_id.setter + def user_id(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "user_id", value) + + @_builtins.property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + An auto-generated organization manager user name + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "username", value) + + +@pulumi.type_token("stackit:index/scfOrganizationManager:ScfOrganizationManager") +class ScfOrganizationManager(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + org_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + __props__=None): + """ + STACKIT Cloud Foundry organization manager resource schema. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] org_id: The ID of the Cloud Foundry Organization + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization of the organization manager + :param pulumi.Input[_builtins.str] region: The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ScfOrganizationManagerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + STACKIT Cloud Foundry organization manager resource schema. + + ## Example Usage + + :param str resource_name: The name of the resource. + :param ScfOrganizationManagerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ScfOrganizationManagerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + org_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ScfOrganizationManagerArgs.__new__(ScfOrganizationManagerArgs) + + if org_id is None and not opts.urn: + raise TypeError("Missing required property 'org_id'") + __props__.__dict__["org_id"] = org_id + if project_id is None and not opts.urn: + raise TypeError("Missing required property 'project_id'") + __props__.__dict__["project_id"] = project_id + __props__.__dict__["region"] = region + __props__.__dict__["created_at"] = None + __props__.__dict__["password"] = None + __props__.__dict__["platform_id"] = None + __props__.__dict__["updated_at"] = None + __props__.__dict__["user_id"] = None + __props__.__dict__["username"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(ScfOrganizationManager, __self__).__init__( + 'stackit:index/scfOrganizationManager:ScfOrganizationManager', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + org_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + platform_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'ScfOrganizationManager': + """ + Get an existing ScfOrganizationManager resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] created_at: The time when the organization manager was created + :param pulumi.Input[_builtins.str] org_id: The ID of the Cloud Foundry Organization + :param pulumi.Input[_builtins.str] password: An auto-generated password + :param pulumi.Input[_builtins.str] platform_id: The ID of the platform associated with the organization of the organization manager + :param pulumi.Input[_builtins.str] project_id: The ID of the project associated with the organization of the organization manager + :param pulumi.Input[_builtins.str] region: The region where the organization of the organization manager is located. If not defined, the provider region is used + :param pulumi.Input[_builtins.str] updated_at: The time when the organization manager was last updated + :param pulumi.Input[_builtins.str] user_id: The ID of the organization manager user + :param pulumi.Input[_builtins.str] username: An auto-generated organization manager user name + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ScfOrganizationManagerState.__new__(_ScfOrganizationManagerState) + + __props__.__dict__["created_at"] = created_at + __props__.__dict__["org_id"] = org_id + __props__.__dict__["password"] = password + __props__.__dict__["platform_id"] = platform_id + __props__.__dict__["project_id"] = project_id + __props__.__dict__["region"] = region + __props__.__dict__["updated_at"] = updated_at + __props__.__dict__["user_id"] = user_id + __props__.__dict__["username"] = username + return ScfOrganizationManager(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[_builtins.str]: + """ + The time when the organization manager was created + """ + return pulumi.get(self, "created_at") + + @_builtins.property + @pulumi.getter(name="orgId") + def org_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the Cloud Foundry Organization + """ + return pulumi.get(self, "org_id") + + @_builtins.property + @pulumi.getter + def password(self) -> pulumi.Output[_builtins.str]: + """ + An auto-generated password + """ + return pulumi.get(self, "password") + + @_builtins.property + @pulumi.getter(name="platformId") + def platform_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the platform associated with the organization of the organization manager + """ + return pulumi.get(self, "platform_id") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the project associated with the organization of the organization manager + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + The region where the organization of the organization manager is located. If not defined, the provider region is used + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[_builtins.str]: + """ + The time when the organization manager was last updated + """ + return pulumi.get(self, "updated_at") + + @_builtins.property + @pulumi.getter(name="userId") + def user_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the organization manager user + """ + return pulumi.get(self, "user_id") + + @_builtins.property + @pulumi.getter + def username(self) -> pulumi.Output[_builtins.str]: + """ + An auto-generated organization manager user name + """ + return pulumi.get(self, "username") + diff --git a/sdk/python/pulumi_stackit/secretsmanager_instance.py b/sdk/python/pulumi_stackit/secretsmanager_instance.py index 1dca9965..764abb37 100644 --- a/sdk/python/pulumi_stackit/secretsmanager_instance.py +++ b/sdk/python/pulumi_stackit/secretsmanager_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,14 +19,14 @@ @pulumi.input_type class SecretsmanagerInstanceArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None): + project_id: pulumi.Input[_builtins.str], + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a SecretsmanagerInstance resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation - :param pulumi.Input[builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation + :param pulumi.Input[_builtins.str] name: Instance name. """ pulumi.set(__self__, "project_id", project_id) if acls is not None: @@ -35,56 +34,56 @@ def __init__(__self__, *, if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _SecretsmanagerInstanceState: def __init__(__self__, *, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None): + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering SecretsmanagerInstance resources. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation - :param pulumi.Input[builtins.str] instance_id: ID of the Secrets Manager instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation + :param pulumi.Input[_builtins.str] instance_id: ID of the Secrets Manager instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -95,52 +94,52 @@ def __init__(__self__, *, if project_id is not None: pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the Secrets Manager instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) @@ -150,9 +149,9 @@ class SecretsmanagerInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Secrets Manager instance resource schema. Must have a `region` specified in the provider configuration. @@ -161,9 +160,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. """ ... @overload @@ -191,9 +190,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -219,10 +218,10 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None) -> 'SecretsmanagerInstance': + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecretsmanagerInstance': """ Get an existing SecretsmanagerInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -230,10 +229,10 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation - :param pulumi.Input[builtins.str] instance_id: ID of the Secrets Manager instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation + :param pulumi.Input[_builtins.str] instance_id: ID of the Secrets Manager instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -245,33 +244,33 @@ def get(resource_name: str, __props__.__dict__["project_id"] = project_id return SecretsmanagerInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def acls(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]: + def acls(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]: """ The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the Secrets Manager instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ diff --git a/sdk/python/pulumi_stackit/secretsmanager_user.py b/sdk/python/pulumi_stackit/secretsmanager_user.py index 63ea4aa6..c05c7d7b 100644 --- a/sdk/python/pulumi_stackit/secretsmanager_user.py +++ b/sdk/python/pulumi_stackit/secretsmanager_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,90 +19,90 @@ @pulumi.input_type class SecretsmanagerUserArgs: def __init__(__self__, *, - description: pulumi.Input[builtins.str], - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - write_enabled: pulumi.Input[builtins.bool]): + description: pulumi.Input[_builtins.str], + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + write_enabled: pulumi.Input[_builtins.bool]): """ The set of arguments for constructing a SecretsmanagerUser resource. - :param pulumi.Input[builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. - :param pulumi.Input[builtins.str] instance_id: ID of the Secrets Manager instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. - :param pulumi.Input[builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. + :param pulumi.Input[_builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. + :param pulumi.Input[_builtins.str] instance_id: ID of the Secrets Manager instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. """ pulumi.set(__self__, "description", description) pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "write_enabled", write_enabled) - @property + @_builtins.property @pulumi.getter - def description(self) -> pulumi.Input[builtins.str]: + def description(self) -> pulumi.Input[_builtins.str]: """ A user chosen description to differentiate between multiple users. Can't be changed after creation. """ return pulumi.get(self, "description") @description.setter - def description(self, value: pulumi.Input[builtins.str]): + def description(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the Secrets Manager instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="writeEnabled") - def write_enabled(self) -> pulumi.Input[builtins.bool]: + def write_enabled(self) -> pulumi.Input[_builtins.bool]: """ If true, the user has writeaccess to the secrets engine. """ return pulumi.get(self, "write_enabled") @write_enabled.setter - def write_enabled(self, value: pulumi.Input[builtins.bool]): + def write_enabled(self, value: pulumi.Input[_builtins.bool]): pulumi.set(self, "write_enabled", value) @pulumi.input_type class _SecretsmanagerUserState: def __init__(__self__, *, - description: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, - write_enabled: Optional[pulumi.Input[builtins.bool]] = None): + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, + write_enabled: Optional[pulumi.Input[_builtins.bool]] = None): """ Input properties used for looking up and filtering SecretsmanagerUser resources. - :param pulumi.Input[builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. - :param pulumi.Input[builtins.str] instance_id: ID of the Secrets Manager instance. - :param pulumi.Input[builtins.str] password: An auto-generated password. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. - :param pulumi.Input[builtins.str] user_id: The user's ID. - :param pulumi.Input[builtins.str] username: An auto-generated user name. - :param pulumi.Input[builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. + :param pulumi.Input[_builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. + :param pulumi.Input[_builtins.str] instance_id: ID of the Secrets Manager instance. + :param pulumi.Input[_builtins.str] password: An auto-generated password. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] user_id: The user's ID. + :param pulumi.Input[_builtins.str] username: An auto-generated user name. + :param pulumi.Input[_builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. """ if description is not None: pulumi.set(__self__, "description", description) @@ -120,88 +119,88 @@ def __init__(__self__, *, if write_enabled is not None: pulumi.set(__self__, "write_enabled", write_enabled) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ A user chosen description to differentiate between multiple users. Can't be changed after creation. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the Secrets Manager instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: """ An auto-generated password. """ return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> Optional[pulumi.Input[builtins.str]]: + def user_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The user's ID. """ return pulumi.get(self, "user_id") @user_id.setter - def user_id(self, value: Optional[pulumi.Input[builtins.str]]): + def user_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "user_id", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: """ An auto-generated user name. """ return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) - @property + @_builtins.property @pulumi.getter(name="writeEnabled") - def write_enabled(self) -> Optional[pulumi.Input[builtins.bool]]: + def write_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If true, the user has writeaccess to the secrets engine. """ return pulumi.get(self, "write_enabled") @write_enabled.setter - def write_enabled(self, value: Optional[pulumi.Input[builtins.bool]]): + def write_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "write_enabled", value) @@ -211,10 +210,10 @@ class SecretsmanagerUser(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - write_enabled: Optional[pulumi.Input[builtins.bool]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + write_enabled: Optional[pulumi.Input[_builtins.bool]] = None, __props__=None): """ Secrets Manager user resource schema. Must have a `region` specified in the provider configuration. @@ -223,10 +222,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. - :param pulumi.Input[builtins.str] instance_id: ID of the Secrets Manager instance. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. - :param pulumi.Input[builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. + :param pulumi.Input[_builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. + :param pulumi.Input[_builtins.str] instance_id: ID of the Secrets Manager instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. """ ... @overload @@ -254,10 +253,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - write_enabled: Optional[pulumi.Input[builtins.bool]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + write_enabled: Optional[pulumi.Input[_builtins.bool]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -294,13 +293,13 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, - write_enabled: Optional[pulumi.Input[builtins.bool]] = None) -> 'SecretsmanagerUser': + description: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, + write_enabled: Optional[pulumi.Input[_builtins.bool]] = None) -> 'SecretsmanagerUser': """ Get an existing SecretsmanagerUser resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -308,13 +307,13 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. - :param pulumi.Input[builtins.str] instance_id: ID of the Secrets Manager instance. - :param pulumi.Input[builtins.str] password: An auto-generated password. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the instance is associated. - :param pulumi.Input[builtins.str] user_id: The user's ID. - :param pulumi.Input[builtins.str] username: An auto-generated user name. - :param pulumi.Input[builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. + :param pulumi.Input[_builtins.str] description: A user chosen description to differentiate between multiple users. Can't be changed after creation. + :param pulumi.Input[_builtins.str] instance_id: ID of the Secrets Manager instance. + :param pulumi.Input[_builtins.str] password: An auto-generated password. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] user_id: The user's ID. + :param pulumi.Input[_builtins.str] username: An auto-generated user name. + :param pulumi.Input[_builtins.bool] write_enabled: If true, the user has writeaccess to the secrets engine. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -329,57 +328,57 @@ def get(resource_name: str, __props__.__dict__["write_enabled"] = write_enabled return SecretsmanagerUser(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def description(self) -> pulumi.Output[builtins.str]: + def description(self) -> pulumi.Output[_builtins.str]: """ A user chosen description to differentiate between multiple users. Can't be changed after creation. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the Secrets Manager instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: """ An auto-generated password. """ return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> pulumi.Output[builtins.str]: + def user_id(self) -> pulumi.Output[_builtins.str]: """ The user's ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: """ An auto-generated user name. """ return pulumi.get(self, "username") - @property + @_builtins.property @pulumi.getter(name="writeEnabled") - def write_enabled(self) -> pulumi.Output[builtins.bool]: + def write_enabled(self) -> pulumi.Output[_builtins.bool]: """ If true, the user has writeaccess to the secrets engine. """ diff --git a/sdk/python/pulumi_stackit/security_group.py b/sdk/python/pulumi_stackit/security_group.py index 0f595b1b..bc03d9db 100644 --- a/sdk/python/pulumi_stackit/security_group.py +++ b/sdk/python/pulumi_stackit/security_group.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,18 +19,18 @@ @pulumi.input_type class SecurityGroupArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - stateful: Optional[pulumi.Input[builtins.bool]] = None): + project_id: pulumi.Input[_builtins.str], + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + stateful: Optional[pulumi.Input[_builtins.bool]] = None): """ The set of arguments for constructing a SecurityGroup resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group is associated. - :param pulumi.Input[builtins.str] description: The description of the security group. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the security group. - :param pulumi.Input[builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group is associated. + :param pulumi.Input[_builtins.str] description: The description of the security group. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the security group. + :param pulumi.Input[_builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ pulumi.set(__self__, "project_id", project_id) if description is not None: @@ -43,84 +42,84 @@ def __init__(__self__, *, if stateful is not None: pulumi.set(__self__, "stateful", stateful) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the security group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The description of the security group. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the security group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def stateful(self) -> Optional[pulumi.Input[builtins.bool]]: + def stateful(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ return pulumi.get(self, "stateful") @stateful.setter - def stateful(self, value: Optional[pulumi.Input[builtins.bool]]): + def stateful(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "stateful", value) @pulumi.input_type class _SecurityGroupState: def __init__(__self__, *, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, - stateful: Optional[pulumi.Input[builtins.bool]] = None): + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + stateful: Optional[pulumi.Input[_builtins.bool]] = None): """ Input properties used for looking up and filtering SecurityGroup resources. - :param pulumi.Input[builtins.str] description: The description of the security group. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the security group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group is associated. - :param pulumi.Input[builtins.str] security_group_id: The security group ID. - :param pulumi.Input[builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. + :param pulumi.Input[_builtins.str] description: The description of the security group. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the security group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group is associated. + :param pulumi.Input[_builtins.str] security_group_id: The security group ID. + :param pulumi.Input[_builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ if description is not None: pulumi.set(__self__, "description", description) @@ -135,76 +134,76 @@ def __init__(__self__, *, if stateful is not None: pulumi.set(__self__, "stateful", stateful) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The description of the security group. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the security group. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the security group is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]: + def security_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The security group ID. """ return pulumi.get(self, "security_group_id") @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]): + def security_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "security_group_id", value) - @property + @_builtins.property @pulumi.getter - def stateful(self) -> Optional[pulumi.Input[builtins.bool]]: + def stateful(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ return pulumi.get(self, "stateful") @stateful.setter - def stateful(self, value: Optional[pulumi.Input[builtins.bool]]): + def stateful(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "stateful", value) @@ -214,11 +213,11 @@ class SecurityGroup(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - stateful: Optional[pulumi.Input[builtins.bool]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + stateful: Optional[pulumi.Input[_builtins.bool]] = None, __props__=None): """ Security group resource schema. Must have a `region` specified in the provider configuration. @@ -227,11 +226,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: The description of the security group. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the security group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group is associated. - :param pulumi.Input[builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. + :param pulumi.Input[_builtins.str] description: The description of the security group. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the security group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group is associated. + :param pulumi.Input[_builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ ... @overload @@ -259,11 +258,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - stateful: Optional[pulumi.Input[builtins.bool]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + stateful: Optional[pulumi.Input[_builtins.bool]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -291,12 +290,12 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, - stateful: Optional[pulumi.Input[builtins.bool]] = None) -> 'SecurityGroup': + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + stateful: Optional[pulumi.Input[_builtins.bool]] = None) -> 'SecurityGroup': """ Get an existing SecurityGroup resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -304,12 +303,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: The description of the security group. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the security group. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group is associated. - :param pulumi.Input[builtins.str] security_group_id: The security group ID. - :param pulumi.Input[builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. + :param pulumi.Input[_builtins.str] description: The description of the security group. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the security group. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group is associated. + :param pulumi.Input[_builtins.str] security_group_id: The security group ID. + :param pulumi.Input[_builtins.bool] stateful: Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -323,49 +322,49 @@ def get(resource_name: str, __props__.__dict__["stateful"] = stateful return SecurityGroup(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def description(self) -> pulumi.Output[builtins.str]: + def description(self) -> pulumi.Output[_builtins.str]: """ The description of the security group. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the security group. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the security group is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Output[builtins.str]: + def security_group_id(self) -> pulumi.Output[_builtins.str]: """ The security group ID. """ return pulumi.get(self, "security_group_id") - @property + @_builtins.property @pulumi.getter - def stateful(self) -> pulumi.Output[builtins.bool]: + def stateful(self) -> pulumi.Output[_builtins.bool]: """ Configures if a security group is stateful or stateless. There can only be one type of security groups per network interface/server. """ diff --git a/sdk/python/pulumi_stackit/security_group_rule.py b/sdk/python/pulumi_stackit/security_group_rule.py index 4b295830..5775ff38 100644 --- a/sdk/python/pulumi_stackit/security_group_rule.py +++ b/sdk/python/pulumi_stackit/security_group_rule.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,28 +21,28 @@ @pulumi.input_type class SecurityGroupRuleArgs: def __init__(__self__, *, - direction: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - security_group_id: pulumi.Input[builtins.str], - description: Optional[pulumi.Input[builtins.str]] = None, - ether_type: Optional[pulumi.Input[builtins.str]] = None, + direction: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + security_group_id: pulumi.Input[_builtins.str], + description: Optional[pulumi.Input[_builtins.str]] = None, + ether_type: Optional[pulumi.Input[_builtins.str]] = None, icmp_parameters: Optional[pulumi.Input['SecurityGroupRuleIcmpParametersArgs']] = None, - ip_range: Optional[pulumi.Input[builtins.str]] = None, + ip_range: Optional[pulumi.Input[_builtins.str]] = None, port_range: Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']] = None, protocol: Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']] = None, - remote_security_group_id: Optional[pulumi.Input[builtins.str]] = None): + remote_security_group_id: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a SecurityGroupRule resource. - :param pulumi.Input[builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group rule is associated. - :param pulumi.Input[builtins.str] security_group_id: The security group ID. - :param pulumi.Input[builtins.str] description: The rule description. - :param pulumi.Input[builtins.str] ether_type: The ethertype which the rule should match. + :param pulumi.Input[_builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group rule is associated. + :param pulumi.Input[_builtins.str] security_group_id: The security group ID. + :param pulumi.Input[_builtins.str] description: The rule description. + :param pulumi.Input[_builtins.str] ether_type: The ethertype which the rule should match. :param pulumi.Input['SecurityGroupRuleIcmpParametersArgs'] icmp_parameters: ICMP Parameters. These parameters should only be provided if the protocol is ICMP. - :param pulumi.Input[builtins.str] ip_range: The remote IP range which the rule should match. + :param pulumi.Input[_builtins.str] ip_range: The remote IP range which the rule should match. :param pulumi.Input['SecurityGroupRulePortRangeArgs'] port_range: The range of ports. This should only be provided if the protocol is not ICMP. :param pulumi.Input['SecurityGroupRuleProtocolArgs'] protocol: The internet protocol which the rule should match. - :param pulumi.Input[builtins.str] remote_security_group_id: The remote security group which the rule should match. + :param pulumi.Input[_builtins.str] remote_security_group_id: The remote security group which the rule should match. """ pulumi.set(__self__, "direction", direction) pulumi.set(__self__, "project_id", project_id) @@ -63,67 +62,67 @@ def __init__(__self__, *, if remote_security_group_id is not None: pulumi.set(__self__, "remote_security_group_id", remote_security_group_id) - @property + @_builtins.property @pulumi.getter - def direction(self) -> pulumi.Input[builtins.str]: + def direction(self) -> pulumi.Input[_builtins.str]: """ The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. """ return pulumi.get(self, "direction") @direction.setter - def direction(self, value: pulumi.Input[builtins.str]): + def direction(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "direction", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the security group rule is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Input[builtins.str]: + def security_group_id(self) -> pulumi.Input[_builtins.str]: """ The security group ID. """ return pulumi.get(self, "security_group_id") @security_group_id.setter - def security_group_id(self, value: pulumi.Input[builtins.str]): + def security_group_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "security_group_id", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The rule description. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter(name="etherType") - def ether_type(self) -> Optional[pulumi.Input[builtins.str]]: + def ether_type(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ethertype which the rule should match. """ return pulumi.get(self, "ether_type") @ether_type.setter - def ether_type(self, value: Optional[pulumi.Input[builtins.str]]): + def ether_type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ether_type", value) - @property + @_builtins.property @pulumi.getter(name="icmpParameters") def icmp_parameters(self) -> Optional[pulumi.Input['SecurityGroupRuleIcmpParametersArgs']]: """ @@ -135,19 +134,19 @@ def icmp_parameters(self) -> Optional[pulumi.Input['SecurityGroupRuleIcmpParamet def icmp_parameters(self, value: Optional[pulumi.Input['SecurityGroupRuleIcmpParametersArgs']]): pulumi.set(self, "icmp_parameters", value) - @property + @_builtins.property @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[builtins.str]]: + def ip_range(self) -> Optional[pulumi.Input[_builtins.str]]: """ The remote IP range which the rule should match. """ return pulumi.get(self, "ip_range") @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[builtins.str]]): + def ip_range(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ip_range", value) - @property + @_builtins.property @pulumi.getter(name="portRange") def port_range(self) -> Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']]: """ @@ -159,7 +158,7 @@ def port_range(self) -> Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']] def port_range(self, value: Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']]): pulumi.set(self, "port_range", value) - @property + @_builtins.property @pulumi.getter def protocol(self) -> Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']]: """ @@ -171,46 +170,46 @@ def protocol(self) -> Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']]: def protocol(self, value: Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']]): pulumi.set(self, "protocol", value) - @property + @_builtins.property @pulumi.getter(name="remoteSecurityGroupId") - def remote_security_group_id(self) -> Optional[pulumi.Input[builtins.str]]: + def remote_security_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The remote security group which the rule should match. """ return pulumi.get(self, "remote_security_group_id") @remote_security_group_id.setter - def remote_security_group_id(self, value: Optional[pulumi.Input[builtins.str]]): + def remote_security_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "remote_security_group_id", value) @pulumi.input_type class _SecurityGroupRuleState: def __init__(__self__, *, - description: Optional[pulumi.Input[builtins.str]] = None, - direction: Optional[pulumi.Input[builtins.str]] = None, - ether_type: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + direction: Optional[pulumi.Input[_builtins.str]] = None, + ether_type: Optional[pulumi.Input[_builtins.str]] = None, icmp_parameters: Optional[pulumi.Input['SecurityGroupRuleIcmpParametersArgs']] = None, - ip_range: Optional[pulumi.Input[builtins.str]] = None, + ip_range: Optional[pulumi.Input[_builtins.str]] = None, port_range: Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, protocol: Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']] = None, - remote_security_group_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_rule_id: Optional[pulumi.Input[builtins.str]] = None): + remote_security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_rule_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering SecurityGroupRule resources. - :param pulumi.Input[builtins.str] description: The rule description. - :param pulumi.Input[builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. - :param pulumi.Input[builtins.str] ether_type: The ethertype which the rule should match. + :param pulumi.Input[_builtins.str] description: The rule description. + :param pulumi.Input[_builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. + :param pulumi.Input[_builtins.str] ether_type: The ethertype which the rule should match. :param pulumi.Input['SecurityGroupRuleIcmpParametersArgs'] icmp_parameters: ICMP Parameters. These parameters should only be provided if the protocol is ICMP. - :param pulumi.Input[builtins.str] ip_range: The remote IP range which the rule should match. + :param pulumi.Input[_builtins.str] ip_range: The remote IP range which the rule should match. :param pulumi.Input['SecurityGroupRulePortRangeArgs'] port_range: The range of ports. This should only be provided if the protocol is not ICMP. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group rule is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group rule is associated. :param pulumi.Input['SecurityGroupRuleProtocolArgs'] protocol: The internet protocol which the rule should match. - :param pulumi.Input[builtins.str] remote_security_group_id: The remote security group which the rule should match. - :param pulumi.Input[builtins.str] security_group_id: The security group ID. - :param pulumi.Input[builtins.str] security_group_rule_id: The security group rule ID. + :param pulumi.Input[_builtins.str] remote_security_group_id: The remote security group which the rule should match. + :param pulumi.Input[_builtins.str] security_group_id: The security group ID. + :param pulumi.Input[_builtins.str] security_group_rule_id: The security group rule ID. """ if description is not None: pulumi.set(__self__, "description", description) @@ -235,43 +234,43 @@ def __init__(__self__, *, if security_group_rule_id is not None: pulumi.set(__self__, "security_group_rule_id", security_group_rule_id) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The rule description. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def direction(self) -> Optional[pulumi.Input[builtins.str]]: + def direction(self) -> Optional[pulumi.Input[_builtins.str]]: """ The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. """ return pulumi.get(self, "direction") @direction.setter - def direction(self, value: Optional[pulumi.Input[builtins.str]]): + def direction(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "direction", value) - @property + @_builtins.property @pulumi.getter(name="etherType") - def ether_type(self) -> Optional[pulumi.Input[builtins.str]]: + def ether_type(self) -> Optional[pulumi.Input[_builtins.str]]: """ The ethertype which the rule should match. """ return pulumi.get(self, "ether_type") @ether_type.setter - def ether_type(self, value: Optional[pulumi.Input[builtins.str]]): + def ether_type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ether_type", value) - @property + @_builtins.property @pulumi.getter(name="icmpParameters") def icmp_parameters(self) -> Optional[pulumi.Input['SecurityGroupRuleIcmpParametersArgs']]: """ @@ -283,19 +282,19 @@ def icmp_parameters(self) -> Optional[pulumi.Input['SecurityGroupRuleIcmpParamet def icmp_parameters(self, value: Optional[pulumi.Input['SecurityGroupRuleIcmpParametersArgs']]): pulumi.set(self, "icmp_parameters", value) - @property + @_builtins.property @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[builtins.str]]: + def ip_range(self) -> Optional[pulumi.Input[_builtins.str]]: """ The remote IP range which the rule should match. """ return pulumi.get(self, "ip_range") @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[builtins.str]]): + def ip_range(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "ip_range", value) - @property + @_builtins.property @pulumi.getter(name="portRange") def port_range(self) -> Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']]: """ @@ -307,19 +306,19 @@ def port_range(self) -> Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']] def port_range(self, value: Optional[pulumi.Input['SecurityGroupRulePortRangeArgs']]): pulumi.set(self, "port_range", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the security group rule is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter def protocol(self) -> Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']]: """ @@ -331,40 +330,40 @@ def protocol(self) -> Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']]: def protocol(self, value: Optional[pulumi.Input['SecurityGroupRuleProtocolArgs']]): pulumi.set(self, "protocol", value) - @property + @_builtins.property @pulumi.getter(name="remoteSecurityGroupId") - def remote_security_group_id(self) -> Optional[pulumi.Input[builtins.str]]: + def remote_security_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The remote security group which the rule should match. """ return pulumi.get(self, "remote_security_group_id") @remote_security_group_id.setter - def remote_security_group_id(self, value: Optional[pulumi.Input[builtins.str]]): + def remote_security_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "remote_security_group_id", value) - @property + @_builtins.property @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]: + def security_group_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The security group ID. """ return pulumi.get(self, "security_group_id") @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]): + def security_group_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "security_group_id", value) - @property + @_builtins.property @pulumi.getter(name="securityGroupRuleId") - def security_group_rule_id(self) -> Optional[pulumi.Input[builtins.str]]: + def security_group_rule_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The security group rule ID. """ return pulumi.get(self, "security_group_rule_id") @security_group_rule_id.setter - def security_group_rule_id(self, value: Optional[pulumi.Input[builtins.str]]): + def security_group_rule_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "security_group_rule_id", value) @@ -374,16 +373,16 @@ class SecurityGroupRule(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - direction: Optional[pulumi.Input[builtins.str]] = None, - ether_type: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + direction: Optional[pulumi.Input[_builtins.str]] = None, + ether_type: Optional[pulumi.Input[_builtins.str]] = None, icmp_parameters: Optional[pulumi.Input[Union['SecurityGroupRuleIcmpParametersArgs', 'SecurityGroupRuleIcmpParametersArgsDict']]] = None, - ip_range: Optional[pulumi.Input[builtins.str]] = None, + ip_range: Optional[pulumi.Input[_builtins.str]] = None, port_range: Optional[pulumi.Input[Union['SecurityGroupRulePortRangeArgs', 'SecurityGroupRulePortRangeArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, protocol: Optional[pulumi.Input[Union['SecurityGroupRuleProtocolArgs', 'SecurityGroupRuleProtocolArgsDict']]] = None, - remote_security_group_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, + remote_security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Security group rule resource schema. Must have a `region` specified in the provider configuration. @@ -392,16 +391,16 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: The rule description. - :param pulumi.Input[builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. - :param pulumi.Input[builtins.str] ether_type: The ethertype which the rule should match. + :param pulumi.Input[_builtins.str] description: The rule description. + :param pulumi.Input[_builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. + :param pulumi.Input[_builtins.str] ether_type: The ethertype which the rule should match. :param pulumi.Input[Union['SecurityGroupRuleIcmpParametersArgs', 'SecurityGroupRuleIcmpParametersArgsDict']] icmp_parameters: ICMP Parameters. These parameters should only be provided if the protocol is ICMP. - :param pulumi.Input[builtins.str] ip_range: The remote IP range which the rule should match. + :param pulumi.Input[_builtins.str] ip_range: The remote IP range which the rule should match. :param pulumi.Input[Union['SecurityGroupRulePortRangeArgs', 'SecurityGroupRulePortRangeArgsDict']] port_range: The range of ports. This should only be provided if the protocol is not ICMP. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group rule is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group rule is associated. :param pulumi.Input[Union['SecurityGroupRuleProtocolArgs', 'SecurityGroupRuleProtocolArgsDict']] protocol: The internet protocol which the rule should match. - :param pulumi.Input[builtins.str] remote_security_group_id: The remote security group which the rule should match. - :param pulumi.Input[builtins.str] security_group_id: The security group ID. + :param pulumi.Input[_builtins.str] remote_security_group_id: The remote security group which the rule should match. + :param pulumi.Input[_builtins.str] security_group_id: The security group ID. """ ... @overload @@ -429,16 +428,16 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - direction: Optional[pulumi.Input[builtins.str]] = None, - ether_type: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + direction: Optional[pulumi.Input[_builtins.str]] = None, + ether_type: Optional[pulumi.Input[_builtins.str]] = None, icmp_parameters: Optional[pulumi.Input[Union['SecurityGroupRuleIcmpParametersArgs', 'SecurityGroupRuleIcmpParametersArgsDict']]] = None, - ip_range: Optional[pulumi.Input[builtins.str]] = None, + ip_range: Optional[pulumi.Input[_builtins.str]] = None, port_range: Optional[pulumi.Input[Union['SecurityGroupRulePortRangeArgs', 'SecurityGroupRulePortRangeArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, protocol: Optional[pulumi.Input[Union['SecurityGroupRuleProtocolArgs', 'SecurityGroupRuleProtocolArgsDict']]] = None, - remote_security_group_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, + remote_security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -475,17 +474,17 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - direction: Optional[pulumi.Input[builtins.str]] = None, - ether_type: Optional[pulumi.Input[builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + direction: Optional[pulumi.Input[_builtins.str]] = None, + ether_type: Optional[pulumi.Input[_builtins.str]] = None, icmp_parameters: Optional[pulumi.Input[Union['SecurityGroupRuleIcmpParametersArgs', 'SecurityGroupRuleIcmpParametersArgsDict']]] = None, - ip_range: Optional[pulumi.Input[builtins.str]] = None, + ip_range: Optional[pulumi.Input[_builtins.str]] = None, port_range: Optional[pulumi.Input[Union['SecurityGroupRulePortRangeArgs', 'SecurityGroupRulePortRangeArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, protocol: Optional[pulumi.Input[Union['SecurityGroupRuleProtocolArgs', 'SecurityGroupRuleProtocolArgsDict']]] = None, - remote_security_group_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_id: Optional[pulumi.Input[builtins.str]] = None, - security_group_rule_id: Optional[pulumi.Input[builtins.str]] = None) -> 'SecurityGroupRule': + remote_security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_id: Optional[pulumi.Input[_builtins.str]] = None, + security_group_rule_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecurityGroupRule': """ Get an existing SecurityGroupRule resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -493,17 +492,17 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] description: The rule description. - :param pulumi.Input[builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. - :param pulumi.Input[builtins.str] ether_type: The ethertype which the rule should match. + :param pulumi.Input[_builtins.str] description: The rule description. + :param pulumi.Input[_builtins.str] direction: The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. + :param pulumi.Input[_builtins.str] ether_type: The ethertype which the rule should match. :param pulumi.Input[Union['SecurityGroupRuleIcmpParametersArgs', 'SecurityGroupRuleIcmpParametersArgsDict']] icmp_parameters: ICMP Parameters. These parameters should only be provided if the protocol is ICMP. - :param pulumi.Input[builtins.str] ip_range: The remote IP range which the rule should match. + :param pulumi.Input[_builtins.str] ip_range: The remote IP range which the rule should match. :param pulumi.Input[Union['SecurityGroupRulePortRangeArgs', 'SecurityGroupRulePortRangeArgsDict']] port_range: The range of ports. This should only be provided if the protocol is not ICMP. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the security group rule is associated. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the security group rule is associated. :param pulumi.Input[Union['SecurityGroupRuleProtocolArgs', 'SecurityGroupRuleProtocolArgsDict']] protocol: The internet protocol which the rule should match. - :param pulumi.Input[builtins.str] remote_security_group_id: The remote security group which the rule should match. - :param pulumi.Input[builtins.str] security_group_id: The security group ID. - :param pulumi.Input[builtins.str] security_group_rule_id: The security group rule ID. + :param pulumi.Input[_builtins.str] remote_security_group_id: The remote security group which the rule should match. + :param pulumi.Input[_builtins.str] security_group_id: The security group ID. + :param pulumi.Input[_builtins.str] security_group_rule_id: The security group rule ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -522,31 +521,31 @@ def get(resource_name: str, __props__.__dict__["security_group_rule_id"] = security_group_rule_id return SecurityGroupRule(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def description(self) -> pulumi.Output[Optional[builtins.str]]: + def description(self) -> pulumi.Output[Optional[_builtins.str]]: """ The rule description. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def direction(self) -> pulumi.Output[builtins.str]: + def direction(self) -> pulumi.Output[_builtins.str]: """ The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`. """ return pulumi.get(self, "direction") - @property + @_builtins.property @pulumi.getter(name="etherType") - def ether_type(self) -> pulumi.Output[builtins.str]: + def ether_type(self) -> pulumi.Output[_builtins.str]: """ The ethertype which the rule should match. """ return pulumi.get(self, "ether_type") - @property + @_builtins.property @pulumi.getter(name="icmpParameters") def icmp_parameters(self) -> pulumi.Output['outputs.SecurityGroupRuleIcmpParameters']: """ @@ -554,15 +553,15 @@ def icmp_parameters(self) -> pulumi.Output['outputs.SecurityGroupRuleIcmpParamet """ return pulumi.get(self, "icmp_parameters") - @property + @_builtins.property @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Output[Optional[builtins.str]]: + def ip_range(self) -> pulumi.Output[Optional[_builtins.str]]: """ The remote IP range which the rule should match. """ return pulumi.get(self, "ip_range") - @property + @_builtins.property @pulumi.getter(name="portRange") def port_range(self) -> pulumi.Output['outputs.SecurityGroupRulePortRange']: """ @@ -570,15 +569,15 @@ def port_range(self) -> pulumi.Output['outputs.SecurityGroupRulePortRange']: """ return pulumi.get(self, "port_range") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the security group rule is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter def protocol(self) -> pulumi.Output['outputs.SecurityGroupRuleProtocol']: """ @@ -586,25 +585,25 @@ def protocol(self) -> pulumi.Output['outputs.SecurityGroupRuleProtocol']: """ return pulumi.get(self, "protocol") - @property + @_builtins.property @pulumi.getter(name="remoteSecurityGroupId") - def remote_security_group_id(self) -> pulumi.Output[Optional[builtins.str]]: + def remote_security_group_id(self) -> pulumi.Output[Optional[_builtins.str]]: """ The remote security group which the rule should match. """ return pulumi.get(self, "remote_security_group_id") - @property + @_builtins.property @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Output[builtins.str]: + def security_group_id(self) -> pulumi.Output[_builtins.str]: """ The security group ID. """ return pulumi.get(self, "security_group_id") - @property + @_builtins.property @pulumi.getter(name="securityGroupRuleId") - def security_group_rule_id(self) -> pulumi.Output[builtins.str]: + def security_group_rule_id(self) -> pulumi.Output[_builtins.str]: """ The security group rule ID. """ diff --git a/sdk/python/pulumi_stackit/server.py b/sdk/python/pulumi_stackit/server.py index 1a8ca2f6..50be626e 100644 --- a/sdk/python/pulumi_stackit/server.py +++ b/sdk/python/pulumi_stackit/server.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,32 +21,32 @@ @pulumi.input_type class ServerArgs: def __init__(__self__, *, - machine_type: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - affinity_group: Optional[pulumi.Input[builtins.str]] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, + machine_type: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + affinity_group: Optional[pulumi.Input[_builtins.str]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, boot_volume: Optional[pulumi.Input['ServerBootVolumeArgs']] = None, - desired_status: Optional[pulumi.Input[builtins.str]] = None, - image_id: Optional[pulumi.Input[builtins.str]] = None, - keypair_name: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - user_data: Optional[pulumi.Input[builtins.str]] = None): + desired_status: Optional[pulumi.Input[_builtins.str]] = None, + image_id: Optional[pulumi.Input[_builtins.str]] = None, + keypair_name: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + user_data: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a Server resource. - :param pulumi.Input[builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the server is associated. - :param pulumi.Input[builtins.str] affinity_group: The affinity group the server is assigned to. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the server. + :param pulumi.Input[_builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the server is associated. + :param pulumi.Input[_builtins.str] affinity_group: The affinity group the server is assigned to. + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the server. :param pulumi.Input['ServerBootVolumeArgs'] boot_volume: The boot volume for the server - :param pulumi.Input[builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. - :param pulumi.Input[builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. - :param pulumi.Input[builtins.str] keypair_name: The name of the keypair used during server creation. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the server. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. - :param pulumi.Input[builtins.str] user_data: User data that is passed via cloud-init to the server. + :param pulumi.Input[_builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. + :param pulumi.Input[_builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. + :param pulumi.Input[_builtins.str] keypair_name: The name of the keypair used during server creation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the server. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. + :param pulumi.Input[_builtins.str] user_data: User data that is passed via cloud-init to the server. """ pulumi.set(__self__, "machine_type", machine_type) pulumi.set(__self__, "project_id", project_id) @@ -72,55 +71,55 @@ def __init__(__self__, *, if user_data is not None: pulumi.set(__self__, "user_data", user_data) - @property + @_builtins.property @pulumi.getter(name="machineType") - def machine_type(self) -> pulumi.Input[builtins.str]: + def machine_type(self) -> pulumi.Input[_builtins.str]: """ Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) """ return pulumi.get(self, "machine_type") @machine_type.setter - def machine_type(self, value: pulumi.Input[builtins.str]): + def machine_type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "machine_type", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the server is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="affinityGroup") - def affinity_group(self) -> Optional[pulumi.Input[builtins.str]]: + def affinity_group(self) -> Optional[pulumi.Input[_builtins.str]]: """ The affinity group the server is assigned to. """ return pulumi.get(self, "affinity_group") @affinity_group.setter - def affinity_group(self, value: Optional[pulumi.Input[builtins.str]]): + def affinity_group(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "affinity_group", value) - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> Optional[pulumi.Input[builtins.str]]: + def availability_zone(self) -> Optional[pulumi.Input[_builtins.str]]: """ The availability zone of the server. """ return pulumi.get(self, "availability_zone") @availability_zone.setter - def availability_zone(self, value: Optional[pulumi.Input[builtins.str]]): + def availability_zone(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "availability_zone", value) - @property + @_builtins.property @pulumi.getter(name="bootVolume") def boot_volume(self) -> Optional[pulumi.Input['ServerBootVolumeArgs']]: """ @@ -132,128 +131,128 @@ def boot_volume(self) -> Optional[pulumi.Input['ServerBootVolumeArgs']]: def boot_volume(self, value: Optional[pulumi.Input['ServerBootVolumeArgs']]): pulumi.set(self, "boot_volume", value) - @property + @_builtins.property @pulumi.getter(name="desiredStatus") - def desired_status(self) -> Optional[pulumi.Input[builtins.str]]: + def desired_status(self) -> Optional[pulumi.Input[_builtins.str]]: """ The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. """ return pulumi.get(self, "desired_status") @desired_status.setter - def desired_status(self, value: Optional[pulumi.Input[builtins.str]]): + def desired_status(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "desired_status", value) - @property + @_builtins.property @pulumi.getter(name="imageId") - def image_id(self) -> Optional[pulumi.Input[builtins.str]]: + def image_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The image ID to be used for an ephemeral disk on the server. """ return pulumi.get(self, "image_id") @image_id.setter - def image_id(self, value: Optional[pulumi.Input[builtins.str]]): + def image_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_id", value) - @property + @_builtins.property @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[builtins.str]]: + def keypair_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the keypair used during server creation. """ return pulumi.get(self, "keypair_name") @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[builtins.str]]): + def keypair_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "keypair_name", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the server. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="networkInterfaces") - def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. """ return pulumi.get(self, "network_interfaces") @network_interfaces.setter - def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "network_interfaces", value) - @property + @_builtins.property @pulumi.getter(name="userData") - def user_data(self) -> Optional[pulumi.Input[builtins.str]]: + def user_data(self) -> Optional[pulumi.Input[_builtins.str]]: """ User data that is passed via cloud-init to the server. """ return pulumi.get(self, "user_data") @user_data.setter - def user_data(self, value: Optional[pulumi.Input[builtins.str]]): + def user_data(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "user_data", value) @pulumi.input_type class _ServerState: def __init__(__self__, *, - affinity_group: Optional[pulumi.Input[builtins.str]] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, + affinity_group: Optional[pulumi.Input[_builtins.str]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, boot_volume: Optional[pulumi.Input['ServerBootVolumeArgs']] = None, - created_at: Optional[pulumi.Input[builtins.str]] = None, - desired_status: Optional[pulumi.Input[builtins.str]] = None, - image_id: Optional[pulumi.Input[builtins.str]] = None, - keypair_name: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - launched_at: Optional[pulumi.Input[builtins.str]] = None, - machine_type: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - updated_at: Optional[pulumi.Input[builtins.str]] = None, - user_data: Optional[pulumi.Input[builtins.str]] = None): + created_at: Optional[pulumi.Input[_builtins.str]] = None, + desired_status: Optional[pulumi.Input[_builtins.str]] = None, + image_id: Optional[pulumi.Input[_builtins.str]] = None, + keypair_name: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + launched_at: Optional[pulumi.Input[_builtins.str]] = None, + machine_type: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None, + user_data: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering Server resources. - :param pulumi.Input[builtins.str] affinity_group: The affinity group the server is assigned to. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the server. + :param pulumi.Input[_builtins.str] affinity_group: The affinity group the server is assigned to. + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the server. :param pulumi.Input['ServerBootVolumeArgs'] boot_volume: The boot volume for the server - :param pulumi.Input[builtins.str] created_at: Date-time when the server was created - :param pulumi.Input[builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. - :param pulumi.Input[builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. - :param pulumi.Input[builtins.str] keypair_name: The name of the keypair used during server creation. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] launched_at: Date-time when the server was launched - :param pulumi.Input[builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) - :param pulumi.Input[builtins.str] name: The name of the server. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the server is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] updated_at: Date-time when the server was updated - :param pulumi.Input[builtins.str] user_data: User data that is passed via cloud-init to the server. + :param pulumi.Input[_builtins.str] created_at: Date-time when the server was created + :param pulumi.Input[_builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. + :param pulumi.Input[_builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. + :param pulumi.Input[_builtins.str] keypair_name: The name of the keypair used during server creation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] launched_at: Date-time when the server was launched + :param pulumi.Input[_builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) + :param pulumi.Input[_builtins.str] name: The name of the server. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the server is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] updated_at: Date-time when the server was updated + :param pulumi.Input[_builtins.str] user_data: User data that is passed via cloud-init to the server. """ if affinity_group is not None: pulumi.set(__self__, "affinity_group", affinity_group) @@ -288,31 +287,31 @@ def __init__(__self__, *, if user_data is not None: pulumi.set(__self__, "user_data", user_data) - @property + @_builtins.property @pulumi.getter(name="affinityGroup") - def affinity_group(self) -> Optional[pulumi.Input[builtins.str]]: + def affinity_group(self) -> Optional[pulumi.Input[_builtins.str]]: """ The affinity group the server is assigned to. """ return pulumi.get(self, "affinity_group") @affinity_group.setter - def affinity_group(self, value: Optional[pulumi.Input[builtins.str]]): + def affinity_group(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "affinity_group", value) - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> Optional[pulumi.Input[builtins.str]]: + def availability_zone(self) -> Optional[pulumi.Input[_builtins.str]]: """ The availability zone of the server. """ return pulumi.get(self, "availability_zone") @availability_zone.setter - def availability_zone(self, value: Optional[pulumi.Input[builtins.str]]): + def availability_zone(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "availability_zone", value) - @property + @_builtins.property @pulumi.getter(name="bootVolume") def boot_volume(self) -> Optional[pulumi.Input['ServerBootVolumeArgs']]: """ @@ -324,160 +323,160 @@ def boot_volume(self) -> Optional[pulumi.Input['ServerBootVolumeArgs']]: def boot_volume(self, value: Optional[pulumi.Input['ServerBootVolumeArgs']]): pulumi.set(self, "boot_volume", value) - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[pulumi.Input[builtins.str]]: + def created_at(self) -> Optional[pulumi.Input[_builtins.str]]: """ Date-time when the server was created """ return pulumi.get(self, "created_at") @created_at.setter - def created_at(self, value: Optional[pulumi.Input[builtins.str]]): + def created_at(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "created_at", value) - @property + @_builtins.property @pulumi.getter(name="desiredStatus") - def desired_status(self) -> Optional[pulumi.Input[builtins.str]]: + def desired_status(self) -> Optional[pulumi.Input[_builtins.str]]: """ The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. """ return pulumi.get(self, "desired_status") @desired_status.setter - def desired_status(self, value: Optional[pulumi.Input[builtins.str]]): + def desired_status(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "desired_status", value) - @property + @_builtins.property @pulumi.getter(name="imageId") - def image_id(self) -> Optional[pulumi.Input[builtins.str]]: + def image_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The image ID to be used for an ephemeral disk on the server. """ return pulumi.get(self, "image_id") @image_id.setter - def image_id(self, value: Optional[pulumi.Input[builtins.str]]): + def image_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "image_id", value) - @property + @_builtins.property @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[builtins.str]]: + def keypair_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the keypair used during server creation. """ return pulumi.get(self, "keypair_name") @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[builtins.str]]): + def keypair_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "keypair_name", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter(name="launchedAt") - def launched_at(self) -> Optional[pulumi.Input[builtins.str]]: + def launched_at(self) -> Optional[pulumi.Input[_builtins.str]]: """ Date-time when the server was launched """ return pulumi.get(self, "launched_at") @launched_at.setter - def launched_at(self, value: Optional[pulumi.Input[builtins.str]]): + def launched_at(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "launched_at", value) - @property + @_builtins.property @pulumi.getter(name="machineType") - def machine_type(self) -> Optional[pulumi.Input[builtins.str]]: + def machine_type(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) """ return pulumi.get(self, "machine_type") @machine_type.setter - def machine_type(self, value: Optional[pulumi.Input[builtins.str]]): + def machine_type(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "machine_type", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the server. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="networkInterfaces") - def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. """ return pulumi.get(self, "network_interfaces") @network_interfaces.setter - def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "network_interfaces", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the server is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> Optional[pulumi.Input[builtins.str]]: + def server_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The server ID. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: Optional[pulumi.Input[builtins.str]]): + def server_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter(name="updatedAt") - def updated_at(self) -> Optional[pulumi.Input[builtins.str]]: + def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]: """ Date-time when the server was updated """ return pulumi.get(self, "updated_at") @updated_at.setter - def updated_at(self, value: Optional[pulumi.Input[builtins.str]]): + def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "updated_at", value) - @property + @_builtins.property @pulumi.getter(name="userData") - def user_data(self) -> Optional[pulumi.Input[builtins.str]]: + def user_data(self) -> Optional[pulumi.Input[_builtins.str]]: """ User data that is passed via cloud-init to the server. """ return pulumi.get(self, "user_data") @user_data.setter - def user_data(self, value: Optional[pulumi.Input[builtins.str]]): + def user_data(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "user_data", value) @@ -487,18 +486,18 @@ class Server(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - affinity_group: Optional[pulumi.Input[builtins.str]] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, + affinity_group: Optional[pulumi.Input[_builtins.str]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, boot_volume: Optional[pulumi.Input[Union['ServerBootVolumeArgs', 'ServerBootVolumeArgsDict']]] = None, - desired_status: Optional[pulumi.Input[builtins.str]] = None, - image_id: Optional[pulumi.Input[builtins.str]] = None, - keypair_name: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - machine_type: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - user_data: Optional[pulumi.Input[builtins.str]] = None, + desired_status: Optional[pulumi.Input[_builtins.str]] = None, + image_id: Optional[pulumi.Input[_builtins.str]] = None, + keypair_name: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + machine_type: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + user_data: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Server resource schema. Must have a region specified in the provider configuration. @@ -517,20 +516,22 @@ def __init__(__self__, ### Server with user data (cloud-init) + ### Additional Examples + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] affinity_group: The affinity group the server is assigned to. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the server. + :param pulumi.Input[_builtins.str] affinity_group: The affinity group the server is assigned to. + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the server. :param pulumi.Input[Union['ServerBootVolumeArgs', 'ServerBootVolumeArgsDict']] boot_volume: The boot volume for the server - :param pulumi.Input[builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. - :param pulumi.Input[builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. - :param pulumi.Input[builtins.str] keypair_name: The name of the keypair used during server creation. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) - :param pulumi.Input[builtins.str] name: The name of the server. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the server is associated. - :param pulumi.Input[builtins.str] user_data: User data that is passed via cloud-init to the server. + :param pulumi.Input[_builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. + :param pulumi.Input[_builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. + :param pulumi.Input[_builtins.str] keypair_name: The name of the keypair used during server creation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) + :param pulumi.Input[_builtins.str] name: The name of the server. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the server is associated. + :param pulumi.Input[_builtins.str] user_data: User data that is passed via cloud-init to the server. """ ... @overload @@ -555,6 +556,8 @@ def __init__(__self__, ### Server with user data (cloud-init) + ### Additional Examples + :param str resource_name: The name of the resource. :param ServerArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -570,18 +573,18 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - affinity_group: Optional[pulumi.Input[builtins.str]] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, + affinity_group: Optional[pulumi.Input[_builtins.str]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, boot_volume: Optional[pulumi.Input[Union['ServerBootVolumeArgs', 'ServerBootVolumeArgsDict']]] = None, - desired_status: Optional[pulumi.Input[builtins.str]] = None, - image_id: Optional[pulumi.Input[builtins.str]] = None, - keypair_name: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - machine_type: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - user_data: Optional[pulumi.Input[builtins.str]] = None, + desired_status: Optional[pulumi.Input[_builtins.str]] = None, + image_id: Optional[pulumi.Input[_builtins.str]] = None, + keypair_name: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + machine_type: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + user_data: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -621,22 +624,22 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - affinity_group: Optional[pulumi.Input[builtins.str]] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, + affinity_group: Optional[pulumi.Input[_builtins.str]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, boot_volume: Optional[pulumi.Input[Union['ServerBootVolumeArgs', 'ServerBootVolumeArgsDict']]] = None, - created_at: Optional[pulumi.Input[builtins.str]] = None, - desired_status: Optional[pulumi.Input[builtins.str]] = None, - image_id: Optional[pulumi.Input[builtins.str]] = None, - keypair_name: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - launched_at: Optional[pulumi.Input[builtins.str]] = None, - machine_type: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - updated_at: Optional[pulumi.Input[builtins.str]] = None, - user_data: Optional[pulumi.Input[builtins.str]] = None) -> 'Server': + created_at: Optional[pulumi.Input[_builtins.str]] = None, + desired_status: Optional[pulumi.Input[_builtins.str]] = None, + image_id: Optional[pulumi.Input[_builtins.str]] = None, + keypair_name: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + launched_at: Optional[pulumi.Input[_builtins.str]] = None, + machine_type: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + updated_at: Optional[pulumi.Input[_builtins.str]] = None, + user_data: Optional[pulumi.Input[_builtins.str]] = None) -> 'Server': """ Get an existing Server resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -644,22 +647,22 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] affinity_group: The affinity group the server is assigned to. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the server. + :param pulumi.Input[_builtins.str] affinity_group: The affinity group the server is assigned to. + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the server. :param pulumi.Input[Union['ServerBootVolumeArgs', 'ServerBootVolumeArgsDict']] boot_volume: The boot volume for the server - :param pulumi.Input[builtins.str] created_at: Date-time when the server was created - :param pulumi.Input[builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. - :param pulumi.Input[builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. - :param pulumi.Input[builtins.str] keypair_name: The name of the keypair used during server creation. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] launched_at: Date-time when the server was launched - :param pulumi.Input[builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) - :param pulumi.Input[builtins.str] name: The name of the server. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the server is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] updated_at: Date-time when the server was updated - :param pulumi.Input[builtins.str] user_data: User data that is passed via cloud-init to the server. + :param pulumi.Input[_builtins.str] created_at: Date-time when the server was created + :param pulumi.Input[_builtins.str] desired_status: The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. + :param pulumi.Input[_builtins.str] image_id: The image ID to be used for an ephemeral disk on the server. + :param pulumi.Input[_builtins.str] keypair_name: The name of the keypair used during server creation. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] launched_at: Date-time when the server was launched + :param pulumi.Input[_builtins.str] machine_type: Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) + :param pulumi.Input[_builtins.str] name: The name of the server. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interfaces: The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the server is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] updated_at: Date-time when the server was updated + :param pulumi.Input[_builtins.str] user_data: User data that is passed via cloud-init to the server. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -683,23 +686,23 @@ def get(resource_name: str, __props__.__dict__["user_data"] = user_data return Server(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="affinityGroup") - def affinity_group(self) -> pulumi.Output[Optional[builtins.str]]: + def affinity_group(self) -> pulumi.Output[Optional[_builtins.str]]: """ The affinity group the server is assigned to. """ return pulumi.get(self, "affinity_group") - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> pulumi.Output[builtins.str]: + def availability_zone(self) -> pulumi.Output[_builtins.str]: """ The availability zone of the server. """ return pulumi.get(self, "availability_zone") - @property + @_builtins.property @pulumi.getter(name="bootVolume") def boot_volume(self) -> pulumi.Output[Optional['outputs.ServerBootVolume']]: """ @@ -707,105 +710,105 @@ def boot_volume(self) -> pulumi.Output[Optional['outputs.ServerBootVolume']]: """ return pulumi.get(self, "boot_volume") - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> pulumi.Output[builtins.str]: + def created_at(self) -> pulumi.Output[_builtins.str]: """ Date-time when the server was created """ return pulumi.get(self, "created_at") - @property + @_builtins.property @pulumi.getter(name="desiredStatus") - def desired_status(self) -> pulumi.Output[Optional[builtins.str]]: + def desired_status(self) -> pulumi.Output[Optional[_builtins.str]]: """ The desired status of the server resource. Supported values are: `active`, `inactive`, `deallocated`. """ return pulumi.get(self, "desired_status") - @property + @_builtins.property @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Output[Optional[builtins.str]]: + def image_id(self) -> pulumi.Output[Optional[_builtins.str]]: """ The image ID to be used for an ephemeral disk on the server. """ return pulumi.get(self, "image_id") - @property + @_builtins.property @pulumi.getter(name="keypairName") - def keypair_name(self) -> pulumi.Output[Optional[builtins.str]]: + def keypair_name(self) -> pulumi.Output[Optional[_builtins.str]]: """ The name of the keypair used during server creation. """ return pulumi.get(self, "keypair_name") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter(name="launchedAt") - def launched_at(self) -> pulumi.Output[builtins.str]: + def launched_at(self) -> pulumi.Output[_builtins.str]: """ Date-time when the server was launched """ return pulumi.get(self, "launched_at") - @property + @_builtins.property @pulumi.getter(name="machineType") - def machine_type(self) -> pulumi.Output[builtins.str]: + def machine_type(self) -> pulumi.Output[_builtins.str]: """ Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html) """ return pulumi.get(self, "machine_type") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the server. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="networkInterfaces") - def network_interfaces(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]: + def network_interfaces(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]: """ The IDs of network interfaces which should be attached to the server. Updating it will recreate the server. """ return pulumi.get(self, "network_interfaces") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Output[builtins.str]: + def server_id(self) -> pulumi.Output[_builtins.str]: """ The server ID. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter(name="updatedAt") - def updated_at(self) -> pulumi.Output[builtins.str]: + def updated_at(self) -> pulumi.Output[_builtins.str]: """ Date-time when the server was updated """ return pulumi.get(self, "updated_at") - @property + @_builtins.property @pulumi.getter(name="userData") - def user_data(self) -> pulumi.Output[Optional[builtins.str]]: + def user_data(self) -> pulumi.Output[Optional[_builtins.str]]: """ User data that is passed via cloud-init to the server. """ diff --git a/sdk/python/pulumi_stackit/server_backup_schedule.py b/sdk/python/pulumi_stackit/server_backup_schedule.py index 1c325a70..c9d4c7a9 100644 --- a/sdk/python/pulumi_stackit/server_backup_schedule.py +++ b/sdk/python/pulumi_stackit/server_backup_schedule.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -23,21 +22,21 @@ class ServerBackupScheduleArgs: def __init__(__self__, *, backup_properties: pulumi.Input['ServerBackupScheduleBackupPropertiesArgs'], - enabled: pulumi.Input[builtins.bool], - project_id: pulumi.Input[builtins.str], - rrule: pulumi.Input[builtins.str], - server_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + enabled: pulumi.Input[_builtins.bool], + project_id: pulumi.Input[_builtins.str], + rrule: pulumi.Input[_builtins.str], + server_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ServerBackupSchedule resource. :param pulumi.Input['ServerBackupScheduleBackupPropertiesArgs'] backup_properties: Backup schedule details for the backups. - :param pulumi.Input[builtins.bool] enabled: Is the backup schedule enabled or disabled. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the backup schedule. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] enabled: Is the backup schedule enabled or disabled. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the backup schedule. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "backup_properties", backup_properties) pulumi.set(__self__, "enabled", enabled) @@ -49,7 +48,7 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="backupProperties") def backup_properties(self) -> pulumi.Input['ServerBackupScheduleBackupPropertiesArgs']: """ @@ -61,76 +60,76 @@ def backup_properties(self) -> pulumi.Input['ServerBackupScheduleBackupPropertie def backup_properties(self, value: pulumi.Input['ServerBackupScheduleBackupPropertiesArgs']): pulumi.set(self, "backup_properties", value) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> pulumi.Input[builtins.bool]: + def enabled(self) -> pulumi.Input[_builtins.bool]: """ Is the backup schedule enabled or disabled. """ return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: pulumi.Input[builtins.bool]): + def enabled(self, value: pulumi.Input[_builtins.bool]): pulumi.set(self, "enabled", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def rrule(self) -> pulumi.Input[builtins.str]: + def rrule(self) -> pulumi.Input[_builtins.str]: """ Backup schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") @rrule.setter - def rrule(self, value: pulumi.Input[builtins.str]): + def rrule(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "rrule", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Input[builtins.str]: + def server_id(self) -> pulumi.Input[_builtins.str]: """ Server ID for the backup schedule. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: pulumi.Input[builtins.str]): + def server_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The schedule name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @@ -138,23 +137,23 @@ def region(self, value: Optional[pulumi.Input[builtins.str]]): class _ServerBackupScheduleState: def __init__(__self__, *, backup_properties: Optional[pulumi.Input['ServerBackupScheduleBackupPropertiesArgs']] = None, - backup_schedule_id: Optional[pulumi.Input[builtins.int]] = None, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None): + backup_schedule_id: Optional[pulumi.Input[_builtins.int]] = None, + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ServerBackupSchedule resources. :param pulumi.Input['ServerBackupScheduleBackupPropertiesArgs'] backup_properties: Backup schedule details for the backups. - :param pulumi.Input[builtins.int] backup_schedule_id: Backup schedule ID. - :param pulumi.Input[builtins.bool] enabled: Is the backup schedule enabled or disabled. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the backup schedule. + :param pulumi.Input[_builtins.int] backup_schedule_id: Backup schedule ID. + :param pulumi.Input[_builtins.bool] enabled: Is the backup schedule enabled or disabled. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the backup schedule. """ if backup_properties is not None: pulumi.set(__self__, "backup_properties", backup_properties) @@ -173,7 +172,7 @@ def __init__(__self__, *, if server_id is not None: pulumi.set(__self__, "server_id", server_id) - @property + @_builtins.property @pulumi.getter(name="backupProperties") def backup_properties(self) -> Optional[pulumi.Input['ServerBackupScheduleBackupPropertiesArgs']]: """ @@ -185,88 +184,88 @@ def backup_properties(self) -> Optional[pulumi.Input['ServerBackupScheduleBackup def backup_properties(self, value: Optional[pulumi.Input['ServerBackupScheduleBackupPropertiesArgs']]): pulumi.set(self, "backup_properties", value) - @property + @_builtins.property @pulumi.getter(name="backupScheduleId") - def backup_schedule_id(self) -> Optional[pulumi.Input[builtins.int]]: + def backup_schedule_id(self) -> Optional[pulumi.Input[_builtins.int]]: """ Backup schedule ID. """ return pulumi.get(self, "backup_schedule_id") @backup_schedule_id.setter - def backup_schedule_id(self, value: Optional[pulumi.Input[builtins.int]]): + def backup_schedule_id(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "backup_schedule_id", value) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[builtins.bool]]: + def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Is the backup schedule enabled or disabled. """ return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: Optional[pulumi.Input[builtins.bool]]): + def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enabled", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The schedule name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def rrule(self) -> Optional[pulumi.Input[builtins.str]]: + def rrule(self) -> Optional[pulumi.Input[_builtins.str]]: """ Backup schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") @rrule.setter - def rrule(self, value: Optional[pulumi.Input[builtins.str]]): + def rrule(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "rrule", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> Optional[pulumi.Input[builtins.str]]: + def server_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Server ID for the backup schedule. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: Optional[pulumi.Input[builtins.str]]): + def server_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_id", value) @@ -277,12 +276,12 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, backup_properties: Optional[pulumi.Input[Union['ServerBackupScheduleBackupPropertiesArgs', 'ServerBackupScheduleBackupPropertiesArgsDict']]] = None, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Server backup schedule resource schema. Must have a `region` specified in the provider configuration. @@ -294,12 +293,12 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['ServerBackupScheduleBackupPropertiesArgs', 'ServerBackupScheduleBackupPropertiesArgsDict']] backup_properties: Backup schedule details for the backups. - :param pulumi.Input[builtins.bool] enabled: Is the backup schedule enabled or disabled. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the backup schedule. + :param pulumi.Input[_builtins.bool] enabled: Is the backup schedule enabled or disabled. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the backup schedule. """ ... @overload @@ -330,12 +329,12 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, backup_properties: Optional[pulumi.Input[Union['ServerBackupScheduleBackupPropertiesArgs', 'ServerBackupScheduleBackupPropertiesArgsDict']]] = None, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -374,13 +373,13 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, backup_properties: Optional[pulumi.Input[Union['ServerBackupScheduleBackupPropertiesArgs', 'ServerBackupScheduleBackupPropertiesArgsDict']]] = None, - backup_schedule_id: Optional[pulumi.Input[builtins.int]] = None, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None) -> 'ServerBackupSchedule': + backup_schedule_id: Optional[pulumi.Input[_builtins.int]] = None, + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServerBackupSchedule': """ Get an existing ServerBackupSchedule resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -389,13 +388,13 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['ServerBackupScheduleBackupPropertiesArgs', 'ServerBackupScheduleBackupPropertiesArgsDict']] backup_properties: Backup schedule details for the backups. - :param pulumi.Input[builtins.int] backup_schedule_id: Backup schedule ID. - :param pulumi.Input[builtins.bool] enabled: Is the backup schedule enabled or disabled. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the backup schedule. + :param pulumi.Input[_builtins.int] backup_schedule_id: Backup schedule ID. + :param pulumi.Input[_builtins.bool] enabled: Is the backup schedule enabled or disabled. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] rrule: Backup schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the backup schedule. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -411,7 +410,7 @@ def get(resource_name: str, __props__.__dict__["server_id"] = server_id return ServerBackupSchedule(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="backupProperties") def backup_properties(self) -> pulumi.Output['outputs.ServerBackupScheduleBackupProperties']: """ @@ -419,57 +418,57 @@ def backup_properties(self) -> pulumi.Output['outputs.ServerBackupScheduleBackup """ return pulumi.get(self, "backup_properties") - @property + @_builtins.property @pulumi.getter(name="backupScheduleId") - def backup_schedule_id(self) -> pulumi.Output[builtins.int]: + def backup_schedule_id(self) -> pulumi.Output[_builtins.int]: """ Backup schedule ID. """ return pulumi.get(self, "backup_schedule_id") - @property + @_builtins.property @pulumi.getter - def enabled(self) -> pulumi.Output[builtins.bool]: + def enabled(self) -> pulumi.Output[_builtins.bool]: """ Is the backup schedule enabled or disabled. """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The schedule name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def rrule(self) -> pulumi.Output[builtins.str]: + def rrule(self) -> pulumi.Output[_builtins.str]: """ Backup schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Output[builtins.str]: + def server_id(self) -> pulumi.Output[_builtins.str]: """ Server ID for the backup schedule. """ diff --git a/sdk/python/pulumi_stackit/server_network_interface_attach.py b/sdk/python/pulumi_stackit/server_network_interface_attach.py index a9d31069..df9a7c3a 100644 --- a/sdk/python/pulumi_stackit/server_network_interface_attach.py +++ b/sdk/python/pulumi_stackit/server_network_interface_attach.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,67 +19,67 @@ @pulumi.input_type class ServerNetworkInterfaceAttachArgs: def __init__(__self__, *, - network_interface_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - server_id: pulumi.Input[builtins.str]): + network_interface_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + server_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a ServerNetworkInterfaceAttach resource. - :param pulumi.Input[builtins.str] network_interface_id: The network interface ID. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] network_interface_id: The network interface ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. """ pulumi.set(__self__, "network_interface_id", network_interface_id) pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "server_id", server_id) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> pulumi.Input[builtins.str]: + def network_interface_id(self) -> pulumi.Input[_builtins.str]: """ The network interface ID. """ return pulumi.get(self, "network_interface_id") @network_interface_id.setter - def network_interface_id(self, value: pulumi.Input[builtins.str]): + def network_interface_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "network_interface_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the network interface attachment is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Input[builtins.str]: + def server_id(self) -> pulumi.Input[_builtins.str]: """ The server ID. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: pulumi.Input[builtins.str]): + def server_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "server_id", value) @pulumi.input_type class _ServerNetworkInterfaceAttachState: def __init__(__self__, *, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None): + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ServerNetworkInterfaceAttach resources. - :param pulumi.Input[builtins.str] network_interface_id: The network interface ID. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] network_interface_id: The network interface ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. """ if network_interface_id is not None: pulumi.set(__self__, "network_interface_id", network_interface_id) @@ -89,40 +88,40 @@ def __init__(__self__, *, if server_id is not None: pulumi.set(__self__, "server_id", server_id) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> Optional[pulumi.Input[builtins.str]]: + def network_interface_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The network interface ID. """ return pulumi.get(self, "network_interface_id") @network_interface_id.setter - def network_interface_id(self, value: Optional[pulumi.Input[builtins.str]]): + def network_interface_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "network_interface_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the network interface attachment is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> Optional[pulumi.Input[builtins.str]]: + def server_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The server ID. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: Optional[pulumi.Input[builtins.str]]): + def server_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_id", value) @@ -132,9 +131,9 @@ class ServerNetworkInterfaceAttach(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Network interface attachment resource schema. Attaches a network interface to a server. Must have a `region` specified in the provider configuration. The attachment only takes full effect after server reboot. @@ -143,9 +142,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] network_interface_id: The network interface ID. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] network_interface_id: The network interface ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. """ ... @overload @@ -173,9 +172,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -204,9 +203,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - network_interface_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None) -> 'ServerNetworkInterfaceAttach': + network_interface_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServerNetworkInterfaceAttach': """ Get an existing ServerNetworkInterfaceAttach resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -214,9 +213,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] network_interface_id: The network interface ID. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] network_interface_id: The network interface ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the network interface attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -227,25 +226,25 @@ def get(resource_name: str, __props__.__dict__["server_id"] = server_id return ServerNetworkInterfaceAttach(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> pulumi.Output[builtins.str]: + def network_interface_id(self) -> pulumi.Output[_builtins.str]: """ The network interface ID. """ return pulumi.get(self, "network_interface_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the network interface attachment is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Output[builtins.str]: + def server_id(self) -> pulumi.Output[_builtins.str]: """ The server ID. """ diff --git a/sdk/python/pulumi_stackit/server_service_account_attach.py b/sdk/python/pulumi_stackit/server_service_account_attach.py index 3983698e..c6170472 100644 --- a/sdk/python/pulumi_stackit/server_service_account_attach.py +++ b/sdk/python/pulumi_stackit/server_service_account_attach.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,67 +19,67 @@ @pulumi.input_type class ServerServiceAccountAttachArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - server_id: pulumi.Input[builtins.str], - service_account_email: pulumi.Input[builtins.str]): + project_id: pulumi.Input[_builtins.str], + server_id: pulumi.Input[_builtins.str], + service_account_email: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a ServerServiceAccountAttach resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] service_account_email: The service account email. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] service_account_email: The service account email. """ pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "server_id", server_id) pulumi.set(__self__, "service_account_email", service_account_email) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the service account attachment is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Input[builtins.str]: + def server_id(self) -> pulumi.Input[_builtins.str]: """ The server ID. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: pulumi.Input[builtins.str]): + def server_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> pulumi.Input[builtins.str]: + def service_account_email(self) -> pulumi.Input[_builtins.str]: """ The service account email. """ return pulumi.get(self, "service_account_email") @service_account_email.setter - def service_account_email(self, value: pulumi.Input[builtins.str]): + def service_account_email(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "service_account_email", value) @pulumi.input_type class _ServerServiceAccountAttachState: def __init__(__self__, *, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None): + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ServerServiceAccountAttach resources. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] service_account_email: The service account email. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] service_account_email: The service account email. """ if project_id is not None: pulumi.set(__self__, "project_id", project_id) @@ -89,40 +88,40 @@ def __init__(__self__, *, if service_account_email is not None: pulumi.set(__self__, "service_account_email", service_account_email) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the service account attachment is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> Optional[pulumi.Input[builtins.str]]: + def server_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The server ID. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: Optional[pulumi.Input[builtins.str]]): + def server_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> Optional[pulumi.Input[builtins.str]]: + def service_account_email(self) -> Optional[pulumi.Input[_builtins.str]]: """ The service account email. """ return pulumi.get(self, "service_account_email") @service_account_email.setter - def service_account_email(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_email", value) @@ -132,9 +131,9 @@ class ServerServiceAccountAttach(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Service account attachment resource schema. Attaches a service account to a server. Must have a `region` specified in the provider configuration. @@ -143,9 +142,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] service_account_email: The service account email. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] service_account_email: The service account email. """ ... @overload @@ -173,9 +172,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -204,9 +203,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None) -> 'ServerServiceAccountAttach': + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServerServiceAccountAttach': """ Get an existing ServerServiceAccountAttach resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -214,9 +213,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] service_account_email: The service account email. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] service_account_email: The service account email. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -227,25 +226,25 @@ def get(resource_name: str, __props__.__dict__["service_account_email"] = service_account_email return ServerServiceAccountAttach(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the service account attachment is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Output[builtins.str]: + def server_id(self) -> pulumi.Output[_builtins.str]: """ The server ID. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> pulumi.Output[builtins.str]: + def service_account_email(self) -> pulumi.Output[_builtins.str]: """ The service account email. """ diff --git a/sdk/python/pulumi_stackit/server_update_schedule.py b/sdk/python/pulumi_stackit/server_update_schedule.py index 972bf777..8c46d403 100644 --- a/sdk/python/pulumi_stackit/server_update_schedule.py +++ b/sdk/python/pulumi_stackit/server_update_schedule.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,22 +19,22 @@ @pulumi.input_type class ServerUpdateScheduleArgs: def __init__(__self__, *, - enabled: pulumi.Input[builtins.bool], - maintenance_window: pulumi.Input[builtins.int], - project_id: pulumi.Input[builtins.str], - rrule: pulumi.Input[builtins.str], - server_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + enabled: pulumi.Input[_builtins.bool], + maintenance_window: pulumi.Input[_builtins.int], + project_id: pulumi.Input[_builtins.str], + rrule: pulumi.Input[_builtins.str], + server_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ServerUpdateSchedule resource. - :param pulumi.Input[builtins.bool] enabled: Is the update schedule enabled or disabled. - :param pulumi.Input[builtins.int] maintenance_window: Maintenance window [1..24]. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the update schedule. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.bool] enabled: Is the update schedule enabled or disabled. + :param pulumi.Input[_builtins.int] maintenance_window: Maintenance window [1..24]. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the update schedule. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "enabled", enabled) pulumi.set(__self__, "maintenance_window", maintenance_window) @@ -47,112 +46,112 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> pulumi.Input[builtins.bool]: + def enabled(self) -> pulumi.Input[_builtins.bool]: """ Is the update schedule enabled or disabled. """ return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: pulumi.Input[builtins.bool]): + def enabled(self, value: pulumi.Input[_builtins.bool]): pulumi.set(self, "enabled", value) - @property + @_builtins.property @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> pulumi.Input[builtins.int]: + def maintenance_window(self) -> pulumi.Input[_builtins.int]: """ Maintenance window [1..24]. """ return pulumi.get(self, "maintenance_window") @maintenance_window.setter - def maintenance_window(self, value: pulumi.Input[builtins.int]): + def maintenance_window(self, value: pulumi.Input[_builtins.int]): pulumi.set(self, "maintenance_window", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def rrule(self) -> pulumi.Input[builtins.str]: + def rrule(self) -> pulumi.Input[_builtins.str]: """ Update schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") @rrule.setter - def rrule(self, value: pulumi.Input[builtins.str]): + def rrule(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "rrule", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Input[builtins.str]: + def server_id(self) -> pulumi.Input[_builtins.str]: """ Server ID for the update schedule. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: pulumi.Input[builtins.str]): + def server_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The schedule name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _ServerUpdateScheduleState: def __init__(__self__, *, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - maintenance_window: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - update_schedule_id: Optional[pulumi.Input[builtins.int]] = None): + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + maintenance_window: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + update_schedule_id: Optional[pulumi.Input[_builtins.int]] = None): """ Input properties used for looking up and filtering ServerUpdateSchedule resources. - :param pulumi.Input[builtins.bool] enabled: Is the update schedule enabled or disabled. - :param pulumi.Input[builtins.int] maintenance_window: Maintenance window [1..24]. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the update schedule. - :param pulumi.Input[builtins.int] update_schedule_id: Update schedule ID. + :param pulumi.Input[_builtins.bool] enabled: Is the update schedule enabled or disabled. + :param pulumi.Input[_builtins.int] maintenance_window: Maintenance window [1..24]. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the update schedule. + :param pulumi.Input[_builtins.int] update_schedule_id: Update schedule ID. """ if enabled is not None: pulumi.set(__self__, "enabled", enabled) @@ -171,100 +170,100 @@ def __init__(__self__, *, if update_schedule_id is not None: pulumi.set(__self__, "update_schedule_id", update_schedule_id) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[builtins.bool]]: + def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Is the update schedule enabled or disabled. """ return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: Optional[pulumi.Input[builtins.bool]]): + def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "enabled", value) - @property + @_builtins.property @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> Optional[pulumi.Input[builtins.int]]: + def maintenance_window(self) -> Optional[pulumi.Input[_builtins.int]]: """ Maintenance window [1..24]. """ return pulumi.get(self, "maintenance_window") @maintenance_window.setter - def maintenance_window(self, value: Optional[pulumi.Input[builtins.int]]): + def maintenance_window(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "maintenance_window", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The schedule name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def rrule(self) -> Optional[pulumi.Input[builtins.str]]: + def rrule(self) -> Optional[pulumi.Input[_builtins.str]]: """ Update schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") @rrule.setter - def rrule(self, value: Optional[pulumi.Input[builtins.str]]): + def rrule(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "rrule", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> Optional[pulumi.Input[builtins.str]]: + def server_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Server ID for the update schedule. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: Optional[pulumi.Input[builtins.str]]): + def server_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter(name="updateScheduleId") - def update_schedule_id(self) -> Optional[pulumi.Input[builtins.int]]: + def update_schedule_id(self) -> Optional[pulumi.Input[_builtins.int]]: """ Update schedule ID. """ return pulumi.get(self, "update_schedule_id") @update_schedule_id.setter - def update_schedule_id(self, value: Optional[pulumi.Input[builtins.int]]): + def update_schedule_id(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "update_schedule_id", value) @@ -274,13 +273,13 @@ class ServerUpdateSchedule(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - maintenance_window: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + maintenance_window: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Server update schedule resource schema. Must have a `region` specified in the provider configuration. @@ -291,13 +290,13 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.bool] enabled: Is the update schedule enabled or disabled. - :param pulumi.Input[builtins.int] maintenance_window: Maintenance window [1..24]. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the update schedule. + :param pulumi.Input[_builtins.bool] enabled: Is the update schedule enabled or disabled. + :param pulumi.Input[_builtins.int] maintenance_window: Maintenance window [1..24]. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the update schedule. """ ... @overload @@ -327,13 +326,13 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - maintenance_window: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + maintenance_window: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -371,14 +370,14 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - enabled: Optional[pulumi.Input[builtins.bool]] = None, - maintenance_window: Optional[pulumi.Input[builtins.int]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - rrule: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - update_schedule_id: Optional[pulumi.Input[builtins.int]] = None) -> 'ServerUpdateSchedule': + enabled: Optional[pulumi.Input[_builtins.bool]] = None, + maintenance_window: Optional[pulumi.Input[_builtins.int]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + rrule: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + update_schedule_id: Optional[pulumi.Input[_builtins.int]] = None) -> 'ServerUpdateSchedule': """ Get an existing ServerUpdateSchedule resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -386,14 +385,14 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.bool] enabled: Is the update schedule enabled or disabled. - :param pulumi.Input[builtins.int] maintenance_window: Maintenance window [1..24]. - :param pulumi.Input[builtins.str] name: The schedule name. - :param pulumi.Input[builtins.str] project_id: STACKIT Project ID to which the server is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. - :param pulumi.Input[builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. - :param pulumi.Input[builtins.str] server_id: Server ID for the update schedule. - :param pulumi.Input[builtins.int] update_schedule_id: Update schedule ID. + :param pulumi.Input[_builtins.bool] enabled: Is the update schedule enabled or disabled. + :param pulumi.Input[_builtins.int] maintenance_window: Maintenance window [1..24]. + :param pulumi.Input[_builtins.str] name: The schedule name. + :param pulumi.Input[_builtins.str] project_id: STACKIT Project ID to which the server is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] rrule: Update schedule described in `rrule` (recurrence rule) format. + :param pulumi.Input[_builtins.str] server_id: Server ID for the update schedule. + :param pulumi.Input[_builtins.int] update_schedule_id: Update schedule ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -409,65 +408,65 @@ def get(resource_name: str, __props__.__dict__["update_schedule_id"] = update_schedule_id return ServerUpdateSchedule(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def enabled(self) -> pulumi.Output[builtins.bool]: + def enabled(self) -> pulumi.Output[_builtins.bool]: """ Is the update schedule enabled or disabled. """ return pulumi.get(self, "enabled") - @property + @_builtins.property @pulumi.getter(name="maintenanceWindow") - def maintenance_window(self) -> pulumi.Output[builtins.int]: + def maintenance_window(self) -> pulumi.Output[_builtins.int]: """ Maintenance window [1..24]. """ return pulumi.get(self, "maintenance_window") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The schedule name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT Project ID to which the server is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def rrule(self) -> pulumi.Output[builtins.str]: + def rrule(self) -> pulumi.Output[_builtins.str]: """ Update schedule described in `rrule` (recurrence rule) format. """ return pulumi.get(self, "rrule") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Output[builtins.str]: + def server_id(self) -> pulumi.Output[_builtins.str]: """ Server ID for the update schedule. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter(name="updateScheduleId") - def update_schedule_id(self) -> pulumi.Output[builtins.int]: + def update_schedule_id(self) -> pulumi.Output[_builtins.int]: """ Update schedule ID. """ diff --git a/sdk/python/pulumi_stackit/server_volume_attach.py b/sdk/python/pulumi_stackit/server_volume_attach.py index a7cf549c..13fe75d9 100644 --- a/sdk/python/pulumi_stackit/server_volume_attach.py +++ b/sdk/python/pulumi_stackit/server_volume_attach.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,67 +19,67 @@ @pulumi.input_type class ServerVolumeAttachArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - server_id: pulumi.Input[builtins.str], - volume_id: pulumi.Input[builtins.str]): + project_id: pulumi.Input[_builtins.str], + server_id: pulumi.Input[_builtins.str], + volume_id: pulumi.Input[_builtins.str]): """ The set of arguments for constructing a ServerVolumeAttach resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] volume_id: The volume ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] volume_id: The volume ID. """ pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "server_id", server_id) pulumi.set(__self__, "volume_id", volume_id) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the volume attachment is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Input[builtins.str]: + def server_id(self) -> pulumi.Input[_builtins.str]: """ The server ID. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: pulumi.Input[builtins.str]): + def server_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter(name="volumeId") - def volume_id(self) -> pulumi.Input[builtins.str]: + def volume_id(self) -> pulumi.Input[_builtins.str]: """ The volume ID. """ return pulumi.get(self, "volume_id") @volume_id.setter - def volume_id(self, value: pulumi.Input[builtins.str]): + def volume_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "volume_id", value) @pulumi.input_type class _ServerVolumeAttachState: def __init__(__self__, *, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - volume_id: Optional[pulumi.Input[builtins.str]] = None): + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + volume_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ServerVolumeAttach resources. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] volume_id: The volume ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] volume_id: The volume ID. """ if project_id is not None: pulumi.set(__self__, "project_id", project_id) @@ -89,40 +88,40 @@ def __init__(__self__, *, if volume_id is not None: pulumi.set(__self__, "volume_id", volume_id) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the volume attachment is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> Optional[pulumi.Input[builtins.str]]: + def server_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The server ID. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: Optional[pulumi.Input[builtins.str]]): + def server_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[builtins.str]]: + def volume_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The volume ID. """ return pulumi.get(self, "volume_id") @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[builtins.str]]): + def volume_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "volume_id", value) @@ -132,9 +131,9 @@ class ServerVolumeAttach(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - volume_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + volume_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Volume attachment resource schema. Attaches a volume to a server. Must have a `region` specified in the provider configuration. @@ -143,9 +142,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] volume_id: The volume ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] volume_id: The volume ID. """ ... @overload @@ -173,9 +172,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - volume_id: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + volume_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -204,9 +203,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - volume_id: Optional[pulumi.Input[builtins.str]] = None) -> 'ServerVolumeAttach': + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + volume_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServerVolumeAttach': """ Get an existing ServerVolumeAttach resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -214,9 +213,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. - :param pulumi.Input[builtins.str] server_id: The server ID. - :param pulumi.Input[builtins.str] volume_id: The volume ID. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume attachment is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID. + :param pulumi.Input[_builtins.str] volume_id: The volume ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -227,25 +226,25 @@ def get(resource_name: str, __props__.__dict__["volume_id"] = volume_id return ServerVolumeAttach(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the volume attachment is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Output[builtins.str]: + def server_id(self) -> pulumi.Output[_builtins.str]: """ The server ID. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter(name="volumeId") - def volume_id(self) -> pulumi.Output[builtins.str]: + def volume_id(self) -> pulumi.Output[_builtins.str]: """ The volume ID. """ diff --git a/sdk/python/pulumi_stackit/service_account.py b/sdk/python/pulumi_stackit/service_account.py index 1bcb7e0c..c927cbff 100644 --- a/sdk/python/pulumi_stackit/service_account.py +++ b/sdk/python/pulumi_stackit/service_account.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,53 +19,53 @@ @pulumi.input_type class ServiceAccountArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - name: Optional[pulumi.Input[builtins.str]] = None): + project_id: pulumi.Input[_builtins.str], + name: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a ServiceAccount resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account is associated. - :param pulumi.Input[builtins.str] name: Name of the service account. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account is associated. + :param pulumi.Input[_builtins.str] name: Name of the service account. """ pulumi.set(__self__, "project_id", project_id) if name is not None: pulumi.set(__self__, "name", name) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the service account is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the service account. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) @pulumi.input_type class _ServiceAccountState: def __init__(__self__, *, - email: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None): + email: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ServiceAccount resources. - :param pulumi.Input[builtins.str] email: Email of the service account. - :param pulumi.Input[builtins.str] name: Name of the service account. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account is associated. + :param pulumi.Input[_builtins.str] email: Email of the service account. + :param pulumi.Input[_builtins.str] name: Name of the service account. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account is associated. """ if email is not None: pulumi.set(__self__, "email", email) @@ -75,40 +74,40 @@ def __init__(__self__, *, if project_id is not None: pulumi.set(__self__, "project_id", project_id) - @property + @_builtins.property @pulumi.getter - def email(self) -> Optional[pulumi.Input[builtins.str]]: + def email(self) -> Optional[pulumi.Input[_builtins.str]]: """ Email of the service account. """ return pulumi.get(self, "email") @email.setter - def email(self, value: Optional[pulumi.Input[builtins.str]]): + def email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "email", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the service account. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the service account is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) @@ -118,8 +117,8 @@ class ServiceAccount(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ Service account resource schema. @@ -128,8 +127,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] name: Name of the service account. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account is associated. + :param pulumi.Input[_builtins.str] name: Name of the service account. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account is associated. """ ... @overload @@ -157,8 +156,8 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -183,9 +182,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - email: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None) -> 'ServiceAccount': + email: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServiceAccount': """ Get an existing ServiceAccount resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -193,9 +192,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] email: Email of the service account. - :param pulumi.Input[builtins.str] name: Name of the service account. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the service account is associated. + :param pulumi.Input[_builtins.str] email: Email of the service account. + :param pulumi.Input[_builtins.str] name: Name of the service account. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the service account is associated. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -206,25 +205,25 @@ def get(resource_name: str, __props__.__dict__["project_id"] = project_id return ServiceAccount(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def email(self) -> pulumi.Output[builtins.str]: + def email(self) -> pulumi.Output[_builtins.str]: """ Email of the service account. """ return pulumi.get(self, "email") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Name of the service account. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the service account is associated. """ diff --git a/sdk/python/pulumi_stackit/service_account_access_token.py b/sdk/python/pulumi_stackit/service_account_access_token.py index a87408d1..a56f4d11 100644 --- a/sdk/python/pulumi_stackit/service_account_access_token.py +++ b/sdk/python/pulumi_stackit/service_account_access_token.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,16 +19,16 @@ @pulumi.input_type class ServiceAccountAccessTokenArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - service_account_email: pulumi.Input[builtins.str], - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None): + project_id: pulumi.Input[_builtins.str], + service_account_email: pulumi.Input[_builtins.str], + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None): """ The set of arguments for constructing a ServiceAccountAccessToken resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the service account token. - :param pulumi.Input[builtins.str] service_account_email: Email address linked to the service account. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the service account token. + :param pulumi.Input[_builtins.str] service_account_email: Email address linked to the service account. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. """ pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "service_account_email", service_account_email) @@ -38,78 +37,78 @@ def __init__(__self__, *, if ttl_days is not None: pulumi.set(__self__, "ttl_days", ttl_days) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID associated with the service account token. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> pulumi.Input[builtins.str]: + def service_account_email(self) -> pulumi.Input[_builtins.str]: """ Email address linked to the service account. """ return pulumi.get(self, "service_account_email") @service_account_email.setter - def service_account_email(self, value: pulumi.Input[builtins.str]): + def service_account_email(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "service_account_email", value) - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. """ return pulumi.get(self, "rotate_when_changed") @rotate_when_changed.setter - def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "rotate_when_changed", value) - @property + @_builtins.property @pulumi.getter(name="ttlDays") - def ttl_days(self) -> Optional[pulumi.Input[builtins.int]]: + def ttl_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ Specifies the token's validity duration in days. If unspecified, defaults to 90 days. """ return pulumi.get(self, "ttl_days") @ttl_days.setter - def ttl_days(self, value: Optional[pulumi.Input[builtins.int]]): + def ttl_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ttl_days", value) @pulumi.input_type class _ServiceAccountAccessTokenState: def __init__(__self__, *, - access_token_id: Optional[pulumi.Input[builtins.str]] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - created_at: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - token: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None, - valid_until: Optional[pulumi.Input[builtins.str]] = None): + access_token_id: Optional[pulumi.Input[_builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + token: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None, + valid_until: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering ServiceAccountAccessToken resources. - :param pulumi.Input[builtins.str] access_token_id: Identifier for the access token linked to the service account. - :param pulumi.Input[builtins.bool] active: Indicate whether the token is currently active or inactive - :param pulumi.Input[builtins.str] created_at: Timestamp indicating when the access token was created. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the service account token. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.str] service_account_email: Email address linked to the service account. - :param pulumi.Input[builtins.str] token: JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost. - :param pulumi.Input[builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. - :param pulumi.Input[builtins.str] valid_until: Estimated expiration timestamp of the access token. For precise validity, check the JWT details. + :param pulumi.Input[_builtins.str] access_token_id: Identifier for the access token linked to the service account. + :param pulumi.Input[_builtins.bool] active: Indicate whether the token is currently active or inactive + :param pulumi.Input[_builtins.str] created_at: Timestamp indicating when the access token was created. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the service account token. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.str] service_account_email: Email address linked to the service account. + :param pulumi.Input[_builtins.str] token: JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. + :param pulumi.Input[_builtins.str] valid_until: Estimated expiration timestamp of the access token. For precise validity, check the JWT details. """ if access_token_id is not None: pulumi.set(__self__, "access_token_id", access_token_id) @@ -130,112 +129,112 @@ def __init__(__self__, *, if valid_until is not None: pulumi.set(__self__, "valid_until", valid_until) - @property + @_builtins.property @pulumi.getter(name="accessTokenId") - def access_token_id(self) -> Optional[pulumi.Input[builtins.str]]: + def access_token_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ Identifier for the access token linked to the service account. """ return pulumi.get(self, "access_token_id") @access_token_id.setter - def access_token_id(self, value: Optional[pulumi.Input[builtins.str]]): + def access_token_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "access_token_id", value) - @property + @_builtins.property @pulumi.getter - def active(self) -> Optional[pulumi.Input[builtins.bool]]: + def active(self) -> Optional[pulumi.Input[_builtins.bool]]: """ Indicate whether the token is currently active or inactive """ return pulumi.get(self, "active") @active.setter - def active(self, value: Optional[pulumi.Input[builtins.bool]]): + def active(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "active", value) - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> Optional[pulumi.Input[builtins.str]]: + def created_at(self) -> Optional[pulumi.Input[_builtins.str]]: """ Timestamp indicating when the access token was created. """ return pulumi.get(self, "created_at") @created_at.setter - def created_at(self, value: Optional[pulumi.Input[builtins.str]]): + def created_at(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "created_at", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID associated with the service account token. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. """ return pulumi.get(self, "rotate_when_changed") @rotate_when_changed.setter - def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "rotate_when_changed", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> Optional[pulumi.Input[builtins.str]]: + def service_account_email(self) -> Optional[pulumi.Input[_builtins.str]]: """ Email address linked to the service account. """ return pulumi.get(self, "service_account_email") @service_account_email.setter - def service_account_email(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_email", value) - @property + @_builtins.property @pulumi.getter - def token(self) -> Optional[pulumi.Input[builtins.str]]: + def token(self) -> Optional[pulumi.Input[_builtins.str]]: """ JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost. """ return pulumi.get(self, "token") @token.setter - def token(self, value: Optional[pulumi.Input[builtins.str]]): + def token(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "token", value) - @property + @_builtins.property @pulumi.getter(name="ttlDays") - def ttl_days(self) -> Optional[pulumi.Input[builtins.int]]: + def ttl_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ Specifies the token's validity duration in days. If unspecified, defaults to 90 days. """ return pulumi.get(self, "ttl_days") @ttl_days.setter - def ttl_days(self, value: Optional[pulumi.Input[builtins.int]]): + def ttl_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ttl_days", value) - @property + @_builtins.property @pulumi.getter(name="validUntil") - def valid_until(self) -> Optional[pulumi.Input[builtins.str]]: + def valid_until(self) -> Optional[pulumi.Input[_builtins.str]]: """ Estimated expiration timestamp of the access token. For precise validity, check the JWT details. """ return pulumi.get(self, "valid_until") @valid_until.setter - def valid_until(self, value: Optional[pulumi.Input[builtins.str]]): + def valid_until(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "valid_until", value) @@ -245,23 +244,26 @@ class ServiceAccountAccessToken(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None, __props__=None): """ Service account access token schema. + + !> This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations. + ## Example Usage ### Automatically rotate access tokens :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the service account token. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.str] service_account_email: Email address linked to the service account. - :param pulumi.Input[builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the service account token. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.str] service_account_email: Email address linked to the service account. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. """ ... @overload @@ -271,6 +273,9 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ Service account access token schema. + + !> This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations. + ## Example Usage ### Automatically rotate access tokens @@ -290,10 +295,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -328,15 +333,15 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - access_token_id: Optional[pulumi.Input[builtins.str]] = None, - active: Optional[pulumi.Input[builtins.bool]] = None, - created_at: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - token: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None, - valid_until: Optional[pulumi.Input[builtins.str]] = None) -> 'ServiceAccountAccessToken': + access_token_id: Optional[pulumi.Input[_builtins.str]] = None, + active: Optional[pulumi.Input[_builtins.bool]] = None, + created_at: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + token: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None, + valid_until: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServiceAccountAccessToken': """ Get an existing ServiceAccountAccessToken resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -344,15 +349,15 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] access_token_id: Identifier for the access token linked to the service account. - :param pulumi.Input[builtins.bool] active: Indicate whether the token is currently active or inactive - :param pulumi.Input[builtins.str] created_at: Timestamp indicating when the access token was created. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID associated with the service account token. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. - :param pulumi.Input[builtins.str] service_account_email: Email address linked to the service account. - :param pulumi.Input[builtins.str] token: JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost. - :param pulumi.Input[builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. - :param pulumi.Input[builtins.str] valid_until: Estimated expiration timestamp of the access token. For precise validity, check the JWT details. + :param pulumi.Input[_builtins.str] access_token_id: Identifier for the access token linked to the service account. + :param pulumi.Input[_builtins.bool] active: Indicate whether the token is currently active or inactive + :param pulumi.Input[_builtins.str] created_at: Timestamp indicating when the access token was created. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID associated with the service account token. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. + :param pulumi.Input[_builtins.str] service_account_email: Email address linked to the service account. + :param pulumi.Input[_builtins.str] token: JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the token's validity duration in days. If unspecified, defaults to 90 days. + :param pulumi.Input[_builtins.str] valid_until: Estimated expiration timestamp of the access token. For precise validity, check the JWT details. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -369,73 +374,73 @@ def get(resource_name: str, __props__.__dict__["valid_until"] = valid_until return ServiceAccountAccessToken(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="accessTokenId") - def access_token_id(self) -> pulumi.Output[builtins.str]: + def access_token_id(self) -> pulumi.Output[_builtins.str]: """ Identifier for the access token linked to the service account. """ return pulumi.get(self, "access_token_id") - @property + @_builtins.property @pulumi.getter - def active(self) -> pulumi.Output[builtins.bool]: + def active(self) -> pulumi.Output[_builtins.bool]: """ Indicate whether the token is currently active or inactive """ return pulumi.get(self, "active") - @property + @_builtins.property @pulumi.getter(name="createdAt") - def created_at(self) -> pulumi.Output[builtins.str]: + def created_at(self) -> pulumi.Output[_builtins.str]: """ Timestamp indicating when the access token was created. """ return pulumi.get(self, "created_at") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID associated with the service account token. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. """ return pulumi.get(self, "rotate_when_changed") - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> pulumi.Output[builtins.str]: + def service_account_email(self) -> pulumi.Output[_builtins.str]: """ Email address linked to the service account. """ return pulumi.get(self, "service_account_email") - @property + @_builtins.property @pulumi.getter - def token(self) -> pulumi.Output[builtins.str]: + def token(self) -> pulumi.Output[_builtins.str]: """ JWT access token for API authentication. Prefixed by 'Bearer' and should be stored securely as it is irretrievable once lost. """ return pulumi.get(self, "token") - @property + @_builtins.property @pulumi.getter(name="ttlDays") - def ttl_days(self) -> pulumi.Output[builtins.int]: + def ttl_days(self) -> pulumi.Output[_builtins.int]: """ Specifies the token's validity duration in days. If unspecified, defaults to 90 days. """ return pulumi.get(self, "ttl_days") - @property + @_builtins.property @pulumi.getter(name="validUntil") - def valid_until(self) -> pulumi.Output[builtins.str]: + def valid_until(self) -> pulumi.Output[_builtins.str]: """ Estimated expiration timestamp of the access token. For precise validity, check the JWT details. """ diff --git a/sdk/python/pulumi_stackit/service_account_key.py b/sdk/python/pulumi_stackit/service_account_key.py index bca9a4ac..9d95245d 100644 --- a/sdk/python/pulumi_stackit/service_account_key.py +++ b/sdk/python/pulumi_stackit/service_account_key.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,18 +19,18 @@ @pulumi.input_type class ServiceAccountKeyArgs: def __init__(__self__, *, - project_id: pulumi.Input[builtins.str], - service_account_email: pulumi.Input[builtins.str], - public_key: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None): + project_id: pulumi.Input[_builtins.str], + service_account_email: pulumi.Input[_builtins.str], + public_key: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None): """ The set of arguments for constructing a ServiceAccountKey resource. - :param pulumi.Input[builtins.str] project_id: The STACKIT project ID associated with the service account key. - :param pulumi.Input[builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. - :param pulumi.Input[builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. - :param pulumi.Input[builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted + :param pulumi.Input[_builtins.str] project_id: The STACKIT project ID associated with the service account key. + :param pulumi.Input[_builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. + :param pulumi.Input[_builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted """ pulumi.set(__self__, "project_id", project_id) pulumi.set(__self__, "service_account_email", service_account_email) @@ -42,86 +41,86 @@ def __init__(__self__, *, if ttl_days is not None: pulumi.set(__self__, "ttl_days", ttl_days) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ The STACKIT project ID associated with the service account key. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> pulumi.Input[builtins.str]: + def service_account_email(self) -> pulumi.Input[_builtins.str]: """ The email address associated with the service account, used for account identification and communication. """ return pulumi.get(self, "service_account_email") @service_account_email.setter - def service_account_email(self, value: pulumi.Input[builtins.str]): + def service_account_email(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "service_account_email", value) - @property + @_builtins.property @pulumi.getter(name="publicKey") - def public_key(self) -> Optional[pulumi.Input[builtins.str]]: + def public_key(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. """ return pulumi.get(self, "public_key") @public_key.setter - def public_key(self, value: Optional[pulumi.Input[builtins.str]]): + def public_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "public_key", value) - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. """ return pulumi.get(self, "rotate_when_changed") @rotate_when_changed.setter - def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "rotate_when_changed", value) - @property + @_builtins.property @pulumi.getter(name="ttlDays") - def ttl_days(self) -> Optional[pulumi.Input[builtins.int]]: + def ttl_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted """ return pulumi.get(self, "ttl_days") @ttl_days.setter - def ttl_days(self, value: Optional[pulumi.Input[builtins.int]]): + def ttl_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ttl_days", value) @pulumi.input_type class _ServiceAccountKeyState: def __init__(__self__, *, - json: Optional[pulumi.Input[builtins.str]] = None, - key_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None): + json: Optional[pulumi.Input[_builtins.str]] = None, + key_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None): """ Input properties used for looking up and filtering ServiceAccountKey resources. - :param pulumi.Input[builtins.str] json: The raw JSON representation of the service account key json, available for direct use. - :param pulumi.Input[builtins.str] key_id: The unique identifier for the key associated with the service account. - :param pulumi.Input[builtins.str] project_id: The STACKIT project ID associated with the service account key. - :param pulumi.Input[builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. - :param pulumi.Input[builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. - :param pulumi.Input[builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted + :param pulumi.Input[_builtins.str] json: The raw JSON representation of the service account key json, available for direct use. + :param pulumi.Input[_builtins.str] key_id: The unique identifier for the key associated with the service account. + :param pulumi.Input[_builtins.str] project_id: The STACKIT project ID associated with the service account key. + :param pulumi.Input[_builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. + :param pulumi.Input[_builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted """ if json is not None: pulumi.set(__self__, "json", json) @@ -138,88 +137,88 @@ def __init__(__self__, *, if ttl_days is not None: pulumi.set(__self__, "ttl_days", ttl_days) - @property + @_builtins.property @pulumi.getter - def json(self) -> Optional[pulumi.Input[builtins.str]]: + def json(self) -> Optional[pulumi.Input[_builtins.str]]: """ The raw JSON representation of the service account key json, available for direct use. """ return pulumi.get(self, "json") @json.setter - def json(self, value: Optional[pulumi.Input[builtins.str]]): + def json(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "json", value) - @property + @_builtins.property @pulumi.getter(name="keyId") - def key_id(self) -> Optional[pulumi.Input[builtins.str]]: + def key_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The unique identifier for the key associated with the service account. """ return pulumi.get(self, "key_id") @key_id.setter - def key_id(self, value: Optional[pulumi.Input[builtins.str]]): + def key_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "key_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The STACKIT project ID associated with the service account key. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="publicKey") - def public_key(self) -> Optional[pulumi.Input[builtins.str]]: + def public_key(self) -> Optional[pulumi.Input[_builtins.str]]: """ Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. """ return pulumi.get(self, "public_key") @public_key.setter - def public_key(self, value: Optional[pulumi.Input[builtins.str]]): + def public_key(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "public_key", value) - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. """ return pulumi.get(self, "rotate_when_changed") @rotate_when_changed.setter - def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "rotate_when_changed", value) - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> Optional[pulumi.Input[builtins.str]]: + def service_account_email(self) -> Optional[pulumi.Input[_builtins.str]]: """ The email address associated with the service account, used for account identification and communication. """ return pulumi.get(self, "service_account_email") @service_account_email.setter - def service_account_email(self, value: Optional[pulumi.Input[builtins.str]]): + def service_account_email(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "service_account_email", value) - @property + @_builtins.property @pulumi.getter(name="ttlDays") - def ttl_days(self) -> Optional[pulumi.Input[builtins.int]]: + def ttl_days(self) -> Optional[pulumi.Input[_builtins.int]]: """ Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted """ return pulumi.get(self, "ttl_days") @ttl_days.setter - def ttl_days(self, value: Optional[pulumi.Input[builtins.int]]): + def ttl_days(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "ttl_days", value) @@ -229,11 +228,11 @@ class ServiceAccountKey(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None, __props__=None): """ Service account key schema. @@ -243,11 +242,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] project_id: The STACKIT project ID associated with the service account key. - :param pulumi.Input[builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. - :param pulumi.Input[builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. - :param pulumi.Input[builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted + :param pulumi.Input[_builtins.str] project_id: The STACKIT project ID associated with the service account key. + :param pulumi.Input[_builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. + :param pulumi.Input[_builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted """ ... @overload @@ -276,11 +275,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -313,13 +312,13 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - json: Optional[pulumi.Input[builtins.str]] = None, - key_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - public_key: Optional[pulumi.Input[builtins.str]] = None, - rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - service_account_email: Optional[pulumi.Input[builtins.str]] = None, - ttl_days: Optional[pulumi.Input[builtins.int]] = None) -> 'ServiceAccountKey': + json: Optional[pulumi.Input[_builtins.str]] = None, + key_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + public_key: Optional[pulumi.Input[_builtins.str]] = None, + rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + service_account_email: Optional[pulumi.Input[_builtins.str]] = None, + ttl_days: Optional[pulumi.Input[_builtins.int]] = None) -> 'ServiceAccountKey': """ Get an existing ServiceAccountKey resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -327,13 +326,13 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] json: The raw JSON representation of the service account key json, available for direct use. - :param pulumi.Input[builtins.str] key_id: The unique identifier for the key associated with the service account. - :param pulumi.Input[builtins.str] project_id: The STACKIT project ID associated with the service account key. - :param pulumi.Input[builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. - :param pulumi.Input[builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. - :param pulumi.Input[builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted + :param pulumi.Input[_builtins.str] json: The raw JSON representation of the service account key json, available for direct use. + :param pulumi.Input[_builtins.str] key_id: The unique identifier for the key associated with the service account. + :param pulumi.Input[_builtins.str] project_id: The STACKIT project ID associated with the service account key. + :param pulumi.Input[_builtins.str] public_key: Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. + :param pulumi.Input[_builtins.str] service_account_email: The email address associated with the service account, used for account identification and communication. + :param pulumi.Input[_builtins.int] ttl_days: Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -348,57 +347,57 @@ def get(resource_name: str, __props__.__dict__["ttl_days"] = ttl_days return ServiceAccountKey(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def json(self) -> pulumi.Output[builtins.str]: + def json(self) -> pulumi.Output[_builtins.str]: """ The raw JSON representation of the service account key json, available for direct use. """ return pulumi.get(self, "json") - @property + @_builtins.property @pulumi.getter(name="keyId") - def key_id(self) -> pulumi.Output[builtins.str]: + def key_id(self) -> pulumi.Output[_builtins.str]: """ The unique identifier for the key associated with the service account. """ return pulumi.get(self, "key_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ The STACKIT project ID associated with the service account key. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="publicKey") - def public_key(self) -> pulumi.Output[Optional[builtins.str]]: + def public_key(self) -> pulumi.Output[Optional[_builtins.str]]: """ Specifies the public*key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private*key. """ return pulumi.get(self, "public_key") - @property + @_builtins.property @pulumi.getter(name="rotateWhenChanged") - def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ A map of arbitrary key/value pairs designed to force key recreation when they change, facilitating key rotation based on external factors such as a changing timestamp. Modifying this map triggers the creation of a new resource. """ return pulumi.get(self, "rotate_when_changed") - @property + @_builtins.property @pulumi.getter(name="serviceAccountEmail") - def service_account_email(self) -> pulumi.Output[builtins.str]: + def service_account_email(self) -> pulumi.Output[_builtins.str]: """ The email address associated with the service account, used for account identification and communication. """ return pulumi.get(self, "service_account_email") - @property + @_builtins.property @pulumi.getter(name="ttlDays") - def ttl_days(self) -> pulumi.Output[Optional[builtins.int]]: + def ttl_days(self) -> pulumi.Output[Optional[_builtins.int]]: """ Specifies the key's validity duration in days. If left unspecified, the key is considered valid until it is deleted """ diff --git a/sdk/python/pulumi_stackit/ske_cluster.py b/sdk/python/pulumi_stackit/ske_cluster.py index 43380a4f..e0578e0e 100644 --- a/sdk/python/pulumi_stackit/ske_cluster.py +++ b/sdk/python/pulumi_stackit/ske_cluster.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -23,45 +22,32 @@ class SkeClusterArgs: def __init__(__self__, *, node_pools: pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]], - project_id: pulumi.Input[builtins.str], - allow_privileged_containers: Optional[pulumi.Input[builtins.bool]] = None, + project_id: pulumi.Input[_builtins.str], extensions: Optional[pulumi.Input['SkeClusterExtensionsArgs']] = None, hibernations: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]]] = None, - kubernetes_version: Optional[pulumi.Input[builtins.str]] = None, - kubernetes_version_min: Optional[pulumi.Input[builtins.str]] = None, + kubernetes_version_min: Optional[pulumi.Input[_builtins.str]] = None, maintenance: Optional[pulumi.Input['SkeClusterMaintenanceArgs']] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, network: Optional[pulumi.Input['SkeClusterNetworkArgs']] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a SkeCluster resource. :param pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]] node_pools: One or more `node_pool` block as defined below. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.bool] allow_privileged_containers: Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - Deprecated as of Kubernetes 1.25 and later + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. :param pulumi.Input['SkeClusterExtensionsArgs'] extensions: A single extensions block as defined below. :param pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]] hibernations: One or more hibernation block as defined below. - :param pulumi.Input[builtins.str] kubernetes_version: Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - :param pulumi.Input[builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. + :param pulumi.Input[_builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. :param pulumi.Input['SkeClusterMaintenanceArgs'] maintenance: A single maintenance block as defined below. - :param pulumi.Input[builtins.str] name: The cluster name. + :param pulumi.Input[_builtins.str] name: The cluster name. :param pulumi.Input['SkeClusterNetworkArgs'] network: Network block as defined below. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "node_pools", node_pools) pulumi.set(__self__, "project_id", project_id) - if allow_privileged_containers is not None: - pulumi.set(__self__, "allow_privileged_containers", allow_privileged_containers) if extensions is not None: pulumi.set(__self__, "extensions", extensions) if hibernations is not None: pulumi.set(__self__, "hibernations", hibernations) - if kubernetes_version is not None: - warnings.warn("""Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster.""", DeprecationWarning) - pulumi.log.warn("""kubernetes_version is deprecated: Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster.""") - if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) if kubernetes_version_min is not None: pulumi.set(__self__, "kubernetes_version_min", kubernetes_version_min) if maintenance is not None: @@ -73,7 +59,7 @@ def __init__(__self__, *, if region is not None: pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="nodePools") def node_pools(self) -> pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]]: """ @@ -85,33 +71,19 @@ def node_pools(self) -> pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolAr def node_pools(self, value: pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]]): pulumi.set(self, "node_pools", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the cluster is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property - @pulumi.getter(name="allowPrivilegedContainers") - def allow_privileged_containers(self) -> Optional[pulumi.Input[builtins.bool]]: - """ - Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - Deprecated as of Kubernetes 1.25 and later - """ - return pulumi.get(self, "allow_privileged_containers") - - @allow_privileged_containers.setter - def allow_privileged_containers(self, value: Optional[pulumi.Input[builtins.bool]]): - pulumi.set(self, "allow_privileged_containers", value) - - @property + @_builtins.property @pulumi.getter def extensions(self) -> Optional[pulumi.Input['SkeClusterExtensionsArgs']]: """ @@ -123,7 +95,7 @@ def extensions(self) -> Optional[pulumi.Input['SkeClusterExtensionsArgs']]: def extensions(self, value: Optional[pulumi.Input['SkeClusterExtensionsArgs']]): pulumi.set(self, "extensions", value) - @property + @_builtins.property @pulumi.getter def hibernations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]]]: """ @@ -135,32 +107,19 @@ def hibernations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeCluste def hibernations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]]]): pulumi.set(self, "hibernations", value) - @property - @pulumi.getter(name="kubernetesVersion") - @_utilities.deprecated("""Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster.""") - def kubernetes_version(self) -> Optional[pulumi.Input[builtins.str]]: - """ - Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - """ - return pulumi.get(self, "kubernetes_version") - - @kubernetes_version.setter - def kubernetes_version(self, value: Optional[pulumi.Input[builtins.str]]): - pulumi.set(self, "kubernetes_version", value) - - @property + @_builtins.property @pulumi.getter(name="kubernetesVersionMin") - def kubernetes_version_min(self) -> Optional[pulumi.Input[builtins.str]]: + def kubernetes_version_min(self) -> Optional[pulumi.Input[_builtins.str]]: """ The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. """ return pulumi.get(self, "kubernetes_version_min") @kubernetes_version_min.setter - def kubernetes_version_min(self, value: Optional[pulumi.Input[builtins.str]]): + def kubernetes_version_min(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "kubernetes_version_min", value) - @property + @_builtins.property @pulumi.getter def maintenance(self) -> Optional[pulumi.Input['SkeClusterMaintenanceArgs']]: """ @@ -172,19 +131,19 @@ def maintenance(self) -> Optional[pulumi.Input['SkeClusterMaintenanceArgs']]: def maintenance(self, value: Optional[pulumi.Input['SkeClusterMaintenanceArgs']]): pulumi.set(self, "maintenance", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The cluster name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def network(self) -> Optional[pulumi.Input['SkeClusterNetworkArgs']]: """ @@ -196,66 +155,55 @@ def network(self) -> Optional[pulumi.Input['SkeClusterNetworkArgs']]: def network(self, value: Optional[pulumi.Input['SkeClusterNetworkArgs']]): pulumi.set(self, "network", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @pulumi.input_type class _SkeClusterState: def __init__(__self__, *, - allow_privileged_containers: Optional[pulumi.Input[builtins.bool]] = None, - egress_address_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + egress_address_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, extensions: Optional[pulumi.Input['SkeClusterExtensionsArgs']] = None, hibernations: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]]] = None, - kubernetes_version: Optional[pulumi.Input[builtins.str]] = None, - kubernetes_version_min: Optional[pulumi.Input[builtins.str]] = None, - kubernetes_version_used: Optional[pulumi.Input[builtins.str]] = None, + kubernetes_version_min: Optional[pulumi.Input[_builtins.str]] = None, + kubernetes_version_used: Optional[pulumi.Input[_builtins.str]] = None, maintenance: Optional[pulumi.Input['SkeClusterMaintenanceArgs']] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, network: Optional[pulumi.Input['SkeClusterNetworkArgs']] = None, node_pools: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None): + pod_address_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering SkeCluster resources. - :param pulumi.Input[builtins.bool] allow_privileged_containers: Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - Deprecated as of Kubernetes 1.25 and later - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] egress_address_ranges: The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] egress_address_ranges: The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. :param pulumi.Input['SkeClusterExtensionsArgs'] extensions: A single extensions block as defined below. :param pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]] hibernations: One or more hibernation block as defined below. - :param pulumi.Input[builtins.str] kubernetes_version: Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - :param pulumi.Input[builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. - :param pulumi.Input[builtins.str] kubernetes_version_used: Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + :param pulumi.Input[_builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. + :param pulumi.Input[_builtins.str] kubernetes_version_used: Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). :param pulumi.Input['SkeClusterMaintenanceArgs'] maintenance: A single maintenance block as defined below. - :param pulumi.Input[builtins.str] name: The cluster name. + :param pulumi.Input[_builtins.str] name: The cluster name. :param pulumi.Input['SkeClusterNetworkArgs'] network: Network block as defined below. :param pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]] node_pools: One or more `node_pool` block as defined below. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] pod_address_ranges: The network ranges (in CIDR notation) used by pods of the cluster. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ - if allow_privileged_containers is not None: - pulumi.set(__self__, "allow_privileged_containers", allow_privileged_containers) if egress_address_ranges is not None: pulumi.set(__self__, "egress_address_ranges", egress_address_ranges) if extensions is not None: pulumi.set(__self__, "extensions", extensions) if hibernations is not None: pulumi.set(__self__, "hibernations", hibernations) - if kubernetes_version is not None: - warnings.warn("""Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster.""", DeprecationWarning) - pulumi.log.warn("""kubernetes_version is deprecated: Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster.""") - if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) if kubernetes_version_min is not None: pulumi.set(__self__, "kubernetes_version_min", kubernetes_version_min) if kubernetes_version_used is not None: @@ -268,38 +216,26 @@ def __init__(__self__, *, pulumi.set(__self__, "network", network) if node_pools is not None: pulumi.set(__self__, "node_pools", node_pools) + if pod_address_ranges is not None: + pulumi.set(__self__, "pod_address_ranges", pod_address_ranges) if project_id is not None: pulumi.set(__self__, "project_id", project_id) if region is not None: pulumi.set(__self__, "region", region) - @property - @pulumi.getter(name="allowPrivilegedContainers") - def allow_privileged_containers(self) -> Optional[pulumi.Input[builtins.bool]]: - """ - Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - Deprecated as of Kubernetes 1.25 and later - """ - return pulumi.get(self, "allow_privileged_containers") - - @allow_privileged_containers.setter - def allow_privileged_containers(self, value: Optional[pulumi.Input[builtins.bool]]): - pulumi.set(self, "allow_privileged_containers", value) - - @property + @_builtins.property @pulumi.getter(name="egressAddressRanges") - def egress_address_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def egress_address_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. """ return pulumi.get(self, "egress_address_ranges") @egress_address_ranges.setter - def egress_address_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def egress_address_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "egress_address_ranges", value) - @property + @_builtins.property @pulumi.getter def extensions(self) -> Optional[pulumi.Input['SkeClusterExtensionsArgs']]: """ @@ -311,7 +247,7 @@ def extensions(self) -> Optional[pulumi.Input['SkeClusterExtensionsArgs']]: def extensions(self, value: Optional[pulumi.Input['SkeClusterExtensionsArgs']]): pulumi.set(self, "extensions", value) - @property + @_builtins.property @pulumi.getter def hibernations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]]]: """ @@ -323,44 +259,31 @@ def hibernations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeCluste def hibernations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterHibernationArgs']]]]): pulumi.set(self, "hibernations", value) - @property - @pulumi.getter(name="kubernetesVersion") - @_utilities.deprecated("""Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster.""") - def kubernetes_version(self) -> Optional[pulumi.Input[builtins.str]]: - """ - Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - """ - return pulumi.get(self, "kubernetes_version") - - @kubernetes_version.setter - def kubernetes_version(self, value: Optional[pulumi.Input[builtins.str]]): - pulumi.set(self, "kubernetes_version", value) - - @property + @_builtins.property @pulumi.getter(name="kubernetesVersionMin") - def kubernetes_version_min(self) -> Optional[pulumi.Input[builtins.str]]: + def kubernetes_version_min(self) -> Optional[pulumi.Input[_builtins.str]]: """ The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. """ return pulumi.get(self, "kubernetes_version_min") @kubernetes_version_min.setter - def kubernetes_version_min(self, value: Optional[pulumi.Input[builtins.str]]): + def kubernetes_version_min(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "kubernetes_version_min", value) - @property + @_builtins.property @pulumi.getter(name="kubernetesVersionUsed") - def kubernetes_version_used(self) -> Optional[pulumi.Input[builtins.str]]: + def kubernetes_version_used(self) -> Optional[pulumi.Input[_builtins.str]]: """ Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "kubernetes_version_used") @kubernetes_version_used.setter - def kubernetes_version_used(self, value: Optional[pulumi.Input[builtins.str]]): + def kubernetes_version_used(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "kubernetes_version_used", value) - @property + @_builtins.property @pulumi.getter def maintenance(self) -> Optional[pulumi.Input['SkeClusterMaintenanceArgs']]: """ @@ -372,19 +295,19 @@ def maintenance(self) -> Optional[pulumi.Input['SkeClusterMaintenanceArgs']]: def maintenance(self, value: Optional[pulumi.Input['SkeClusterMaintenanceArgs']]): pulumi.set(self, "maintenance", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The cluster name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def network(self) -> Optional[pulumi.Input['SkeClusterNetworkArgs']]: """ @@ -396,7 +319,7 @@ def network(self) -> Optional[pulumi.Input['SkeClusterNetworkArgs']]: def network(self, value: Optional[pulumi.Input['SkeClusterNetworkArgs']]): pulumi.set(self, "network", value) - @property + @_builtins.property @pulumi.getter(name="nodePools") def node_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]]]: """ @@ -408,28 +331,40 @@ def node_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterN def node_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SkeClusterNodePoolArgs']]]]): pulumi.set(self, "node_pools", value) - @property + @_builtins.property + @pulumi.getter(name="podAddressRanges") + def pod_address_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: + """ + The network ranges (in CIDR notation) used by pods of the cluster. + """ + return pulumi.get(self, "pod_address_ranges") + + @pod_address_ranges.setter + def pod_address_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "pod_address_ranges", value) + + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the cluster is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) @@ -439,17 +374,15 @@ class SkeCluster(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - allow_privileged_containers: Optional[pulumi.Input[builtins.bool]] = None, extensions: Optional[pulumi.Input[Union['SkeClusterExtensionsArgs', 'SkeClusterExtensionsArgsDict']]] = None, hibernations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterHibernationArgs', 'SkeClusterHibernationArgsDict']]]]] = None, - kubernetes_version: Optional[pulumi.Input[builtins.str]] = None, - kubernetes_version_min: Optional[pulumi.Input[builtins.str]] = None, + kubernetes_version_min: Optional[pulumi.Input[_builtins.str]] = None, maintenance: Optional[pulumi.Input[Union['SkeClusterMaintenanceArgs', 'SkeClusterMaintenanceArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, network: Optional[pulumi.Input[Union['SkeClusterNetworkArgs', 'SkeClusterNetworkArgsDict']]] = None, node_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterNodePoolArgs', 'SkeClusterNodePoolArgsDict']]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ SKE Cluster Resource schema. Must have a `region` specified in the provider configuration. @@ -460,19 +393,15 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.bool] allow_privileged_containers: Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - Deprecated as of Kubernetes 1.25 and later :param pulumi.Input[Union['SkeClusterExtensionsArgs', 'SkeClusterExtensionsArgsDict']] extensions: A single extensions block as defined below. :param pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterHibernationArgs', 'SkeClusterHibernationArgsDict']]]] hibernations: One or more hibernation block as defined below. - :param pulumi.Input[builtins.str] kubernetes_version: Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - :param pulumi.Input[builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. + :param pulumi.Input[_builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. :param pulumi.Input[Union['SkeClusterMaintenanceArgs', 'SkeClusterMaintenanceArgsDict']] maintenance: A single maintenance block as defined below. - :param pulumi.Input[builtins.str] name: The cluster name. + :param pulumi.Input[_builtins.str] name: The cluster name. :param pulumi.Input[Union['SkeClusterNetworkArgs', 'SkeClusterNetworkArgsDict']] network: Network block as defined below. :param pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterNodePoolArgs', 'SkeClusterNodePoolArgsDict']]]] node_pools: One or more `node_pool` block as defined below. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -502,17 +431,15 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - allow_privileged_containers: Optional[pulumi.Input[builtins.bool]] = None, extensions: Optional[pulumi.Input[Union['SkeClusterExtensionsArgs', 'SkeClusterExtensionsArgsDict']]] = None, hibernations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterHibernationArgs', 'SkeClusterHibernationArgsDict']]]]] = None, - kubernetes_version: Optional[pulumi.Input[builtins.str]] = None, - kubernetes_version_min: Optional[pulumi.Input[builtins.str]] = None, + kubernetes_version_min: Optional[pulumi.Input[_builtins.str]] = None, maintenance: Optional[pulumi.Input[Union['SkeClusterMaintenanceArgs', 'SkeClusterMaintenanceArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, network: Optional[pulumi.Input[Union['SkeClusterNetworkArgs', 'SkeClusterNetworkArgsDict']]] = None, node_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterNodePoolArgs', 'SkeClusterNodePoolArgsDict']]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -522,10 +449,8 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = SkeClusterArgs.__new__(SkeClusterArgs) - __props__.__dict__["allow_privileged_containers"] = allow_privileged_containers __props__.__dict__["extensions"] = extensions __props__.__dict__["hibernations"] = hibernations - __props__.__dict__["kubernetes_version"] = kubernetes_version __props__.__dict__["kubernetes_version_min"] = kubernetes_version_min __props__.__dict__["maintenance"] = maintenance __props__.__dict__["name"] = name @@ -539,6 +464,7 @@ def _internal_init(__self__, __props__.__dict__["region"] = region __props__.__dict__["egress_address_ranges"] = None __props__.__dict__["kubernetes_version_used"] = None + __props__.__dict__["pod_address_ranges"] = None super(SkeCluster, __self__).__init__( 'stackit:index/skeCluster:SkeCluster', resource_name, @@ -549,19 +475,18 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - allow_privileged_containers: Optional[pulumi.Input[builtins.bool]] = None, - egress_address_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, + egress_address_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, extensions: Optional[pulumi.Input[Union['SkeClusterExtensionsArgs', 'SkeClusterExtensionsArgsDict']]] = None, hibernations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterHibernationArgs', 'SkeClusterHibernationArgsDict']]]]] = None, - kubernetes_version: Optional[pulumi.Input[builtins.str]] = None, - kubernetes_version_min: Optional[pulumi.Input[builtins.str]] = None, - kubernetes_version_used: Optional[pulumi.Input[builtins.str]] = None, + kubernetes_version_min: Optional[pulumi.Input[_builtins.str]] = None, + kubernetes_version_used: Optional[pulumi.Input[_builtins.str]] = None, maintenance: Optional[pulumi.Input[Union['SkeClusterMaintenanceArgs', 'SkeClusterMaintenanceArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, network: Optional[pulumi.Input[Union['SkeClusterNetworkArgs', 'SkeClusterNetworkArgsDict']]] = None, node_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterNodePoolArgs', 'SkeClusterNodePoolArgsDict']]]]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None) -> 'SkeCluster': + pod_address_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None) -> 'SkeCluster': """ Get an existing SkeCluster resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -569,60 +494,46 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.bool] allow_privileged_containers: Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - Deprecated as of Kubernetes 1.25 and later - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] egress_address_ranges: The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] egress_address_ranges: The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. :param pulumi.Input[Union['SkeClusterExtensionsArgs', 'SkeClusterExtensionsArgsDict']] extensions: A single extensions block as defined below. :param pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterHibernationArgs', 'SkeClusterHibernationArgsDict']]]] hibernations: One or more hibernation block as defined below. - :param pulumi.Input[builtins.str] kubernetes_version: Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - :param pulumi.Input[builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. - :param pulumi.Input[builtins.str] kubernetes_version_used: Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). + :param pulumi.Input[_builtins.str] kubernetes_version_min: The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. + :param pulumi.Input[_builtins.str] kubernetes_version_used: Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). :param pulumi.Input[Union['SkeClusterMaintenanceArgs', 'SkeClusterMaintenanceArgsDict']] maintenance: A single maintenance block as defined below. - :param pulumi.Input[builtins.str] name: The cluster name. + :param pulumi.Input[_builtins.str] name: The cluster name. :param pulumi.Input[Union['SkeClusterNetworkArgs', 'SkeClusterNetworkArgsDict']] network: Network block as defined below. :param pulumi.Input[Sequence[pulumi.Input[Union['SkeClusterNodePoolArgs', 'SkeClusterNodePoolArgsDict']]]] node_pools: One or more `node_pool` block as defined below. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] pod_address_ranges: The network ranges (in CIDR notation) used by pods of the cluster. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _SkeClusterState.__new__(_SkeClusterState) - __props__.__dict__["allow_privileged_containers"] = allow_privileged_containers __props__.__dict__["egress_address_ranges"] = egress_address_ranges __props__.__dict__["extensions"] = extensions __props__.__dict__["hibernations"] = hibernations - __props__.__dict__["kubernetes_version"] = kubernetes_version __props__.__dict__["kubernetes_version_min"] = kubernetes_version_min __props__.__dict__["kubernetes_version_used"] = kubernetes_version_used __props__.__dict__["maintenance"] = maintenance __props__.__dict__["name"] = name __props__.__dict__["network"] = network __props__.__dict__["node_pools"] = node_pools + __props__.__dict__["pod_address_ranges"] = pod_address_ranges __props__.__dict__["project_id"] = project_id __props__.__dict__["region"] = region return SkeCluster(resource_name, opts=opts, __props__=__props__) - @property - @pulumi.getter(name="allowPrivilegedContainers") - def allow_privileged_containers(self) -> pulumi.Output[Optional[builtins.bool]]: - """ - Flag to specify if privileged mode for containers is enabled or not. - This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). - Deprecated as of Kubernetes 1.25 and later - """ - return pulumi.get(self, "allow_privileged_containers") - - @property + @_builtins.property @pulumi.getter(name="egressAddressRanges") - def egress_address_ranges(self) -> pulumi.Output[Sequence[builtins.str]]: + def egress_address_ranges(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster. """ return pulumi.get(self, "egress_address_ranges") - @property + @_builtins.property @pulumi.getter def extensions(self) -> pulumi.Output[Optional['outputs.SkeClusterExtensions']]: """ @@ -630,7 +541,7 @@ def extensions(self) -> pulumi.Output[Optional['outputs.SkeClusterExtensions']]: """ return pulumi.get(self, "extensions") - @property + @_builtins.property @pulumi.getter def hibernations(self) -> pulumi.Output[Optional[Sequence['outputs.SkeClusterHibernation']]]: """ @@ -638,32 +549,23 @@ def hibernations(self) -> pulumi.Output[Optional[Sequence['outputs.SkeClusterHib """ return pulumi.get(self, "hibernations") - @property - @pulumi.getter(name="kubernetesVersion") - @_utilities.deprecated("""Use `kubernetes_version_min instead`. Setting a specific kubernetes version would cause errors during minor version upgrades due to forced updates. In those cases, this field might not represent the actual kubernetes version used in the cluster.""") - def kubernetes_version(self) -> pulumi.Output[Optional[builtins.str]]: - """ - Kubernetes version. Must only contain major and minor version (e.g. 1.22). This field is deprecated, use `kubernetes_version_min instead` - """ - return pulumi.get(self, "kubernetes_version") - - @property + @_builtins.property @pulumi.getter(name="kubernetesVersionMin") - def kubernetes_version_min(self) -> pulumi.Output[Optional[builtins.str]]: + def kubernetes_version_min(self) -> pulumi.Output[Optional[_builtins.str]]: """ The minimum Kubernetes version. This field will be used to set the minimum kubernetes version on creation/update of the cluster. If unset, the latest supported Kubernetes version will be used. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). To get the current kubernetes version being used for your cluster, use the read-only `kubernetes_version_used` field. """ return pulumi.get(self, "kubernetes_version_min") - @property + @_builtins.property @pulumi.getter(name="kubernetesVersionUsed") - def kubernetes_version_used(self) -> pulumi.Output[builtins.str]: + def kubernetes_version_used(self) -> pulumi.Output[_builtins.str]: """ Full Kubernetes version used. For example, if 1.22 was set in `kubernetes_version_min`, this value may result to 1.22.15. SKE automatically updates the cluster Kubernetes version if you have set `maintenance.enable_kubernetes_version_updates` to true or if there is a mandatory update, as described in [Updates for Kubernetes versions and Operating System versions in SKE](https://docs.stackit.cloud/stackit/en/version-updates-in-ske-10125631.html). """ return pulumi.get(self, "kubernetes_version_used") - @property + @_builtins.property @pulumi.getter def maintenance(self) -> pulumi.Output['outputs.SkeClusterMaintenance']: """ @@ -671,15 +573,15 @@ def maintenance(self) -> pulumi.Output['outputs.SkeClusterMaintenance']: """ return pulumi.get(self, "maintenance") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The cluster name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def network(self) -> pulumi.Output[Optional['outputs.SkeClusterNetwork']]: """ @@ -687,7 +589,7 @@ def network(self) -> pulumi.Output[Optional['outputs.SkeClusterNetwork']]: """ return pulumi.get(self, "network") - @property + @_builtins.property @pulumi.getter(name="nodePools") def node_pools(self) -> pulumi.Output[Sequence['outputs.SkeClusterNodePool']]: """ @@ -695,17 +597,25 @@ def node_pools(self) -> pulumi.Output[Sequence['outputs.SkeClusterNodePool']]: """ return pulumi.get(self, "node_pools") - @property + @_builtins.property + @pulumi.getter(name="podAddressRanges") + def pod_address_ranges(self) -> pulumi.Output[Sequence[_builtins.str]]: + """ + The network ranges (in CIDR notation) used by pods of the cluster. + """ + return pulumi.get(self, "pod_address_ranges") + + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the cluster is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ diff --git a/sdk/python/pulumi_stackit/ske_kubeconfig.py b/sdk/python/pulumi_stackit/ske_kubeconfig.py index 647ba52a..1e45a5b3 100644 --- a/sdk/python/pulumi_stackit/ske_kubeconfig.py +++ b/sdk/python/pulumi_stackit/ske_kubeconfig.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,16 +19,20 @@ @pulumi.input_type class SkeKubeconfigArgs: def __init__(__self__, *, - cluster_name: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - expiration: Optional[pulumi.Input[builtins.int]] = None, - refresh: Optional[pulumi.Input[builtins.bool]] = None): + cluster_name: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + expiration: Optional[pulumi.Input[_builtins.int]] = None, + refresh: Optional[pulumi.Input[_builtins.bool]] = None, + refresh_before: Optional[pulumi.Input[_builtins.int]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a SkeKubeconfig resource. - :param pulumi.Input[builtins.str] cluster_name: Name of the SKE cluster. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` - :param pulumi.Input[builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.str] cluster_name: Name of the SKE cluster. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. + :param pulumi.Input[_builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` + :param pulumi.Input[_builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.int] refresh_before: Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "cluster_name", cluster_name) pulumi.set(__self__, "project_id", project_id) @@ -37,76 +40,108 @@ def __init__(__self__, *, pulumi.set(__self__, "expiration", expiration) if refresh is not None: pulumi.set(__self__, "refresh", refresh) + if refresh_before is not None: + pulumi.set(__self__, "refresh_before", refresh_before) + if region is not None: + pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="clusterName") - def cluster_name(self) -> pulumi.Input[builtins.str]: + def cluster_name(self) -> pulumi.Input[_builtins.str]: """ Name of the SKE cluster. """ return pulumi.get(self, "cluster_name") @cluster_name.setter - def cluster_name(self, value: pulumi.Input[builtins.str]): + def cluster_name(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "cluster_name", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the cluster is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def expiration(self) -> Optional[pulumi.Input[builtins.int]]: + def expiration(self) -> Optional[pulumi.Input[_builtins.int]]: """ Expiration time of the kubeconfig, in seconds. Defaults to `3600` """ return pulumi.get(self, "expiration") @expiration.setter - def expiration(self, value: Optional[pulumi.Input[builtins.int]]): + def expiration(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "expiration", value) - @property + @_builtins.property @pulumi.getter - def refresh(self) -> Optional[pulumi.Input[builtins.bool]]: + def refresh(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place """ return pulumi.get(self, "refresh") @refresh.setter - def refresh(self, value: Optional[pulumi.Input[builtins.bool]]): + def refresh(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "refresh", value) + @_builtins.property + @pulumi.getter(name="refreshBefore") + def refresh_before(self) -> Optional[pulumi.Input[_builtins.int]]: + """ + Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + """ + return pulumi.get(self, "refresh_before") + + @refresh_before.setter + def refresh_before(self, value: Optional[pulumi.Input[_builtins.int]]): + pulumi.set(self, "refresh_before", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + @pulumi.input_type class _SkeKubeconfigState: def __init__(__self__, *, - cluster_name: Optional[pulumi.Input[builtins.str]] = None, - creation_time: Optional[pulumi.Input[builtins.str]] = None, - expiration: Optional[pulumi.Input[builtins.int]] = None, - expires_at: Optional[pulumi.Input[builtins.str]] = None, - kube_config: Optional[pulumi.Input[builtins.str]] = None, - kube_config_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - refresh: Optional[pulumi.Input[builtins.bool]] = None): + cluster_name: Optional[pulumi.Input[_builtins.str]] = None, + creation_time: Optional[pulumi.Input[_builtins.str]] = None, + expiration: Optional[pulumi.Input[_builtins.int]] = None, + expires_at: Optional[pulumi.Input[_builtins.str]] = None, + kube_config: Optional[pulumi.Input[_builtins.str]] = None, + kube_config_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + refresh: Optional[pulumi.Input[_builtins.bool]] = None, + refresh_before: Optional[pulumi.Input[_builtins.int]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering SkeKubeconfig resources. - :param pulumi.Input[builtins.str] cluster_name: Name of the SKE cluster. - :param pulumi.Input[builtins.str] creation_time: Date-time when the kubeconfig was created - :param pulumi.Input[builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` - :param pulumi.Input[builtins.str] expires_at: Timestamp when the kubeconfig expires - :param pulumi.Input[builtins.str] kube_config: Raw short-lived admin kubeconfig. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.str] cluster_name: Name of the SKE cluster. + :param pulumi.Input[_builtins.str] creation_time: Date-time when the kubeconfig was created + :param pulumi.Input[_builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` + :param pulumi.Input[_builtins.str] expires_at: Timestamp when the kubeconfig expires + :param pulumi.Input[_builtins.str] kube_config: Raw short-lived admin kubeconfig. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. + :param pulumi.Input[_builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.int] refresh_before: Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ if cluster_name is not None: pulumi.set(__self__, "cluster_name", cluster_name) @@ -124,100 +159,128 @@ def __init__(__self__, *, pulumi.set(__self__, "project_id", project_id) if refresh is not None: pulumi.set(__self__, "refresh", refresh) + if refresh_before is not None: + pulumi.set(__self__, "refresh_before", refresh_before) + if region is not None: + pulumi.set(__self__, "region", region) - @property + @_builtins.property @pulumi.getter(name="clusterName") - def cluster_name(self) -> Optional[pulumi.Input[builtins.str]]: + def cluster_name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Name of the SKE cluster. """ return pulumi.get(self, "cluster_name") @cluster_name.setter - def cluster_name(self, value: Optional[pulumi.Input[builtins.str]]): + def cluster_name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "cluster_name", value) - @property + @_builtins.property @pulumi.getter(name="creationTime") - def creation_time(self) -> Optional[pulumi.Input[builtins.str]]: + def creation_time(self) -> Optional[pulumi.Input[_builtins.str]]: """ Date-time when the kubeconfig was created """ return pulumi.get(self, "creation_time") @creation_time.setter - def creation_time(self, value: Optional[pulumi.Input[builtins.str]]): + def creation_time(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "creation_time", value) - @property + @_builtins.property @pulumi.getter - def expiration(self) -> Optional[pulumi.Input[builtins.int]]: + def expiration(self) -> Optional[pulumi.Input[_builtins.int]]: """ Expiration time of the kubeconfig, in seconds. Defaults to `3600` """ return pulumi.get(self, "expiration") @expiration.setter - def expiration(self, value: Optional[pulumi.Input[builtins.int]]): + def expiration(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "expiration", value) - @property + @_builtins.property @pulumi.getter(name="expiresAt") - def expires_at(self) -> Optional[pulumi.Input[builtins.str]]: + def expires_at(self) -> Optional[pulumi.Input[_builtins.str]]: """ Timestamp when the kubeconfig expires """ return pulumi.get(self, "expires_at") @expires_at.setter - def expires_at(self, value: Optional[pulumi.Input[builtins.str]]): + def expires_at(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "expires_at", value) - @property + @_builtins.property @pulumi.getter(name="kubeConfig") - def kube_config(self) -> Optional[pulumi.Input[builtins.str]]: + def kube_config(self) -> Optional[pulumi.Input[_builtins.str]]: """ Raw short-lived admin kubeconfig. """ return pulumi.get(self, "kube_config") @kube_config.setter - def kube_config(self, value: Optional[pulumi.Input[builtins.str]]): + def kube_config(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "kube_config", value) - @property + @_builtins.property @pulumi.getter(name="kubeConfigId") - def kube_config_id(self) -> Optional[pulumi.Input[builtins.str]]: + def kube_config_id(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "kube_config_id") @kube_config_id.setter - def kube_config_id(self, value: Optional[pulumi.Input[builtins.str]]): + def kube_config_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "kube_config_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the cluster is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def refresh(self) -> Optional[pulumi.Input[builtins.bool]]: + def refresh(self) -> Optional[pulumi.Input[_builtins.bool]]: """ If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place """ return pulumi.get(self, "refresh") @refresh.setter - def refresh(self, value: Optional[pulumi.Input[builtins.bool]]): + def refresh(self, value: Optional[pulumi.Input[_builtins.bool]]): pulumi.set(self, "refresh", value) + @_builtins.property + @pulumi.getter(name="refreshBefore") + def refresh_before(self) -> Optional[pulumi.Input[_builtins.int]]: + """ + Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + """ + return pulumi.get(self, "refresh_before") + + @refresh_before.setter + def refresh_before(self, value: Optional[pulumi.Input[_builtins.int]]): + pulumi.set(self, "refresh_before", value) + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[_builtins.str]]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[_builtins.str]]): + pulumi.set(self, "region", value) + @pulumi.type_token("stackit:index/skeKubeconfig:SkeKubeconfig") class SkeKubeconfig(pulumi.CustomResource): @@ -225,10 +288,12 @@ class SkeKubeconfig(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - cluster_name: Optional[pulumi.Input[builtins.str]] = None, - expiration: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - refresh: Optional[pulumi.Input[builtins.bool]] = None, + cluster_name: Optional[pulumi.Input[_builtins.str]] = None, + expiration: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + refresh: Optional[pulumi.Input[_builtins.bool]] = None, + refresh_before: Optional[pulumi.Input[_builtins.int]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ SKE kubeconfig resource schema. Must have a `region` specified in the provider configuration. @@ -237,10 +302,12 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] cluster_name: Name of the SKE cluster. - :param pulumi.Input[builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.str] cluster_name: Name of the SKE cluster. + :param pulumi.Input[_builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. + :param pulumi.Input[_builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.int] refresh_before: Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -268,10 +335,12 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - cluster_name: Optional[pulumi.Input[builtins.str]] = None, - expiration: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - refresh: Optional[pulumi.Input[builtins.bool]] = None, + cluster_name: Optional[pulumi.Input[_builtins.str]] = None, + expiration: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + refresh: Optional[pulumi.Input[_builtins.bool]] = None, + refresh_before: Optional[pulumi.Input[_builtins.int]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -289,6 +358,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id __props__.__dict__["refresh"] = refresh + __props__.__dict__["refresh_before"] = refresh_before + __props__.__dict__["region"] = region __props__.__dict__["creation_time"] = None __props__.__dict__["expires_at"] = None __props__.__dict__["kube_config"] = None @@ -305,14 +376,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - cluster_name: Optional[pulumi.Input[builtins.str]] = None, - creation_time: Optional[pulumi.Input[builtins.str]] = None, - expiration: Optional[pulumi.Input[builtins.int]] = None, - expires_at: Optional[pulumi.Input[builtins.str]] = None, - kube_config: Optional[pulumi.Input[builtins.str]] = None, - kube_config_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - refresh: Optional[pulumi.Input[builtins.bool]] = None) -> 'SkeKubeconfig': + cluster_name: Optional[pulumi.Input[_builtins.str]] = None, + creation_time: Optional[pulumi.Input[_builtins.str]] = None, + expiration: Optional[pulumi.Input[_builtins.int]] = None, + expires_at: Optional[pulumi.Input[_builtins.str]] = None, + kube_config: Optional[pulumi.Input[_builtins.str]] = None, + kube_config_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + refresh: Optional[pulumi.Input[_builtins.bool]] = None, + refresh_before: Optional[pulumi.Input[_builtins.int]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None) -> 'SkeKubeconfig': """ Get an existing SkeKubeconfig resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -320,13 +393,15 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] cluster_name: Name of the SKE cluster. - :param pulumi.Input[builtins.str] creation_time: Date-time when the kubeconfig was created - :param pulumi.Input[builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` - :param pulumi.Input[builtins.str] expires_at: Timestamp when the kubeconfig expires - :param pulumi.Input[builtins.str] kube_config: Raw short-lived admin kubeconfig. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the cluster is associated. - :param pulumi.Input[builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.str] cluster_name: Name of the SKE cluster. + :param pulumi.Input[_builtins.str] creation_time: Date-time when the kubeconfig was created + :param pulumi.Input[_builtins.int] expiration: Expiration time of the kubeconfig, in seconds. Defaults to `3600` + :param pulumi.Input[_builtins.str] expires_at: Timestamp when the kubeconfig expires + :param pulumi.Input[_builtins.str] kube_config: Raw short-lived admin kubeconfig. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the cluster is associated. + :param pulumi.Input[_builtins.bool] refresh: If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place + :param pulumi.Input[_builtins.int] refresh_before: Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -340,66 +415,84 @@ def get(resource_name: str, __props__.__dict__["kube_config_id"] = kube_config_id __props__.__dict__["project_id"] = project_id __props__.__dict__["refresh"] = refresh + __props__.__dict__["refresh_before"] = refresh_before + __props__.__dict__["region"] = region return SkeKubeconfig(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="clusterName") - def cluster_name(self) -> pulumi.Output[builtins.str]: + def cluster_name(self) -> pulumi.Output[_builtins.str]: """ Name of the SKE cluster. """ return pulumi.get(self, "cluster_name") - @property + @_builtins.property @pulumi.getter(name="creationTime") - def creation_time(self) -> pulumi.Output[builtins.str]: + def creation_time(self) -> pulumi.Output[_builtins.str]: """ Date-time when the kubeconfig was created """ return pulumi.get(self, "creation_time") - @property + @_builtins.property @pulumi.getter - def expiration(self) -> pulumi.Output[builtins.int]: + def expiration(self) -> pulumi.Output[_builtins.int]: """ Expiration time of the kubeconfig, in seconds. Defaults to `3600` """ return pulumi.get(self, "expiration") - @property + @_builtins.property @pulumi.getter(name="expiresAt") - def expires_at(self) -> pulumi.Output[builtins.str]: + def expires_at(self) -> pulumi.Output[_builtins.str]: """ Timestamp when the kubeconfig expires """ return pulumi.get(self, "expires_at") - @property + @_builtins.property @pulumi.getter(name="kubeConfig") - def kube_config(self) -> pulumi.Output[builtins.str]: + def kube_config(self) -> pulumi.Output[_builtins.str]: """ Raw short-lived admin kubeconfig. """ return pulumi.get(self, "kube_config") - @property + @_builtins.property @pulumi.getter(name="kubeConfigId") - def kube_config_id(self) -> pulumi.Output[builtins.str]: + def kube_config_id(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "kube_config_id") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the cluster is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def refresh(self) -> pulumi.Output[Optional[builtins.bool]]: + def refresh(self) -> pulumi.Output[Optional[_builtins.bool]]: """ If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place """ return pulumi.get(self, "refresh") + @_builtins.property + @pulumi.getter(name="refreshBefore") + def refresh_before(self) -> pulumi.Output[Optional[_builtins.int]]: + """ + Number of seconds before expiration to trigger refresh of the kubeconfig at. Only used if refresh is set to true. + """ + return pulumi.get(self, "refresh_before") + + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Output[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + diff --git a/sdk/python/pulumi_stackit/sqlserverflex_instance.py b/sdk/python/pulumi_stackit/sqlserverflex_instance.py index 0c2a5f71..3bd7d22f 100644 --- a/sdk/python/pulumi_stackit/sqlserverflex_instance.py +++ b/sdk/python/pulumi_stackit/sqlserverflex_instance.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -23,21 +22,21 @@ class SqlserverflexInstanceArgs: def __init__(__self__, *, flavor: pulumi.Input['SqlserverflexInstanceFlavorArgs'], - project_id: pulumi.Input[builtins.str], - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + project_id: pulumi.Input[_builtins.str], + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, storage: Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + version: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a SqlserverflexInstance resource. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ pulumi.set(__self__, "flavor", flavor) pulumi.set(__self__, "project_id", project_id) @@ -56,7 +55,7 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter def flavor(self) -> pulumi.Input['SqlserverflexInstanceFlavorArgs']: return pulumi.get(self, "flavor") @@ -65,55 +64,55 @@ def flavor(self) -> pulumi.Input['SqlserverflexInstanceFlavorArgs']: def flavor(self, value: pulumi.Input['SqlserverflexInstanceFlavorArgs']): pulumi.set(self, "flavor", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The Access Control List (ACL) for the SQLServer Flex instance. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> Optional[pulumi.Input[builtins.str]]: + def backup_schedule(self) -> Optional[pulumi.Input[_builtins.str]]: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") """ return pulumi.get(self, "backup_schedule") @backup_schedule.setter - def backup_schedule(self, value: Optional[pulumi.Input[builtins.str]]): + def backup_schedule(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "backup_schedule", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def options(self) -> Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']]: return pulumi.get(self, "options") @@ -122,19 +121,19 @@ def options(self) -> Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']]: def options(self, value: Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']]): pulumi.set(self, "options", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter def storage(self) -> Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']]: return pulumi.get(self, "storage") @@ -143,38 +142,38 @@ def storage(self) -> Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']]: def storage(self, value: Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']]): pulumi.set(self, "storage", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @pulumi.input_type class _SqlserverflexInstanceState: def __init__(__self__, *, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input['SqlserverflexInstanceFlavorArgs']] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']] = None, - version: Optional[pulumi.Input[builtins.str]] = None): + version: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering SqlserverflexInstance resources. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") - :param pulumi.Input[builtins.str] instance_id: ID of the SQLServer Flex instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") + :param pulumi.Input[_builtins.str] instance_id: ID of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ if acls is not None: pulumi.set(__self__, "acls", acls) @@ -199,31 +198,31 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) - @property + @_builtins.property @pulumi.getter - def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def acls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ The Access Control List (ACL) for the SQLServer Flex instance. """ return pulumi.get(self, "acls") @acls.setter - def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def acls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "acls", value) - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> Optional[pulumi.Input[builtins.str]]: + def backup_schedule(self) -> Optional[pulumi.Input[_builtins.str]]: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") """ return pulumi.get(self, "backup_schedule") @backup_schedule.setter - def backup_schedule(self, value: Optional[pulumi.Input[builtins.str]]): + def backup_schedule(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "backup_schedule", value) - @property + @_builtins.property @pulumi.getter def flavor(self) -> Optional[pulumi.Input['SqlserverflexInstanceFlavorArgs']]: return pulumi.get(self, "flavor") @@ -232,31 +231,31 @@ def flavor(self) -> Optional[pulumi.Input['SqlserverflexInstanceFlavorArgs']]: def flavor(self, value: Optional[pulumi.Input['SqlserverflexInstanceFlavorArgs']]): pulumi.set(self, "flavor", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the SQLServer Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ Instance name. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter def options(self) -> Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']]: return pulumi.get(self, "options") @@ -265,40 +264,40 @@ def options(self) -> Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']]: def options(self, value: Optional[pulumi.Input['SqlserverflexInstanceOptionsArgs']]): pulumi.set(self, "options", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def replicas(self) -> Optional[pulumi.Input[builtins.int]]: + def replicas(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "replicas") @replicas.setter - def replicas(self, value: Optional[pulumi.Input[builtins.int]]): + def replicas(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "replicas", value) - @property + @_builtins.property @pulumi.getter def storage(self) -> Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']]: return pulumi.get(self, "storage") @@ -307,13 +306,13 @@ def storage(self) -> Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']]: def storage(self, value: Optional[pulumi.Input['SqlserverflexInstanceStorageArgs']]): pulumi.set(self, "storage", value) - @property + @_builtins.property @pulumi.getter - def version(self) -> Optional[pulumi.Input[builtins.str]]: + def version(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "version") @version.setter - def version(self, value: Optional[pulumi.Input[builtins.str]]): + def version(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "version", value) @@ -323,15 +322,15 @@ class SqlserverflexInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['SqlserverflexInstanceFlavorArgs', 'SqlserverflexInstanceFlavorArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input[Union['SqlserverflexInstanceOptionsArgs', 'SqlserverflexInstanceOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, storage: Optional[pulumi.Input[Union['SqlserverflexInstanceStorageArgs', 'SqlserverflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ SQLServer Flex instance resource schema. Must have a `region` specified in the provider configuration. @@ -340,11 +339,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ ... @overload @@ -372,15 +371,15 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['SqlserverflexInstanceFlavorArgs', 'SqlserverflexInstanceFlavorArgsDict']]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input[Union['SqlserverflexInstanceOptionsArgs', 'SqlserverflexInstanceOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, storage: Optional[pulumi.Input[Union['SqlserverflexInstanceStorageArgs', 'SqlserverflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None, + version: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -415,17 +414,17 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - acls: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - backup_schedule: Optional[pulumi.Input[builtins.str]] = None, + acls: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + backup_schedule: Optional[pulumi.Input[_builtins.str]] = None, flavor: Optional[pulumi.Input[Union['SqlserverflexInstanceFlavorArgs', 'SqlserverflexInstanceFlavorArgsDict']]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, options: Optional[pulumi.Input[Union['SqlserverflexInstanceOptionsArgs', 'SqlserverflexInstanceOptionsArgsDict']]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - replicas: Optional[pulumi.Input[builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + replicas: Optional[pulumi.Input[_builtins.int]] = None, storage: Optional[pulumi.Input[Union['SqlserverflexInstanceStorageArgs', 'SqlserverflexInstanceStorageArgsDict']]] = None, - version: Optional[pulumi.Input[builtins.str]] = None) -> 'SqlserverflexInstance': + version: Optional[pulumi.Input[_builtins.str]] = None) -> 'SqlserverflexInstance': """ Get an existing SqlserverflexInstance resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -433,12 +432,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. - :param pulumi.Input[builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") - :param pulumi.Input[builtins.str] instance_id: ID of the SQLServer Flex instance. - :param pulumi.Input[builtins.str] name: Instance name. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] region: The resource region. If not defined, the provider region is used. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] acls: The Access Control List (ACL) for the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] backup_schedule: The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") + :param pulumi.Input[_builtins.str] instance_id: ID of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] name: Instance name. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[_builtins.str] region: The resource region. If not defined, the provider region is used. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -457,76 +456,76 @@ def get(resource_name: str, __props__.__dict__["version"] = version return SqlserverflexInstance(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def acls(self) -> pulumi.Output[Sequence[builtins.str]]: + def acls(self) -> pulumi.Output[Sequence[_builtins.str]]: """ The Access Control List (ACL) for the SQLServer Flex instance. """ return pulumi.get(self, "acls") - @property + @_builtins.property @pulumi.getter(name="backupSchedule") - def backup_schedule(self) -> pulumi.Output[builtins.str]: + def backup_schedule(self) -> pulumi.Output[_builtins.str]: """ The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *") """ return pulumi.get(self, "backup_schedule") - @property + @_builtins.property @pulumi.getter def flavor(self) -> pulumi.Output['outputs.SqlserverflexInstanceFlavor']: return pulumi.get(self, "flavor") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the SQLServer Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ Instance name. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter def options(self) -> pulumi.Output['outputs.SqlserverflexInstanceOptions']: return pulumi.get(self, "options") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: """ The resource region. If not defined, the provider region is used. """ return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def replicas(self) -> pulumi.Output[builtins.int]: + def replicas(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "replicas") - @property + @_builtins.property @pulumi.getter def storage(self) -> pulumi.Output['outputs.SqlserverflexInstanceStorage']: return pulumi.get(self, "storage") - @property + @_builtins.property @pulumi.getter - def version(self) -> pulumi.Output[builtins.str]: + def version(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "version") diff --git a/sdk/python/pulumi_stackit/sqlserverflex_user.py b/sdk/python/pulumi_stackit/sqlserverflex_user.py index b72368e4..6178265b 100644 --- a/sdk/python/pulumi_stackit/sqlserverflex_user.py +++ b/sdk/python/pulumi_stackit/sqlserverflex_user.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -20,104 +19,103 @@ @pulumi.input_type class SqlserverflexUserArgs: def __init__(__self__, *, - instance_id: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - username: pulumi.Input[builtins.str], - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None): + instance_id: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + roles: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + username: pulumi.Input[_builtins.str], + region: Optional[pulumi.Input[_builtins.str]] = None): """ The set of arguments for constructing a SqlserverflexUser resource. - :param pulumi.Input[builtins.str] instance_id: ID of the SQLServer Flex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[builtins.str] username: Username of the SQLServer Flex instance. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` + :param pulumi.Input[_builtins.str] instance_id: ID of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` + :param pulumi.Input[_builtins.str] username: Username of the SQLServer Flex instance. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "roles", roles) pulumi.set(__self__, "username", username) if region is not None: pulumi.set(__self__, "region", region) - if roles is not None: - pulumi.set(__self__, "roles", roles) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Input[builtins.str]: + def instance_id(self) -> pulumi.Input[_builtins.str]: """ ID of the SQLServer Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: pulumi.Input[builtins.str]): + def instance_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property + @pulumi.getter + def roles(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: + """ + Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): + pulumi.set(self, "roles", value) + + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Input[builtins.str]: + def username(self) -> pulumi.Input[_builtins.str]: """ Username of the SQLServer Flex instance. """ return pulumi.get(self, "username") @username.setter - def username(self, value: pulumi.Input[builtins.str]): + def username(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "username", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property - @pulumi.getter - def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: - """ - Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` - """ - return pulumi.get(self, "roles") - - @roles.setter - def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): - pulumi.set(self, "roles", value) - @pulumi.input_type class _SqlserverflexUserState: def __init__(__self__, *, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None): + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering SqlserverflexUser resources. - :param pulumi.Input[builtins.str] instance_id: ID of the SQLServer Flex instance. - :param pulumi.Input[builtins.str] password: Password of the user account. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` - :param pulumi.Input[builtins.str] user_id: User ID. - :param pulumi.Input[builtins.str] username: Username of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] instance_id: ID of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] password: Password of the user account. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` + :param pulumi.Input[_builtins.str] user_id: User ID. + :param pulumi.Input[_builtins.str] username: Username of the SQLServer Flex instance. """ if host is not None: pulumi.set(__self__, "host", host) @@ -138,103 +136,103 @@ def __init__(__self__, *, if username is not None: pulumi.set(__self__, "username", username) - @property + @_builtins.property @pulumi.getter - def host(self) -> Optional[pulumi.Input[builtins.str]]: + def host(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "host") @host.setter - def host(self, value: Optional[pulumi.Input[builtins.str]]): + def host(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "host", value) - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> Optional[pulumi.Input[builtins.str]]: + def instance_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ ID of the SQLServer Flex instance. """ return pulumi.get(self, "instance_id") @instance_id.setter - def instance_id(self, value: Optional[pulumi.Input[builtins.str]]): + def instance_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "instance_id", value) - @property + @_builtins.property @pulumi.getter - def password(self) -> Optional[pulumi.Input[builtins.str]]: + def password(self) -> Optional[pulumi.Input[_builtins.str]]: """ Password of the user account. """ return pulumi.get(self, "password") @password.setter - def password(self, value: Optional[pulumi.Input[builtins.str]]): + def password(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "password", value) - @property + @_builtins.property @pulumi.getter - def port(self) -> Optional[pulumi.Input[builtins.int]]: + def port(self) -> Optional[pulumi.Input[_builtins.int]]: return pulumi.get(self, "port") @port.setter - def port(self, value: Optional[pulumi.Input[builtins.int]]): + def port(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "port", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def region(self) -> Optional[pulumi.Input[builtins.str]]: + def region(self) -> Optional[pulumi.Input[_builtins.str]]: return pulumi.get(self, "region") @region.setter - def region(self, value: Optional[pulumi.Input[builtins.str]]): + def region(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "region", value) - @property + @_builtins.property @pulumi.getter - def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]: + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]: """ Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` """ return pulumi.get(self, "roles") @roles.setter - def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]): + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "roles", value) - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> Optional[pulumi.Input[builtins.str]]: + def user_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ User ID. """ return pulumi.get(self, "user_id") @user_id.setter - def user_id(self, value: Optional[pulumi.Input[builtins.str]]): + def user_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "user_id", value) - @property + @_builtins.property @pulumi.getter - def username(self) -> Optional[pulumi.Input[builtins.str]]: + def username(self) -> Optional[pulumi.Input[_builtins.str]]: """ Username of the SQLServer Flex instance. """ return pulumi.get(self, "username") @username.setter - def username(self, value: Optional[pulumi.Input[builtins.str]]): + def username(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "username", value) @@ -244,11 +242,11 @@ class SqlserverflexUser(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): """ SQLServer Flex user resource schema. Must have a `region` specified in the provider configuration. @@ -257,10 +255,10 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the SQLServer Flex instance. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` - :param pulumi.Input[builtins.str] username: Username of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] instance_id: ID of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` + :param pulumi.Input[_builtins.str] username: Username of the SQLServer Flex instance. """ ... @overload @@ -288,11 +286,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - username: Optional[pulumi.Input[builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -309,6 +307,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id __props__.__dict__["region"] = region + if roles is None and not opts.urn: + raise TypeError("Missing required property 'roles'") __props__.__dict__["roles"] = roles if username is None and not opts.urn: raise TypeError("Missing required property 'username'") @@ -329,15 +329,15 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - host: Optional[pulumi.Input[builtins.str]] = None, - instance_id: Optional[pulumi.Input[builtins.str]] = None, - password: Optional[pulumi.Input[builtins.str]] = None, - port: Optional[pulumi.Input[builtins.int]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - region: Optional[pulumi.Input[builtins.str]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None, - user_id: Optional[pulumi.Input[builtins.str]] = None, - username: Optional[pulumi.Input[builtins.str]] = None) -> 'SqlserverflexUser': + host: Optional[pulumi.Input[_builtins.str]] = None, + instance_id: Optional[pulumi.Input[_builtins.str]] = None, + password: Optional[pulumi.Input[_builtins.str]] = None, + port: Optional[pulumi.Input[_builtins.int]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + region: Optional[pulumi.Input[_builtins.str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None, + user_id: Optional[pulumi.Input[_builtins.str]] = None, + username: Optional[pulumi.Input[_builtins.str]] = None) -> 'SqlserverflexUser': """ Get an existing SqlserverflexUser resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -345,12 +345,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] instance_id: ID of the SQLServer Flex instance. - :param pulumi.Input[builtins.str] password: Password of the user account. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the instance is associated. - :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` - :param pulumi.Input[builtins.str] user_id: User ID. - :param pulumi.Input[builtins.str] username: Username of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] instance_id: ID of the SQLServer Flex instance. + :param pulumi.Input[_builtins.str] password: Password of the user account. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the instance is associated. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] roles: Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` + :param pulumi.Input[_builtins.str] user_id: User ID. + :param pulumi.Input[_builtins.str] username: Username of the SQLServer Flex instance. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -367,64 +367,64 @@ def get(resource_name: str, __props__.__dict__["username"] = username return SqlserverflexUser(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter - def host(self) -> pulumi.Output[builtins.str]: + def host(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "host") - @property + @_builtins.property @pulumi.getter(name="instanceId") - def instance_id(self) -> pulumi.Output[builtins.str]: + def instance_id(self) -> pulumi.Output[_builtins.str]: """ ID of the SQLServer Flex instance. """ return pulumi.get(self, "instance_id") - @property + @_builtins.property @pulumi.getter - def password(self) -> pulumi.Output[builtins.str]: + def password(self) -> pulumi.Output[_builtins.str]: """ Password of the user account. """ return pulumi.get(self, "password") - @property + @_builtins.property @pulumi.getter - def port(self) -> pulumi.Output[builtins.int]: + def port(self) -> pulumi.Output[_builtins.int]: return pulumi.get(self, "port") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the instance is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter - def region(self) -> pulumi.Output[builtins.str]: + def region(self) -> pulumi.Output[_builtins.str]: return pulumi.get(self, "region") - @property + @_builtins.property @pulumi.getter - def roles(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]: + def roles(self) -> pulumi.Output[Sequence[_builtins.str]]: """ Database access levels for the user. The values for the default roles are: `##STACKIT_DatabaseManager##`, `##STACKIT_LoginManager##`, `##STACKIT_ProcessManager##`, `##STACKIT_ServerManager##`, `##STACKIT_SQLAgentManager##`, `##STACKIT_SQLAgentUser##` """ return pulumi.get(self, "roles") - @property + @_builtins.property @pulumi.getter(name="userId") - def user_id(self) -> pulumi.Output[builtins.str]: + def user_id(self) -> pulumi.Output[_builtins.str]: """ User ID. """ return pulumi.get(self, "user_id") - @property + @_builtins.property @pulumi.getter - def username(self) -> pulumi.Output[builtins.str]: + def username(self) -> pulumi.Output[_builtins.str]: """ Username of the SQLServer Flex instance. """ diff --git a/sdk/python/pulumi_stackit/volume.py b/sdk/python/pulumi_stackit/volume.py index 9c3336ba..64551f77 100644 --- a/sdk/python/pulumi_stackit/volume.py +++ b/sdk/python/pulumi_stackit/volume.py @@ -2,8 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins -import copy +import builtins as _builtins import warnings import sys import pulumi @@ -22,23 +21,23 @@ @pulumi.input_type class VolumeArgs: def __init__(__self__, *, - availability_zone: pulumi.Input[builtins.str], - project_id: pulumi.Input[builtins.str], - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - performance_class: Optional[pulumi.Input[builtins.str]] = None, - size: Optional[pulumi.Input[builtins.int]] = None, + availability_zone: pulumi.Input[_builtins.str], + project_id: pulumi.Input[_builtins.str], + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + performance_class: Optional[pulumi.Input[_builtins.str]] = None, + size: Optional[pulumi.Input[_builtins.int]] = None, source: Optional[pulumi.Input['VolumeSourceArgs']] = None): """ The set of arguments for constructing a Volume resource. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the volume. - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume is associated. - :param pulumi.Input[builtins.str] description: The description of the volume. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the volume. - :param pulumi.Input[builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) - :param pulumi.Input[builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the volume. + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume is associated. + :param pulumi.Input[_builtins.str] description: The description of the volume. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the volume. + :param pulumi.Input[_builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) + :param pulumi.Input[_builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided :param pulumi.Input['VolumeSourceArgs'] source: The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided """ pulumi.set(__self__, "availability_zone", availability_zone) @@ -56,91 +55,91 @@ def __init__(__self__, *, if source is not None: pulumi.set(__self__, "source", source) - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> pulumi.Input[builtins.str]: + def availability_zone(self) -> pulumi.Input[_builtins.str]: """ The availability zone of the volume. """ return pulumi.get(self, "availability_zone") @availability_zone.setter - def availability_zone(self, value: pulumi.Input[builtins.str]): + def availability_zone(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "availability_zone", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[builtins.str]: + def project_id(self) -> pulumi.Input[_builtins.str]: """ STACKIT project ID to which the volume is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: pulumi.Input[builtins.str]): + def project_id(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The description of the volume. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the volume. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="performanceClass") - def performance_class(self) -> Optional[pulumi.Input[builtins.str]]: + def performance_class(self) -> Optional[pulumi.Input[_builtins.str]]: """ The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) """ return pulumi.get(self, "performance_class") @performance_class.setter - def performance_class(self, value: Optional[pulumi.Input[builtins.str]]): + def performance_class(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "performance_class", value) - @property + @_builtins.property @pulumi.getter - def size(self) -> Optional[pulumi.Input[builtins.int]]: + def size(self) -> Optional[pulumi.Input[_builtins.int]]: """ The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided """ return pulumi.get(self, "size") @size.setter - def size(self, value: Optional[pulumi.Input[builtins.int]]): + def size(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "size", value) - @property + @_builtins.property @pulumi.getter def source(self) -> Optional[pulumi.Input['VolumeSourceArgs']]: """ @@ -156,28 +155,28 @@ def source(self, value: Optional[pulumi.Input['VolumeSourceArgs']]): @pulumi.input_type class _VolumeState: def __init__(__self__, *, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - performance_class: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - size: Optional[pulumi.Input[builtins.int]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + performance_class: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + size: Optional[pulumi.Input[_builtins.int]] = None, source: Optional[pulumi.Input['VolumeSourceArgs']] = None, - volume_id: Optional[pulumi.Input[builtins.str]] = None): + volume_id: Optional[pulumi.Input[_builtins.str]] = None): """ Input properties used for looking up and filtering Volume resources. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the volume. - :param pulumi.Input[builtins.str] description: The description of the volume. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the volume. - :param pulumi.Input[builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume is associated. - :param pulumi.Input[builtins.str] server_id: The server ID of the server to which the volume is attached to. - :param pulumi.Input[builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the volume. + :param pulumi.Input[_builtins.str] description: The description of the volume. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the volume. + :param pulumi.Input[_builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID of the server to which the volume is attached to. + :param pulumi.Input[_builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided :param pulumi.Input['VolumeSourceArgs'] source: The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided - :param pulumi.Input[builtins.str] volume_id: The volume ID. + :param pulumi.Input[_builtins.str] volume_id: The volume ID. """ if availability_zone is not None: pulumi.set(__self__, "availability_zone", availability_zone) @@ -200,103 +199,103 @@ def __init__(__self__, *, if volume_id is not None: pulumi.set(__self__, "volume_id", volume_id) - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> Optional[pulumi.Input[builtins.str]]: + def availability_zone(self) -> Optional[pulumi.Input[_builtins.str]]: """ The availability zone of the volume. """ return pulumi.get(self, "availability_zone") @availability_zone.setter - def availability_zone(self, value: Optional[pulumi.Input[builtins.str]]): + def availability_zone(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "availability_zone", value) - @property + @_builtins.property @pulumi.getter - def description(self) -> Optional[pulumi.Input[builtins.str]]: + def description(self) -> Optional[pulumi.Input[_builtins.str]]: """ The description of the volume. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[builtins.str]]): + def description(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "description", value) - @property + @_builtins.property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]): pulumi.set(self, "labels", value) - @property + @_builtins.property @pulumi.getter - def name(self) -> Optional[pulumi.Input[builtins.str]]: + def name(self) -> Optional[pulumi.Input[_builtins.str]]: """ The name of the volume. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[builtins.str]]): + def name(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "name", value) - @property + @_builtins.property @pulumi.getter(name="performanceClass") - def performance_class(self) -> Optional[pulumi.Input[builtins.str]]: + def performance_class(self) -> Optional[pulumi.Input[_builtins.str]]: """ The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) """ return pulumi.get(self, "performance_class") @performance_class.setter - def performance_class(self, value: Optional[pulumi.Input[builtins.str]]): + def performance_class(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "performance_class", value) - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> Optional[pulumi.Input[builtins.str]]: + def project_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ STACKIT project ID to which the volume is associated. """ return pulumi.get(self, "project_id") @project_id.setter - def project_id(self, value: Optional[pulumi.Input[builtins.str]]): + def project_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "project_id", value) - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> Optional[pulumi.Input[builtins.str]]: + def server_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The server ID of the server to which the volume is attached to. """ return pulumi.get(self, "server_id") @server_id.setter - def server_id(self, value: Optional[pulumi.Input[builtins.str]]): + def server_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "server_id", value) - @property + @_builtins.property @pulumi.getter - def size(self) -> Optional[pulumi.Input[builtins.int]]: + def size(self) -> Optional[pulumi.Input[_builtins.int]]: """ The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided """ return pulumi.get(self, "size") @size.setter - def size(self, value: Optional[pulumi.Input[builtins.int]]): + def size(self, value: Optional[pulumi.Input[_builtins.int]]): pulumi.set(self, "size", value) - @property + @_builtins.property @pulumi.getter def source(self) -> Optional[pulumi.Input['VolumeSourceArgs']]: """ @@ -308,16 +307,16 @@ def source(self) -> Optional[pulumi.Input['VolumeSourceArgs']]: def source(self, value: Optional[pulumi.Input['VolumeSourceArgs']]): pulumi.set(self, "source", value) - @property + @_builtins.property @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[builtins.str]]: + def volume_id(self) -> Optional[pulumi.Input[_builtins.str]]: """ The volume ID. """ return pulumi.get(self, "volume_id") @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[builtins.str]]): + def volume_id(self, value: Optional[pulumi.Input[_builtins.str]]): pulumi.set(self, "volume_id", value) @@ -327,13 +326,13 @@ class Volume(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - performance_class: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - size: Optional[pulumi.Input[builtins.int]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + performance_class: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + size: Optional[pulumi.Input[_builtins.int]] = None, source: Optional[pulumi.Input[Union['VolumeSourceArgs', 'VolumeSourceArgsDict']]] = None, __props__=None): """ @@ -343,13 +342,13 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the volume. - :param pulumi.Input[builtins.str] description: The description of the volume. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the volume. - :param pulumi.Input[builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume is associated. - :param pulumi.Input[builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the volume. + :param pulumi.Input[_builtins.str] description: The description of the volume. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the volume. + :param pulumi.Input[_builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume is associated. + :param pulumi.Input[_builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided :param pulumi.Input[Union['VolumeSourceArgs', 'VolumeSourceArgsDict']] source: The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided """ ... @@ -378,13 +377,13 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - performance_class: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - size: Optional[pulumi.Input[builtins.int]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + performance_class: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + size: Optional[pulumi.Input[_builtins.int]] = None, source: Optional[pulumi.Input[Union['VolumeSourceArgs', 'VolumeSourceArgsDict']]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -419,16 +418,16 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - availability_zone: Optional[pulumi.Input[builtins.str]] = None, - description: Optional[pulumi.Input[builtins.str]] = None, - labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None, - name: Optional[pulumi.Input[builtins.str]] = None, - performance_class: Optional[pulumi.Input[builtins.str]] = None, - project_id: Optional[pulumi.Input[builtins.str]] = None, - server_id: Optional[pulumi.Input[builtins.str]] = None, - size: Optional[pulumi.Input[builtins.int]] = None, + availability_zone: Optional[pulumi.Input[_builtins.str]] = None, + description: Optional[pulumi.Input[_builtins.str]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None, + name: Optional[pulumi.Input[_builtins.str]] = None, + performance_class: Optional[pulumi.Input[_builtins.str]] = None, + project_id: Optional[pulumi.Input[_builtins.str]] = None, + server_id: Optional[pulumi.Input[_builtins.str]] = None, + size: Optional[pulumi.Input[_builtins.int]] = None, source: Optional[pulumi.Input[Union['VolumeSourceArgs', 'VolumeSourceArgsDict']]] = None, - volume_id: Optional[pulumi.Input[builtins.str]] = None) -> 'Volume': + volume_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'Volume': """ Get an existing Volume resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -436,16 +435,16 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[builtins.str] availability_zone: The availability zone of the volume. - :param pulumi.Input[builtins.str] description: The description of the volume. - :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container - :param pulumi.Input[builtins.str] name: The name of the volume. - :param pulumi.Input[builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) - :param pulumi.Input[builtins.str] project_id: STACKIT project ID to which the volume is associated. - :param pulumi.Input[builtins.str] server_id: The server ID of the server to which the volume is attached to. - :param pulumi.Input[builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided + :param pulumi.Input[_builtins.str] availability_zone: The availability zone of the volume. + :param pulumi.Input[_builtins.str] description: The description of the volume. + :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Labels are key-value string pairs which can be attached to a resource container + :param pulumi.Input[_builtins.str] name: The name of the volume. + :param pulumi.Input[_builtins.str] performance_class: The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) + :param pulumi.Input[_builtins.str] project_id: STACKIT project ID to which the volume is associated. + :param pulumi.Input[_builtins.str] server_id: The server ID of the server to which the volume is attached to. + :param pulumi.Input[_builtins.int] size: The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided :param pulumi.Input[Union['VolumeSourceArgs', 'VolumeSourceArgsDict']] source: The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either `size` or `source` must be provided - :param pulumi.Input[builtins.str] volume_id: The volume ID. + :param pulumi.Input[_builtins.str] volume_id: The volume ID. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -463,71 +462,71 @@ def get(resource_name: str, __props__.__dict__["volume_id"] = volume_id return Volume(resource_name, opts=opts, __props__=__props__) - @property + @_builtins.property @pulumi.getter(name="availabilityZone") - def availability_zone(self) -> pulumi.Output[builtins.str]: + def availability_zone(self) -> pulumi.Output[_builtins.str]: """ The availability zone of the volume. """ return pulumi.get(self, "availability_zone") - @property + @_builtins.property @pulumi.getter - def description(self) -> pulumi.Output[builtins.str]: + def description(self) -> pulumi.Output[_builtins.str]: """ The description of the volume. """ return pulumi.get(self, "description") - @property + @_builtins.property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]: """ Labels are key-value string pairs which can be attached to a resource container """ return pulumi.get(self, "labels") - @property + @_builtins.property @pulumi.getter - def name(self) -> pulumi.Output[builtins.str]: + def name(self) -> pulumi.Output[_builtins.str]: """ The name of the volume. """ return pulumi.get(self, "name") - @property + @_builtins.property @pulumi.getter(name="performanceClass") - def performance_class(self) -> pulumi.Output[builtins.str]: + def performance_class(self) -> pulumi.Output[_builtins.str]: """ The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29) """ return pulumi.get(self, "performance_class") - @property + @_builtins.property @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Output[builtins.str]: + def project_id(self) -> pulumi.Output[_builtins.str]: """ STACKIT project ID to which the volume is associated. """ return pulumi.get(self, "project_id") - @property + @_builtins.property @pulumi.getter(name="serverId") - def server_id(self) -> pulumi.Output[builtins.str]: + def server_id(self) -> pulumi.Output[_builtins.str]: """ The server ID of the server to which the volume is attached to. """ return pulumi.get(self, "server_id") - @property + @_builtins.property @pulumi.getter - def size(self) -> pulumi.Output[builtins.int]: + def size(self) -> pulumi.Output[_builtins.int]: """ The size of the volume in GB. It can only be updated to a larger value than the current size. Either `size` or `source` must be provided """ return pulumi.get(self, "size") - @property + @_builtins.property @pulumi.getter def source(self) -> pulumi.Output[Optional['outputs.VolumeSource']]: """ @@ -535,9 +534,9 @@ def source(self) -> pulumi.Output[Optional['outputs.VolumeSource']]: """ return pulumi.get(self, "source") - @property + @_builtins.property @pulumi.getter(name="volumeId") - def volume_id(self) -> pulumi.Output[builtins.str]: + def volume_id(self) -> pulumi.Output[_builtins.str]: """ The volume ID. """ diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 1599caad..8f657e7d 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -2,7 +2,7 @@ # *** WARNING: this file was generated by pulumi-language-python. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -import builtins +import builtins as _builtins import errno from setuptools import setup, find_packages from setuptools.command.install import install