From fffac8c2c7b3bd7244e78f5c81a837ad0488ea46 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Mon, 11 Mar 2024 04:32:42 -0700 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.77.0 (#650) This PR was generated via `$ upgrade-provider pulumi/pulumi-digitalocean --kind=bridge --pr-reviewers=iwahbe`. --- - Upgrading pulumi-terraform-bridge from v3.76.0 to v3.77.0. --- examples/go.mod | 4 +- examples/go.sum | 8 +- .../pulumi-resource-digitalocean/schema.json | 170 +-- provider/go.mod | 40 +- provider/go.sum | 822 +++++++++++- sdk/dotnet/App.cs | 6 + sdk/dotnet/Cdn.cs | 6 + sdk/dotnet/Certificate.cs | 9 + sdk/dotnet/ContainerRegistry.cs | 2 + .../ContainerRegistryDockerCredentials.cs | 6 + sdk/dotnet/CustomImage.cs | 2 + sdk/dotnet/DatabaseCluster.cs | 18 + sdk/dotnet/DatabaseConnectionPool.cs | 5 +- sdk/dotnet/DatabaseDb.cs | 5 +- sdk/dotnet/DatabaseFirewall.cs | 11 +- sdk/dotnet/DatabaseKafkaTopic.cs | 3 + sdk/dotnet/DatabaseMysqlConfig.cs | 2 + sdk/dotnet/DatabaseRedisConfig.cs | 2 + sdk/dotnet/DatabaseReplica.cs | 5 +- sdk/dotnet/DatabaseUser.cs | 11 +- sdk/dotnet/DnsRecord.cs | 6 +- sdk/dotnet/Domain.cs | 2 + sdk/dotnet/Droplet.cs | 2 + sdk/dotnet/DropletSnapshot.cs | 2 + sdk/dotnet/Firewall.cs | 2 + sdk/dotnet/FloatingIp.cs | 2 + sdk/dotnet/FloatingIpAssignment.cs | 4 +- sdk/dotnet/GetAccount.cs | 12 +- sdk/dotnet/GetApp.cs | 12 +- sdk/dotnet/GetCertificate.cs | 12 +- sdk/dotnet/GetContainerRegistry.cs | 14 +- sdk/dotnet/GetDatabaseCa.cs | 12 +- sdk/dotnet/GetDatabaseCluster.cs | 12 +- sdk/dotnet/GetDatabaseConnectionPool.cs | 12 +- sdk/dotnet/GetDatabaseReplica.cs | 12 +- sdk/dotnet/GetDatabaseUser.cs | 12 +- sdk/dotnet/GetDomain.cs | 52 + sdk/dotnet/GetDomains.cs | 12 +- sdk/dotnet/GetDroplet.cs | 20 +- sdk/dotnet/GetDropletSnapshot.cs | 16 +- sdk/dotnet/GetDroplets.cs | 16 +- sdk/dotnet/GetFirewall.cs | 12 +- sdk/dotnet/GetFloatingIp.cs | 12 +- sdk/dotnet/GetImage.cs | 20 +- sdk/dotnet/GetImages.cs | 16 +- sdk/dotnet/GetKubernetesVersions.cs | 34 +- sdk/dotnet/GetLoadBalancer.cs | 16 +- sdk/dotnet/GetProject.cs | 12 +- sdk/dotnet/GetProjects.cs | 16 +- sdk/dotnet/GetRecord.cs | 56 + sdk/dotnet/GetRegion.cs | 12 +- sdk/dotnet/GetRegions.cs | 16 +- sdk/dotnet/GetReservedIp.cs | 12 +- sdk/dotnet/GetSpacesBucket.cs | 12 +- sdk/dotnet/GetSpacesBucketObject.cs | 12 +- sdk/dotnet/GetSpacesBuckets.cs | 16 +- sdk/dotnet/GetSshKey.cs | 12 +- sdk/dotnet/GetSshKeys.cs | 16 +- sdk/dotnet/GetTag.cs | 12 +- sdk/dotnet/GetTags.cs | 12 +- sdk/dotnet/GetVolume.cs | 16 +- sdk/dotnet/GetVolumeSnapshot.cs | 16 +- sdk/dotnet/GetVpc.cs | 18 +- sdk/dotnet/KubernetesCluster.cs | 14 +- sdk/dotnet/KubernetesNodePool.cs | 16 +- sdk/dotnet/LoadBalancer.cs | 4 + sdk/dotnet/MonitorAlert.cs | 6 +- sdk/dotnet/Project.cs | 4 + sdk/dotnet/ProjectResources.cs | 2 + sdk/dotnet/ReservedIp.cs | 2 + sdk/dotnet/ReservedIpAssignment.cs | 4 +- sdk/dotnet/SpacesBucket.cs | 8 + sdk/dotnet/SpacesBucketCorsConfiguration.cs | 3 + sdk/dotnet/SpacesBucketObject.cs | 5 + sdk/dotnet/SpacesBucketPolicy.cs | 3 + sdk/dotnet/SshKey.cs | 2 + sdk/dotnet/Tag.cs | 2 + sdk/dotnet/Volume.cs | 4 + sdk/dotnet/VolumeAttachment.cs | 2 + sdk/dotnet/VolumeSnapshot.cs | 2 + sdk/dotnet/Vpc.cs | 5 + sdk/go.mod | 3 +- sdk/go.sum | 6 +- sdk/go/digitalocean/app.go | 6 + sdk/go/digitalocean/cdn.go | 6 + sdk/go/digitalocean/certificate.go | 9 + sdk/go/digitalocean/containerRegistry.go | 2 + .../containerRegistryDockerCredentials.go | 6 + sdk/go/digitalocean/customImage.go | 2 + sdk/go/digitalocean/databaseCluster.go | 18 + sdk/go/digitalocean/databaseConnectionPool.go | 7 +- sdk/go/digitalocean/databaseDb.go | 7 +- sdk/go/digitalocean/databaseFirewall.go | 13 +- sdk/go/digitalocean/databaseKafkaTopic.go | 3 + sdk/go/digitalocean/databaseMysqlConfig.go | 2 + sdk/go/digitalocean/databaseRedisConfig.go | 2 + sdk/go/digitalocean/databaseReplica.go | 7 +- sdk/go/digitalocean/databaseUser.go | 13 +- sdk/go/digitalocean/dnsRecord.go | 6 +- sdk/go/digitalocean/domain.go | 2 + sdk/go/digitalocean/droplet.go | 2 + sdk/go/digitalocean/dropletSnapshot.go | 2 + sdk/go/digitalocean/firewall.go | 2 + sdk/go/digitalocean/floatingIp.go | 2 + sdk/go/digitalocean/floatingIpAssignment.go | 6 +- sdk/go/digitalocean/getAccount.go | 2 + sdk/go/digitalocean/getApp.go | 2 + sdk/go/digitalocean/getCertificate.go | 2 + sdk/go/digitalocean/getContainerRegistry.go | 3 + sdk/go/digitalocean/getDatabaseCa.go | 2 + sdk/go/digitalocean/getDatabaseCluster.go | 2 + .../digitalocean/getDatabaseConnectionPool.go | 2 + sdk/go/digitalocean/getDatabaseReplica.go | 2 + sdk/go/digitalocean/getDatabaseUser.go | 2 + sdk/go/digitalocean/getDomain.go | 31 + sdk/go/digitalocean/getDomains.go | 2 + sdk/go/digitalocean/getDroplet.go | 6 + sdk/go/digitalocean/getDropletSnapshot.go | 4 + sdk/go/digitalocean/getDroplets.go | 4 + sdk/go/digitalocean/getFirewall.go | 2 + sdk/go/digitalocean/getFloatingIp.go | 2 + sdk/go/digitalocean/getImage.go | 6 + sdk/go/digitalocean/getImages.go | 4 + sdk/go/digitalocean/getKubernetesVersions.go | 9 + sdk/go/digitalocean/getLoadBalancer.go | 4 + sdk/go/digitalocean/getProject.go | 2 + sdk/go/digitalocean/getProjects.go | 4 + sdk/go/digitalocean/getRecord.go | 33 + sdk/go/digitalocean/getRegion.go | 2 + sdk/go/digitalocean/getRegions.go | 4 + sdk/go/digitalocean/getReservedIp.go | 2 + sdk/go/digitalocean/getSpacesBucket.go | 2 + sdk/go/digitalocean/getSpacesBucketObject.go | 2 + sdk/go/digitalocean/getSpacesBuckets.go | 4 + sdk/go/digitalocean/getSshKey.go | 2 + sdk/go/digitalocean/getSshKeys.go | 4 + sdk/go/digitalocean/getTag.go | 2 + sdk/go/digitalocean/getTags.go | 2 + sdk/go/digitalocean/getVolume.go | 4 + sdk/go/digitalocean/getVolumeSnapshot.go | 4 + sdk/go/digitalocean/getVpc.go | 5 + sdk/go/digitalocean/kubernetesCluster.go | 16 +- sdk/go/digitalocean/kubernetesNodePool.go | 18 +- sdk/go/digitalocean/loadBalancer.go | 4 + sdk/go/digitalocean/monitorAlert.go | 12 +- sdk/go/digitalocean/project.go | 4 + sdk/go/digitalocean/projectResources.go | 2 + sdk/go/digitalocean/reservedIp.go | 2 + sdk/go/digitalocean/reservedIpAssignment.go | 6 +- sdk/go/digitalocean/spacesBucket.go | 8 + .../spacesBucketCorsConfiguration.go | 3 + sdk/go/digitalocean/spacesBucketObject.go | 5 + sdk/go/digitalocean/spacesBucketPolicy.go | 3 + sdk/go/digitalocean/sshKey.go | 2 + sdk/go/digitalocean/tag.go | 2 + sdk/go/digitalocean/volume.go | 4 + sdk/go/digitalocean/volumeAttachment.go | 2 + sdk/go/digitalocean/volumeSnapshot.go | 2 + sdk/go/digitalocean/vpc.go | 5 + .../java/com/pulumi/digitalocean/App.java | 11 + .../java/com/pulumi/digitalocean/Cdn.java | 8 + .../com/pulumi/digitalocean/Certificate.java | 12 + .../digitalocean/ContainerRegistry.java | 3 + .../ContainerRegistryDockerCredentials.java | 8 + .../com/pulumi/digitalocean/CustomImage.java | 3 + .../pulumi/digitalocean/DatabaseCluster.java | 19 + .../digitalocean/DatabaseConnectionPool.java | 5 +- .../com/pulumi/digitalocean/DatabaseDb.java | 5 +- .../pulumi/digitalocean/DatabaseFirewall.java | 14 +- .../digitalocean/DatabaseKafkaTopic.java | 4 + .../digitalocean/DatabaseMysqlConfig.java | 3 + .../digitalocean/DatabaseRedisConfig.java | 3 + .../pulumi/digitalocean/DatabaseReplica.java | 5 +- .../com/pulumi/digitalocean/DatabaseUser.java | 11 +- .../digitalocean/DigitaloceanFunctions.java | 1134 +++++++++++++++++ .../com/pulumi/digitalocean/DnsRecord.java | 7 +- .../java/com/pulumi/digitalocean/Domain.java | 3 + .../java/com/pulumi/digitalocean/Droplet.java | 3 + .../pulumi/digitalocean/DropletSnapshot.java | 3 + .../com/pulumi/digitalocean/Firewall.java | 3 + .../com/pulumi/digitalocean/FloatingIp.java | 3 + .../digitalocean/FloatingIpAssignment.java | 5 +- .../digitalocean/KubernetesCluster.java | 14 +- .../digitalocean/KubernetesNodePool.java | 18 +- .../com/pulumi/digitalocean/LoadBalancer.java | 6 + .../com/pulumi/digitalocean/MonitorAlert.java | 4 +- .../pulumi/digitalocean/MonitorAlertArgs.java | 8 +- .../java/com/pulumi/digitalocean/Project.java | 6 + .../pulumi/digitalocean/ProjectResources.java | 3 + .../com/pulumi/digitalocean/ReservedIp.java | 3 + .../digitalocean/ReservedIpAssignment.java | 5 +- .../com/pulumi/digitalocean/SpacesBucket.java | 11 + .../SpacesBucketCorsConfiguration.java | 4 + .../digitalocean/SpacesBucketObject.java | 7 + .../digitalocean/SpacesBucketPolicy.java | 4 + .../java/com/pulumi/digitalocean/SshKey.java | 3 + .../java/com/pulumi/digitalocean/Tag.java | 3 + .../java/com/pulumi/digitalocean/Volume.java | 6 + .../pulumi/digitalocean/VolumeAttachment.java | 3 + .../pulumi/digitalocean/VolumeSnapshot.java | 3 + .../java/com/pulumi/digitalocean/Vpc.java | 7 + .../inputs/MonitorAlertState.java | 8 +- sdk/nodejs/app.ts | 6 + sdk/nodejs/cdn.ts | 6 + sdk/nodejs/certificate.ts | 9 + sdk/nodejs/containerRegistry.ts | 2 + .../containerRegistryDockerCredentials.ts | 6 + sdk/nodejs/customImage.ts | 2 + sdk/nodejs/databaseCluster.ts | 18 + sdk/nodejs/databaseConnectionPool.ts | 5 +- sdk/nodejs/databaseDb.ts | 5 +- sdk/nodejs/databaseFirewall.ts | 11 +- sdk/nodejs/databaseKafkaTopic.ts | 3 + sdk/nodejs/databaseMysqlConfig.ts | 2 + sdk/nodejs/databaseRedisConfig.ts | 2 + sdk/nodejs/databaseReplica.ts | 5 +- sdk/nodejs/databaseUser.ts | 11 +- sdk/nodejs/dnsRecord.ts | 6 +- sdk/nodejs/domain.ts | 2 + sdk/nodejs/droplet.ts | 2 + sdk/nodejs/dropletSnapshot.ts | 2 + sdk/nodejs/firewall.ts | 2 + sdk/nodejs/floatingIp.ts | 2 + sdk/nodejs/floatingIpAssignment.ts | 4 +- sdk/nodejs/getAccount.ts | 4 + sdk/nodejs/getApp.ts | 4 + sdk/nodejs/getCertificate.ts | 4 + sdk/nodejs/getContainerRegistry.ts | 6 + sdk/nodejs/getDatabaseCa.ts | 4 + sdk/nodejs/getDatabaseCluster.ts | 4 + sdk/nodejs/getDatabaseConnectionPool.ts | 4 + sdk/nodejs/getDatabaseReplica.ts | 4 + sdk/nodejs/getDatabaseUser.ts | 4 + sdk/nodejs/getDomain.ts | 32 + sdk/nodejs/getDomains.ts | 4 + sdk/nodejs/getDroplet.ts | 12 + sdk/nodejs/getDropletSnapshot.ts | 8 + sdk/nodejs/getDroplets.ts | 8 + sdk/nodejs/getFirewall.ts | 4 + sdk/nodejs/getFloatingIp.ts | 4 + sdk/nodejs/getImage.ts | 12 + sdk/nodejs/getImages.ts | 8 + sdk/nodejs/getKubernetesVersions.ts | 18 + sdk/nodejs/getLoadBalancer.ts | 8 + sdk/nodejs/getProject.ts | 4 + sdk/nodejs/getProjects.ts | 8 + sdk/nodejs/getRecord.ts | 36 + sdk/nodejs/getRegion.ts | 4 + sdk/nodejs/getRegions.ts | 8 + sdk/nodejs/getReservedIp.ts | 4 + sdk/nodejs/getSpacesBucket.ts | 4 + sdk/nodejs/getSpacesBucketObject.ts | 4 + sdk/nodejs/getSpacesBuckets.ts | 8 + sdk/nodejs/getSshKey.ts | 4 + sdk/nodejs/getSshKeys.ts | 8 + sdk/nodejs/getTag.ts | 4 + sdk/nodejs/getTags.ts | 4 + sdk/nodejs/getVolume.ts | 8 + sdk/nodejs/getVolumeSnapshot.ts | 8 + sdk/nodejs/getVpc.ts | 10 + sdk/nodejs/kubernetesCluster.ts | 14 +- sdk/nodejs/kubernetesNodePool.ts | 16 +- sdk/nodejs/loadBalancer.ts | 4 + sdk/nodejs/monitorAlert.ts | 6 +- sdk/nodejs/project.ts | 4 + sdk/nodejs/projectResources.ts | 2 + sdk/nodejs/reservedIp.ts | 2 + sdk/nodejs/reservedIpAssignment.ts | 4 +- sdk/nodejs/spacesBucket.ts | 8 + sdk/nodejs/spacesBucketCorsConfiguration.ts | 3 + sdk/nodejs/spacesBucketObject.ts | 5 + sdk/nodejs/spacesBucketPolicy.ts | 3 + sdk/nodejs/sshKey.ts | 2 + sdk/nodejs/tag.ts | 2 + sdk/nodejs/volume.ts | 4 + sdk/nodejs/volumeAttachment.ts | 2 + sdk/nodejs/volumeSnapshot.ts | 2 + sdk/nodejs/vpc.ts | 5 + sdk/python/pulumi_digitalocean/app.py | 12 + sdk/python/pulumi_digitalocean/cdn.py | 12 + sdk/python/pulumi_digitalocean/certificate.py | 18 + .../pulumi_digitalocean/container_registry.py | 4 + .../container_registry_docker_credentials.py | 12 + .../pulumi_digitalocean/custom_image.py | 4 + .../pulumi_digitalocean/database_cluster.py | 36 + .../database_connection_pool.py | 10 +- sdk/python/pulumi_digitalocean/database_db.py | 10 +- .../pulumi_digitalocean/database_firewall.py | 22 +- .../database_kafka_topic.py | 6 + .../database_mysql_config.py | 4 + .../database_redis_config.py | 4 + .../pulumi_digitalocean/database_replica.py | 10 +- .../pulumi_digitalocean/database_user.py | 22 +- sdk/python/pulumi_digitalocean/dns_record.py | 12 +- sdk/python/pulumi_digitalocean/domain.py | 4 + sdk/python/pulumi_digitalocean/droplet.py | 4 + .../pulumi_digitalocean/droplet_snapshot.py | 4 + sdk/python/pulumi_digitalocean/firewall.py | 4 + sdk/python/pulumi_digitalocean/floating_ip.py | 4 + .../floating_ip_assignment.py | 8 +- sdk/python/pulumi_digitalocean/get_account.py | 4 + sdk/python/pulumi_digitalocean/get_app.py | 4 + .../pulumi_digitalocean/get_certificate.py | 4 + .../get_container_registry.py | 6 + .../pulumi_digitalocean/get_database_ca.py | 4 + .../get_database_cluster.py | 4 + .../get_database_connection_pool.py | 4 + .../get_database_replica.py | 4 + .../pulumi_digitalocean/get_database_user.py | 4 + sdk/python/pulumi_digitalocean/get_domain.py | 28 + sdk/python/pulumi_digitalocean/get_domains.py | 4 + sdk/python/pulumi_digitalocean/get_droplet.py | 12 + .../get_droplet_snapshot.py | 8 + .../pulumi_digitalocean/get_droplets.py | 8 + .../pulumi_digitalocean/get_firewall.py | 4 + .../pulumi_digitalocean/get_floating_ip.py | 4 + sdk/python/pulumi_digitalocean/get_image.py | 12 + sdk/python/pulumi_digitalocean/get_images.py | 8 + .../get_kubernetes_versions.py | 18 + .../pulumi_digitalocean/get_load_balancer.py | 8 + sdk/python/pulumi_digitalocean/get_project.py | 4 + .../pulumi_digitalocean/get_projects.py | 8 + sdk/python/pulumi_digitalocean/get_record.py | 32 + sdk/python/pulumi_digitalocean/get_region.py | 4 + sdk/python/pulumi_digitalocean/get_regions.py | 8 + .../pulumi_digitalocean/get_reserved_ip.py | 4 + .../pulumi_digitalocean/get_spaces_bucket.py | 4 + .../get_spaces_bucket_object.py | 4 + .../pulumi_digitalocean/get_spaces_buckets.py | 8 + sdk/python/pulumi_digitalocean/get_ssh_key.py | 4 + .../pulumi_digitalocean/get_ssh_keys.py | 8 + sdk/python/pulumi_digitalocean/get_tag.py | 4 + sdk/python/pulumi_digitalocean/get_tags.py | 4 + sdk/python/pulumi_digitalocean/get_volume.py | 8 + .../get_volume_snapshot.py | 8 + sdk/python/pulumi_digitalocean/get_vpc.py | 10 + .../pulumi_digitalocean/kubernetes_cluster.py | 28 +- .../kubernetes_node_pool.py | 32 +- .../pulumi_digitalocean/load_balancer.py | 8 + .../pulumi_digitalocean/monitor_alert.py | 14 +- sdk/python/pulumi_digitalocean/project.py | 8 + .../pulumi_digitalocean/project_resources.py | 4 + sdk/python/pulumi_digitalocean/reserved_ip.py | 4 + .../reserved_ip_assignment.py | 8 +- .../pulumi_digitalocean/spaces_bucket.py | 16 + .../spaces_bucket_cors_configuration.py | 6 + .../spaces_bucket_object.py | 10 + .../spaces_bucket_policy.py | 6 + sdk/python/pulumi_digitalocean/ssh_key.py | 4 + sdk/python/pulumi_digitalocean/tag.py | 4 + sdk/python/pulumi_digitalocean/volume.py | 8 + .../pulumi_digitalocean/volume_attachment.py | 4 + .../pulumi_digitalocean/volume_snapshot.py | 4 + sdk/python/pulumi_digitalocean/vpc.py | 10 + 354 files changed, 4201 insertions(+), 613 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index aed6fd6c..866522d6 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-digitalocean/examples/v4 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.107.0 +require github.com/pulumi/pulumi/pkg/v3 v3.108.1 require ( cloud.google.com/go v0.110.10 // indirect @@ -135,7 +135,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.6.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.107.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.108.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index bf363e56..e3010fb1 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -1467,10 +1467,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/pkg/v3 v3.107.0 h1:HRyIl1c9ur0PVQW+GuFL1APBEuGa/fQQMp3F+WluxW8= -github.com/pulumi/pulumi/pkg/v3 v3.107.0/go.mod h1:7edfZu4FlrXdIn4339tJ+SQX5VKGqbFntmpc8cai0Zg= -github.com/pulumi/pulumi/sdk/v3 v3.107.0 h1:bef+ayh9+4KkAqXih4EjlHfQXRY24NWPwWBIQhBxTjg= -github.com/pulumi/pulumi/sdk/v3 v3.107.0/go.mod h1:Ml3rpGfyZlI4zQCG7LN2XDSmH4XUNYdyBwJ3yEr/OpI= +github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= +github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= +github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= +github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= diff --git a/provider/cmd/pulumi-resource-digitalocean/schema.json b/provider/cmd/pulumi-resource-digitalocean/schema.json index 611d2c7e..0849b5cd 100644 --- a/provider/cmd/pulumi-resource-digitalocean/schema.json +++ b/provider/cmd/pulumi-resource-digitalocean/schema.json @@ -7374,7 +7374,7 @@ }, "resources": { "digitalocean:index/app:App": { - "description": "Provides a DigitalOcean App resource.\n\n{{% examples %}}\n## Example Usage\n\nTo create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components.\n{{% example %}}\n### Basic Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst golang_sample = new digitalocean.App(\"golang-sample\", {spec: {\n name: \"golang-sample\",\n region: \"ams\",\n services: [{\n environmentSlug: \"go\",\n git: {\n branch: \"main\",\n repoCloneUrl: \"https://github.com/digitalocean/sample-golang.git\",\n },\n instanceCount: 1,\n instanceSizeSlug: \"professional-xs\",\n name: \"go-service\",\n }],\n}});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ngolang_sample = digitalocean.App(\"golang-sample\", spec=digitalocean.AppSpecArgs(\n name=\"golang-sample\",\n region=\"ams\",\n services=[digitalocean.AppSpecServiceArgs(\n environment_slug=\"go\",\n git=digitalocean.AppSpecServiceGitArgs(\n branch=\"main\",\n repo_clone_url=\"https://github.com/digitalocean/sample-golang.git\",\n ),\n instance_count=1,\n instance_size_slug=\"professional-xs\",\n name=\"go-service\",\n )],\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var golang_sample = new DigitalOcean.App(\"golang-sample\", new()\n {\n Spec = new DigitalOcean.Inputs.AppSpecArgs\n {\n Name = \"golang-sample\",\n Region = \"ams\",\n Services = new[]\n {\n new DigitalOcean.Inputs.AppSpecServiceArgs\n {\n EnvironmentSlug = \"go\",\n Git = new DigitalOcean.Inputs.AppSpecServiceGitArgs\n {\n Branch = \"main\",\n RepoCloneUrl = \"https://github.com/digitalocean/sample-golang.git\",\n },\n InstanceCount = 1,\n InstanceSizeSlug = \"professional-xs\",\n Name = \"go-service\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewApp(ctx, \"golang-sample\", \u0026digitalocean.AppArgs{\n\t\t\tSpec: \u0026digitalocean.AppSpecArgs{\n\t\t\t\tName: pulumi.String(\"golang-sample\"),\n\t\t\t\tRegion: pulumi.String(\"ams\"),\n\t\t\t\tServices: digitalocean.AppSpecServiceArray{\n\t\t\t\t\t\u0026digitalocean.AppSpecServiceArgs{\n\t\t\t\t\t\tEnvironmentSlug: pulumi.String(\"go\"),\n\t\t\t\t\t\tGit: \u0026digitalocean.AppSpecServiceGitArgs{\n\t\t\t\t\t\t\tBranch: pulumi.String(\"main\"),\n\t\t\t\t\t\t\tRepoCloneUrl: pulumi.String(\"https://github.com/digitalocean/sample-golang.git\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tInstanceCount: pulumi.Int(1),\n\t\t\t\t\t\tInstanceSizeSlug: pulumi.String(\"professional-xs\"),\n\t\t\t\t\t\tName: pulumi.String(\"go-service\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.App;\nimport com.pulumi.digitalocean.AppArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var golang_sample = new App(\"golang-sample\", AppArgs.builder() \n .spec(AppSpecArgs.builder()\n .name(\"golang-sample\")\n .region(\"ams\")\n .services(AppSpecServiceArgs.builder()\n .environmentSlug(\"go\")\n .git(AppSpecServiceGitArgs.builder()\n .branch(\"main\")\n .repoCloneUrl(\"https://github.com/digitalocean/sample-golang.git\")\n .build())\n .instanceCount(1)\n .instanceSizeSlug(\"professional-xs\")\n .name(\"go-service\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n golang-sample:\n type: digitalocean:App\n properties:\n spec:\n name: golang-sample\n region: ams\n services:\n - environmentSlug: go\n git:\n branch: main\n repoCloneUrl: https://github.com/digitalocean/sample-golang.git\n instanceCount: 1\n instanceSizeSlug: professional-xs\n name: go-service\n```\n{{% /example %}}\n{{% example %}}\n### Static Site Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst static_site_example = new digitalocean.App(\"static-site-example\", {spec: {\n name: \"static-site-example\",\n region: \"ams\",\n staticSites: [{\n buildCommand: \"bundle exec jekyll build -d ./public\",\n git: {\n branch: \"main\",\n repoCloneUrl: \"https://github.com/digitalocean/sample-jekyll.git\",\n },\n name: \"sample-jekyll\",\n outputDir: \"/public\",\n }],\n}});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstatic_site_example = digitalocean.App(\"static-site-example\", spec=digitalocean.AppSpecArgs(\n name=\"static-site-example\",\n region=\"ams\",\n static_sites=[digitalocean.AppSpecStaticSiteArgs(\n build_command=\"bundle exec jekyll build -d ./public\",\n git=digitalocean.AppSpecStaticSiteGitArgs(\n branch=\"main\",\n repo_clone_url=\"https://github.com/digitalocean/sample-jekyll.git\",\n ),\n name=\"sample-jekyll\",\n output_dir=\"/public\",\n )],\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var static_site_example = new DigitalOcean.App(\"static-site-example\", new()\n {\n Spec = new DigitalOcean.Inputs.AppSpecArgs\n {\n Name = \"static-site-example\",\n Region = \"ams\",\n StaticSites = new[]\n {\n new DigitalOcean.Inputs.AppSpecStaticSiteArgs\n {\n BuildCommand = \"bundle exec jekyll build -d ./public\",\n Git = new DigitalOcean.Inputs.AppSpecStaticSiteGitArgs\n {\n Branch = \"main\",\n RepoCloneUrl = \"https://github.com/digitalocean/sample-jekyll.git\",\n },\n Name = \"sample-jekyll\",\n OutputDir = \"/public\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewApp(ctx, \"static-site-example\", \u0026digitalocean.AppArgs{\n\t\t\tSpec: \u0026digitalocean.AppSpecArgs{\n\t\t\t\tName: pulumi.String(\"static-site-example\"),\n\t\t\t\tRegion: pulumi.String(\"ams\"),\n\t\t\t\tStaticSites: digitalocean.AppSpecStaticSiteArray{\n\t\t\t\t\t\u0026digitalocean.AppSpecStaticSiteArgs{\n\t\t\t\t\t\tBuildCommand: pulumi.String(\"bundle exec jekyll build -d ./public\"),\n\t\t\t\t\t\tGit: \u0026digitalocean.AppSpecStaticSiteGitArgs{\n\t\t\t\t\t\t\tBranch: pulumi.String(\"main\"),\n\t\t\t\t\t\t\tRepoCloneUrl: pulumi.String(\"https://github.com/digitalocean/sample-jekyll.git\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample-jekyll\"),\n\t\t\t\t\t\tOutputDir: pulumi.String(\"/public\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.App;\nimport com.pulumi.digitalocean.AppArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var static_site_example = new App(\"static-site-example\", AppArgs.builder() \n .spec(AppSpecArgs.builder()\n .name(\"static-site-example\")\n .region(\"ams\")\n .staticSites(AppSpecStaticSiteArgs.builder()\n .buildCommand(\"bundle exec jekyll build -d ./public\")\n .git(AppSpecStaticSiteGitArgs.builder()\n .branch(\"main\")\n .repoCloneUrl(\"https://github.com/digitalocean/sample-jekyll.git\")\n .build())\n .name(\"sample-jekyll\")\n .outputDir(\"/public\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n static-site-example:\n type: digitalocean:App\n properties:\n spec:\n name: static-site-example\n region: ams\n staticSites:\n - buildCommand: bundle exec jekyll build -d ./public\n git:\n branch: main\n repoCloneUrl: https://github.com/digitalocean/sample-jekyll.git\n name: sample-jekyll\n outputDir: /public\n```\n{{% /example %}}\n{{% example %}}\n### Multiple Components Example\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.App;\nimport com.pulumi.digitalocean.AppArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecIngressArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mono_repo_example = new App(\"mono-repo-example\", AppArgs.builder() \n .spec(AppSpecArgs.builder()\n .alerts(AppSpecAlertArgs.builder()\n .rule(\"DEPLOYMENT_FAILED\")\n .build())\n .databases(AppSpecDatabaseArgs.builder()\n .engine(\"PG\")\n .name(\"starter-db\")\n .production(false)\n .build())\n .domains(Map.of(\"name\", \"foo.example.com\"))\n .ingress(AppSpecIngressArgs.builder()\n .rule( \n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),\n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build())\n .name(\"mono-repo-example\")\n .region(\"ams\")\n .services(AppSpecServiceArgs.builder()\n .alert(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .environmentSlug(\"go\")\n .github(AppSpecServiceGithubArgs.builder()\n .branch(\"main\")\n .deployOnPush(true)\n .repo(\"username/repo\")\n .build())\n .httpPort(3000)\n .instanceCount(2)\n .instanceSizeSlug(\"professional-xs\")\n .logDestination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .name(\"api\")\n .runCommand(\"bin/api\")\n .sourceDir(\"api/\")\n .build())\n .staticSites(AppSpecStaticSiteArgs.builder()\n .buildCommand(\"npm run build\")\n .github(AppSpecStaticSiteGithubArgs.builder()\n .branch(\"main\")\n .deployOnPush(true)\n .repo(\"username/repo\")\n .build())\n .name(\"web\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mono-repo-example:\n type: digitalocean:App\n properties:\n spec:\n alerts:\n - rule: DEPLOYMENT_FAILED\n databases:\n - engine: PG\n name: starter-db\n production: false\n domains:\n - name: foo.example.com\n ingress:\n rule:\n - component:\n name: api\n match:\n path:\n prefix: /api\n - component:\n name: web\n match:\n path:\n prefix: /\n name: mono-repo-example\n region: ams\n services:\n - alert:\n - operator: GREATER_THAN\n rule: CPU_UTILIZATION\n value: 75\n window: TEN_MINUTES\n environmentSlug: go\n github:\n branch: main\n deployOnPush: true\n repo: username/repo\n httpPort: 3000\n instanceCount: 2\n instanceSizeSlug: professional-xs\n logDestination:\n - name: MyLogs\n papertrail:\n endpoint: syslog+tls://example.com:12345\n name: api\n runCommand: bin/api\n sourceDir: api/\n staticSites:\n - buildCommand: npm run build\n github:\n branch: main\n deployOnPush: true\n repo: username/repo\n name: web\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn app can be imported using its `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/app:App myapp fb06ad00-351f-45c8-b5eb-13523c438661\n```\n\n ", + "description": "Provides a DigitalOcean App resource.\n\n## Example Usage\n\nTo create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components.\n\n### Basic Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst golang_sample = new digitalocean.App(\"golang-sample\", {spec: {\n name: \"golang-sample\",\n region: \"ams\",\n services: [{\n environmentSlug: \"go\",\n git: {\n branch: \"main\",\n repoCloneUrl: \"https://github.com/digitalocean/sample-golang.git\",\n },\n instanceCount: 1,\n instanceSizeSlug: \"professional-xs\",\n name: \"go-service\",\n }],\n}});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ngolang_sample = digitalocean.App(\"golang-sample\", spec=digitalocean.AppSpecArgs(\n name=\"golang-sample\",\n region=\"ams\",\n services=[digitalocean.AppSpecServiceArgs(\n environment_slug=\"go\",\n git=digitalocean.AppSpecServiceGitArgs(\n branch=\"main\",\n repo_clone_url=\"https://github.com/digitalocean/sample-golang.git\",\n ),\n instance_count=1,\n instance_size_slug=\"professional-xs\",\n name=\"go-service\",\n )],\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var golang_sample = new DigitalOcean.App(\"golang-sample\", new()\n {\n Spec = new DigitalOcean.Inputs.AppSpecArgs\n {\n Name = \"golang-sample\",\n Region = \"ams\",\n Services = new[]\n {\n new DigitalOcean.Inputs.AppSpecServiceArgs\n {\n EnvironmentSlug = \"go\",\n Git = new DigitalOcean.Inputs.AppSpecServiceGitArgs\n {\n Branch = \"main\",\n RepoCloneUrl = \"https://github.com/digitalocean/sample-golang.git\",\n },\n InstanceCount = 1,\n InstanceSizeSlug = \"professional-xs\",\n Name = \"go-service\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewApp(ctx, \"golang-sample\", \u0026digitalocean.AppArgs{\n\t\t\tSpec: \u0026digitalocean.AppSpecArgs{\n\t\t\t\tName: pulumi.String(\"golang-sample\"),\n\t\t\t\tRegion: pulumi.String(\"ams\"),\n\t\t\t\tServices: digitalocean.AppSpecServiceArray{\n\t\t\t\t\t\u0026digitalocean.AppSpecServiceArgs{\n\t\t\t\t\t\tEnvironmentSlug: pulumi.String(\"go\"),\n\t\t\t\t\t\tGit: \u0026digitalocean.AppSpecServiceGitArgs{\n\t\t\t\t\t\t\tBranch: pulumi.String(\"main\"),\n\t\t\t\t\t\t\tRepoCloneUrl: pulumi.String(\"https://github.com/digitalocean/sample-golang.git\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tInstanceCount: pulumi.Int(1),\n\t\t\t\t\t\tInstanceSizeSlug: pulumi.String(\"professional-xs\"),\n\t\t\t\t\t\tName: pulumi.String(\"go-service\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.App;\nimport com.pulumi.digitalocean.AppArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var golang_sample = new App(\"golang-sample\", AppArgs.builder() \n .spec(AppSpecArgs.builder()\n .name(\"golang-sample\")\n .region(\"ams\")\n .services(AppSpecServiceArgs.builder()\n .environmentSlug(\"go\")\n .git(AppSpecServiceGitArgs.builder()\n .branch(\"main\")\n .repoCloneUrl(\"https://github.com/digitalocean/sample-golang.git\")\n .build())\n .instanceCount(1)\n .instanceSizeSlug(\"professional-xs\")\n .name(\"go-service\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n golang-sample:\n type: digitalocean:App\n properties:\n spec:\n name: golang-sample\n region: ams\n services:\n - environmentSlug: go\n git:\n branch: main\n repoCloneUrl: https://github.com/digitalocean/sample-golang.git\n instanceCount: 1\n instanceSizeSlug: professional-xs\n name: go-service\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Static Site Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst static_site_example = new digitalocean.App(\"static-site-example\", {spec: {\n name: \"static-site-example\",\n region: \"ams\",\n staticSites: [{\n buildCommand: \"bundle exec jekyll build -d ./public\",\n git: {\n branch: \"main\",\n repoCloneUrl: \"https://github.com/digitalocean/sample-jekyll.git\",\n },\n name: \"sample-jekyll\",\n outputDir: \"/public\",\n }],\n}});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstatic_site_example = digitalocean.App(\"static-site-example\", spec=digitalocean.AppSpecArgs(\n name=\"static-site-example\",\n region=\"ams\",\n static_sites=[digitalocean.AppSpecStaticSiteArgs(\n build_command=\"bundle exec jekyll build -d ./public\",\n git=digitalocean.AppSpecStaticSiteGitArgs(\n branch=\"main\",\n repo_clone_url=\"https://github.com/digitalocean/sample-jekyll.git\",\n ),\n name=\"sample-jekyll\",\n output_dir=\"/public\",\n )],\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var static_site_example = new DigitalOcean.App(\"static-site-example\", new()\n {\n Spec = new DigitalOcean.Inputs.AppSpecArgs\n {\n Name = \"static-site-example\",\n Region = \"ams\",\n StaticSites = new[]\n {\n new DigitalOcean.Inputs.AppSpecStaticSiteArgs\n {\n BuildCommand = \"bundle exec jekyll build -d ./public\",\n Git = new DigitalOcean.Inputs.AppSpecStaticSiteGitArgs\n {\n Branch = \"main\",\n RepoCloneUrl = \"https://github.com/digitalocean/sample-jekyll.git\",\n },\n Name = \"sample-jekyll\",\n OutputDir = \"/public\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewApp(ctx, \"static-site-example\", \u0026digitalocean.AppArgs{\n\t\t\tSpec: \u0026digitalocean.AppSpecArgs{\n\t\t\t\tName: pulumi.String(\"static-site-example\"),\n\t\t\t\tRegion: pulumi.String(\"ams\"),\n\t\t\t\tStaticSites: digitalocean.AppSpecStaticSiteArray{\n\t\t\t\t\t\u0026digitalocean.AppSpecStaticSiteArgs{\n\t\t\t\t\t\tBuildCommand: pulumi.String(\"bundle exec jekyll build -d ./public\"),\n\t\t\t\t\t\tGit: \u0026digitalocean.AppSpecStaticSiteGitArgs{\n\t\t\t\t\t\t\tBranch: pulumi.String(\"main\"),\n\t\t\t\t\t\t\tRepoCloneUrl: pulumi.String(\"https://github.com/digitalocean/sample-jekyll.git\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample-jekyll\"),\n\t\t\t\t\t\tOutputDir: pulumi.String(\"/public\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.App;\nimport com.pulumi.digitalocean.AppArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var static_site_example = new App(\"static-site-example\", AppArgs.builder() \n .spec(AppSpecArgs.builder()\n .name(\"static-site-example\")\n .region(\"ams\")\n .staticSites(AppSpecStaticSiteArgs.builder()\n .buildCommand(\"bundle exec jekyll build -d ./public\")\n .git(AppSpecStaticSiteGitArgs.builder()\n .branch(\"main\")\n .repoCloneUrl(\"https://github.com/digitalocean/sample-jekyll.git\")\n .build())\n .name(\"sample-jekyll\")\n .outputDir(\"/public\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n static-site-example:\n type: digitalocean:App\n properties:\n spec:\n name: static-site-example\n region: ams\n staticSites:\n - buildCommand: bundle exec jekyll build -d ./public\n git:\n branch: main\n repoCloneUrl: https://github.com/digitalocean/sample-jekyll.git\n name: sample-jekyll\n outputDir: /public\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Multiple Components Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.App;\nimport com.pulumi.digitalocean.AppArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecArgs;\nimport com.pulumi.digitalocean.inputs.AppSpecIngressArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mono_repo_example = new App(\"mono-repo-example\", AppArgs.builder() \n .spec(AppSpecArgs.builder()\n .alerts(AppSpecAlertArgs.builder()\n .rule(\"DEPLOYMENT_FAILED\")\n .build())\n .databases(AppSpecDatabaseArgs.builder()\n .engine(\"PG\")\n .name(\"starter-db\")\n .production(false)\n .build())\n .domains(Map.of(\"name\", \"foo.example.com\"))\n .ingress(AppSpecIngressArgs.builder()\n .rule( \n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),\n %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build())\n .name(\"mono-repo-example\")\n .region(\"ams\")\n .services(AppSpecServiceArgs.builder()\n .alert(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .environmentSlug(\"go\")\n .github(AppSpecServiceGithubArgs.builder()\n .branch(\"main\")\n .deployOnPush(true)\n .repo(\"username/repo\")\n .build())\n .httpPort(3000)\n .instanceCount(2)\n .instanceSizeSlug(\"professional-xs\")\n .logDestination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .name(\"api\")\n .runCommand(\"bin/api\")\n .sourceDir(\"api/\")\n .build())\n .staticSites(AppSpecStaticSiteArgs.builder()\n .buildCommand(\"npm run build\")\n .github(AppSpecStaticSiteGithubArgs.builder()\n .branch(\"main\")\n .deployOnPush(true)\n .repo(\"username/repo\")\n .build())\n .name(\"web\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mono-repo-example:\n type: digitalocean:App\n properties:\n spec:\n alerts:\n - rule: DEPLOYMENT_FAILED\n databases:\n - engine: PG\n name: starter-db\n production: false\n domains:\n - name: foo.example.com\n ingress:\n rule:\n - component:\n name: api\n match:\n path:\n prefix: /api\n - component:\n name: web\n match:\n path:\n prefix: /\n name: mono-repo-example\n region: ams\n services:\n - alert:\n - operator: GREATER_THAN\n rule: CPU_UTILIZATION\n value: 75\n window: TEN_MINUTES\n environmentSlug: go\n github:\n branch: main\n deployOnPush: true\n repo: username/repo\n httpPort: 3000\n instanceCount: 2\n instanceSizeSlug: professional-xs\n logDestination:\n - name: MyLogs\n papertrail:\n endpoint: syslog+tls://example.com:12345\n name: api\n runCommand: bin/api\n sourceDir: api/\n staticSites:\n - buildCommand: npm run build\n github:\n branch: main\n deployOnPush: true\n repo: username/repo\n name: web\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAn app can be imported using its `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/app:App myapp fb06ad00-351f-45c8-b5eb-13523c438661\n```\n\n", "properties": { "activeDeploymentId": { "type": "string", @@ -7470,7 +7470,7 @@ } }, "digitalocean:index/cdn:Cdn": { - "description": "Provides a DigitalOcean CDN Endpoint resource for use with Spaces.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new Spaces Bucket\nconst mybucket = new digitalocean.SpacesBucket(\"mybucket\", {\n region: \"sfo2\",\n acl: \"public-read\",\n});\n// Add a CDN endpoint to the Spaces Bucket\nconst mycdn = new digitalocean.Cdn(\"mycdn\", {origin: mybucket.bucketDomainName});\nexport const fqdn = mycdn.endpoint;\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new Spaces Bucket\nmybucket = digitalocean.SpacesBucket(\"mybucket\",\n region=\"sfo2\",\n acl=\"public-read\")\n# Add a CDN endpoint to the Spaces Bucket\nmycdn = digitalocean.Cdn(\"mycdn\", origin=mybucket.bucket_domain_name)\npulumi.export(\"fqdn\", mycdn.endpoint)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Spaces Bucket\n var mybucket = new DigitalOcean.SpacesBucket(\"mybucket\", new()\n {\n Region = \"sfo2\",\n Acl = \"public-read\",\n });\n\n // Add a CDN endpoint to the Spaces Bucket\n var mycdn = new DigitalOcean.Cdn(\"mycdn\", new()\n {\n Origin = mybucket.BucketDomainName,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"fqdn\"] = mycdn.Endpoint,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new Spaces Bucket\n\t\tmybucket, err := digitalocean.NewSpacesBucket(ctx, \"mybucket\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"sfo2\"),\n\t\t\tAcl: pulumi.String(\"public-read\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add a CDN endpoint to the Spaces Bucket\n\t\tmycdn, err := digitalocean.NewCdn(ctx, \"mycdn\", \u0026digitalocean.CdnArgs{\n\t\t\tOrigin: mybucket.BucketDomainName,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"fqdn\", mycdn.Endpoint)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.Cdn;\nimport com.pulumi.digitalocean.CdnArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mybucket = new SpacesBucket(\"mybucket\", SpacesBucketArgs.builder() \n .region(\"sfo2\")\n .acl(\"public-read\")\n .build());\n\n var mycdn = new Cdn(\"mycdn\", CdnArgs.builder() \n .origin(mybucket.bucketDomainName())\n .build());\n\n ctx.export(\"fqdn\", mycdn.endpoint());\n }\n}\n```\n```yaml\nresources:\n # Create a new Spaces Bucket\n mybucket:\n type: digitalocean:SpacesBucket\n properties:\n region: sfo2\n acl: public-read\n # Add a CDN endpoint to the Spaces Bucket\n mycdn:\n type: digitalocean:Cdn\n properties:\n origin: ${mybucket.bucketDomainName}\noutputs:\n # Output the endpoint for the CDN resource\n fqdn: ${mycdn.endpoint}\n```\n{{% /example %}}\n{{% example %}}\n### Custom Sub-Domain Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new Spaces Bucket\nconst mybucket = new digitalocean.SpacesBucket(\"mybucket\", {\n region: \"sfo2\",\n acl: \"public-read\",\n});\n// Create a DigitalOcean managed Let's Encrypt Certificate\nconst cert = new digitalocean.Certificate(\"cert\", {\n type: \"lets_encrypt\",\n domains: [\"static.example.com\"],\n});\n// Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\nconst mycdn = new digitalocean.Cdn(\"mycdn\", {\n origin: mybucket.bucketDomainName,\n customDomain: \"static.example.com\",\n certificateName: cert.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new Spaces Bucket\nmybucket = digitalocean.SpacesBucket(\"mybucket\",\n region=\"sfo2\",\n acl=\"public-read\")\n# Create a DigitalOcean managed Let's Encrypt Certificate\ncert = digitalocean.Certificate(\"cert\",\n type=\"lets_encrypt\",\n domains=[\"static.example.com\"])\n# Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\nmycdn = digitalocean.Cdn(\"mycdn\",\n origin=mybucket.bucket_domain_name,\n custom_domain=\"static.example.com\",\n certificate_name=cert.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Spaces Bucket\n var mybucket = new DigitalOcean.SpacesBucket(\"mybucket\", new()\n {\n Region = \"sfo2\",\n Acl = \"public-read\",\n });\n\n // Create a DigitalOcean managed Let's Encrypt Certificate\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Type = \"lets_encrypt\",\n Domains = new[]\n {\n \"static.example.com\",\n },\n });\n\n // Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\n var mycdn = new DigitalOcean.Cdn(\"mycdn\", new()\n {\n Origin = mybucket.BucketDomainName,\n CustomDomain = \"static.example.com\",\n CertificateName = cert.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new Spaces Bucket\n\t\tmybucket, err := digitalocean.NewSpacesBucket(ctx, \"mybucket\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"sfo2\"),\n\t\t\tAcl: pulumi.String(\"public-read\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a DigitalOcean managed Let's Encrypt Certificate\n\t\tcert, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tType: pulumi.String(\"lets_encrypt\"),\n\t\t\tDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"static.example.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\n\t\t_, err = digitalocean.NewCdn(ctx, \"mycdn\", \u0026digitalocean.CdnArgs{\n\t\t\tOrigin: mybucket.BucketDomainName,\n\t\t\tCustomDomain: pulumi.String(\"static.example.com\"),\n\t\t\tCertificateName: cert.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport com.pulumi.digitalocean.Cdn;\nimport com.pulumi.digitalocean.CdnArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mybucket = new SpacesBucket(\"mybucket\", SpacesBucketArgs.builder() \n .region(\"sfo2\")\n .acl(\"public-read\")\n .build());\n\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .type(\"lets_encrypt\")\n .domains(\"static.example.com\")\n .build());\n\n var mycdn = new Cdn(\"mycdn\", CdnArgs.builder() \n .origin(mybucket.bucketDomainName())\n .customDomain(\"static.example.com\")\n .certificateName(cert.name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Spaces Bucket\n mybucket:\n type: digitalocean:SpacesBucket\n properties:\n region: sfo2\n acl: public-read\n # Create a DigitalOcean managed Let's Encrypt Certificate\n cert:\n type: digitalocean:Certificate\n properties:\n type: lets_encrypt\n domains:\n - static.example.com\n # Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\n mycdn:\n type: digitalocean:Cdn\n properties:\n origin: ${mybucket.bucketDomainName}\n customDomain: static.example.com\n certificateName: ${cert.name}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCDN Endpoints can be imported using the CDN `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/cdn:Cdn mycdn fb06ad00-351f-45c8-b5eb-13523c438661\n```\n\n ", + "description": "Provides a DigitalOcean CDN Endpoint resource for use with Spaces.\n\n## Example Usage\n\n### Basic Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new Spaces Bucket\nconst mybucket = new digitalocean.SpacesBucket(\"mybucket\", {\n region: \"sfo2\",\n acl: \"public-read\",\n});\n// Add a CDN endpoint to the Spaces Bucket\nconst mycdn = new digitalocean.Cdn(\"mycdn\", {origin: mybucket.bucketDomainName});\nexport const fqdn = mycdn.endpoint;\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new Spaces Bucket\nmybucket = digitalocean.SpacesBucket(\"mybucket\",\n region=\"sfo2\",\n acl=\"public-read\")\n# Add a CDN endpoint to the Spaces Bucket\nmycdn = digitalocean.Cdn(\"mycdn\", origin=mybucket.bucket_domain_name)\npulumi.export(\"fqdn\", mycdn.endpoint)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Spaces Bucket\n var mybucket = new DigitalOcean.SpacesBucket(\"mybucket\", new()\n {\n Region = \"sfo2\",\n Acl = \"public-read\",\n });\n\n // Add a CDN endpoint to the Spaces Bucket\n var mycdn = new DigitalOcean.Cdn(\"mycdn\", new()\n {\n Origin = mybucket.BucketDomainName,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"fqdn\"] = mycdn.Endpoint,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new Spaces Bucket\n\t\tmybucket, err := digitalocean.NewSpacesBucket(ctx, \"mybucket\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"sfo2\"),\n\t\t\tAcl: pulumi.String(\"public-read\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add a CDN endpoint to the Spaces Bucket\n\t\tmycdn, err := digitalocean.NewCdn(ctx, \"mycdn\", \u0026digitalocean.CdnArgs{\n\t\t\tOrigin: mybucket.BucketDomainName,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"fqdn\", mycdn.Endpoint)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.Cdn;\nimport com.pulumi.digitalocean.CdnArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mybucket = new SpacesBucket(\"mybucket\", SpacesBucketArgs.builder() \n .region(\"sfo2\")\n .acl(\"public-read\")\n .build());\n\n var mycdn = new Cdn(\"mycdn\", CdnArgs.builder() \n .origin(mybucket.bucketDomainName())\n .build());\n\n ctx.export(\"fqdn\", mycdn.endpoint());\n }\n}\n```\n```yaml\nresources:\n # Create a new Spaces Bucket\n mybucket:\n type: digitalocean:SpacesBucket\n properties:\n region: sfo2\n acl: public-read\n # Add a CDN endpoint to the Spaces Bucket\n mycdn:\n type: digitalocean:Cdn\n properties:\n origin: ${mybucket.bucketDomainName}\noutputs:\n # Output the endpoint for the CDN resource\n fqdn: ${mycdn.endpoint}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Custom Sub-Domain Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new Spaces Bucket\nconst mybucket = new digitalocean.SpacesBucket(\"mybucket\", {\n region: \"sfo2\",\n acl: \"public-read\",\n});\n// Create a DigitalOcean managed Let's Encrypt Certificate\nconst cert = new digitalocean.Certificate(\"cert\", {\n type: \"lets_encrypt\",\n domains: [\"static.example.com\"],\n});\n// Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\nconst mycdn = new digitalocean.Cdn(\"mycdn\", {\n origin: mybucket.bucketDomainName,\n customDomain: \"static.example.com\",\n certificateName: cert.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new Spaces Bucket\nmybucket = digitalocean.SpacesBucket(\"mybucket\",\n region=\"sfo2\",\n acl=\"public-read\")\n# Create a DigitalOcean managed Let's Encrypt Certificate\ncert = digitalocean.Certificate(\"cert\",\n type=\"lets_encrypt\",\n domains=[\"static.example.com\"])\n# Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\nmycdn = digitalocean.Cdn(\"mycdn\",\n origin=mybucket.bucket_domain_name,\n custom_domain=\"static.example.com\",\n certificate_name=cert.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Spaces Bucket\n var mybucket = new DigitalOcean.SpacesBucket(\"mybucket\", new()\n {\n Region = \"sfo2\",\n Acl = \"public-read\",\n });\n\n // Create a DigitalOcean managed Let's Encrypt Certificate\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Type = \"lets_encrypt\",\n Domains = new[]\n {\n \"static.example.com\",\n },\n });\n\n // Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\n var mycdn = new DigitalOcean.Cdn(\"mycdn\", new()\n {\n Origin = mybucket.BucketDomainName,\n CustomDomain = \"static.example.com\",\n CertificateName = cert.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new Spaces Bucket\n\t\tmybucket, err := digitalocean.NewSpacesBucket(ctx, \"mybucket\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"sfo2\"),\n\t\t\tAcl: pulumi.String(\"public-read\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a DigitalOcean managed Let's Encrypt Certificate\n\t\tcert, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tType: pulumi.String(\"lets_encrypt\"),\n\t\t\tDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"static.example.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\n\t\t_, err = digitalocean.NewCdn(ctx, \"mycdn\", \u0026digitalocean.CdnArgs{\n\t\t\tOrigin: mybucket.BucketDomainName,\n\t\t\tCustomDomain: pulumi.String(\"static.example.com\"),\n\t\t\tCertificateName: cert.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport com.pulumi.digitalocean.Cdn;\nimport com.pulumi.digitalocean.CdnArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mybucket = new SpacesBucket(\"mybucket\", SpacesBucketArgs.builder() \n .region(\"sfo2\")\n .acl(\"public-read\")\n .build());\n\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .type(\"lets_encrypt\")\n .domains(\"static.example.com\")\n .build());\n\n var mycdn = new Cdn(\"mycdn\", CdnArgs.builder() \n .origin(mybucket.bucketDomainName())\n .customDomain(\"static.example.com\")\n .certificateName(cert.name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Spaces Bucket\n mybucket:\n type: digitalocean:SpacesBucket\n properties:\n region: sfo2\n acl: public-read\n # Create a DigitalOcean managed Let's Encrypt Certificate\n cert:\n type: digitalocean:Certificate\n properties:\n type: lets_encrypt\n domains:\n - static.example.com\n # Add a CDN endpoint with a custom sub-domain to the Spaces Bucket\n mycdn:\n type: digitalocean:Cdn\n properties:\n origin: ${mybucket.bucketDomainName}\n customDomain: static.example.com\n certificateName: ${cert.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCDN Endpoints can be imported using the CDN `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/cdn:Cdn mycdn fb06ad00-351f-45c8-b5eb-13523c438661\n```\n\n", "properties": { "certificateId": { "type": "string", @@ -7575,7 +7575,7 @@ } }, "digitalocean:index/certificate:Certificate": { - "description": "Provides a DigitalOcean Certificate resource that allows you to manage\ncertificates for configuring TLS termination in Load Balancers.\nCertificates created with this resource can be referenced in your\nLoad Balancer configuration via their ID. The certificate can either\nbe a custom one provided by you or automatically generated one with\nLet's Encrypt.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Custom Certificate\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\nimport * as fs from \"fs\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n type: \"custom\",\n privateKey: fs.readFileSync(\"/Users/myuser/certs/privkey.pem\", \"utf8\"),\n leafCertificate: fs.readFileSync(\"/Users/myuser/certs/cert.pem\", \"utf8\"),\n certificateChain: fs.readFileSync(\"/Users/myuser/certs/fullchain.pem\", \"utf8\"),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n type=\"custom\",\n private_key=(lambda path: open(path).read())(\"/Users/myuser/certs/privkey.pem\"),\n leaf_certificate=(lambda path: open(path).read())(\"/Users/myuser/certs/cert.pem\"),\n certificate_chain=(lambda path: open(path).read())(\"/Users/myuser/certs/fullchain.pem\"))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Type = \"custom\",\n PrivateKey = File.ReadAllText(\"/Users/myuser/certs/privkey.pem\"),\n LeafCertificate = File.ReadAllText(\"/Users/myuser/certs/cert.pem\"),\n CertificateChain = File.ReadAllText(\"/Users/myuser/certs/fullchain.pem\"),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tType: pulumi.String(\"custom\"),\n\t\t\tPrivateKey: readFileOrPanic(\"/Users/myuser/certs/privkey.pem\"),\n\t\t\tLeafCertificate: readFileOrPanic(\"/Users/myuser/certs/cert.pem\"),\n\t\t\tCertificateChain: readFileOrPanic(\"/Users/myuser/certs/fullchain.pem\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .type(\"custom\")\n .privateKey(Files.readString(Paths.get(\"/Users/myuser/certs/privkey.pem\")))\n .leafCertificate(Files.readString(Paths.get(\"/Users/myuser/certs/cert.pem\")))\n .certificateChain(Files.readString(Paths.get(\"/Users/myuser/certs/fullchain.pem\")))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n type: custom\n privateKey:\n fn::readFile: /Users/myuser/certs/privkey.pem\n leafCertificate:\n fn::readFile: /Users/myuser/certs/cert.pem\n certificateChain:\n fn::readFile: /Users/myuser/certs/fullchain.pem\n```\n{{% /example %}}\n{{% example %}}\n### Let's Encrypt Certificate\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n domains: [\"example.com\"],\n type: \"lets_encrypt\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n domains=[\"example.com\"],\n type=\"lets_encrypt\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Domains = new[]\n {\n \"example.com\",\n },\n Type = \"lets_encrypt\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"example.com\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"lets_encrypt\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .domains(\"example.com\")\n .type(\"lets_encrypt\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n domains:\n - example.com\n type: lets_encrypt\n```\n{{% /example %}}\n{{% example %}}\n### Use with Other Resources\n\nBoth custom and Let's Encrypt certificates can be used with other resources\nincluding the `digitalocean.LoadBalancer` and `digitalocean.Cdn` resources.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n type: \"lets_encrypt\",\n domains: [\"example.com\"],\n});\n// Create a new Load Balancer with TLS termination\nconst _public = new digitalocean.LoadBalancer(\"public\", {\n region: \"nyc3\",\n dropletTag: \"backend\",\n forwardingRules: [{\n entryPort: 443,\n entryProtocol: \"https\",\n targetPort: 80,\n targetProtocol: \"http\",\n certificateName: cert.name,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n type=\"lets_encrypt\",\n domains=[\"example.com\"])\n# Create a new Load Balancer with TLS termination\npublic = digitalocean.LoadBalancer(\"public\",\n region=\"nyc3\",\n droplet_tag=\"backend\",\n forwarding_rules=[digitalocean.LoadBalancerForwardingRuleArgs(\n entry_port=443,\n entry_protocol=\"https\",\n target_port=80,\n target_protocol=\"http\",\n certificate_name=cert.name,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Type = \"lets_encrypt\",\n Domains = new[]\n {\n \"example.com\",\n },\n });\n\n // Create a new Load Balancer with TLS termination\n var @public = new DigitalOcean.LoadBalancer(\"public\", new()\n {\n Region = \"nyc3\",\n DropletTag = \"backend\",\n ForwardingRules = new[]\n {\n new DigitalOcean.Inputs.LoadBalancerForwardingRuleArgs\n {\n EntryPort = 443,\n EntryProtocol = \"https\",\n TargetPort = 80,\n TargetProtocol = \"http\",\n CertificateName = cert.Name,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcert, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tType: pulumi.String(\"lets_encrypt\"),\n\t\t\tDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"example.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Load Balancer with TLS termination\n\t\t_, err = digitalocean.NewLoadBalancer(ctx, \"public\", \u0026digitalocean.LoadBalancerArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tDropletTag: pulumi.String(\"backend\"),\n\t\t\tForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{\n\t\t\t\t\u0026digitalocean.LoadBalancerForwardingRuleArgs{\n\t\t\t\t\tEntryPort: pulumi.Int(443),\n\t\t\t\t\tEntryProtocol: pulumi.String(\"https\"),\n\t\t\t\t\tTargetPort: pulumi.Int(80),\n\t\t\t\t\tTargetProtocol: pulumi.String(\"http\"),\n\t\t\t\t\tCertificateName: cert.Name,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport com.pulumi.digitalocean.LoadBalancer;\nimport com.pulumi.digitalocean.LoadBalancerArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerForwardingRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .type(\"lets_encrypt\")\n .domains(\"example.com\")\n .build());\n\n var public_ = new LoadBalancer(\"public\", LoadBalancerArgs.builder() \n .region(\"nyc3\")\n .dropletTag(\"backend\")\n .forwardingRules(LoadBalancerForwardingRuleArgs.builder()\n .entryPort(443)\n .entryProtocol(\"https\")\n .targetPort(80)\n .targetProtocol(\"http\")\n .certificateName(cert.name())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n type: lets_encrypt\n domains:\n - example.com\n # Create a new Load Balancer with TLS termination\n public:\n type: digitalocean:LoadBalancer\n properties:\n region: nyc3\n dropletTag: backend\n forwardingRules:\n - entryPort: 443\n entryProtocol: https\n targetPort: 80\n targetProtocol: http\n certificateName: ${cert.name}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCertificates can be imported using the certificate `name`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/certificate:Certificate mycertificate cert-01\n```\n\n ", + "description": "Provides a DigitalOcean Certificate resource that allows you to manage\ncertificates for configuring TLS termination in Load Balancers.\nCertificates created with this resource can be referenced in your\nLoad Balancer configuration via their ID. The certificate can either\nbe a custom one provided by you or automatically generated one with\nLet's Encrypt.\n\n## Example Usage\n\n### Custom Certificate\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\nimport * as fs from \"fs\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n type: \"custom\",\n privateKey: fs.readFileSync(\"/Users/myuser/certs/privkey.pem\", \"utf8\"),\n leafCertificate: fs.readFileSync(\"/Users/myuser/certs/cert.pem\", \"utf8\"),\n certificateChain: fs.readFileSync(\"/Users/myuser/certs/fullchain.pem\", \"utf8\"),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n type=\"custom\",\n private_key=(lambda path: open(path).read())(\"/Users/myuser/certs/privkey.pem\"),\n leaf_certificate=(lambda path: open(path).read())(\"/Users/myuser/certs/cert.pem\"),\n certificate_chain=(lambda path: open(path).read())(\"/Users/myuser/certs/fullchain.pem\"))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Type = \"custom\",\n PrivateKey = File.ReadAllText(\"/Users/myuser/certs/privkey.pem\"),\n LeafCertificate = File.ReadAllText(\"/Users/myuser/certs/cert.pem\"),\n CertificateChain = File.ReadAllText(\"/Users/myuser/certs/fullchain.pem\"),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tType: pulumi.String(\"custom\"),\n\t\t\tPrivateKey: readFileOrPanic(\"/Users/myuser/certs/privkey.pem\"),\n\t\t\tLeafCertificate: readFileOrPanic(\"/Users/myuser/certs/cert.pem\"),\n\t\t\tCertificateChain: readFileOrPanic(\"/Users/myuser/certs/fullchain.pem\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .type(\"custom\")\n .privateKey(Files.readString(Paths.get(\"/Users/myuser/certs/privkey.pem\")))\n .leafCertificate(Files.readString(Paths.get(\"/Users/myuser/certs/cert.pem\")))\n .certificateChain(Files.readString(Paths.get(\"/Users/myuser/certs/fullchain.pem\")))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n type: custom\n privateKey:\n fn::readFile: /Users/myuser/certs/privkey.pem\n leafCertificate:\n fn::readFile: /Users/myuser/certs/cert.pem\n certificateChain:\n fn::readFile: /Users/myuser/certs/fullchain.pem\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Let's Encrypt Certificate\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n domains: [\"example.com\"],\n type: \"lets_encrypt\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n domains=[\"example.com\"],\n type=\"lets_encrypt\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Domains = new[]\n {\n \"example.com\",\n },\n Type = \"lets_encrypt\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"example.com\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"lets_encrypt\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .domains(\"example.com\")\n .type(\"lets_encrypt\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n domains:\n - example.com\n type: lets_encrypt\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Use with Other Resources\n\nBoth custom and Let's Encrypt certificates can be used with other resources\nincluding the `digitalocean.LoadBalancer` and `digitalocean.Cdn` resources.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n type: \"lets_encrypt\",\n domains: [\"example.com\"],\n});\n// Create a new Load Balancer with TLS termination\nconst _public = new digitalocean.LoadBalancer(\"public\", {\n region: \"nyc3\",\n dropletTag: \"backend\",\n forwardingRules: [{\n entryPort: 443,\n entryProtocol: \"https\",\n targetPort: 80,\n targetProtocol: \"http\",\n certificateName: cert.name,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n type=\"lets_encrypt\",\n domains=[\"example.com\"])\n# Create a new Load Balancer with TLS termination\npublic = digitalocean.LoadBalancer(\"public\",\n region=\"nyc3\",\n droplet_tag=\"backend\",\n forwarding_rules=[digitalocean.LoadBalancerForwardingRuleArgs(\n entry_port=443,\n entry_protocol=\"https\",\n target_port=80,\n target_protocol=\"http\",\n certificate_name=cert.name,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n Type = \"lets_encrypt\",\n Domains = new[]\n {\n \"example.com\",\n },\n });\n\n // Create a new Load Balancer with TLS termination\n var @public = new DigitalOcean.LoadBalancer(\"public\", new()\n {\n Region = \"nyc3\",\n DropletTag = \"backend\",\n ForwardingRules = new[]\n {\n new DigitalOcean.Inputs.LoadBalancerForwardingRuleArgs\n {\n EntryPort = 443,\n EntryProtocol = \"https\",\n TargetPort = 80,\n TargetProtocol = \"http\",\n CertificateName = cert.Name,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcert, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tType: pulumi.String(\"lets_encrypt\"),\n\t\t\tDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"example.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Load Balancer with TLS termination\n\t\t_, err = digitalocean.NewLoadBalancer(ctx, \"public\", \u0026digitalocean.LoadBalancerArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tDropletTag: pulumi.String(\"backend\"),\n\t\t\tForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{\n\t\t\t\t\u0026digitalocean.LoadBalancerForwardingRuleArgs{\n\t\t\t\t\tEntryPort: pulumi.Int(443),\n\t\t\t\t\tEntryProtocol: pulumi.String(\"https\"),\n\t\t\t\t\tTargetPort: pulumi.Int(80),\n\t\t\t\t\tTargetProtocol: pulumi.String(\"http\"),\n\t\t\t\t\tCertificateName: cert.Name,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport com.pulumi.digitalocean.LoadBalancer;\nimport com.pulumi.digitalocean.LoadBalancerArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerForwardingRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .type(\"lets_encrypt\")\n .domains(\"example.com\")\n .build());\n\n var public_ = new LoadBalancer(\"public\", LoadBalancerArgs.builder() \n .region(\"nyc3\")\n .dropletTag(\"backend\")\n .forwardingRules(LoadBalancerForwardingRuleArgs.builder()\n .entryPort(443)\n .entryProtocol(\"https\")\n .targetPort(80)\n .targetProtocol(\"http\")\n .certificateName(cert.name())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n type: lets_encrypt\n domains:\n - example.com\n # Create a new Load Balancer with TLS termination\n public:\n type: digitalocean:LoadBalancer\n properties:\n region: nyc3\n dropletTag: backend\n forwardingRules:\n - entryPort: 443\n entryProtocol: https\n targetPort: 80\n targetProtocol: http\n certificateName: ${cert.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCertificates can be imported using the certificate `name`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/certificate:Certificate mycertificate cert-01\n```\n\n", "properties": { "certificateChain": { "type": "string", @@ -7739,7 +7739,7 @@ } }, "digitalocean:index/containerRegistry:ContainerRegistry": { - "description": "Provides a DigitalOcean Container Registry resource. A Container Registry is\na secure, private location to store your containers for rapid deployment.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new container registry\nconst foobar = new digitalocean.ContainerRegistry(\"foobar\", {subscriptionTierSlug: \"starter\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new container registry\nfoobar = digitalocean.ContainerRegistry(\"foobar\", subscription_tier_slug=\"starter\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new container registry\n var foobar = new DigitalOcean.ContainerRegistry(\"foobar\", new()\n {\n SubscriptionTierSlug = \"starter\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new container registry\n\t\t_, err := digitalocean.NewContainerRegistry(ctx, \"foobar\", \u0026digitalocean.ContainerRegistryArgs{\n\t\t\tSubscriptionTierSlug: pulumi.String(\"starter\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.ContainerRegistry;\nimport com.pulumi.digitalocean.ContainerRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new ContainerRegistry(\"foobar\", ContainerRegistryArgs.builder() \n .subscriptionTierSlug(\"starter\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new container registry\n foobar:\n type: digitalocean:ContainerRegistry\n properties:\n subscriptionTierSlug: starter\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nContainer Registries can be imported using the `name`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/containerRegistry:ContainerRegistry myregistry registryname\n```\n\n ", + "description": "Provides a DigitalOcean Container Registry resource. A Container Registry is\na secure, private location to store your containers for rapid deployment.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new container registry\nconst foobar = new digitalocean.ContainerRegistry(\"foobar\", {subscriptionTierSlug: \"starter\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new container registry\nfoobar = digitalocean.ContainerRegistry(\"foobar\", subscription_tier_slug=\"starter\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new container registry\n var foobar = new DigitalOcean.ContainerRegistry(\"foobar\", new()\n {\n SubscriptionTierSlug = \"starter\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new container registry\n\t\t_, err := digitalocean.NewContainerRegistry(ctx, \"foobar\", \u0026digitalocean.ContainerRegistryArgs{\n\t\t\tSubscriptionTierSlug: pulumi.String(\"starter\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.ContainerRegistry;\nimport com.pulumi.digitalocean.ContainerRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new ContainerRegistry(\"foobar\", ContainerRegistryArgs.builder() \n .subscriptionTierSlug(\"starter\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new container registry\n foobar:\n type: digitalocean:ContainerRegistry\n properties:\n subscriptionTierSlug: starter\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nContainer Registries can be imported using the `name`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/containerRegistry:ContainerRegistry myregistry registryname\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -7836,7 +7836,7 @@ } }, "digitalocean:index/containerRegistryDockerCredentials:ContainerRegistryDockerCredentials": { - "description": "Get Docker credentials for your DigitalOcean container registry.\n\nAn error is triggered if the provided container registry name does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Example\n\nGet the container registry:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = new digitalocean.ContainerRegistryDockerCredentials(\"example\", {registryName: \"example\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.ContainerRegistryDockerCredentials(\"example\", registry_name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new DigitalOcean.ContainerRegistryDockerCredentials(\"example\", new()\n {\n RegistryName = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewContainerRegistryDockerCredentials(ctx, \"example\", \u0026digitalocean.ContainerRegistryDockerCredentialsArgs{\n\t\t\tRegistryName: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentials;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ContainerRegistryDockerCredentials(\"example\", ContainerRegistryDockerCredentialsArgs.builder() \n .registryName(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: digitalocean:ContainerRegistryDockerCredentials\n properties:\n registryName: example\n```\n{{% /example %}}\n{{% example %}}\n### Docker Provider Example\n\nUse the `endpoint` and `docker_credentials` with the Docker provider:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleContainerRegistry = digitalocean.getContainerRegistry({\n name: \"example\",\n});\nconst exampleContainerRegistryDockerCredentials = new digitalocean.ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", {registryName: \"example\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_container_registry = digitalocean.get_container_registry(name=\"example\")\nexample_container_registry_docker_credentials = digitalocean.ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", registry_name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleContainerRegistry = DigitalOcean.GetContainerRegistry.Invoke(new()\n {\n Name = \"example\",\n });\n\n var exampleContainerRegistryDockerCredentials = new DigitalOcean.ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", new()\n {\n RegistryName = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupContainerRegistry(ctx, \u0026digitalocean.LookupContainerRegistryArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewContainerRegistryDockerCredentials(ctx, \"exampleContainerRegistryDockerCredentials\", \u0026digitalocean.ContainerRegistryDockerCredentialsArgs{\n\t\t\tRegistryName: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetContainerRegistryArgs;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentials;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleContainerRegistry = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()\n .name(\"example\")\n .build());\n\n var exampleContainerRegistryDockerCredentials = new ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", ContainerRegistryDockerCredentialsArgs.builder() \n .registryName(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleContainerRegistryDockerCredentials:\n type: digitalocean:ContainerRegistryDockerCredentials\n properties:\n registryName: example\nvariables:\n exampleContainerRegistry:\n fn::invoke:\n Function: digitalocean:getContainerRegistry\n Arguments:\n name: example\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get Docker credentials for your DigitalOcean container registry.\n\nAn error is triggered if the provided container registry name does not exist.\n\n## Example Usage\n\n### Basic Example\n\nGet the container registry:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = new digitalocean.ContainerRegistryDockerCredentials(\"example\", {registryName: \"example\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.ContainerRegistryDockerCredentials(\"example\", registry_name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new DigitalOcean.ContainerRegistryDockerCredentials(\"example\", new()\n {\n RegistryName = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewContainerRegistryDockerCredentials(ctx, \"example\", \u0026digitalocean.ContainerRegistryDockerCredentialsArgs{\n\t\t\tRegistryName: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentials;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ContainerRegistryDockerCredentials(\"example\", ContainerRegistryDockerCredentialsArgs.builder() \n .registryName(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: digitalocean:ContainerRegistryDockerCredentials\n properties:\n registryName: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Docker Provider Example\n\nUse the `endpoint` and `docker_credentials` with the Docker provider:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleContainerRegistry = digitalocean.getContainerRegistry({\n name: \"example\",\n});\nconst exampleContainerRegistryDockerCredentials = new digitalocean.ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", {registryName: \"example\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_container_registry = digitalocean.get_container_registry(name=\"example\")\nexample_container_registry_docker_credentials = digitalocean.ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", registry_name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleContainerRegistry = DigitalOcean.GetContainerRegistry.Invoke(new()\n {\n Name = \"example\",\n });\n\n var exampleContainerRegistryDockerCredentials = new DigitalOcean.ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", new()\n {\n RegistryName = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupContainerRegistry(ctx, \u0026digitalocean.LookupContainerRegistryArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewContainerRegistryDockerCredentials(ctx, \"exampleContainerRegistryDockerCredentials\", \u0026digitalocean.ContainerRegistryDockerCredentialsArgs{\n\t\t\tRegistryName: pulumi.String(\"example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetContainerRegistryArgs;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentials;\nimport com.pulumi.digitalocean.ContainerRegistryDockerCredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleContainerRegistry = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()\n .name(\"example\")\n .build());\n\n var exampleContainerRegistryDockerCredentials = new ContainerRegistryDockerCredentials(\"exampleContainerRegistryDockerCredentials\", ContainerRegistryDockerCredentialsArgs.builder() \n .registryName(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleContainerRegistryDockerCredentials:\n type: digitalocean:ContainerRegistryDockerCredentials\n properties:\n registryName: example\nvariables:\n exampleContainerRegistry:\n fn::invoke:\n Function: digitalocean:getContainerRegistry\n Arguments:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n", "properties": { "credentialExpirationTime": { "type": "string", @@ -7913,7 +7913,7 @@ } }, "digitalocean:index/customImage:CustomImage": { - "description": "Provides a resource which can be used to create a [custom image](https://www.digitalocean.com/docs/images/custom-images/)\nfrom a URL. The URL must point to an image in one of the following file formats:\n\n- Raw (.img) with an MBR or GPT partition table\n- qcow2\n- VHDX\n- VDI\n- VMDK\n\nThe image may be compressed using gzip or bzip2. See the DigitalOcean Custom\nImage documentation for [additional requirements](https://www.digitalocean.com/docs/images/custom-images/#image-requirements).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst flatcar = new digitalocean.CustomImage(\"flatcar\", {\n url: \"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\",\n regions: [\"nyc3\"],\n});\nconst example = new digitalocean.Droplet(\"example\", {\n image: flatcar.id,\n region: \"nyc3\",\n size: \"s-1vcpu-1gb\",\n sshKeys: [\"12345\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nflatcar = digitalocean.CustomImage(\"flatcar\",\n url=\"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\",\n regions=[\"nyc3\"])\nexample = digitalocean.Droplet(\"example\",\n image=flatcar.id,\n region=\"nyc3\",\n size=\"s-1vcpu-1gb\",\n ssh_keys=[\"12345\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var flatcar = new DigitalOcean.CustomImage(\"flatcar\", new()\n {\n Url = \"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\",\n Regions = new[]\n {\n \"nyc3\",\n },\n });\n\n var example = new DigitalOcean.Droplet(\"example\", new()\n {\n Image = flatcar.Id,\n Region = \"nyc3\",\n Size = \"s-1vcpu-1gb\",\n SshKeys = new[]\n {\n \"12345\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tflatcar, err := digitalocean.NewCustomImage(ctx, \"flatcar\", \u0026digitalocean.CustomImageArgs{\n\t\t\tUrl: pulumi.String(\"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\"),\n\t\t\tRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"nyc3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"example\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: flatcar.ID(),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tSshKeys: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"12345\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.CustomImage;\nimport com.pulumi.digitalocean.CustomImageArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var flatcar = new CustomImage(\"flatcar\", CustomImageArgs.builder() \n .url(\"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\")\n .regions(\"nyc3\")\n .build());\n\n var example = new Droplet(\"example\", DropletArgs.builder() \n .image(flatcar.id())\n .region(\"nyc3\")\n .size(\"s-1vcpu-1gb\")\n .sshKeys(12345)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n flatcar:\n type: digitalocean:CustomImage\n properties:\n url: https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\n regions:\n - nyc3\n example:\n type: digitalocean:Droplet\n properties:\n image: ${flatcar.id}\n region: nyc3\n size: s-1vcpu-1gb\n sshKeys:\n - 12345\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a resource which can be used to create a [custom image](https://www.digitalocean.com/docs/images/custom-images/)\nfrom a URL. The URL must point to an image in one of the following file formats:\n\n- Raw (.img) with an MBR or GPT partition table\n- qcow2\n- VHDX\n- VDI\n- VMDK\n\nThe image may be compressed using gzip or bzip2. See the DigitalOcean Custom\nImage documentation for [additional requirements](https://www.digitalocean.com/docs/images/custom-images/#image-requirements).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst flatcar = new digitalocean.CustomImage(\"flatcar\", {\n url: \"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\",\n regions: [\"nyc3\"],\n});\nconst example = new digitalocean.Droplet(\"example\", {\n image: flatcar.id,\n region: \"nyc3\",\n size: \"s-1vcpu-1gb\",\n sshKeys: [\"12345\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nflatcar = digitalocean.CustomImage(\"flatcar\",\n url=\"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\",\n regions=[\"nyc3\"])\nexample = digitalocean.Droplet(\"example\",\n image=flatcar.id,\n region=\"nyc3\",\n size=\"s-1vcpu-1gb\",\n ssh_keys=[\"12345\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var flatcar = new DigitalOcean.CustomImage(\"flatcar\", new()\n {\n Url = \"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\",\n Regions = new[]\n {\n \"nyc3\",\n },\n });\n\n var example = new DigitalOcean.Droplet(\"example\", new()\n {\n Image = flatcar.Id,\n Region = \"nyc3\",\n Size = \"s-1vcpu-1gb\",\n SshKeys = new[]\n {\n \"12345\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tflatcar, err := digitalocean.NewCustomImage(ctx, \"flatcar\", \u0026digitalocean.CustomImageArgs{\n\t\t\tUrl: pulumi.String(\"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\"),\n\t\t\tRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"nyc3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"example\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: flatcar.ID(),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tSshKeys: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"12345\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.CustomImage;\nimport com.pulumi.digitalocean.CustomImageArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var flatcar = new CustomImage(\"flatcar\", CustomImageArgs.builder() \n .url(\"https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\")\n .regions(\"nyc3\")\n .build());\n\n var example = new Droplet(\"example\", DropletArgs.builder() \n .image(flatcar.id())\n .region(\"nyc3\")\n .size(\"s-1vcpu-1gb\")\n .sshKeys(12345)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n flatcar:\n type: digitalocean:CustomImage\n properties:\n url: https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2\n regions:\n - nyc3\n example:\n type: digitalocean:Droplet\n properties:\n image: ${flatcar.id}\n region: nyc3\n size: s-1vcpu-1gb\n sshKeys:\n - 12345\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "createdAt": { "type": "string", @@ -8099,7 +8099,7 @@ } }, "digitalocean:index/databaseCluster:DatabaseCluster": { - "description": "Provides a DigitalOcean database cluster resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new PostgreSQL database cluster\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n nodeCount: 1,\n region: \"nyc1\",\n size: \"db-s-1vcpu-1gb\",\n version: \"15\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n node_count=1,\n region=\"nyc1\",\n size=\"db-s-1vcpu-1gb\",\n version=\"15\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n NodeCount = 1,\n Region = \"nyc1\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"15\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"15\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .nodeCount(1)\n .region(\"nyc1\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"15\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n nodeCount: 1\n region: nyc1\n size: db-s-1vcpu-1gb\n version: '15'\n```\n{{% /example %}}\n{{% example %}}\n### Create a new MySQL database cluster\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst mysql_example = new digitalocean.DatabaseCluster(\"mysql-example\", {\n engine: \"mysql\",\n nodeCount: 1,\n region: \"nyc1\",\n size: \"db-s-1vcpu-1gb\",\n version: \"8\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nmysql_example = digitalocean.DatabaseCluster(\"mysql-example\",\n engine=\"mysql\",\n node_count=1,\n region=\"nyc1\",\n size=\"db-s-1vcpu-1gb\",\n version=\"8\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mysql_example = new DigitalOcean.DatabaseCluster(\"mysql-example\", new()\n {\n Engine = \"mysql\",\n NodeCount = 1,\n Region = \"nyc1\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"8\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"mysql-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"mysql\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"8\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mysql_example = new DatabaseCluster(\"mysql-example\", DatabaseClusterArgs.builder() \n .engine(\"mysql\")\n .nodeCount(1)\n .region(\"nyc1\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"8\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mysql-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: mysql\n nodeCount: 1\n region: nyc1\n size: db-s-1vcpu-1gb\n version: '8'\n```\n{{% /example %}}\n{{% example %}}\n### Create a new Redis database cluster\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst redis_example = new digitalocean.DatabaseCluster(\"redis-example\", {\n engine: \"redis\",\n nodeCount: 1,\n region: \"nyc1\",\n size: \"db-s-1vcpu-1gb\",\n version: \"7\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nredis_example = digitalocean.DatabaseCluster(\"redis-example\",\n engine=\"redis\",\n node_count=1,\n region=\"nyc1\",\n size=\"db-s-1vcpu-1gb\",\n version=\"7\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var redis_example = new DigitalOcean.DatabaseCluster(\"redis-example\", new()\n {\n Engine = \"redis\",\n NodeCount = 1,\n Region = \"nyc1\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"7\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"redis-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"redis\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var redis_example = new DatabaseCluster(\"redis-example\", DatabaseClusterArgs.builder() \n .engine(\"redis\")\n .nodeCount(1)\n .region(\"nyc1\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"7\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n redis-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: redis\n nodeCount: 1\n region: nyc1\n size: db-s-1vcpu-1gb\n version: '7'\n```\n{{% /example %}}\n{{% example %}}\n### Create a new Kafka database cluster\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst kafka_example = new digitalocean.DatabaseCluster(\"kafka-example\", {\n engine: \"kafka\",\n nodeCount: 3,\n region: \"nyc1\",\n size: \"db-s-2vcpu-2gb\",\n version: \"3.5\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkafka_example = digitalocean.DatabaseCluster(\"kafka-example\",\n engine=\"kafka\",\n node_count=3,\n region=\"nyc1\",\n size=\"db-s-2vcpu-2gb\",\n version=\"3.5\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kafka_example = new DigitalOcean.DatabaseCluster(\"kafka-example\", new()\n {\n Engine = \"kafka\",\n NodeCount = 3,\n Region = \"nyc1\",\n Size = \"db-s-2vcpu-2gb\",\n Version = \"3.5\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"kafka-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"kafka\"),\n\t\t\tNodeCount: pulumi.Int(3),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-2vcpu-2gb\"),\n\t\t\tVersion: pulumi.String(\"3.5\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kafka_example = new DatabaseCluster(\"kafka-example\", DatabaseClusterArgs.builder() \n .engine(\"kafka\")\n .nodeCount(3)\n .region(\"nyc1\")\n .size(\"db-s-2vcpu-2gb\")\n .version(\"3.5\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n kafka-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: kafka\n nodeCount: 3\n region: nyc1\n size: db-s-2vcpu-2gb\n version: '3.5'\n```\n{{% /example %}}\n{{% example %}}\n### Create a new MongoDB database cluster\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst mongodb_example = new digitalocean.DatabaseCluster(\"mongodb-example\", {\n engine: \"mongodb\",\n nodeCount: 1,\n region: \"nyc3\",\n size: \"db-s-1vcpu-1gb\",\n version: \"6\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nmongodb_example = digitalocean.DatabaseCluster(\"mongodb-example\",\n engine=\"mongodb\",\n node_count=1,\n region=\"nyc3\",\n size=\"db-s-1vcpu-1gb\",\n version=\"6\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mongodb_example = new DigitalOcean.DatabaseCluster(\"mongodb-example\", new()\n {\n Engine = \"mongodb\",\n NodeCount = 1,\n Region = \"nyc3\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"6\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"mongodb-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"mongodb\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"6\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mongodb_example = new DatabaseCluster(\"mongodb-example\", DatabaseClusterArgs.builder() \n .engine(\"mongodb\")\n .nodeCount(1)\n .region(\"nyc3\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"6\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mongodb-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: mongodb\n nodeCount: 1\n region: nyc3\n size: db-s-1vcpu-1gb\n version: '6'\n```\n{{% /example %}}\n{{% /examples %}}\n## Create a new database cluster based on a backup of an existing cluster.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst doby = new digitalocean.DatabaseCluster(\"doby\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 1,\n tags: [\"production\"],\n});\nconst dobyBackup = new digitalocean.DatabaseCluster(\"dobyBackup\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 1,\n tags: [\"production\"],\n backupRestore: {\n databaseName: \"dobydb\",\n },\n}, {\n dependsOn: [doby],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ndoby = digitalocean.DatabaseCluster(\"doby\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-2gb\",\n region=\"nyc1\",\n node_count=1,\n tags=[\"production\"])\ndoby_backup = digitalocean.DatabaseCluster(\"dobyBackup\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-2gb\",\n region=\"nyc1\",\n node_count=1,\n tags=[\"production\"],\n backup_restore=digitalocean.DatabaseClusterBackupRestoreArgs(\n database_name=\"dobydb\",\n ),\n opts=pulumi.ResourceOptions(depends_on=[doby]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var doby = new DigitalOcean.DatabaseCluster(\"doby\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n Tags = new[]\n {\n \"production\",\n },\n });\n\n var dobyBackup = new DigitalOcean.DatabaseCluster(\"dobyBackup\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n Tags = new[]\n {\n \"production\",\n },\n BackupRestore = new DigitalOcean.Inputs.DatabaseClusterBackupRestoreArgs\n {\n DatabaseName = \"dobydb\",\n },\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n doby,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdoby, err := digitalocean.NewDatabaseCluster(ctx, \"doby\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseCluster(ctx, \"dobyBackup\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"production\"),\n\t\t\t},\n\t\t\tBackupRestore: \u0026digitalocean.DatabaseClusterBackupRestoreArgs{\n\t\t\t\tDatabaseName: pulumi.String(\"dobydb\"),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tdoby,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseClusterBackupRestoreArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var doby = new DatabaseCluster(\"doby\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-2gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .tags(\"production\")\n .build());\n\n var dobyBackup = new DatabaseCluster(\"dobyBackup\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-2gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .tags(\"production\")\n .backupRestore(DatabaseClusterBackupRestoreArgs.builder()\n .databaseName(\"dobydb\")\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(doby)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n doby:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-2gb\n region: nyc1\n nodeCount: 1\n tags:\n - production\n dobyBackup:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-2gb\n region: nyc1\n nodeCount: 1\n tags:\n - production\n backupRestore:\n databaseName: dobydb\n options:\n dependson:\n - ${doby}\n```\n\n\n## Import\n\nDatabase clusters can be imported using the `id` returned from DigitalOcean, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/databaseCluster:DatabaseCluster mycluster 245bcfd0-7f31-4ce6-a2bc-475a116cca97\n```\n\n ", + "description": "Provides a DigitalOcean database cluster resource.\n\n## Example Usage\n\n### Create a new PostgreSQL database cluster\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n nodeCount: 1,\n region: \"nyc1\",\n size: \"db-s-1vcpu-1gb\",\n version: \"15\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n node_count=1,\n region=\"nyc1\",\n size=\"db-s-1vcpu-1gb\",\n version=\"15\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n NodeCount = 1,\n Region = \"nyc1\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"15\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"15\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .nodeCount(1)\n .region(\"nyc1\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"15\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n nodeCount: 1\n region: nyc1\n size: db-s-1vcpu-1gb\n version: '15'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new MySQL database cluster\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst mysql_example = new digitalocean.DatabaseCluster(\"mysql-example\", {\n engine: \"mysql\",\n nodeCount: 1,\n region: \"nyc1\",\n size: \"db-s-1vcpu-1gb\",\n version: \"8\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nmysql_example = digitalocean.DatabaseCluster(\"mysql-example\",\n engine=\"mysql\",\n node_count=1,\n region=\"nyc1\",\n size=\"db-s-1vcpu-1gb\",\n version=\"8\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mysql_example = new DigitalOcean.DatabaseCluster(\"mysql-example\", new()\n {\n Engine = \"mysql\",\n NodeCount = 1,\n Region = \"nyc1\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"8\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"mysql-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"mysql\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"8\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mysql_example = new DatabaseCluster(\"mysql-example\", DatabaseClusterArgs.builder() \n .engine(\"mysql\")\n .nodeCount(1)\n .region(\"nyc1\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"8\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mysql-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: mysql\n nodeCount: 1\n region: nyc1\n size: db-s-1vcpu-1gb\n version: '8'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new Redis database cluster\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst redis_example = new digitalocean.DatabaseCluster(\"redis-example\", {\n engine: \"redis\",\n nodeCount: 1,\n region: \"nyc1\",\n size: \"db-s-1vcpu-1gb\",\n version: \"7\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nredis_example = digitalocean.DatabaseCluster(\"redis-example\",\n engine=\"redis\",\n node_count=1,\n region=\"nyc1\",\n size=\"db-s-1vcpu-1gb\",\n version=\"7\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var redis_example = new DigitalOcean.DatabaseCluster(\"redis-example\", new()\n {\n Engine = \"redis\",\n NodeCount = 1,\n Region = \"nyc1\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"7\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"redis-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"redis\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"7\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var redis_example = new DatabaseCluster(\"redis-example\", DatabaseClusterArgs.builder() \n .engine(\"redis\")\n .nodeCount(1)\n .region(\"nyc1\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"7\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n redis-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: redis\n nodeCount: 1\n region: nyc1\n size: db-s-1vcpu-1gb\n version: '7'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new Kafka database cluster\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst kafka_example = new digitalocean.DatabaseCluster(\"kafka-example\", {\n engine: \"kafka\",\n nodeCount: 3,\n region: \"nyc1\",\n size: \"db-s-2vcpu-2gb\",\n version: \"3.5\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkafka_example = digitalocean.DatabaseCluster(\"kafka-example\",\n engine=\"kafka\",\n node_count=3,\n region=\"nyc1\",\n size=\"db-s-2vcpu-2gb\",\n version=\"3.5\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kafka_example = new DigitalOcean.DatabaseCluster(\"kafka-example\", new()\n {\n Engine = \"kafka\",\n NodeCount = 3,\n Region = \"nyc1\",\n Size = \"db-s-2vcpu-2gb\",\n Version = \"3.5\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"kafka-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"kafka\"),\n\t\t\tNodeCount: pulumi.Int(3),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.String(\"db-s-2vcpu-2gb\"),\n\t\t\tVersion: pulumi.String(\"3.5\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kafka_example = new DatabaseCluster(\"kafka-example\", DatabaseClusterArgs.builder() \n .engine(\"kafka\")\n .nodeCount(3)\n .region(\"nyc1\")\n .size(\"db-s-2vcpu-2gb\")\n .version(\"3.5\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n kafka-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: kafka\n nodeCount: 3\n region: nyc1\n size: db-s-2vcpu-2gb\n version: '3.5'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new MongoDB database cluster\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst mongodb_example = new digitalocean.DatabaseCluster(\"mongodb-example\", {\n engine: \"mongodb\",\n nodeCount: 1,\n region: \"nyc3\",\n size: \"db-s-1vcpu-1gb\",\n version: \"6\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nmongodb_example = digitalocean.DatabaseCluster(\"mongodb-example\",\n engine=\"mongodb\",\n node_count=1,\n region=\"nyc3\",\n size=\"db-s-1vcpu-1gb\",\n version=\"6\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mongodb_example = new DigitalOcean.DatabaseCluster(\"mongodb-example\", new()\n {\n Engine = \"mongodb\",\n NodeCount = 1,\n Region = \"nyc3\",\n Size = \"db-s-1vcpu-1gb\",\n Version = \"6\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"mongodb-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"mongodb\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tVersion: pulumi.String(\"6\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var mongodb_example = new DatabaseCluster(\"mongodb-example\", DatabaseClusterArgs.builder() \n .engine(\"mongodb\")\n .nodeCount(1)\n .region(\"nyc3\")\n .size(\"db-s-1vcpu-1gb\")\n .version(\"6\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mongodb-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: mongodb\n nodeCount: 1\n region: nyc3\n size: db-s-1vcpu-1gb\n version: '6'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Create a new database cluster based on a backup of an existing cluster.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst doby = new digitalocean.DatabaseCluster(\"doby\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 1,\n tags: [\"production\"],\n});\nconst dobyBackup = new digitalocean.DatabaseCluster(\"dobyBackup\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 1,\n tags: [\"production\"],\n backupRestore: {\n databaseName: \"dobydb\",\n },\n}, {\n dependsOn: [doby],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ndoby = digitalocean.DatabaseCluster(\"doby\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-2gb\",\n region=\"nyc1\",\n node_count=1,\n tags=[\"production\"])\ndoby_backup = digitalocean.DatabaseCluster(\"dobyBackup\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-2gb\",\n region=\"nyc1\",\n node_count=1,\n tags=[\"production\"],\n backup_restore=digitalocean.DatabaseClusterBackupRestoreArgs(\n database_name=\"dobydb\",\n ),\n opts=pulumi.ResourceOptions(depends_on=[doby]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var doby = new DigitalOcean.DatabaseCluster(\"doby\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n Tags = new[]\n {\n \"production\",\n },\n });\n\n var dobyBackup = new DigitalOcean.DatabaseCluster(\"dobyBackup\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n Tags = new[]\n {\n \"production\",\n },\n BackupRestore = new DigitalOcean.Inputs.DatabaseClusterBackupRestoreArgs\n {\n DatabaseName = \"dobydb\",\n },\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n doby,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdoby, err := digitalocean.NewDatabaseCluster(ctx, \"doby\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseCluster(ctx, \"dobyBackup\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"production\"),\n\t\t\t},\n\t\t\tBackupRestore: \u0026digitalocean.DatabaseClusterBackupRestoreArgs{\n\t\t\t\tDatabaseName: pulumi.String(\"dobydb\"),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tdoby,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseClusterBackupRestoreArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var doby = new DatabaseCluster(\"doby\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-2gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .tags(\"production\")\n .build());\n\n var dobyBackup = new DatabaseCluster(\"dobyBackup\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-2gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .tags(\"production\")\n .backupRestore(DatabaseClusterBackupRestoreArgs.builder()\n .databaseName(\"dobydb\")\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn(doby)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n doby:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-2gb\n region: nyc1\n nodeCount: 1\n tags:\n - production\n dobyBackup:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-2gb\n region: nyc1\n nodeCount: 1\n tags:\n - production\n backupRestore:\n databaseName: dobydb\n options:\n dependson:\n - ${doby}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase clusters can be imported using the `id` returned from DigitalOcean, e.g.\n\n```sh\n$ pulumi import digitalocean:index/databaseCluster:DatabaseCluster mycluster 245bcfd0-7f31-4ce6-a2bc-475a116cca97\n```\n\n", "properties": { "backupRestore": { "$ref": "#/types/digitalocean:index/DatabaseClusterBackupRestore:DatabaseClusterBackupRestore", @@ -8445,7 +8445,7 @@ } }, "digitalocean:index/databaseConnectionPool:DatabaseConnectionPool": { - "description": "Provides a DigitalOcean database connection pool resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new PostgreSQL database connection pool\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst pool_01 = new digitalocean.DatabaseConnectionPool(\"pool-01\", {\n clusterId: postgres_example.id,\n mode: \"transaction\",\n size: 20,\n dbName: \"defaultdb\",\n user: \"doadmin\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\npool_01 = digitalocean.DatabaseConnectionPool(\"pool-01\",\n cluster_id=postgres_example.id,\n mode=\"transaction\",\n size=20,\n db_name=\"defaultdb\",\n user=\"doadmin\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var pool_01 = new DigitalOcean.DatabaseConnectionPool(\"pool-01\", new()\n {\n ClusterId = postgres_example.Id,\n Mode = \"transaction\",\n Size = 20,\n DbName = \"defaultdb\",\n User = \"doadmin\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseConnectionPool(ctx, \"pool-01\", \u0026digitalocean.DatabaseConnectionPoolArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tMode: pulumi.String(\"transaction\"),\n\t\t\tSize: pulumi.Int(20),\n\t\t\tDbName: pulumi.String(\"defaultdb\"),\n\t\t\tUser: pulumi.String(\"doadmin\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseConnectionPool;\nimport com.pulumi.digitalocean.DatabaseConnectionPoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var pool_01 = new DatabaseConnectionPool(\"pool-01\", DatabaseConnectionPoolArgs.builder() \n .clusterId(postgres_example.id())\n .mode(\"transaction\")\n .size(20)\n .dbName(\"defaultdb\")\n .user(\"doadmin\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pool-01:\n type: digitalocean:DatabaseConnectionPool\n properties:\n clusterId: ${[\"postgres-example\"].id}\n mode: transaction\n size: 20\n dbName: defaultdb\n user: doadmin\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDatabase connection pools can be imported using the `id` of the source database cluster\n\n and the `name` of the connection pool joined with a comma. For example:\n\n ```sh\n $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01\n```\n\n ", + "description": "Provides a DigitalOcean database connection pool resource.\n\n## Example Usage\n\n### Create a new PostgreSQL database connection pool\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst pool_01 = new digitalocean.DatabaseConnectionPool(\"pool-01\", {\n clusterId: postgres_example.id,\n mode: \"transaction\",\n size: 20,\n dbName: \"defaultdb\",\n user: \"doadmin\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\npool_01 = digitalocean.DatabaseConnectionPool(\"pool-01\",\n cluster_id=postgres_example.id,\n mode=\"transaction\",\n size=20,\n db_name=\"defaultdb\",\n user=\"doadmin\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var pool_01 = new DigitalOcean.DatabaseConnectionPool(\"pool-01\", new()\n {\n ClusterId = postgres_example.Id,\n Mode = \"transaction\",\n Size = 20,\n DbName = \"defaultdb\",\n User = \"doadmin\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseConnectionPool(ctx, \"pool-01\", \u0026digitalocean.DatabaseConnectionPoolArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tMode: pulumi.String(\"transaction\"),\n\t\t\tSize: pulumi.Int(20),\n\t\t\tDbName: pulumi.String(\"defaultdb\"),\n\t\t\tUser: pulumi.String(\"doadmin\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseConnectionPool;\nimport com.pulumi.digitalocean.DatabaseConnectionPoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var pool_01 = new DatabaseConnectionPool(\"pool-01\", DatabaseConnectionPoolArgs.builder() \n .clusterId(postgres_example.id())\n .mode(\"transaction\")\n .size(20)\n .dbName(\"defaultdb\")\n .user(\"doadmin\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n pool-01:\n type: digitalocean:DatabaseConnectionPool\n properties:\n clusterId: ${[\"postgres-example\"].id}\n mode: transaction\n size: 20\n dbName: defaultdb\n user: doadmin\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase connection pools can be imported using the `id` of the source database cluster\n\nand the `name` of the connection pool joined with a comma. For example:\n\n```sh\n$ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01\n```\n\n", "properties": { "clusterId": { "type": "string", @@ -8615,7 +8615,7 @@ } }, "digitalocean:index/databaseDb:DatabaseDb": { - "description": "Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new PostgreSQL database\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst database_example = new digitalocean.DatabaseDb(\"database-example\", {clusterId: postgres_example.id});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\ndatabase_example = digitalocean.DatabaseDb(\"database-example\", cluster_id=postgres_example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var database_example = new DigitalOcean.DatabaseDb(\"database-example\", new()\n {\n ClusterId = postgres_example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseDb(ctx, \"database-example\", \u0026digitalocean.DatabaseDbArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseDb;\nimport com.pulumi.digitalocean.DatabaseDbArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var database_example = new DatabaseDb(\"database-example\", DatabaseDbArgs.builder() \n .clusterId(postgres_example.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n database-example:\n type: digitalocean:DatabaseDb\n properties:\n clusterId: ${[\"postgres-example\"].id}\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDatabase can be imported using the `id` of the source database cluster\n\n and the `name` of the database joined with a comma. For example:\n\n ```sh\n $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar\n```\n\n ", + "description": "Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster.\n\n## Example Usage\n\n### Create a new PostgreSQL database\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst database_example = new digitalocean.DatabaseDb(\"database-example\", {clusterId: postgres_example.id});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\ndatabase_example = digitalocean.DatabaseDb(\"database-example\", cluster_id=postgres_example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var database_example = new DigitalOcean.DatabaseDb(\"database-example\", new()\n {\n ClusterId = postgres_example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseDb(ctx, \"database-example\", \u0026digitalocean.DatabaseDbArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseDb;\nimport com.pulumi.digitalocean.DatabaseDbArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var database_example = new DatabaseDb(\"database-example\", DatabaseDbArgs.builder() \n .clusterId(postgres_example.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n database-example:\n type: digitalocean:DatabaseDb\n properties:\n clusterId: ${[\"postgres-example\"].id}\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase can be imported using the `id` of the source database cluster\n\nand the `name` of the database joined with a comma. For example:\n\n```sh\n$ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar\n```\n\n", "properties": { "clusterId": { "type": "string", @@ -8663,7 +8663,7 @@ } }, "digitalocean:index/databaseFirewall:DatabaseFirewall": { - "description": "Provides a DigitalOcean database firewall resource allowing you to restrict\nconnections to your database to trusted sources. You may limit connections to\nspecific Droplets, Kubernetes clusters, or IP addresses.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new database firewall allowing multiple IP addresses\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: postgres_example.id,\n rules: [\n {\n type: \"ip_addr\",\n value: \"192.168.1.1\",\n },\n {\n type: \"ip_addr\",\n value: \"192.0.2.0\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=postgres_example.id,\n rules=[\n digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.168.1.1\",\n ),\n digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.0.2.0\",\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = postgres_example.Id,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.168.1.1\",\n },\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.0.2.0\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.168.1.1\"),\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.0.2.0\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(postgres_example.id())\n .rules( \n DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.168.1.1\")\n .build(),\n DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.0.2.0\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"postgres-example\"].id}\n rules:\n - type: ip_addr\n value: 192.168.1.1\n - type: ip_addr\n value: 192.0.2.0\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n{{% /example %}}\n{{% example %}}\n### Create a new database firewall allowing a Droplet\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: postgres_example.id,\n rules: [{\n type: \"droplet\",\n value: web.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=postgres_example.id,\n rules=[digitalocean.DatabaseFirewallRuleArgs(\n type=\"droplet\",\n value=web.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = postgres_example.Id,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"droplet\",\n Value = web.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"droplet\"),\n\t\t\t\t\tValue: web.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(postgres_example.id())\n .rules(DatabaseFirewallRuleArgs.builder()\n .type(\"droplet\")\n .value(web.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"postgres-example\"].id}\n rules:\n - type: droplet\n value: ${web.id}\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n{{% /example %}}\n{{% example %}}\n### Create a new database firewall for a database replica\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst replica_example = new digitalocean.DatabaseReplica(\"replica-example\", {\n clusterId: postgres_example.id,\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n});\n// Create firewall rule for database replica\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: replica_example.uuid,\n rules: [{\n type: \"ip_addr\",\n value: \"192.168.1.1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nreplica_example = digitalocean.DatabaseReplica(\"replica-example\",\n cluster_id=postgres_example.id,\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\")\n# Create firewall rule for database replica\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=replica_example.uuid,\n rules=[digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.168.1.1\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var replica_example = new DigitalOcean.DatabaseReplica(\"replica-example\", new()\n {\n ClusterId = postgres_example.Id,\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n });\n\n // Create firewall rule for database replica\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = replica_example.Uuid,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.168.1.1\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseReplica(ctx, \"replica-example\", \u0026digitalocean.DatabaseReplicaArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create firewall rule for database replica\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: replica_example.Uuid,\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.168.1.1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseReplica;\nimport com.pulumi.digitalocean.DatabaseReplicaArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var replica_example = new DatabaseReplica(\"replica-example\", DatabaseReplicaArgs.builder() \n .clusterId(postgres_example.id())\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .build());\n\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(replica_example.uuid())\n .rules(DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.168.1.1\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n replica-example:\n type: digitalocean:DatabaseReplica\n properties:\n clusterId: ${[\"postgres-example\"].id}\n size: db-s-1vcpu-1gb\n region: nyc1\n # Create firewall rule for database replica\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"replica-example\"].uuid}\n rules:\n - type: ip_addr\n value: 192.168.1.1\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDatabase firewalls can be imported using the `id` of the target database cluster\n\n For example:\n\n ```sh\n $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54\n```\n\n ", + "description": "Provides a DigitalOcean database firewall resource allowing you to restrict\nconnections to your database to trusted sources. You may limit connections to\nspecific Droplets, Kubernetes clusters, or IP addresses.\n\n## Example Usage\n\n### Create a new database firewall allowing multiple IP addresses\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: postgres_example.id,\n rules: [\n {\n type: \"ip_addr\",\n value: \"192.168.1.1\",\n },\n {\n type: \"ip_addr\",\n value: \"192.0.2.0\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=postgres_example.id,\n rules=[\n digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.168.1.1\",\n ),\n digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.0.2.0\",\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = postgres_example.Id,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.168.1.1\",\n },\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.0.2.0\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.168.1.1\"),\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.0.2.0\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(postgres_example.id())\n .rules( \n DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.168.1.1\")\n .build(),\n DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.0.2.0\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"postgres-example\"].id}\n rules:\n - type: ip_addr\n value: 192.168.1.1\n - type: ip_addr\n value: 192.0.2.0\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new database firewall allowing a Droplet\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: postgres_example.id,\n rules: [{\n type: \"droplet\",\n value: web.id,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=postgres_example.id,\n rules=[digitalocean.DatabaseFirewallRuleArgs(\n type=\"droplet\",\n value=web.id,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = postgres_example.Id,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"droplet\",\n Value = web.Id,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"droplet\"),\n\t\t\t\t\tValue: web.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(postgres_example.id())\n .rules(DatabaseFirewallRuleArgs.builder()\n .type(\"droplet\")\n .value(web.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"postgres-example\"].id}\n rules:\n - type: droplet\n value: ${web.id}\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new database firewall for a database replica\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst replica_example = new digitalocean.DatabaseReplica(\"replica-example\", {\n clusterId: postgres_example.id,\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n});\n// Create firewall rule for database replica\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: replica_example.uuid,\n rules: [{\n type: \"ip_addr\",\n value: \"192.168.1.1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nreplica_example = digitalocean.DatabaseReplica(\"replica-example\",\n cluster_id=postgres_example.id,\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\")\n# Create firewall rule for database replica\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=replica_example.uuid,\n rules=[digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.168.1.1\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var replica_example = new DigitalOcean.DatabaseReplica(\"replica-example\", new()\n {\n ClusterId = postgres_example.Id,\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n });\n\n // Create firewall rule for database replica\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = replica_example.Uuid,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.168.1.1\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseReplica(ctx, \"replica-example\", \u0026digitalocean.DatabaseReplicaArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create firewall rule for database replica\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: replica_example.Uuid,\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.168.1.1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseReplica;\nimport com.pulumi.digitalocean.DatabaseReplicaArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var replica_example = new DatabaseReplica(\"replica-example\", DatabaseReplicaArgs.builder() \n .clusterId(postgres_example.id())\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .build());\n\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(replica_example.uuid())\n .rules(DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.168.1.1\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n replica-example:\n type: digitalocean:DatabaseReplica\n properties:\n clusterId: ${[\"postgres-example\"].id}\n size: db-s-1vcpu-1gb\n region: nyc1\n # Create firewall rule for database replica\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"replica-example\"].uuid}\n rules:\n - type: ip_addr\n value: 192.168.1.1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase firewalls can be imported using the `id` of the target database cluster\n\nFor example:\n\n```sh\n$ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54\n```\n\n", "properties": { "clusterId": { "type": "string", @@ -8719,7 +8719,7 @@ } }, "digitalocean:index/databaseKafkaTopic:DatabaseKafkaTopic": { - "description": "Provides a DigitalOcean Kafka topic for Kafka clusters.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new Kafka topic\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst kafka_example = new digitalocean.DatabaseCluster(\"kafka-example\", {\n engine: \"kafka\",\n version: \"3.5\",\n size: \"db-s-2vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 3,\n tags: [\"production\"],\n});\nconst topic_01 = new digitalocean.DatabaseKafkaTopic(\"topic-01\", {\n clusterId: kafka_example.id,\n partitionCount: 3,\n replicationFactor: 2,\n configs: [{\n cleanupPolicy: \"compact\",\n compressionType: \"uncompressed\",\n deleteRetentionMs: \"14000\",\n fileDeleteDelayMs: \"170000\",\n flushMessages: \"92233\",\n flushMs: \"92233720368\",\n indexIntervalBytes: \"40962\",\n maxCompactionLagMs: \"9223372036854775807\",\n maxMessageBytes: \"1048588\",\n messageDownConversionEnable: true,\n messageFormatVersion: \"3.0-IV1\",\n messageTimestampDifferenceMaxMs: \"9223372036854775807\",\n messageTimestampType: \"log_append_time\",\n minCleanableDirtyRatio: 0.5,\n minCompactionLagMs: \"20000\",\n minInsyncReplicas: 2,\n preallocate: false,\n retentionBytes: \"-1\",\n retentionMs: \"-1\",\n segmentBytes: \"209715200\",\n segmentIndexBytes: \"10485760\",\n segmentJitterMs: \"0\",\n segmentMs: \"604800000\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkafka_example = digitalocean.DatabaseCluster(\"kafka-example\",\n engine=\"kafka\",\n version=\"3.5\",\n size=\"db-s-2vcpu-2gb\",\n region=\"nyc1\",\n node_count=3,\n tags=[\"production\"])\ntopic_01 = digitalocean.DatabaseKafkaTopic(\"topic-01\",\n cluster_id=kafka_example.id,\n partition_count=3,\n replication_factor=2,\n configs=[digitalocean.DatabaseKafkaTopicConfigArgs(\n cleanup_policy=\"compact\",\n compression_type=\"uncompressed\",\n delete_retention_ms=\"14000\",\n file_delete_delay_ms=\"170000\",\n flush_messages=\"92233\",\n flush_ms=\"92233720368\",\n index_interval_bytes=\"40962\",\n max_compaction_lag_ms=\"9223372036854775807\",\n max_message_bytes=\"1048588\",\n message_down_conversion_enable=True,\n message_format_version=\"3.0-IV1\",\n message_timestamp_difference_max_ms=\"9223372036854775807\",\n message_timestamp_type=\"log_append_time\",\n min_cleanable_dirty_ratio=0.5,\n min_compaction_lag_ms=\"20000\",\n min_insync_replicas=2,\n preallocate=False,\n retention_bytes=\"-1\",\n retention_ms=\"-1\",\n segment_bytes=\"209715200\",\n segment_index_bytes=\"10485760\",\n segment_jitter_ms=\"0\",\n segment_ms=\"604800000\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kafka_example = new DigitalOcean.DatabaseCluster(\"kafka-example\", new()\n {\n Engine = \"kafka\",\n Version = \"3.5\",\n Size = \"db-s-2vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 3,\n Tags = new[]\n {\n \"production\",\n },\n });\n\n var topic_01 = new DigitalOcean.DatabaseKafkaTopic(\"topic-01\", new()\n {\n ClusterId = kafka_example.Id,\n PartitionCount = 3,\n ReplicationFactor = 2,\n Configs = new[]\n {\n new DigitalOcean.Inputs.DatabaseKafkaTopicConfigArgs\n {\n CleanupPolicy = \"compact\",\n CompressionType = \"uncompressed\",\n DeleteRetentionMs = \"14000\",\n FileDeleteDelayMs = \"170000\",\n FlushMessages = \"92233\",\n FlushMs = \"92233720368\",\n IndexIntervalBytes = \"40962\",\n MaxCompactionLagMs = \"9223372036854775807\",\n MaxMessageBytes = \"1048588\",\n MessageDownConversionEnable = true,\n MessageFormatVersion = \"3.0-IV1\",\n MessageTimestampDifferenceMaxMs = \"9223372036854775807\",\n MessageTimestampType = \"log_append_time\",\n MinCleanableDirtyRatio = 0.5,\n MinCompactionLagMs = \"20000\",\n MinInsyncReplicas = 2,\n Preallocate = false,\n RetentionBytes = \"-1\",\n RetentionMs = \"-1\",\n SegmentBytes = \"209715200\",\n SegmentIndexBytes = \"10485760\",\n SegmentJitterMs = \"0\",\n SegmentMs = \"604800000\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"kafka-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"kafka\"),\n\t\t\tVersion: pulumi.String(\"3.5\"),\n\t\t\tSize: pulumi.String(\"db-s-2vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(3),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseKafkaTopic(ctx, \"topic-01\", \u0026digitalocean.DatabaseKafkaTopicArgs{\n\t\t\tClusterId: kafka_example.ID(),\n\t\t\tPartitionCount: pulumi.Int(3),\n\t\t\tReplicationFactor: pulumi.Int(2),\n\t\t\tConfigs: digitalocean.DatabaseKafkaTopicConfigArray{\n\t\t\t\t\u0026digitalocean.DatabaseKafkaTopicConfigArgs{\n\t\t\t\t\tCleanupPolicy: pulumi.String(\"compact\"),\n\t\t\t\t\tCompressionType: pulumi.String(\"uncompressed\"),\n\t\t\t\t\tDeleteRetentionMs: pulumi.String(\"14000\"),\n\t\t\t\t\tFileDeleteDelayMs: pulumi.String(\"170000\"),\n\t\t\t\t\tFlushMessages: pulumi.String(\"92233\"),\n\t\t\t\t\tFlushMs: pulumi.String(\"92233720368\"),\n\t\t\t\t\tIndexIntervalBytes: pulumi.String(\"40962\"),\n\t\t\t\t\tMaxCompactionLagMs: pulumi.String(\"9223372036854775807\"),\n\t\t\t\t\tMaxMessageBytes: pulumi.String(\"1048588\"),\n\t\t\t\t\tMessageDownConversionEnable: pulumi.Bool(true),\n\t\t\t\t\tMessageFormatVersion: pulumi.String(\"3.0-IV1\"),\n\t\t\t\t\tMessageTimestampDifferenceMaxMs: pulumi.String(\"9223372036854775807\"),\n\t\t\t\t\tMessageTimestampType: pulumi.String(\"log_append_time\"),\n\t\t\t\t\tMinCleanableDirtyRatio: pulumi.Float64(0.5),\n\t\t\t\t\tMinCompactionLagMs: pulumi.String(\"20000\"),\n\t\t\t\t\tMinInsyncReplicas: pulumi.Int(2),\n\t\t\t\t\tPreallocate: pulumi.Bool(false),\n\t\t\t\t\tRetentionBytes: pulumi.String(\"-1\"),\n\t\t\t\t\tRetentionMs: pulumi.String(\"-1\"),\n\t\t\t\t\tSegmentBytes: pulumi.String(\"209715200\"),\n\t\t\t\t\tSegmentIndexBytes: pulumi.String(\"10485760\"),\n\t\t\t\t\tSegmentJitterMs: pulumi.String(\"0\"),\n\t\t\t\t\tSegmentMs: pulumi.String(\"604800000\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nTopics can be imported using the `id` of the source cluster and the `name` of the topic joined with a comma. For example:\n\n ```sh\n $ pulumi import digitalocean:index/databaseKafkaTopic:DatabaseKafkaTopic topic-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,topic-01\n```\n\n ", + "description": "Provides a DigitalOcean Kafka topic for Kafka clusters.\n\n## Example Usage\n\n### Create a new Kafka topic\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst kafka_example = new digitalocean.DatabaseCluster(\"kafka-example\", {\n engine: \"kafka\",\n version: \"3.5\",\n size: \"db-s-2vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 3,\n tags: [\"production\"],\n});\nconst topic_01 = new digitalocean.DatabaseKafkaTopic(\"topic-01\", {\n clusterId: kafka_example.id,\n partitionCount: 3,\n replicationFactor: 2,\n configs: [{\n cleanupPolicy: \"compact\",\n compressionType: \"uncompressed\",\n deleteRetentionMs: \"14000\",\n fileDeleteDelayMs: \"170000\",\n flushMessages: \"92233\",\n flushMs: \"92233720368\",\n indexIntervalBytes: \"40962\",\n maxCompactionLagMs: \"9223372036854775807\",\n maxMessageBytes: \"1048588\",\n messageDownConversionEnable: true,\n messageFormatVersion: \"3.0-IV1\",\n messageTimestampDifferenceMaxMs: \"9223372036854775807\",\n messageTimestampType: \"log_append_time\",\n minCleanableDirtyRatio: 0.5,\n minCompactionLagMs: \"20000\",\n minInsyncReplicas: 2,\n preallocate: false,\n retentionBytes: \"-1\",\n retentionMs: \"-1\",\n segmentBytes: \"209715200\",\n segmentIndexBytes: \"10485760\",\n segmentJitterMs: \"0\",\n segmentMs: \"604800000\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkafka_example = digitalocean.DatabaseCluster(\"kafka-example\",\n engine=\"kafka\",\n version=\"3.5\",\n size=\"db-s-2vcpu-2gb\",\n region=\"nyc1\",\n node_count=3,\n tags=[\"production\"])\ntopic_01 = digitalocean.DatabaseKafkaTopic(\"topic-01\",\n cluster_id=kafka_example.id,\n partition_count=3,\n replication_factor=2,\n configs=[digitalocean.DatabaseKafkaTopicConfigArgs(\n cleanup_policy=\"compact\",\n compression_type=\"uncompressed\",\n delete_retention_ms=\"14000\",\n file_delete_delay_ms=\"170000\",\n flush_messages=\"92233\",\n flush_ms=\"92233720368\",\n index_interval_bytes=\"40962\",\n max_compaction_lag_ms=\"9223372036854775807\",\n max_message_bytes=\"1048588\",\n message_down_conversion_enable=True,\n message_format_version=\"3.0-IV1\",\n message_timestamp_difference_max_ms=\"9223372036854775807\",\n message_timestamp_type=\"log_append_time\",\n min_cleanable_dirty_ratio=0.5,\n min_compaction_lag_ms=\"20000\",\n min_insync_replicas=2,\n preallocate=False,\n retention_bytes=\"-1\",\n retention_ms=\"-1\",\n segment_bytes=\"209715200\",\n segment_index_bytes=\"10485760\",\n segment_jitter_ms=\"0\",\n segment_ms=\"604800000\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kafka_example = new DigitalOcean.DatabaseCluster(\"kafka-example\", new()\n {\n Engine = \"kafka\",\n Version = \"3.5\",\n Size = \"db-s-2vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 3,\n Tags = new[]\n {\n \"production\",\n },\n });\n\n var topic_01 = new DigitalOcean.DatabaseKafkaTopic(\"topic-01\", new()\n {\n ClusterId = kafka_example.Id,\n PartitionCount = 3,\n ReplicationFactor = 2,\n Configs = new[]\n {\n new DigitalOcean.Inputs.DatabaseKafkaTopicConfigArgs\n {\n CleanupPolicy = \"compact\",\n CompressionType = \"uncompressed\",\n DeleteRetentionMs = \"14000\",\n FileDeleteDelayMs = \"170000\",\n FlushMessages = \"92233\",\n FlushMs = \"92233720368\",\n IndexIntervalBytes = \"40962\",\n MaxCompactionLagMs = \"9223372036854775807\",\n MaxMessageBytes = \"1048588\",\n MessageDownConversionEnable = true,\n MessageFormatVersion = \"3.0-IV1\",\n MessageTimestampDifferenceMaxMs = \"9223372036854775807\",\n MessageTimestampType = \"log_append_time\",\n MinCleanableDirtyRatio = 0.5,\n MinCompactionLagMs = \"20000\",\n MinInsyncReplicas = 2,\n Preallocate = false,\n RetentionBytes = \"-1\",\n RetentionMs = \"-1\",\n SegmentBytes = \"209715200\",\n SegmentIndexBytes = \"10485760\",\n SegmentJitterMs = \"0\",\n SegmentMs = \"604800000\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"kafka-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"kafka\"),\n\t\t\tVersion: pulumi.String(\"3.5\"),\n\t\t\tSize: pulumi.String(\"db-s-2vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(3),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"production\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseKafkaTopic(ctx, \"topic-01\", \u0026digitalocean.DatabaseKafkaTopicArgs{\n\t\t\tClusterId: kafka_example.ID(),\n\t\t\tPartitionCount: pulumi.Int(3),\n\t\t\tReplicationFactor: pulumi.Int(2),\n\t\t\tConfigs: digitalocean.DatabaseKafkaTopicConfigArray{\n\t\t\t\t\u0026digitalocean.DatabaseKafkaTopicConfigArgs{\n\t\t\t\t\tCleanupPolicy: pulumi.String(\"compact\"),\n\t\t\t\t\tCompressionType: pulumi.String(\"uncompressed\"),\n\t\t\t\t\tDeleteRetentionMs: pulumi.String(\"14000\"),\n\t\t\t\t\tFileDeleteDelayMs: pulumi.String(\"170000\"),\n\t\t\t\t\tFlushMessages: pulumi.String(\"92233\"),\n\t\t\t\t\tFlushMs: pulumi.String(\"92233720368\"),\n\t\t\t\t\tIndexIntervalBytes: pulumi.String(\"40962\"),\n\t\t\t\t\tMaxCompactionLagMs: pulumi.String(\"9223372036854775807\"),\n\t\t\t\t\tMaxMessageBytes: pulumi.String(\"1048588\"),\n\t\t\t\t\tMessageDownConversionEnable: pulumi.Bool(true),\n\t\t\t\t\tMessageFormatVersion: pulumi.String(\"3.0-IV1\"),\n\t\t\t\t\tMessageTimestampDifferenceMaxMs: pulumi.String(\"9223372036854775807\"),\n\t\t\t\t\tMessageTimestampType: pulumi.String(\"log_append_time\"),\n\t\t\t\t\tMinCleanableDirtyRatio: pulumi.Float64(0.5),\n\t\t\t\t\tMinCompactionLagMs: pulumi.String(\"20000\"),\n\t\t\t\t\tMinInsyncReplicas: pulumi.Int(2),\n\t\t\t\t\tPreallocate: pulumi.Bool(false),\n\t\t\t\t\tRetentionBytes: pulumi.String(\"-1\"),\n\t\t\t\t\tRetentionMs: pulumi.String(\"-1\"),\n\t\t\t\t\tSegmentBytes: pulumi.String(\"209715200\"),\n\t\t\t\t\tSegmentIndexBytes: pulumi.String(\"10485760\"),\n\t\t\t\t\tSegmentJitterMs: pulumi.String(\"0\"),\n\t\t\t\t\tSegmentMs: pulumi.String(\"604800000\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nTopics can be imported using the `id` of the source cluster and the `name` of the topic joined with a comma. For example:\n\n```sh\n$ pulumi import digitalocean:index/databaseKafkaTopic:DatabaseKafkaTopic topic-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,topic-01\n```\n\n", "properties": { "clusterId": { "type": "string", @@ -8822,7 +8822,7 @@ } }, "digitalocean:index/databaseMysqlConfig:DatabaseMysqlConfig": { - "description": "Provides a virtual resource that can be used to change advanced configuration\noptions for a DigitalOcean managed MySQL database cluster.\n\n\u003e **Note** MySQL configurations are only removed from state when destroyed. The remote configuration is not unset.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleDatabaseCluster = new digitalocean.DatabaseCluster(\"exampleDatabaseCluster\", {\n engine: \"mysql\",\n version: \"8\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst exampleDatabaseMysqlConfig = new digitalocean.DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\", {\n clusterId: exampleDatabaseCluster.id,\n connectTimeout: 10,\n defaultTimeZone: \"UTC\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_database_cluster = digitalocean.DatabaseCluster(\"exampleDatabaseCluster\",\n engine=\"mysql\",\n version=\"8\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_database_mysql_config = digitalocean.DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\",\n cluster_id=example_database_cluster.id,\n connect_timeout=10,\n default_time_zone=\"UTC\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDatabaseCluster = new DigitalOcean.DatabaseCluster(\"exampleDatabaseCluster\", new()\n {\n Engine = \"mysql\",\n Version = \"8\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var exampleDatabaseMysqlConfig = new DigitalOcean.DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\", new()\n {\n ClusterId = exampleDatabaseCluster.Id,\n ConnectTimeout = 10,\n DefaultTimeZone = \"UTC\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, \"exampleDatabaseCluster\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"mysql\"),\n\t\t\tVersion: pulumi.String(\"8\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseMysqlConfig(ctx, \"exampleDatabaseMysqlConfig\", \u0026digitalocean.DatabaseMysqlConfigArgs{\n\t\t\tClusterId: exampleDatabaseCluster.ID(),\n\t\t\tConnectTimeout: pulumi.Int(10),\n\t\t\tDefaultTimeZone: pulumi.String(\"UTC\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseMysqlConfig;\nimport com.pulumi.digitalocean.DatabaseMysqlConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleDatabaseCluster = new DatabaseCluster(\"exampleDatabaseCluster\", DatabaseClusterArgs.builder() \n .engine(\"mysql\")\n .version(\"8\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var exampleDatabaseMysqlConfig = new DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\", DatabaseMysqlConfigArgs.builder() \n .clusterId(exampleDatabaseCluster.id())\n .connectTimeout(10)\n .defaultTimeZone(\"UTC\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDatabaseMysqlConfig:\n type: digitalocean:DatabaseMysqlConfig\n properties:\n clusterId: ${exampleDatabaseCluster.id}\n connectTimeout: 10\n defaultTimeZone: UTC\n exampleDatabaseCluster:\n type: digitalocean:DatabaseCluster\n properties:\n engine: mysql\n version: '8'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nA MySQL database cluster's configuration can be imported using the `id` the parent cluster, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/databaseMysqlConfig:DatabaseMysqlConfig example 4b62829a-9c42-465b-aaa3-84051048e712\n```\n\n ", + "description": "Provides a virtual resource that can be used to change advanced configuration\noptions for a DigitalOcean managed MySQL database cluster.\n\n\u003e **Note** MySQL configurations are only removed from state when destroyed. The remote configuration is not unset.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleDatabaseCluster = new digitalocean.DatabaseCluster(\"exampleDatabaseCluster\", {\n engine: \"mysql\",\n version: \"8\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst exampleDatabaseMysqlConfig = new digitalocean.DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\", {\n clusterId: exampleDatabaseCluster.id,\n connectTimeout: 10,\n defaultTimeZone: \"UTC\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_database_cluster = digitalocean.DatabaseCluster(\"exampleDatabaseCluster\",\n engine=\"mysql\",\n version=\"8\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_database_mysql_config = digitalocean.DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\",\n cluster_id=example_database_cluster.id,\n connect_timeout=10,\n default_time_zone=\"UTC\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDatabaseCluster = new DigitalOcean.DatabaseCluster(\"exampleDatabaseCluster\", new()\n {\n Engine = \"mysql\",\n Version = \"8\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var exampleDatabaseMysqlConfig = new DigitalOcean.DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\", new()\n {\n ClusterId = exampleDatabaseCluster.Id,\n ConnectTimeout = 10,\n DefaultTimeZone = \"UTC\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, \"exampleDatabaseCluster\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"mysql\"),\n\t\t\tVersion: pulumi.String(\"8\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseMysqlConfig(ctx, \"exampleDatabaseMysqlConfig\", \u0026digitalocean.DatabaseMysqlConfigArgs{\n\t\t\tClusterId: exampleDatabaseCluster.ID(),\n\t\t\tConnectTimeout: pulumi.Int(10),\n\t\t\tDefaultTimeZone: pulumi.String(\"UTC\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseMysqlConfig;\nimport com.pulumi.digitalocean.DatabaseMysqlConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleDatabaseCluster = new DatabaseCluster(\"exampleDatabaseCluster\", DatabaseClusterArgs.builder() \n .engine(\"mysql\")\n .version(\"8\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var exampleDatabaseMysqlConfig = new DatabaseMysqlConfig(\"exampleDatabaseMysqlConfig\", DatabaseMysqlConfigArgs.builder() \n .clusterId(exampleDatabaseCluster.id())\n .connectTimeout(10)\n .defaultTimeZone(\"UTC\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDatabaseMysqlConfig:\n type: digitalocean:DatabaseMysqlConfig\n properties:\n clusterId: ${exampleDatabaseCluster.id}\n connectTimeout: 10\n defaultTimeZone: UTC\n exampleDatabaseCluster:\n type: digitalocean:DatabaseCluster\n properties:\n engine: mysql\n version: '8'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nA MySQL database cluster's configuration can be imported using the `id` the parent cluster, e.g.\n\n```sh\n$ pulumi import digitalocean:index/databaseMysqlConfig:DatabaseMysqlConfig example 4b62829a-9c42-465b-aaa3-84051048e712\n```\n\n", "properties": { "backupHour": { "type": "integer", @@ -9206,7 +9206,7 @@ } }, "digitalocean:index/databaseRedisConfig:DatabaseRedisConfig": { - "description": "Provides a virtual resource that can be used to change advanced configuration\noptions for a DigitalOcean managed Redis database cluster.\n\n\u003e **Note** Redis configurations are only removed from state when destroyed. The remote configuration is not unset.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleDatabaseCluster = new digitalocean.DatabaseCluster(\"exampleDatabaseCluster\", {\n engine: \"redis\",\n version: \"7\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst exampleDatabaseRedisConfig = new digitalocean.DatabaseRedisConfig(\"exampleDatabaseRedisConfig\", {\n clusterId: exampleDatabaseCluster.id,\n maxmemoryPolicy: \"allkeys-lru\",\n notifyKeyspaceEvents: \"KEA\",\n timeout: 90,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_database_cluster = digitalocean.DatabaseCluster(\"exampleDatabaseCluster\",\n engine=\"redis\",\n version=\"7\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_database_redis_config = digitalocean.DatabaseRedisConfig(\"exampleDatabaseRedisConfig\",\n cluster_id=example_database_cluster.id,\n maxmemory_policy=\"allkeys-lru\",\n notify_keyspace_events=\"KEA\",\n timeout=90)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDatabaseCluster = new DigitalOcean.DatabaseCluster(\"exampleDatabaseCluster\", new()\n {\n Engine = \"redis\",\n Version = \"7\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var exampleDatabaseRedisConfig = new DigitalOcean.DatabaseRedisConfig(\"exampleDatabaseRedisConfig\", new()\n {\n ClusterId = exampleDatabaseCluster.Id,\n MaxmemoryPolicy = \"allkeys-lru\",\n NotifyKeyspaceEvents = \"KEA\",\n Timeout = 90,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, \"exampleDatabaseCluster\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"redis\"),\n\t\t\tVersion: pulumi.String(\"7\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseRedisConfig(ctx, \"exampleDatabaseRedisConfig\", \u0026digitalocean.DatabaseRedisConfigArgs{\n\t\t\tClusterId: exampleDatabaseCluster.ID(),\n\t\t\tMaxmemoryPolicy: pulumi.String(\"allkeys-lru\"),\n\t\t\tNotifyKeyspaceEvents: pulumi.String(\"KEA\"),\n\t\t\tTimeout: pulumi.Int(90),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseRedisConfig;\nimport com.pulumi.digitalocean.DatabaseRedisConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleDatabaseCluster = new DatabaseCluster(\"exampleDatabaseCluster\", DatabaseClusterArgs.builder() \n .engine(\"redis\")\n .version(\"7\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var exampleDatabaseRedisConfig = new DatabaseRedisConfig(\"exampleDatabaseRedisConfig\", DatabaseRedisConfigArgs.builder() \n .clusterId(exampleDatabaseCluster.id())\n .maxmemoryPolicy(\"allkeys-lru\")\n .notifyKeyspaceEvents(\"KEA\")\n .timeout(90)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDatabaseRedisConfig:\n type: digitalocean:DatabaseRedisConfig\n properties:\n clusterId: ${exampleDatabaseCluster.id}\n maxmemoryPolicy: allkeys-lru\n notifyKeyspaceEvents: KEA\n timeout: 90\n exampleDatabaseCluster:\n type: digitalocean:DatabaseCluster\n properties:\n engine: redis\n version: '7'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nA Redis database cluster's configuration can be imported using the `id` the parent cluster, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/databaseRedisConfig:DatabaseRedisConfig example 245bcfd0-7f31-4ce6-a2bc-475a116cca97\n```\n\n ", + "description": "Provides a virtual resource that can be used to change advanced configuration\noptions for a DigitalOcean managed Redis database cluster.\n\n\u003e **Note** Redis configurations are only removed from state when destroyed. The remote configuration is not unset.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleDatabaseCluster = new digitalocean.DatabaseCluster(\"exampleDatabaseCluster\", {\n engine: \"redis\",\n version: \"7\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst exampleDatabaseRedisConfig = new digitalocean.DatabaseRedisConfig(\"exampleDatabaseRedisConfig\", {\n clusterId: exampleDatabaseCluster.id,\n maxmemoryPolicy: \"allkeys-lru\",\n notifyKeyspaceEvents: \"KEA\",\n timeout: 90,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_database_cluster = digitalocean.DatabaseCluster(\"exampleDatabaseCluster\",\n engine=\"redis\",\n version=\"7\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nexample_database_redis_config = digitalocean.DatabaseRedisConfig(\"exampleDatabaseRedisConfig\",\n cluster_id=example_database_cluster.id,\n maxmemory_policy=\"allkeys-lru\",\n notify_keyspace_events=\"KEA\",\n timeout=90)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDatabaseCluster = new DigitalOcean.DatabaseCluster(\"exampleDatabaseCluster\", new()\n {\n Engine = \"redis\",\n Version = \"7\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var exampleDatabaseRedisConfig = new DigitalOcean.DatabaseRedisConfig(\"exampleDatabaseRedisConfig\", new()\n {\n ClusterId = exampleDatabaseCluster.Id,\n MaxmemoryPolicy = \"allkeys-lru\",\n NotifyKeyspaceEvents = \"KEA\",\n Timeout = 90,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, \"exampleDatabaseCluster\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"redis\"),\n\t\t\tVersion: pulumi.String(\"7\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseRedisConfig(ctx, \"exampleDatabaseRedisConfig\", \u0026digitalocean.DatabaseRedisConfigArgs{\n\t\t\tClusterId: exampleDatabaseCluster.ID(),\n\t\t\tMaxmemoryPolicy: pulumi.String(\"allkeys-lru\"),\n\t\t\tNotifyKeyspaceEvents: pulumi.String(\"KEA\"),\n\t\t\tTimeout: pulumi.Int(90),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseRedisConfig;\nimport com.pulumi.digitalocean.DatabaseRedisConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleDatabaseCluster = new DatabaseCluster(\"exampleDatabaseCluster\", DatabaseClusterArgs.builder() \n .engine(\"redis\")\n .version(\"7\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var exampleDatabaseRedisConfig = new DatabaseRedisConfig(\"exampleDatabaseRedisConfig\", DatabaseRedisConfigArgs.builder() \n .clusterId(exampleDatabaseCluster.id())\n .maxmemoryPolicy(\"allkeys-lru\")\n .notifyKeyspaceEvents(\"KEA\")\n .timeout(90)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDatabaseRedisConfig:\n type: digitalocean:DatabaseRedisConfig\n properties:\n clusterId: ${exampleDatabaseCluster.id}\n maxmemoryPolicy: allkeys-lru\n notifyKeyspaceEvents: KEA\n timeout: 90\n exampleDatabaseCluster:\n type: digitalocean:DatabaseCluster\n properties:\n engine: redis\n version: '7'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nA Redis database cluster's configuration can be imported using the `id` the parent cluster, e.g.\n\n```sh\n$ pulumi import digitalocean:index/databaseRedisConfig:DatabaseRedisConfig example 245bcfd0-7f31-4ce6-a2bc-475a116cca97\n```\n\n", "properties": { "aclChannelsDefault": { "type": "string", @@ -9382,7 +9382,7 @@ } }, "digitalocean:index/databaseReplica:DatabaseReplica": { - "description": "Provides a DigitalOcean database replica resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new PostgreSQL database replica\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst replica_example = new digitalocean.DatabaseReplica(\"replica-example\", {\n clusterId: postgres_example.id,\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n});\nexport const uUID = replica_example.uuid;\n// Create firewall rule for database replica\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: replica_example.uuid,\n rules: [{\n type: \"ip_addr\",\n value: \"192.168.1.1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nreplica_example = digitalocean.DatabaseReplica(\"replica-example\",\n cluster_id=postgres_example.id,\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\")\npulumi.export(\"uUID\", replica_example.uuid)\n# Create firewall rule for database replica\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=replica_example.uuid,\n rules=[digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.168.1.1\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var replica_example = new DigitalOcean.DatabaseReplica(\"replica-example\", new()\n {\n ClusterId = postgres_example.Id,\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n });\n\n // Create firewall rule for database replica\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = replica_example.Uuid,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.168.1.1\",\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"uUID\"] = replica_example.Uuid,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseReplica(ctx, \"replica-example\", \u0026digitalocean.DatabaseReplicaArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"uUID\", replica_example.Uuid)\n\t\t// Create firewall rule for database replica\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: replica_example.Uuid,\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.168.1.1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseReplica;\nimport com.pulumi.digitalocean.DatabaseReplicaArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var replica_example = new DatabaseReplica(\"replica-example\", DatabaseReplicaArgs.builder() \n .clusterId(postgres_example.id())\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .build());\n\n ctx.export(\"uUID\", replica_example.uuid());\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(replica_example.uuid())\n .rules(DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.168.1.1\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n replica-example:\n type: digitalocean:DatabaseReplica\n properties:\n clusterId: ${[\"postgres-example\"].id}\n size: db-s-1vcpu-1gb\n region: nyc1\n # Create firewall rule for database replica\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"replica-example\"].uuid}\n rules:\n - type: ip_addr\n value: 192.168.1.1\noutputs:\n uUID: ${[\"replica-example\"].uuid}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDatabase replicas can be imported using the `id` of the source database cluster\n\n and the `name` of the replica joined with a comma. For example:\n\n ```sh\n $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica\n```\n\n ", + "description": "Provides a DigitalOcean database replica resource.\n\n## Example Usage\n\n### Create a new PostgreSQL database replica\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst replica_example = new digitalocean.DatabaseReplica(\"replica-example\", {\n clusterId: postgres_example.id,\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n});\nexport const uUID = replica_example.uuid;\n// Create firewall rule for database replica\nconst example_fw = new digitalocean.DatabaseFirewall(\"example-fw\", {\n clusterId: replica_example.uuid,\n rules: [{\n type: \"ip_addr\",\n value: \"192.168.1.1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nreplica_example = digitalocean.DatabaseReplica(\"replica-example\",\n cluster_id=postgres_example.id,\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\")\npulumi.export(\"uUID\", replica_example.uuid)\n# Create firewall rule for database replica\nexample_fw = digitalocean.DatabaseFirewall(\"example-fw\",\n cluster_id=replica_example.uuid,\n rules=[digitalocean.DatabaseFirewallRuleArgs(\n type=\"ip_addr\",\n value=\"192.168.1.1\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var replica_example = new DigitalOcean.DatabaseReplica(\"replica-example\", new()\n {\n ClusterId = postgres_example.Id,\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n });\n\n // Create firewall rule for database replica\n var example_fw = new DigitalOcean.DatabaseFirewall(\"example-fw\", new()\n {\n ClusterId = replica_example.Uuid,\n Rules = new[]\n {\n new DigitalOcean.Inputs.DatabaseFirewallRuleArgs\n {\n Type = \"ip_addr\",\n Value = \"192.168.1.1\",\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"uUID\"] = replica_example.Uuid,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseReplica(ctx, \"replica-example\", \u0026digitalocean.DatabaseReplicaArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"uUID\", replica_example.Uuid)\n\t\t// Create firewall rule for database replica\n\t\t_, err = digitalocean.NewDatabaseFirewall(ctx, \"example-fw\", \u0026digitalocean.DatabaseFirewallArgs{\n\t\t\tClusterId: replica_example.Uuid,\n\t\t\tRules: digitalocean.DatabaseFirewallRuleArray{\n\t\t\t\t\u0026digitalocean.DatabaseFirewallRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"ip_addr\"),\n\t\t\t\t\tValue: pulumi.String(\"192.168.1.1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseReplica;\nimport com.pulumi.digitalocean.DatabaseReplicaArgs;\nimport com.pulumi.digitalocean.DatabaseFirewall;\nimport com.pulumi.digitalocean.DatabaseFirewallArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseFirewallRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var replica_example = new DatabaseReplica(\"replica-example\", DatabaseReplicaArgs.builder() \n .clusterId(postgres_example.id())\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .build());\n\n ctx.export(\"uUID\", replica_example.uuid());\n var example_fw = new DatabaseFirewall(\"example-fw\", DatabaseFirewallArgs.builder() \n .clusterId(replica_example.uuid())\n .rules(DatabaseFirewallRuleArgs.builder()\n .type(\"ip_addr\")\n .value(\"192.168.1.1\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n replica-example:\n type: digitalocean:DatabaseReplica\n properties:\n clusterId: ${[\"postgres-example\"].id}\n size: db-s-1vcpu-1gb\n region: nyc1\n # Create firewall rule for database replica\n example-fw:\n type: digitalocean:DatabaseFirewall\n properties:\n clusterId: ${[\"replica-example\"].uuid}\n rules:\n - type: ip_addr\n value: 192.168.1.1\noutputs:\n uUID: ${[\"replica-example\"].uuid}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase replicas can be imported using the `id` of the source database cluster\n\nand the `name` of the replica joined with a comma. For example:\n\n```sh\n$ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica\n```\n\n", "properties": { "clusterId": { "type": "string", @@ -9628,7 +9628,7 @@ } }, "digitalocean:index/databaseUser:DatabaseUser": { - "description": "Provides a DigitalOcean database user resource. When creating a new database cluster, a default admin user with name `doadmin` will be created. Then, this resource can be used to provide additional normal users inside the cluster.\n\n\u003e **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a new PostgreSQL database user\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst user_example = new digitalocean.DatabaseUser(\"user-example\", {clusterId: postgres_example.id});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nuser_example = digitalocean.DatabaseUser(\"user-example\", cluster_id=postgres_example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var user_example = new DigitalOcean.DatabaseUser(\"user-example\", new()\n {\n ClusterId = postgres_example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseUser(ctx, \"user-example\", \u0026digitalocean.DatabaseUserArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseUser;\nimport com.pulumi.digitalocean.DatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var user_example = new DatabaseUser(\"user-example\", DatabaseUserArgs.builder() \n .clusterId(postgres_example.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user-example:\n type: digitalocean:DatabaseUser\n properties:\n clusterId: ${[\"postgres-example\"].id}\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n{{% /example %}}\n{{% example %}}\n### Create a new user for a PostgreSQL database replica \n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst replica_example = new digitalocean.DatabaseReplica(\"replica-example\", {\n clusterId: postgres_example.id,\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n});\nconst user_example = new digitalocean.DatabaseUser(\"user-example\", {clusterId: replica_example.uuid});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nreplica_example = digitalocean.DatabaseReplica(\"replica-example\",\n cluster_id=postgres_example.id,\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\")\nuser_example = digitalocean.DatabaseUser(\"user-example\", cluster_id=replica_example.uuid)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var replica_example = new DigitalOcean.DatabaseReplica(\"replica-example\", new()\n {\n ClusterId = postgres_example.Id,\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n });\n\n var user_example = new DigitalOcean.DatabaseUser(\"user-example\", new()\n {\n ClusterId = replica_example.Uuid,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseReplica(ctx, \"replica-example\", \u0026digitalocean.DatabaseReplicaArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseUser(ctx, \"user-example\", \u0026digitalocean.DatabaseUserArgs{\n\t\t\tClusterId: replica_example.Uuid,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseReplica;\nimport com.pulumi.digitalocean.DatabaseReplicaArgs;\nimport com.pulumi.digitalocean.DatabaseUser;\nimport com.pulumi.digitalocean.DatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var replica_example = new DatabaseReplica(\"replica-example\", DatabaseReplicaArgs.builder() \n .clusterId(postgres_example.id())\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .build());\n\n var user_example = new DatabaseUser(\"user-example\", DatabaseUserArgs.builder() \n .clusterId(replica_example.uuid())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n replica-example:\n type: digitalocean:DatabaseReplica\n properties:\n clusterId: ${[\"postgres-example\"].id}\n size: db-s-1vcpu-1gb\n region: nyc1\n user-example:\n type: digitalocean:DatabaseUser\n properties:\n clusterId: ${[\"replica-example\"].uuid}\n```\n{{% /example %}}\n{{% example %}}\n### Create a new user for a Kafka database cluster \n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst kafka_example = new digitalocean.DatabaseCluster(\"kafka-example\", {\n engine: \"kafka\",\n version: \"3.5\",\n size: \"db-s-2vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 3,\n});\nconst foobarTopic = new digitalocean.DatabaseKafkaTopic(\"foobarTopic\", {clusterId: digitalocean_database_cluster.foobar.id});\nconst foobarUser = new digitalocean.DatabaseUser(\"foobarUser\", {\n clusterId: digitalocean_database_cluster.foobar.id,\n settings: [{\n acls: [\n {\n topic: \"topic-1\",\n permission: \"produce\",\n },\n {\n topic: \"topic-2\",\n permission: \"produceconsume\",\n },\n {\n topic: \"topic-*\",\n permission: \"consume\",\n },\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkafka_example = digitalocean.DatabaseCluster(\"kafka-example\",\n engine=\"kafka\",\n version=\"3.5\",\n size=\"db-s-2vcpu-2gb\",\n region=\"nyc1\",\n node_count=3)\nfoobar_topic = digitalocean.DatabaseKafkaTopic(\"foobarTopic\", cluster_id=digitalocean_database_cluster[\"foobar\"][\"id\"])\nfoobar_user = digitalocean.DatabaseUser(\"foobarUser\",\n cluster_id=digitalocean_database_cluster[\"foobar\"][\"id\"],\n settings=[digitalocean.DatabaseUserSettingArgs(\n acls=[\n digitalocean.DatabaseUserSettingAclArgs(\n topic=\"topic-1\",\n permission=\"produce\",\n ),\n digitalocean.DatabaseUserSettingAclArgs(\n topic=\"topic-2\",\n permission=\"produceconsume\",\n ),\n digitalocean.DatabaseUserSettingAclArgs(\n topic=\"topic-*\",\n permission=\"consume\",\n ),\n ],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kafka_example = new DigitalOcean.DatabaseCluster(\"kafka-example\", new()\n {\n Engine = \"kafka\",\n Version = \"3.5\",\n Size = \"db-s-2vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 3,\n });\n\n var foobarTopic = new DigitalOcean.DatabaseKafkaTopic(\"foobarTopic\", new()\n {\n ClusterId = digitalocean_database_cluster.Foobar.Id,\n });\n\n var foobarUser = new DigitalOcean.DatabaseUser(\"foobarUser\", new()\n {\n ClusterId = digitalocean_database_cluster.Foobar.Id,\n Settings = new[]\n {\n new DigitalOcean.Inputs.DatabaseUserSettingArgs\n {\n Acls = new[]\n {\n new DigitalOcean.Inputs.DatabaseUserSettingAclArgs\n {\n Topic = \"topic-1\",\n Permission = \"produce\",\n },\n new DigitalOcean.Inputs.DatabaseUserSettingAclArgs\n {\n Topic = \"topic-2\",\n Permission = \"produceconsume\",\n },\n new DigitalOcean.Inputs.DatabaseUserSettingAclArgs\n {\n Topic = \"topic-*\",\n Permission = \"consume\",\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"kafka-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"kafka\"),\n\t\t\tVersion: pulumi.String(\"3.5\"),\n\t\t\tSize: pulumi.String(\"db-s-2vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(3),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseKafkaTopic(ctx, \"foobarTopic\", \u0026digitalocean.DatabaseKafkaTopicArgs{\n\t\t\tClusterId: pulumi.Any(digitalocean_database_cluster.Foobar.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseUser(ctx, \"foobarUser\", \u0026digitalocean.DatabaseUserArgs{\n\t\t\tClusterId: pulumi.Any(digitalocean_database_cluster.Foobar.Id),\n\t\t\tSettings: digitalocean.DatabaseUserSettingArray{\n\t\t\t\t\u0026digitalocean.DatabaseUserSettingArgs{\n\t\t\t\t\tAcls: digitalocean.DatabaseUserSettingAclArray{\n\t\t\t\t\t\t\u0026digitalocean.DatabaseUserSettingAclArgs{\n\t\t\t\t\t\t\tTopic: pulumi.String(\"topic-1\"),\n\t\t\t\t\t\t\tPermission: pulumi.String(\"produce\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026digitalocean.DatabaseUserSettingAclArgs{\n\t\t\t\t\t\t\tTopic: pulumi.String(\"topic-2\"),\n\t\t\t\t\t\t\tPermission: pulumi.String(\"produceconsume\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026digitalocean.DatabaseUserSettingAclArgs{\n\t\t\t\t\t\t\tTopic: pulumi.String(\"topic-*\"),\n\t\t\t\t\t\t\tPermission: pulumi.String(\"consume\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseKafkaTopic;\nimport com.pulumi.digitalocean.DatabaseKafkaTopicArgs;\nimport com.pulumi.digitalocean.DatabaseUser;\nimport com.pulumi.digitalocean.DatabaseUserArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseUserSettingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kafka_example = new DatabaseCluster(\"kafka-example\", DatabaseClusterArgs.builder() \n .engine(\"kafka\")\n .version(\"3.5\")\n .size(\"db-s-2vcpu-2gb\")\n .region(\"nyc1\")\n .nodeCount(3)\n .build());\n\n var foobarTopic = new DatabaseKafkaTopic(\"foobarTopic\", DatabaseKafkaTopicArgs.builder() \n .clusterId(digitalocean_database_cluster.foobar().id())\n .build());\n\n var foobarUser = new DatabaseUser(\"foobarUser\", DatabaseUserArgs.builder() \n .clusterId(digitalocean_database_cluster.foobar().id())\n .settings(DatabaseUserSettingArgs.builder()\n .acls( \n DatabaseUserSettingAclArgs.builder()\n .topic(\"topic-1\")\n .permission(\"produce\")\n .build(),\n DatabaseUserSettingAclArgs.builder()\n .topic(\"topic-2\")\n .permission(\"produceconsume\")\n .build(),\n DatabaseUserSettingAclArgs.builder()\n .topic(\"topic-*\")\n .permission(\"consume\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n kafka-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: kafka\n version: '3.5'\n size: db-s-2vcpu-2gb\n region: nyc1\n nodeCount: 3\n foobarTopic:\n type: digitalocean:DatabaseKafkaTopic\n properties:\n clusterId: ${digitalocean_database_cluster.foobar.id}\n foobarUser:\n type: digitalocean:DatabaseUser\n properties:\n clusterId: ${digitalocean_database_cluster.foobar.id}\n settings:\n - acls:\n - topic: topic-1\n permission: produce\n - topic: topic-2\n permission: produceconsume\n - topic: topic-*\n permission: consume\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDatabase user can be imported using the `id` of the source database cluster\n\n and the `name` of the user joined with a comma. For example:\n\n ```sh\n $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar\n```\n\n ", + "description": "Provides a DigitalOcean database user resource. When creating a new database cluster, a default admin user with name `doadmin` will be created. Then, this resource can be used to provide additional normal users inside the cluster.\n\n\u003e **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually.\n\n## Example Usage\n\n### Create a new PostgreSQL database user\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst user_example = new digitalocean.DatabaseUser(\"user-example\", {clusterId: postgres_example.id});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nuser_example = digitalocean.DatabaseUser(\"user-example\", cluster_id=postgres_example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var user_example = new DigitalOcean.DatabaseUser(\"user-example\", new()\n {\n ClusterId = postgres_example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseUser(ctx, \"user-example\", \u0026digitalocean.DatabaseUserArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseUser;\nimport com.pulumi.digitalocean.DatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var user_example = new DatabaseUser(\"user-example\", DatabaseUserArgs.builder() \n .clusterId(postgres_example.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n user-example:\n type: digitalocean:DatabaseUser\n properties:\n clusterId: ${[\"postgres-example\"].id}\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new user for a PostgreSQL database replica \n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst postgres_example = new digitalocean.DatabaseCluster(\"postgres-example\", {\n engine: \"pg\",\n version: \"11\",\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n nodeCount: 1,\n});\nconst replica_example = new digitalocean.DatabaseReplica(\"replica-example\", {\n clusterId: postgres_example.id,\n size: \"db-s-1vcpu-1gb\",\n region: \"nyc1\",\n});\nconst user_example = new digitalocean.DatabaseUser(\"user-example\", {clusterId: replica_example.uuid});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\npostgres_example = digitalocean.DatabaseCluster(\"postgres-example\",\n engine=\"pg\",\n version=\"11\",\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\",\n node_count=1)\nreplica_example = digitalocean.DatabaseReplica(\"replica-example\",\n cluster_id=postgres_example.id,\n size=\"db-s-1vcpu-1gb\",\n region=\"nyc1\")\nuser_example = digitalocean.DatabaseUser(\"user-example\", cluster_id=replica_example.uuid)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var postgres_example = new DigitalOcean.DatabaseCluster(\"postgres-example\", new()\n {\n Engine = \"pg\",\n Version = \"11\",\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n NodeCount = 1,\n });\n\n var replica_example = new DigitalOcean.DatabaseReplica(\"replica-example\", new()\n {\n ClusterId = postgres_example.Id,\n Size = \"db-s-1vcpu-1gb\",\n Region = \"nyc1\",\n });\n\n var user_example = new DigitalOcean.DatabaseUser(\"user-example\", new()\n {\n ClusterId = replica_example.Uuid,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"postgres-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"pg\"),\n\t\t\tVersion: pulumi.String(\"11\"),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseReplica(ctx, \"replica-example\", \u0026digitalocean.DatabaseReplicaArgs{\n\t\t\tClusterId: postgres_example.ID(),\n\t\t\tSize: pulumi.String(\"db-s-1vcpu-1gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseUser(ctx, \"user-example\", \u0026digitalocean.DatabaseUserArgs{\n\t\t\tClusterId: replica_example.Uuid,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseReplica;\nimport com.pulumi.digitalocean.DatabaseReplicaArgs;\nimport com.pulumi.digitalocean.DatabaseUser;\nimport com.pulumi.digitalocean.DatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var postgres_example = new DatabaseCluster(\"postgres-example\", DatabaseClusterArgs.builder() \n .engine(\"pg\")\n .version(\"11\")\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .nodeCount(1)\n .build());\n\n var replica_example = new DatabaseReplica(\"replica-example\", DatabaseReplicaArgs.builder() \n .clusterId(postgres_example.id())\n .size(\"db-s-1vcpu-1gb\")\n .region(\"nyc1\")\n .build());\n\n var user_example = new DatabaseUser(\"user-example\", DatabaseUserArgs.builder() \n .clusterId(replica_example.uuid())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n postgres-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: pg\n version: '11'\n size: db-s-1vcpu-1gb\n region: nyc1\n nodeCount: 1\n replica-example:\n type: digitalocean:DatabaseReplica\n properties:\n clusterId: ${[\"postgres-example\"].id}\n size: db-s-1vcpu-1gb\n region: nyc1\n user-example:\n type: digitalocean:DatabaseUser\n properties:\n clusterId: ${[\"replica-example\"].uuid}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a new user for a Kafka database cluster \n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst kafka_example = new digitalocean.DatabaseCluster(\"kafka-example\", {\n engine: \"kafka\",\n version: \"3.5\",\n size: \"db-s-2vcpu-2gb\",\n region: \"nyc1\",\n nodeCount: 3,\n});\nconst foobarTopic = new digitalocean.DatabaseKafkaTopic(\"foobarTopic\", {clusterId: digitalocean_database_cluster.foobar.id});\nconst foobarUser = new digitalocean.DatabaseUser(\"foobarUser\", {\n clusterId: digitalocean_database_cluster.foobar.id,\n settings: [{\n acls: [\n {\n topic: \"topic-1\",\n permission: \"produce\",\n },\n {\n topic: \"topic-2\",\n permission: \"produceconsume\",\n },\n {\n topic: \"topic-*\",\n permission: \"consume\",\n },\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkafka_example = digitalocean.DatabaseCluster(\"kafka-example\",\n engine=\"kafka\",\n version=\"3.5\",\n size=\"db-s-2vcpu-2gb\",\n region=\"nyc1\",\n node_count=3)\nfoobar_topic = digitalocean.DatabaseKafkaTopic(\"foobarTopic\", cluster_id=digitalocean_database_cluster[\"foobar\"][\"id\"])\nfoobar_user = digitalocean.DatabaseUser(\"foobarUser\",\n cluster_id=digitalocean_database_cluster[\"foobar\"][\"id\"],\n settings=[digitalocean.DatabaseUserSettingArgs(\n acls=[\n digitalocean.DatabaseUserSettingAclArgs(\n topic=\"topic-1\",\n permission=\"produce\",\n ),\n digitalocean.DatabaseUserSettingAclArgs(\n topic=\"topic-2\",\n permission=\"produceconsume\",\n ),\n digitalocean.DatabaseUserSettingAclArgs(\n topic=\"topic-*\",\n permission=\"consume\",\n ),\n ],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var kafka_example = new DigitalOcean.DatabaseCluster(\"kafka-example\", new()\n {\n Engine = \"kafka\",\n Version = \"3.5\",\n Size = \"db-s-2vcpu-2gb\",\n Region = \"nyc1\",\n NodeCount = 3,\n });\n\n var foobarTopic = new DigitalOcean.DatabaseKafkaTopic(\"foobarTopic\", new()\n {\n ClusterId = digitalocean_database_cluster.Foobar.Id,\n });\n\n var foobarUser = new DigitalOcean.DatabaseUser(\"foobarUser\", new()\n {\n ClusterId = digitalocean_database_cluster.Foobar.Id,\n Settings = new[]\n {\n new DigitalOcean.Inputs.DatabaseUserSettingArgs\n {\n Acls = new[]\n {\n new DigitalOcean.Inputs.DatabaseUserSettingAclArgs\n {\n Topic = \"topic-1\",\n Permission = \"produce\",\n },\n new DigitalOcean.Inputs.DatabaseUserSettingAclArgs\n {\n Topic = \"topic-2\",\n Permission = \"produceconsume\",\n },\n new DigitalOcean.Inputs.DatabaseUserSettingAclArgs\n {\n Topic = \"topic-*\",\n Permission = \"consume\",\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDatabaseCluster(ctx, \"kafka-example\", \u0026digitalocean.DatabaseClusterArgs{\n\t\t\tEngine: pulumi.String(\"kafka\"),\n\t\t\tVersion: pulumi.String(\"3.5\"),\n\t\t\tSize: pulumi.String(\"db-s-2vcpu-2gb\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tNodeCount: pulumi.Int(3),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseKafkaTopic(ctx, \"foobarTopic\", \u0026digitalocean.DatabaseKafkaTopicArgs{\n\t\t\tClusterId: pulumi.Any(digitalocean_database_cluster.Foobar.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDatabaseUser(ctx, \"foobarUser\", \u0026digitalocean.DatabaseUserArgs{\n\t\t\tClusterId: pulumi.Any(digitalocean_database_cluster.Foobar.Id),\n\t\t\tSettings: digitalocean.DatabaseUserSettingArray{\n\t\t\t\t\u0026digitalocean.DatabaseUserSettingArgs{\n\t\t\t\t\tAcls: digitalocean.DatabaseUserSettingAclArray{\n\t\t\t\t\t\t\u0026digitalocean.DatabaseUserSettingAclArgs{\n\t\t\t\t\t\t\tTopic: pulumi.String(\"topic-1\"),\n\t\t\t\t\t\t\tPermission: pulumi.String(\"produce\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026digitalocean.DatabaseUserSettingAclArgs{\n\t\t\t\t\t\t\tTopic: pulumi.String(\"topic-2\"),\n\t\t\t\t\t\t\tPermission: pulumi.String(\"produceconsume\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026digitalocean.DatabaseUserSettingAclArgs{\n\t\t\t\t\t\t\tTopic: pulumi.String(\"topic-*\"),\n\t\t\t\t\t\t\tPermission: pulumi.String(\"consume\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DatabaseCluster;\nimport com.pulumi.digitalocean.DatabaseClusterArgs;\nimport com.pulumi.digitalocean.DatabaseKafkaTopic;\nimport com.pulumi.digitalocean.DatabaseKafkaTopicArgs;\nimport com.pulumi.digitalocean.DatabaseUser;\nimport com.pulumi.digitalocean.DatabaseUserArgs;\nimport com.pulumi.digitalocean.inputs.DatabaseUserSettingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var kafka_example = new DatabaseCluster(\"kafka-example\", DatabaseClusterArgs.builder() \n .engine(\"kafka\")\n .version(\"3.5\")\n .size(\"db-s-2vcpu-2gb\")\n .region(\"nyc1\")\n .nodeCount(3)\n .build());\n\n var foobarTopic = new DatabaseKafkaTopic(\"foobarTopic\", DatabaseKafkaTopicArgs.builder() \n .clusterId(digitalocean_database_cluster.foobar().id())\n .build());\n\n var foobarUser = new DatabaseUser(\"foobarUser\", DatabaseUserArgs.builder() \n .clusterId(digitalocean_database_cluster.foobar().id())\n .settings(DatabaseUserSettingArgs.builder()\n .acls( \n DatabaseUserSettingAclArgs.builder()\n .topic(\"topic-1\")\n .permission(\"produce\")\n .build(),\n DatabaseUserSettingAclArgs.builder()\n .topic(\"topic-2\")\n .permission(\"produceconsume\")\n .build(),\n DatabaseUserSettingAclArgs.builder()\n .topic(\"topic-*\")\n .permission(\"consume\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n kafka-example:\n type: digitalocean:DatabaseCluster\n properties:\n engine: kafka\n version: '3.5'\n size: db-s-2vcpu-2gb\n region: nyc1\n nodeCount: 3\n foobarTopic:\n type: digitalocean:DatabaseKafkaTopic\n properties:\n clusterId: ${digitalocean_database_cluster.foobar.id}\n foobarUser:\n type: digitalocean:DatabaseUser\n properties:\n clusterId: ${digitalocean_database_cluster.foobar.id}\n settings:\n - acls:\n - topic: topic-1\n permission: produce\n - topic: topic-2\n permission: produceconsume\n - topic: topic-*\n permission: consume\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDatabase user can be imported using the `id` of the source database cluster\n\nand the `name` of the user joined with a comma. For example:\n\n```sh\n$ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar\n```\n\n", "properties": { "accessCert": { "type": "string", @@ -9751,7 +9751,7 @@ } }, "digitalocean:index/dnsRecord:DnsRecord": { - "description": "Provides a DigitalOcean DNS record resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst _default = new digitalocean.Domain(\"default\", {name: \"example.com\"});\n// Add an A record to the domain for www.example.com.\nconst www = new digitalocean.DnsRecord(\"www\", {\n domain: _default.id,\n type: \"A\",\n value: \"192.168.0.11\",\n});\n// Add a MX record for the example.com domain itself.\nconst mx = new digitalocean.DnsRecord(\"mx\", {\n domain: _default.id,\n type: \"MX\",\n priority: 10,\n value: \"mail.example.com.\",\n});\nexport const wwwFqdn = www.fqdn;\nexport const mxFqdn = mx.fqdn;\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ndefault = digitalocean.Domain(\"default\", name=\"example.com\")\n# Add an A record to the domain for www.example.com.\nwww = digitalocean.DnsRecord(\"www\",\n domain=default.id,\n type=\"A\",\n value=\"192.168.0.11\")\n# Add a MX record for the example.com domain itself.\nmx = digitalocean.DnsRecord(\"mx\",\n domain=default.id,\n type=\"MX\",\n priority=10,\n value=\"mail.example.com.\")\npulumi.export(\"wwwFqdn\", www.fqdn)\npulumi.export(\"mxFqdn\", mx.fqdn)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new DigitalOcean.Domain(\"default\", new()\n {\n Name = \"example.com\",\n });\n\n // Add an A record to the domain for www.example.com.\n var www = new DigitalOcean.DnsRecord(\"www\", new()\n {\n Domain = @default.Id,\n Type = \"A\",\n Value = \"192.168.0.11\",\n });\n\n // Add a MX record for the example.com domain itself.\n var mx = new DigitalOcean.DnsRecord(\"mx\", new()\n {\n Domain = @default.Id,\n Type = \"MX\",\n Priority = 10,\n Value = \"mail.example.com.\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"wwwFqdn\"] = www.Fqdn,\n [\"mxFqdn\"] = mx.Fqdn,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDomain(ctx, \"default\", \u0026digitalocean.DomainArgs{\n\t\t\tName: pulumi.String(\"example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add an A record to the domain for www.example.com.\n\t\twww, err := digitalocean.NewDnsRecord(ctx, \"www\", \u0026digitalocean.DnsRecordArgs{\n\t\t\tDomain: _default.ID(),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tValue: pulumi.String(\"192.168.0.11\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add a MX record for the example.com domain itself.\n\t\tmx, err := digitalocean.NewDnsRecord(ctx, \"mx\", \u0026digitalocean.DnsRecordArgs{\n\t\t\tDomain: _default.ID(),\n\t\t\tType: pulumi.String(\"MX\"),\n\t\t\tPriority: pulumi.Int(10),\n\t\t\tValue: pulumi.String(\"mail.example.com.\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"wwwFqdn\", www.Fqdn)\n\t\tctx.Export(\"mxFqdn\", mx.Fqdn)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Domain;\nimport com.pulumi.digitalocean.DomainArgs;\nimport com.pulumi.digitalocean.DnsRecord;\nimport com.pulumi.digitalocean.DnsRecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Domain(\"default\", DomainArgs.builder() \n .name(\"example.com\")\n .build());\n\n var www = new DnsRecord(\"www\", DnsRecordArgs.builder() \n .domain(default_.id())\n .type(\"A\")\n .value(\"192.168.0.11\")\n .build());\n\n var mx = new DnsRecord(\"mx\", DnsRecordArgs.builder() \n .domain(default_.id())\n .type(\"MX\")\n .priority(10)\n .value(\"mail.example.com.\")\n .build());\n\n ctx.export(\"wwwFqdn\", www.fqdn());\n ctx.export(\"mxFqdn\", mx.fqdn());\n }\n}\n```\n```yaml\nresources:\n default:\n type: digitalocean:Domain\n properties:\n name: example.com\n # Add an A record to the domain for www.example.com.\n www:\n type: digitalocean:DnsRecord\n properties:\n domain: ${default.id}\n type: A\n value: 192.168.0.11\n # Add a MX record for the example.com domain itself.\n mx:\n type: digitalocean:DnsRecord\n properties:\n domain: ${default.id}\n type: MX\n priority: 10\n value: mail.example.com.\noutputs:\n # Output the FQDN for the www A record.\n wwwFqdn: ${www.fqdn}\n # Output the FQDN for the MX record.\n mxFqdn: ${mx.fqdn}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRecords can be imported using the domain name and record `id` when joined with a comma. See the following example:\n\n ```sh\n $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678\n```\n\n ~\u003e\n\nYou find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list \u003cdomain.name\u003e`\n\n ", + "description": "Provides a DigitalOcean DNS record resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst _default = new digitalocean.Domain(\"default\", {name: \"example.com\"});\n// Add an A record to the domain for www.example.com.\nconst www = new digitalocean.DnsRecord(\"www\", {\n domain: _default.id,\n type: \"A\",\n value: \"192.168.0.11\",\n});\n// Add a MX record for the example.com domain itself.\nconst mx = new digitalocean.DnsRecord(\"mx\", {\n domain: _default.id,\n type: \"MX\",\n priority: 10,\n value: \"mail.example.com.\",\n});\nexport const wwwFqdn = www.fqdn;\nexport const mxFqdn = mx.fqdn;\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ndefault = digitalocean.Domain(\"default\", name=\"example.com\")\n# Add an A record to the domain for www.example.com.\nwww = digitalocean.DnsRecord(\"www\",\n domain=default.id,\n type=\"A\",\n value=\"192.168.0.11\")\n# Add a MX record for the example.com domain itself.\nmx = digitalocean.DnsRecord(\"mx\",\n domain=default.id,\n type=\"MX\",\n priority=10,\n value=\"mail.example.com.\")\npulumi.export(\"wwwFqdn\", www.fqdn)\npulumi.export(\"mxFqdn\", mx.fqdn)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new DigitalOcean.Domain(\"default\", new()\n {\n Name = \"example.com\",\n });\n\n // Add an A record to the domain for www.example.com.\n var www = new DigitalOcean.DnsRecord(\"www\", new()\n {\n Domain = @default.Id,\n Type = \"A\",\n Value = \"192.168.0.11\",\n });\n\n // Add a MX record for the example.com domain itself.\n var mx = new DigitalOcean.DnsRecord(\"mx\", new()\n {\n Domain = @default.Id,\n Type = \"MX\",\n Priority = 10,\n Value = \"mail.example.com.\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"wwwFqdn\"] = www.Fqdn,\n [\"mxFqdn\"] = mx.Fqdn,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewDomain(ctx, \"default\", \u0026digitalocean.DomainArgs{\n\t\t\tName: pulumi.String(\"example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add an A record to the domain for www.example.com.\n\t\twww, err := digitalocean.NewDnsRecord(ctx, \"www\", \u0026digitalocean.DnsRecordArgs{\n\t\t\tDomain: _default.ID(),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tValue: pulumi.String(\"192.168.0.11\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Add a MX record for the example.com domain itself.\n\t\tmx, err := digitalocean.NewDnsRecord(ctx, \"mx\", \u0026digitalocean.DnsRecordArgs{\n\t\t\tDomain: _default.ID(),\n\t\t\tType: pulumi.String(\"MX\"),\n\t\t\tPriority: pulumi.Int(10),\n\t\t\tValue: pulumi.String(\"mail.example.com.\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"wwwFqdn\", www.Fqdn)\n\t\tctx.Export(\"mxFqdn\", mx.Fqdn)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Domain;\nimport com.pulumi.digitalocean.DomainArgs;\nimport com.pulumi.digitalocean.DnsRecord;\nimport com.pulumi.digitalocean.DnsRecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Domain(\"default\", DomainArgs.builder() \n .name(\"example.com\")\n .build());\n\n var www = new DnsRecord(\"www\", DnsRecordArgs.builder() \n .domain(default_.id())\n .type(\"A\")\n .value(\"192.168.0.11\")\n .build());\n\n var mx = new DnsRecord(\"mx\", DnsRecordArgs.builder() \n .domain(default_.id())\n .type(\"MX\")\n .priority(10)\n .value(\"mail.example.com.\")\n .build());\n\n ctx.export(\"wwwFqdn\", www.fqdn());\n ctx.export(\"mxFqdn\", mx.fqdn());\n }\n}\n```\n```yaml\nresources:\n default:\n type: digitalocean:Domain\n properties:\n name: example.com\n # Add an A record to the domain for www.example.com.\n www:\n type: digitalocean:DnsRecord\n properties:\n domain: ${default.id}\n type: A\n value: 192.168.0.11\n # Add a MX record for the example.com domain itself.\n mx:\n type: digitalocean:DnsRecord\n properties:\n domain: ${default.id}\n type: MX\n priority: 10\n value: mail.example.com.\noutputs:\n # Output the FQDN for the www A record.\n wwwFqdn: ${www.fqdn}\n # Output the FQDN for the MX record.\n mxFqdn: ${mx.fqdn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRecords can be imported using the domain name and record `id` when joined with a comma. See the following example:\n\n```sh\n$ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678\n```\n\n~\u003e You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list \u003cdomain.name\u003e`\n\n", "properties": { "domain": { "type": "string", @@ -9927,7 +9927,7 @@ } }, "digitalocean:index/domain:Domain": { - "description": "Provides a DigitalOcean domain resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new domain\nconst _default = new digitalocean.Domain(\"default\", {\n name: \"example.com\",\n ipAddress: digitalocean_droplet.foo.ipv4_address,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new domain\ndefault = digitalocean.Domain(\"default\",\n name=\"example.com\",\n ip_address=digitalocean_droplet[\"foo\"][\"ipv4_address\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new domain\n var @default = new DigitalOcean.Domain(\"default\", new()\n {\n Name = \"example.com\",\n IpAddress = digitalocean_droplet.Foo.Ipv4_address,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new domain\n\t\t_, err := digitalocean.NewDomain(ctx, \"default\", \u0026digitalocean.DomainArgs{\n\t\t\tName: pulumi.String(\"example.com\"),\n\t\t\tIpAddress: pulumi.Any(digitalocean_droplet.Foo.Ipv4_address),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Domain;\nimport com.pulumi.digitalocean.DomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Domain(\"default\", DomainArgs.builder() \n .name(\"example.com\")\n .ipAddress(digitalocean_droplet.foo().ipv4_address())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new domain\n default:\n type: digitalocean:Domain\n properties:\n name: example.com\n ipAddress: ${digitalocean_droplet.foo.ipv4_address}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDomains can be imported using the `domain name`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/domain:Domain mydomain mytestdomain.com\n```\n\n ", + "description": "Provides a DigitalOcean domain resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new domain\nconst _default = new digitalocean.Domain(\"default\", {\n name: \"example.com\",\n ipAddress: digitalocean_droplet.foo.ipv4_address,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new domain\ndefault = digitalocean.Domain(\"default\",\n name=\"example.com\",\n ip_address=digitalocean_droplet[\"foo\"][\"ipv4_address\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new domain\n var @default = new DigitalOcean.Domain(\"default\", new()\n {\n Name = \"example.com\",\n IpAddress = digitalocean_droplet.Foo.Ipv4_address,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new domain\n\t\t_, err := digitalocean.NewDomain(ctx, \"default\", \u0026digitalocean.DomainArgs{\n\t\t\tName: pulumi.String(\"example.com\"),\n\t\t\tIpAddress: pulumi.Any(digitalocean_droplet.Foo.Ipv4_address),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Domain;\nimport com.pulumi.digitalocean.DomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Domain(\"default\", DomainArgs.builder() \n .name(\"example.com\")\n .ipAddress(digitalocean_droplet.foo().ipv4_address())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new domain\n default:\n type: digitalocean:Domain\n properties:\n name: example.com\n ipAddress: ${digitalocean_droplet.foo.ipv4_address}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDomains can be imported using the `domain name`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/domain:Domain mydomain mytestdomain.com\n```\n\n", "properties": { "domainUrn": { "type": "string", @@ -9992,7 +9992,7 @@ } }, "digitalocean:index/droplet:Droplet": { - "description": "Provides a DigitalOcean Droplet resource. This can be used to create,\nmodify, and delete Droplets.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new Web Droplet in the nyc2 region\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-20-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new Web Droplet in the nyc2 region\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-20-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Web Droplet in the nyc2 region\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-20-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new Web Droplet in the nyc2 region\n\t\t_, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-20-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-20-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Web Droplet in the nyc2 region\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-20-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDroplets can be imported using the Droplet `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/droplet:Droplet mydroplet 100823\n```\n\n ", + "description": "Provides a DigitalOcean Droplet resource. This can be used to create,\nmodify, and delete Droplets.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new Web Droplet in the nyc2 region\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-20-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new Web Droplet in the nyc2 region\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-20-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Web Droplet in the nyc2 region\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-20-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new Web Droplet in the nyc2 region\n\t\t_, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-20-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-20-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Web Droplet in the nyc2 region\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-20-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDroplets can be imported using the Droplet `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/droplet:Droplet mydroplet 100823\n```\n\n", "properties": { "backups": { "type": "boolean", @@ -10398,7 +10398,7 @@ } }, "digitalocean:index/dropletSnapshot:DropletSnapshot": { - "description": "Provides a resource which can be used to create a snapshot from an existing DigitalOcean Droplet.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst web_snapshot = new digitalocean.DropletSnapshot(\"web-snapshot\", {dropletId: web.id});\nconst from_snapshot = new digitalocean.Droplet(\"from-snapshot\", {\n image: web_snapshot.id,\n region: \"nyc3\",\n size: \"s-2vcpu-4gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\nweb_snapshot = digitalocean.DropletSnapshot(\"web-snapshot\", droplet_id=web.id)\nfrom_snapshot = digitalocean.Droplet(\"from-snapshot\",\n image=web_snapshot.id,\n region=\"nyc3\",\n size=\"s-2vcpu-4gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var web_snapshot = new DigitalOcean.DropletSnapshot(\"web-snapshot\", new()\n {\n DropletId = web.Id,\n });\n\n var from_snapshot = new DigitalOcean.Droplet(\"from-snapshot\", new()\n {\n Image = web_snapshot.Id,\n Region = \"nyc3\",\n Size = \"s-2vcpu-4gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDropletSnapshot(ctx, \"web-snapshot\", \u0026digitalocean.DropletSnapshotArgs{\n\t\t\tDropletId: web.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"from-snapshot\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: web_snapshot.ID(),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-2vcpu-4gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.DropletSnapshot;\nimport com.pulumi.digitalocean.DropletSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var web_snapshot = new DropletSnapshot(\"web-snapshot\", DropletSnapshotArgs.builder() \n .dropletId(web.id())\n .build());\n\n var from_snapshot = new Droplet(\"from-snapshot\", DropletArgs.builder() \n .image(web_snapshot.id())\n .region(\"nyc3\")\n .size(\"s-2vcpu-4gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n web-snapshot:\n type: digitalocean:DropletSnapshot\n properties:\n dropletId: ${web.id}\n from-snapshot:\n type: digitalocean:Droplet\n properties:\n image: ${[\"web-snapshot\"].id}\n region: nyc3\n size: s-2vcpu-4gb\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDroplet Snapshots can be imported using the `snapshot id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/dropletSnapshot:DropletSnapshot mysnapshot 123456\n```\n\n ", + "description": "Provides a resource which can be used to create a snapshot from an existing DigitalOcean Droplet.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst web_snapshot = new digitalocean.DropletSnapshot(\"web-snapshot\", {dropletId: web.id});\nconst from_snapshot = new digitalocean.Droplet(\"from-snapshot\", {\n image: web_snapshot.id,\n region: \"nyc3\",\n size: \"s-2vcpu-4gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\nweb_snapshot = digitalocean.DropletSnapshot(\"web-snapshot\", droplet_id=web.id)\nfrom_snapshot = digitalocean.Droplet(\"from-snapshot\",\n image=web_snapshot.id,\n region=\"nyc3\",\n size=\"s-2vcpu-4gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var web_snapshot = new DigitalOcean.DropletSnapshot(\"web-snapshot\", new()\n {\n DropletId = web.Id,\n });\n\n var from_snapshot = new DigitalOcean.Droplet(\"from-snapshot\", new()\n {\n Image = web_snapshot.Id,\n Region = \"nyc3\",\n Size = \"s-2vcpu-4gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDropletSnapshot(ctx, \"web-snapshot\", \u0026digitalocean.DropletSnapshotArgs{\n\t\t\tDropletId: web.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"from-snapshot\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: web_snapshot.ID(),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-2vcpu-4gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.DropletSnapshot;\nimport com.pulumi.digitalocean.DropletSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var web_snapshot = new DropletSnapshot(\"web-snapshot\", DropletSnapshotArgs.builder() \n .dropletId(web.id())\n .build());\n\n var from_snapshot = new Droplet(\"from-snapshot\", DropletArgs.builder() \n .image(web_snapshot.id())\n .region(\"nyc3\")\n .size(\"s-2vcpu-4gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n web-snapshot:\n type: digitalocean:DropletSnapshot\n properties:\n dropletId: ${web.id}\n from-snapshot:\n type: digitalocean:Droplet\n properties:\n image: ${[\"web-snapshot\"].id}\n region: nyc3\n size: s-2vcpu-4gb\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDroplet Snapshots can be imported using the `snapshot id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/dropletSnapshot:DropletSnapshot mysnapshot 123456\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -10488,7 +10488,7 @@ } }, "digitalocean:index/firewall:Firewall": { - "description": "Provides a DigitalOcean Cloud Firewall resource. This can be used to create,\nmodify, and delete Firewalls.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst webDroplet = new digitalocean.Droplet(\"webDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst webFirewall = new digitalocean.Firewall(\"webFirewall\", {\n dropletIds: [webDroplet.id],\n inboundRules: [\n {\n protocol: \"tcp\",\n portRange: \"22\",\n sourceAddresses: [\n \"192.168.1.0/24\",\n \"2002:1:2::/48\",\n ],\n },\n {\n protocol: \"tcp\",\n portRange: \"80\",\n sourceAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"tcp\",\n portRange: \"443\",\n sourceAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"icmp\",\n sourceAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n ],\n outboundRules: [\n {\n protocol: \"tcp\",\n portRange: \"53\",\n destinationAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"udp\",\n portRange: \"53\",\n destinationAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"icmp\",\n destinationAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb_droplet = digitalocean.Droplet(\"webDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\nweb_firewall = digitalocean.Firewall(\"webFirewall\",\n droplet_ids=[web_droplet.id],\n inbound_rules=[\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"22\",\n source_addresses=[\n \"192.168.1.0/24\",\n \"2002:1:2::/48\",\n ],\n ),\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"80\",\n source_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"443\",\n source_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"icmp\",\n source_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n ],\n outbound_rules=[\n digitalocean.FirewallOutboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"53\",\n destination_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallOutboundRuleArgs(\n protocol=\"udp\",\n port_range=\"53\",\n destination_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallOutboundRuleArgs(\n protocol=\"icmp\",\n destination_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var webDroplet = new DigitalOcean.Droplet(\"webDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var webFirewall = new DigitalOcean.Firewall(\"webFirewall\", new()\n {\n DropletIds = new[]\n {\n webDroplet.Id,\n },\n InboundRules = new[]\n {\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"22\",\n SourceAddresses = new[]\n {\n \"192.168.1.0/24\",\n \"2002:1:2::/48\",\n },\n },\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"80\",\n SourceAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"443\",\n SourceAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"icmp\",\n SourceAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n },\n OutboundRules = new[]\n {\n new DigitalOcean.Inputs.FirewallOutboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"53\",\n DestinationAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallOutboundRuleArgs\n {\n Protocol = \"udp\",\n PortRange = \"53\",\n DestinationAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallOutboundRuleArgs\n {\n Protocol = \"icmp\",\n DestinationAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\twebDroplet, err := digitalocean.NewDroplet(ctx, \"webDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewFirewall(ctx, \"webFirewall\", \u0026digitalocean.FirewallArgs{\n\t\t\tDropletIds: pulumi.IntArray{\n\t\t\t\twebDroplet.ID(),\n\t\t\t},\n\t\t\tInboundRules: digitalocean.FirewallInboundRuleArray{\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"22\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"192.168.1.0/24\"),\n\t\t\t\t\t\tpulumi.String(\"2002:1:2::/48\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"80\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"443\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"icmp\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOutboundRules: digitalocean.FirewallOutboundRuleArray{\n\t\t\t\t\u0026digitalocean.FirewallOutboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"53\"),\n\t\t\t\t\tDestinationAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallOutboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"udp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"53\"),\n\t\t\t\t\tDestinationAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallOutboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"icmp\"),\n\t\t\t\t\tDestinationAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.Firewall;\nimport com.pulumi.digitalocean.FirewallArgs;\nimport com.pulumi.digitalocean.inputs.FirewallInboundRuleArgs;\nimport com.pulumi.digitalocean.inputs.FirewallOutboundRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var webDroplet = new Droplet(\"webDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var webFirewall = new Firewall(\"webFirewall\", FirewallArgs.builder() \n .dropletIds(webDroplet.id())\n .inboundRules( \n FirewallInboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"22\")\n .sourceAddresses( \n \"192.168.1.0/24\",\n \"2002:1:2::/48\")\n .build(),\n FirewallInboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"80\")\n .sourceAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallInboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"443\")\n .sourceAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallInboundRuleArgs.builder()\n .protocol(\"icmp\")\n .sourceAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build())\n .outboundRules( \n FirewallOutboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"53\")\n .destinationAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallOutboundRuleArgs.builder()\n .protocol(\"udp\")\n .portRange(\"53\")\n .destinationAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallOutboundRuleArgs.builder()\n .protocol(\"icmp\")\n .destinationAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n webDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n webFirewall:\n type: digitalocean:Firewall\n properties:\n dropletIds:\n - ${webDroplet.id}\n inboundRules:\n - protocol: tcp\n portRange: '22'\n sourceAddresses:\n - 192.168.1.0/24\n - 2002:1:2::/48\n - protocol: tcp\n portRange: '80'\n sourceAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: tcp\n portRange: '443'\n sourceAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: icmp\n sourceAddresses:\n - 0.0.0.0/0\n - ::/0\n outboundRules:\n - protocol: tcp\n portRange: '53'\n destinationAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: udp\n portRange: '53'\n destinationAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: icmp\n destinationAddresses:\n - 0.0.0.0/0\n - ::/0\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nFirewalls can be imported using the firewall `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/firewall:Firewall myfirewall b8ecd2ab-2267-4a5e-8692-cbf1d32583e3\n```\n\n ", + "description": "Provides a DigitalOcean Cloud Firewall resource. This can be used to create,\nmodify, and delete Firewalls.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst webDroplet = new digitalocean.Droplet(\"webDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst webFirewall = new digitalocean.Firewall(\"webFirewall\", {\n dropletIds: [webDroplet.id],\n inboundRules: [\n {\n protocol: \"tcp\",\n portRange: \"22\",\n sourceAddresses: [\n \"192.168.1.0/24\",\n \"2002:1:2::/48\",\n ],\n },\n {\n protocol: \"tcp\",\n portRange: \"80\",\n sourceAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"tcp\",\n portRange: \"443\",\n sourceAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"icmp\",\n sourceAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n ],\n outboundRules: [\n {\n protocol: \"tcp\",\n portRange: \"53\",\n destinationAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"udp\",\n portRange: \"53\",\n destinationAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n {\n protocol: \"icmp\",\n destinationAddresses: [\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb_droplet = digitalocean.Droplet(\"webDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\nweb_firewall = digitalocean.Firewall(\"webFirewall\",\n droplet_ids=[web_droplet.id],\n inbound_rules=[\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"22\",\n source_addresses=[\n \"192.168.1.0/24\",\n \"2002:1:2::/48\",\n ],\n ),\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"80\",\n source_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"443\",\n source_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallInboundRuleArgs(\n protocol=\"icmp\",\n source_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n ],\n outbound_rules=[\n digitalocean.FirewallOutboundRuleArgs(\n protocol=\"tcp\",\n port_range=\"53\",\n destination_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallOutboundRuleArgs(\n protocol=\"udp\",\n port_range=\"53\",\n destination_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n digitalocean.FirewallOutboundRuleArgs(\n protocol=\"icmp\",\n destination_addresses=[\n \"0.0.0.0/0\",\n \"::/0\",\n ],\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var webDroplet = new DigitalOcean.Droplet(\"webDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var webFirewall = new DigitalOcean.Firewall(\"webFirewall\", new()\n {\n DropletIds = new[]\n {\n webDroplet.Id,\n },\n InboundRules = new[]\n {\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"22\",\n SourceAddresses = new[]\n {\n \"192.168.1.0/24\",\n \"2002:1:2::/48\",\n },\n },\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"80\",\n SourceAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"443\",\n SourceAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallInboundRuleArgs\n {\n Protocol = \"icmp\",\n SourceAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n },\n OutboundRules = new[]\n {\n new DigitalOcean.Inputs.FirewallOutboundRuleArgs\n {\n Protocol = \"tcp\",\n PortRange = \"53\",\n DestinationAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallOutboundRuleArgs\n {\n Protocol = \"udp\",\n PortRange = \"53\",\n DestinationAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n new DigitalOcean.Inputs.FirewallOutboundRuleArgs\n {\n Protocol = \"icmp\",\n DestinationAddresses = new[]\n {\n \"0.0.0.0/0\",\n \"::/0\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\twebDroplet, err := digitalocean.NewDroplet(ctx, \"webDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewFirewall(ctx, \"webFirewall\", \u0026digitalocean.FirewallArgs{\n\t\t\tDropletIds: pulumi.IntArray{\n\t\t\t\twebDroplet.ID(),\n\t\t\t},\n\t\t\tInboundRules: digitalocean.FirewallInboundRuleArray{\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"22\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"192.168.1.0/24\"),\n\t\t\t\t\t\tpulumi.String(\"2002:1:2::/48\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"80\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"443\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallInboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"icmp\"),\n\t\t\t\t\tSourceAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOutboundRules: digitalocean.FirewallOutboundRuleArray{\n\t\t\t\t\u0026digitalocean.FirewallOutboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"53\"),\n\t\t\t\t\tDestinationAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallOutboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"udp\"),\n\t\t\t\t\tPortRange: pulumi.String(\"53\"),\n\t\t\t\t\tDestinationAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.FirewallOutboundRuleArgs{\n\t\t\t\t\tProtocol: pulumi.String(\"icmp\"),\n\t\t\t\t\tDestinationAddresses: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"0.0.0.0/0\"),\n\t\t\t\t\t\tpulumi.String(\"::/0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.Firewall;\nimport com.pulumi.digitalocean.FirewallArgs;\nimport com.pulumi.digitalocean.inputs.FirewallInboundRuleArgs;\nimport com.pulumi.digitalocean.inputs.FirewallOutboundRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var webDroplet = new Droplet(\"webDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var webFirewall = new Firewall(\"webFirewall\", FirewallArgs.builder() \n .dropletIds(webDroplet.id())\n .inboundRules( \n FirewallInboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"22\")\n .sourceAddresses( \n \"192.168.1.0/24\",\n \"2002:1:2::/48\")\n .build(),\n FirewallInboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"80\")\n .sourceAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallInboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"443\")\n .sourceAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallInboundRuleArgs.builder()\n .protocol(\"icmp\")\n .sourceAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build())\n .outboundRules( \n FirewallOutboundRuleArgs.builder()\n .protocol(\"tcp\")\n .portRange(\"53\")\n .destinationAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallOutboundRuleArgs.builder()\n .protocol(\"udp\")\n .portRange(\"53\")\n .destinationAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build(),\n FirewallOutboundRuleArgs.builder()\n .protocol(\"icmp\")\n .destinationAddresses( \n \"0.0.0.0/0\",\n \"::/0\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n webDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n webFirewall:\n type: digitalocean:Firewall\n properties:\n dropletIds:\n - ${webDroplet.id}\n inboundRules:\n - protocol: tcp\n portRange: '22'\n sourceAddresses:\n - 192.168.1.0/24\n - 2002:1:2::/48\n - protocol: tcp\n portRange: '80'\n sourceAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: tcp\n portRange: '443'\n sourceAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: icmp\n sourceAddresses:\n - 0.0.0.0/0\n - ::/0\n outboundRules:\n - protocol: tcp\n portRange: '53'\n destinationAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: udp\n portRange: '53'\n destinationAddresses:\n - 0.0.0.0/0\n - ::/0\n - protocol: icmp\n destinationAddresses:\n - 0.0.0.0/0\n - ::/0\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFirewalls can be imported using the firewall `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/firewall:Firewall myfirewall b8ecd2ab-2267-4a5e-8692-cbf1d32583e3\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -10633,7 +10633,7 @@ } }, "digitalocean:index/floatingIp:FloatingIp": { - "description": "\u003e **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use `digitalocean.ReservedIp` instead.\n\nProvides a DigitalOcean Floating IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets.\n\n\u003e **NOTE:** Floating IPs can be assigned to a Droplet either directly on the `digitalocean.FloatingIp` resource by setting a `droplet_id` or using the `digitalocean.FloatingIpAssignment` resource, but the two cannot be used together.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"sgp1\",\n ipv6: true,\n privateNetworking: true,\n});\nconst foobarFloatingIp = new digitalocean.FloatingIp(\"foobarFloatingIp\", {\n dropletId: foobarDroplet.id,\n region: foobarDroplet.region,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"sgp1\",\n ipv6=True,\n private_networking=True)\nfoobar_floating_ip = digitalocean.FloatingIp(\"foobarFloatingIp\",\n droplet_id=foobar_droplet.id,\n region=foobar_droplet.region)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"sgp1\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var foobarFloatingIp = new DigitalOcean.FloatingIp(\"foobarFloatingIp\", new()\n {\n DropletId = foobarDroplet.Id,\n Region = foobarDroplet.Region,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"sgp1\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewFloatingIp(ctx, \"foobarFloatingIp\", \u0026digitalocean.FloatingIpArgs{\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t\tRegion: foobarDroplet.Region,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.FloatingIp;\nimport com.pulumi.digitalocean.FloatingIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"sgp1\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var foobarFloatingIp = new FloatingIp(\"foobarFloatingIp\", FloatingIpArgs.builder() \n .dropletId(foobarDroplet.id())\n .region(foobarDroplet.region())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: sgp1\n ipv6: true\n privateNetworking: true\n foobarFloatingIp:\n type: digitalocean:FloatingIp\n properties:\n dropletId: ${foobarDroplet.id}\n region: ${foobarDroplet.region}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nFloating IPs can be imported using the `ip`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/floatingIp:FloatingIp myip 192.168.0.1\n```\n\n ", + "description": "\u003e **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use `digitalocean.ReservedIp` instead.\n\nProvides a DigitalOcean Floating IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets.\n\n\u003e **NOTE:** Floating IPs can be assigned to a Droplet either directly on the `digitalocean.FloatingIp` resource by setting a `droplet_id` or using the `digitalocean.FloatingIpAssignment` resource, but the two cannot be used together.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"sgp1\",\n ipv6: true,\n privateNetworking: true,\n});\nconst foobarFloatingIp = new digitalocean.FloatingIp(\"foobarFloatingIp\", {\n dropletId: foobarDroplet.id,\n region: foobarDroplet.region,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"sgp1\",\n ipv6=True,\n private_networking=True)\nfoobar_floating_ip = digitalocean.FloatingIp(\"foobarFloatingIp\",\n droplet_id=foobar_droplet.id,\n region=foobar_droplet.region)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"sgp1\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var foobarFloatingIp = new DigitalOcean.FloatingIp(\"foobarFloatingIp\", new()\n {\n DropletId = foobarDroplet.Id,\n Region = foobarDroplet.Region,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"sgp1\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewFloatingIp(ctx, \"foobarFloatingIp\", \u0026digitalocean.FloatingIpArgs{\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t\tRegion: foobarDroplet.Region,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.FloatingIp;\nimport com.pulumi.digitalocean.FloatingIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"sgp1\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var foobarFloatingIp = new FloatingIp(\"foobarFloatingIp\", FloatingIpArgs.builder() \n .dropletId(foobarDroplet.id())\n .region(foobarDroplet.region())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: sgp1\n ipv6: true\n privateNetworking: true\n foobarFloatingIp:\n type: digitalocean:FloatingIp\n properties:\n dropletId: ${foobarDroplet.id}\n region: ${foobarDroplet.region}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFloating IPs can be imported using the `ip`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/floatingIp:FloatingIp myip 192.168.0.1\n```\n\n", "properties": { "dropletId": { "type": "integer", @@ -10700,7 +10700,7 @@ } }, "digitalocean:index/floatingIpAssignment:FloatingIpAssignment": { - "description": "\u003e **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use `digitalocean.ReservedIpAssignment` instead.\n\nProvides a resource for assigning an existing DigitalOcean Floating IP to a Droplet. This\nmakes it easy to provision floating IP addresses that are not tied to the lifecycle of your\nDroplet.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarFloatingIp = new digitalocean.FloatingIp(\"foobarFloatingIp\", {region: \"sgp1\"});\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"sgp1\",\n ipv6: true,\n privateNetworking: true,\n});\nconst foobarFloatingIpAssignment = new digitalocean.FloatingIpAssignment(\"foobarFloatingIpAssignment\", {\n ipAddress: foobarFloatingIp.ipAddress,\n dropletId: foobarDroplet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_floating_ip = digitalocean.FloatingIp(\"foobarFloatingIp\", region=\"sgp1\")\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"sgp1\",\n ipv6=True,\n private_networking=True)\nfoobar_floating_ip_assignment = digitalocean.FloatingIpAssignment(\"foobarFloatingIpAssignment\",\n ip_address=foobar_floating_ip.ip_address,\n droplet_id=foobar_droplet.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarFloatingIp = new DigitalOcean.FloatingIp(\"foobarFloatingIp\", new()\n {\n Region = \"sgp1\",\n });\n\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"sgp1\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var foobarFloatingIpAssignment = new DigitalOcean.FloatingIpAssignment(\"foobarFloatingIpAssignment\", new()\n {\n IpAddress = foobarFloatingIp.IpAddress,\n DropletId = foobarDroplet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarFloatingIp, err := digitalocean.NewFloatingIp(ctx, \"foobarFloatingIp\", \u0026digitalocean.FloatingIpArgs{\n\t\t\tRegion: pulumi.String(\"sgp1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"sgp1\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewFloatingIpAssignment(ctx, \"foobarFloatingIpAssignment\", \u0026digitalocean.FloatingIpAssignmentArgs{\n\t\t\tIpAddress: foobarFloatingIp.IpAddress,\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.FloatingIp;\nimport com.pulumi.digitalocean.FloatingIpArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.FloatingIpAssignment;\nimport com.pulumi.digitalocean.FloatingIpAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarFloatingIp = new FloatingIp(\"foobarFloatingIp\", FloatingIpArgs.builder() \n .region(\"sgp1\")\n .build());\n\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"sgp1\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var foobarFloatingIpAssignment = new FloatingIpAssignment(\"foobarFloatingIpAssignment\", FloatingIpAssignmentArgs.builder() \n .ipAddress(foobarFloatingIp.ipAddress())\n .dropletId(foobarDroplet.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarFloatingIp:\n type: digitalocean:FloatingIp\n properties:\n region: sgp1\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: sgp1\n ipv6: true\n privateNetworking: true\n foobarFloatingIpAssignment:\n type: digitalocean:FloatingIpAssignment\n properties:\n ipAddress: ${foobarFloatingIp.ipAddress}\n dropletId: ${foobarDroplet.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nFloating IP assignments can be imported using the Floating IP itself and the `id` of\n\n the Droplet joined with a comma. For example:\n\n ```sh\n $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456\n```\n\n ", + "description": "\u003e **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use `digitalocean.ReservedIpAssignment` instead.\n\nProvides a resource for assigning an existing DigitalOcean Floating IP to a Droplet. This\nmakes it easy to provision floating IP addresses that are not tied to the lifecycle of your\nDroplet.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarFloatingIp = new digitalocean.FloatingIp(\"foobarFloatingIp\", {region: \"sgp1\"});\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"sgp1\",\n ipv6: true,\n privateNetworking: true,\n});\nconst foobarFloatingIpAssignment = new digitalocean.FloatingIpAssignment(\"foobarFloatingIpAssignment\", {\n ipAddress: foobarFloatingIp.ipAddress,\n dropletId: foobarDroplet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_floating_ip = digitalocean.FloatingIp(\"foobarFloatingIp\", region=\"sgp1\")\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"sgp1\",\n ipv6=True,\n private_networking=True)\nfoobar_floating_ip_assignment = digitalocean.FloatingIpAssignment(\"foobarFloatingIpAssignment\",\n ip_address=foobar_floating_ip.ip_address,\n droplet_id=foobar_droplet.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarFloatingIp = new DigitalOcean.FloatingIp(\"foobarFloatingIp\", new()\n {\n Region = \"sgp1\",\n });\n\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"sgp1\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var foobarFloatingIpAssignment = new DigitalOcean.FloatingIpAssignment(\"foobarFloatingIpAssignment\", new()\n {\n IpAddress = foobarFloatingIp.IpAddress,\n DropletId = foobarDroplet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarFloatingIp, err := digitalocean.NewFloatingIp(ctx, \"foobarFloatingIp\", \u0026digitalocean.FloatingIpArgs{\n\t\t\tRegion: pulumi.String(\"sgp1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"sgp1\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewFloatingIpAssignment(ctx, \"foobarFloatingIpAssignment\", \u0026digitalocean.FloatingIpAssignmentArgs{\n\t\t\tIpAddress: foobarFloatingIp.IpAddress,\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.FloatingIp;\nimport com.pulumi.digitalocean.FloatingIpArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.FloatingIpAssignment;\nimport com.pulumi.digitalocean.FloatingIpAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarFloatingIp = new FloatingIp(\"foobarFloatingIp\", FloatingIpArgs.builder() \n .region(\"sgp1\")\n .build());\n\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"sgp1\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var foobarFloatingIpAssignment = new FloatingIpAssignment(\"foobarFloatingIpAssignment\", FloatingIpAssignmentArgs.builder() \n .ipAddress(foobarFloatingIp.ipAddress())\n .dropletId(foobarDroplet.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarFloatingIp:\n type: digitalocean:FloatingIp\n properties:\n region: sgp1\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: sgp1\n ipv6: true\n privateNetworking: true\n foobarFloatingIpAssignment:\n type: digitalocean:FloatingIpAssignment\n properties:\n ipAddress: ${foobarFloatingIp.ipAddress}\n dropletId: ${foobarDroplet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFloating IP assignments can be imported using the Floating IP itself and the `id` of\n\nthe Droplet joined with a comma. For example:\n\n```sh\n$ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456\n```\n\n", "properties": { "dropletId": { "type": "integer", @@ -10749,7 +10749,7 @@ } }, "digitalocean:index/kubernetesCluster:KubernetesCluster": { - "description": "\n\n\n## Import\n\nBefore importing a Kubernetes cluster, the cluster's default node pool must be tagged with\n\n the `terraform:default-node-pool` tag. The provider will automatically add this tag if\n\n the cluster only has a single node pool. Clusters with more than one node pool, however, will require\n\n that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be\n\n the default node pool.\n\n Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af\n```\n\n Additional node pools must be imported separately as `digitalocean_kubernetes_cluster`\n\n resources, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8\n```\n\n ", + "description": "\n\n## Import\n\nBefore importing a Kubernetes cluster, the cluster's default node pool must be tagged with\n\nthe `terraform:default-node-pool` tag. The provider will automatically add this tag if\n\nthe cluster only has a single node pool. Clusters with more than one node pool, however, will require\n\nthat you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be\n\nthe default node pool.\n\nThen the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af\n```\n\nAdditional node pools must be imported separately as `digitalocean_kubernetes_cluster`\n\nresources, e.g.\n\n```sh\n$ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8\n```\n\n", "properties": { "autoUpgrade": { "type": "boolean", @@ -11037,7 +11037,7 @@ } }, "digitalocean:index/kubernetesNodePool:KubernetesNodePool": { - "description": "Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `digitalocean.KubernetesCluster` resource, this resource can be used to add additional ones to a cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Example\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foo = new digitalocean.KubernetesCluster(\"foo\", {\n region: \"nyc1\",\n version: \"1.22.8-do.1\",\n nodePool: {\n name: \"front-end-pool\",\n size: \"s-2vcpu-2gb\",\n nodeCount: 3,\n },\n});\nconst bar = new digitalocean.KubernetesNodePool(\"bar\", {\n clusterId: foo.id,\n size: \"c-2\",\n nodeCount: 2,\n tags: [\"backend\"],\n labels: {\n service: \"backend\",\n priority: \"high\",\n },\n taints: [{\n key: \"workloadKind\",\n value: \"database\",\n effect: \"NoSchedule\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoo = digitalocean.KubernetesCluster(\"foo\",\n region=\"nyc1\",\n version=\"1.22.8-do.1\",\n node_pool=digitalocean.KubernetesClusterNodePoolArgs(\n name=\"front-end-pool\",\n size=\"s-2vcpu-2gb\",\n node_count=3,\n ))\nbar = digitalocean.KubernetesNodePool(\"bar\",\n cluster_id=foo.id,\n size=\"c-2\",\n node_count=2,\n tags=[\"backend\"],\n labels={\n \"service\": \"backend\",\n \"priority\": \"high\",\n },\n taints=[digitalocean.KubernetesNodePoolTaintArgs(\n key=\"workloadKind\",\n value=\"database\",\n effect=\"NoSchedule\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = new DigitalOcean.KubernetesCluster(\"foo\", new()\n {\n Region = \"nyc1\",\n Version = \"1.22.8-do.1\",\n NodePool = new DigitalOcean.Inputs.KubernetesClusterNodePoolArgs\n {\n Name = \"front-end-pool\",\n Size = \"s-2vcpu-2gb\",\n NodeCount = 3,\n },\n });\n\n var bar = new DigitalOcean.KubernetesNodePool(\"bar\", new()\n {\n ClusterId = foo.Id,\n Size = \"c-2\",\n NodeCount = 2,\n Tags = new[]\n {\n \"backend\",\n },\n Labels = \n {\n { \"service\", \"backend\" },\n { \"priority\", \"high\" },\n },\n Taints = new[]\n {\n new DigitalOcean.Inputs.KubernetesNodePoolTaintArgs\n {\n Key = \"workloadKind\",\n Value = \"database\",\n Effect = \"NoSchedule\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo, err := digitalocean.NewKubernetesCluster(ctx, \"foo\", \u0026digitalocean.KubernetesClusterArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tVersion: pulumi.String(\"1.22.8-do.1\"),\n\t\t\tNodePool: \u0026digitalocean.KubernetesClusterNodePoolArgs{\n\t\t\t\tName: pulumi.String(\"front-end-pool\"),\n\t\t\t\tSize: pulumi.String(\"s-2vcpu-2gb\"),\n\t\t\t\tNodeCount: pulumi.Int(3),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewKubernetesNodePool(ctx, \"bar\", \u0026digitalocean.KubernetesNodePoolArgs{\n\t\t\tClusterId: foo.ID(),\n\t\t\tSize: pulumi.String(\"c-2\"),\n\t\t\tNodeCount: pulumi.Int(2),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"backend\"),\n\t\t\t},\n\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\"service\": pulumi.String(\"backend\"),\n\t\t\t\t\"priority\": pulumi.String(\"high\"),\n\t\t\t},\n\t\t\tTaints: digitalocean.KubernetesNodePoolTaintArray{\n\t\t\t\t\u0026digitalocean.KubernetesNodePoolTaintArgs{\n\t\t\t\t\tKey: pulumi.String(\"workloadKind\"),\n\t\t\t\t\tValue: pulumi.String(\"database\"),\n\t\t\t\t\tEffect: pulumi.String(\"NoSchedule\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.KubernetesCluster;\nimport com.pulumi.digitalocean.KubernetesClusterArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesClusterNodePoolArgs;\nimport com.pulumi.digitalocean.KubernetesNodePool;\nimport com.pulumi.digitalocean.KubernetesNodePoolArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesNodePoolTaintArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new KubernetesCluster(\"foo\", KubernetesClusterArgs.builder() \n .region(\"nyc1\")\n .version(\"1.22.8-do.1\")\n .nodePool(KubernetesClusterNodePoolArgs.builder()\n .name(\"front-end-pool\")\n .size(\"s-2vcpu-2gb\")\n .nodeCount(3)\n .build())\n .build());\n\n var bar = new KubernetesNodePool(\"bar\", KubernetesNodePoolArgs.builder() \n .clusterId(foo.id())\n .size(\"c-2\")\n .nodeCount(2)\n .tags(\"backend\")\n .labels(Map.ofEntries(\n Map.entry(\"service\", \"backend\"),\n Map.entry(\"priority\", \"high\")\n ))\n .taints(KubernetesNodePoolTaintArgs.builder()\n .key(\"workloadKind\")\n .value(\"database\")\n .effect(\"NoSchedule\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: digitalocean:KubernetesCluster\n properties:\n region: nyc1\n version: 1.22.8-do.1\n nodePool:\n name: front-end-pool\n size: s-2vcpu-2gb\n nodeCount: 3\n bar:\n type: digitalocean:KubernetesNodePool\n properties:\n clusterId: ${foo.id}\n size: c-2\n nodeCount: 2\n tags:\n - backend\n labels:\n service: backend\n priority: high\n taints:\n - key: workloadKind\n value: database\n effect: NoSchedule\n```\n{{% /example %}}\n{{% example %}}\n### Autoscaling Example\n\nNode pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/).\nFor example:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst autoscale_pool_01 = new digitalocean.KubernetesNodePool(\"autoscale-pool-01\", {\n clusterId: digitalocean_kubernetes_cluster.foo.id,\n size: \"s-1vcpu-2gb\",\n autoScale: true,\n minNodes: 1,\n maxNodes: 5,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nautoscale_pool_01 = digitalocean.KubernetesNodePool(\"autoscale-pool-01\",\n cluster_id=digitalocean_kubernetes_cluster[\"foo\"][\"id\"],\n size=\"s-1vcpu-2gb\",\n auto_scale=True,\n min_nodes=1,\n max_nodes=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var autoscale_pool_01 = new DigitalOcean.KubernetesNodePool(\"autoscale-pool-01\", new()\n {\n ClusterId = digitalocean_kubernetes_cluster.Foo.Id,\n Size = \"s-1vcpu-2gb\",\n AutoScale = true,\n MinNodes = 1,\n MaxNodes = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewKubernetesNodePool(ctx, \"autoscale-pool-01\", \u0026digitalocean.KubernetesNodePoolArgs{\n\t\t\tClusterId: pulumi.Any(digitalocean_kubernetes_cluster.Foo.Id),\n\t\t\tSize: pulumi.String(\"s-1vcpu-2gb\"),\n\t\t\tAutoScale: pulumi.Bool(true),\n\t\t\tMinNodes: pulumi.Int(1),\n\t\t\tMaxNodes: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.KubernetesNodePool;\nimport com.pulumi.digitalocean.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var autoscale_pool_01 = new KubernetesNodePool(\"autoscale-pool-01\", KubernetesNodePoolArgs.builder() \n .clusterId(digitalocean_kubernetes_cluster.foo().id())\n .size(\"s-1vcpu-2gb\")\n .autoScale(true)\n .minNodes(1)\n .maxNodes(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n autoscale-pool-01:\n type: digitalocean:KubernetesNodePool\n properties:\n clusterId: ${digitalocean_kubernetes_cluster.foo.id}\n size: s-1vcpu-2gb\n autoScale: true\n minNodes: 1\n maxNodes: 5\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nIf you are importing an existing Kubernetes cluster with a single node pool, just\n\n import the cluster. Additional node pools can be imported by using their `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8\n```\n\n Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an\n\n existing cluster. The provider will refuse to import the node pool in that case because the node pool\n\n is managed by the `digitalocean_kubernetes_cluster` resource and not by this\n\n `digitalocean_kubernetes_node_pool` resource.\n\n ", + "description": "Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `digitalocean.KubernetesCluster` resource, this resource can be used to add additional ones to a cluster.\n\n## Example Usage\n\n### Basic Example\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foo = new digitalocean.KubernetesCluster(\"foo\", {\n region: \"nyc1\",\n version: \"1.22.8-do.1\",\n nodePool: {\n name: \"front-end-pool\",\n size: \"s-2vcpu-2gb\",\n nodeCount: 3,\n },\n});\nconst bar = new digitalocean.KubernetesNodePool(\"bar\", {\n clusterId: foo.id,\n size: \"c-2\",\n nodeCount: 2,\n tags: [\"backend\"],\n labels: {\n service: \"backend\",\n priority: \"high\",\n },\n taints: [{\n key: \"workloadKind\",\n value: \"database\",\n effect: \"NoSchedule\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoo = digitalocean.KubernetesCluster(\"foo\",\n region=\"nyc1\",\n version=\"1.22.8-do.1\",\n node_pool=digitalocean.KubernetesClusterNodePoolArgs(\n name=\"front-end-pool\",\n size=\"s-2vcpu-2gb\",\n node_count=3,\n ))\nbar = digitalocean.KubernetesNodePool(\"bar\",\n cluster_id=foo.id,\n size=\"c-2\",\n node_count=2,\n tags=[\"backend\"],\n labels={\n \"service\": \"backend\",\n \"priority\": \"high\",\n },\n taints=[digitalocean.KubernetesNodePoolTaintArgs(\n key=\"workloadKind\",\n value=\"database\",\n effect=\"NoSchedule\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = new DigitalOcean.KubernetesCluster(\"foo\", new()\n {\n Region = \"nyc1\",\n Version = \"1.22.8-do.1\",\n NodePool = new DigitalOcean.Inputs.KubernetesClusterNodePoolArgs\n {\n Name = \"front-end-pool\",\n Size = \"s-2vcpu-2gb\",\n NodeCount = 3,\n },\n });\n\n var bar = new DigitalOcean.KubernetesNodePool(\"bar\", new()\n {\n ClusterId = foo.Id,\n Size = \"c-2\",\n NodeCount = 2,\n Tags = new[]\n {\n \"backend\",\n },\n Labels = \n {\n { \"service\", \"backend\" },\n { \"priority\", \"high\" },\n },\n Taints = new[]\n {\n new DigitalOcean.Inputs.KubernetesNodePoolTaintArgs\n {\n Key = \"workloadKind\",\n Value = \"database\",\n Effect = \"NoSchedule\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo, err := digitalocean.NewKubernetesCluster(ctx, \"foo\", \u0026digitalocean.KubernetesClusterArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tVersion: pulumi.String(\"1.22.8-do.1\"),\n\t\t\tNodePool: \u0026digitalocean.KubernetesClusterNodePoolArgs{\n\t\t\t\tName: pulumi.String(\"front-end-pool\"),\n\t\t\t\tSize: pulumi.String(\"s-2vcpu-2gb\"),\n\t\t\t\tNodeCount: pulumi.Int(3),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewKubernetesNodePool(ctx, \"bar\", \u0026digitalocean.KubernetesNodePoolArgs{\n\t\t\tClusterId: foo.ID(),\n\t\t\tSize: pulumi.String(\"c-2\"),\n\t\t\tNodeCount: pulumi.Int(2),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"backend\"),\n\t\t\t},\n\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\"service\": pulumi.String(\"backend\"),\n\t\t\t\t\"priority\": pulumi.String(\"high\"),\n\t\t\t},\n\t\t\tTaints: digitalocean.KubernetesNodePoolTaintArray{\n\t\t\t\t\u0026digitalocean.KubernetesNodePoolTaintArgs{\n\t\t\t\t\tKey: pulumi.String(\"workloadKind\"),\n\t\t\t\t\tValue: pulumi.String(\"database\"),\n\t\t\t\t\tEffect: pulumi.String(\"NoSchedule\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.KubernetesCluster;\nimport com.pulumi.digitalocean.KubernetesClusterArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesClusterNodePoolArgs;\nimport com.pulumi.digitalocean.KubernetesNodePool;\nimport com.pulumi.digitalocean.KubernetesNodePoolArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesNodePoolTaintArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new KubernetesCluster(\"foo\", KubernetesClusterArgs.builder() \n .region(\"nyc1\")\n .version(\"1.22.8-do.1\")\n .nodePool(KubernetesClusterNodePoolArgs.builder()\n .name(\"front-end-pool\")\n .size(\"s-2vcpu-2gb\")\n .nodeCount(3)\n .build())\n .build());\n\n var bar = new KubernetesNodePool(\"bar\", KubernetesNodePoolArgs.builder() \n .clusterId(foo.id())\n .size(\"c-2\")\n .nodeCount(2)\n .tags(\"backend\")\n .labels(Map.ofEntries(\n Map.entry(\"service\", \"backend\"),\n Map.entry(\"priority\", \"high\")\n ))\n .taints(KubernetesNodePoolTaintArgs.builder()\n .key(\"workloadKind\")\n .value(\"database\")\n .effect(\"NoSchedule\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: digitalocean:KubernetesCluster\n properties:\n region: nyc1\n version: 1.22.8-do.1\n nodePool:\n name: front-end-pool\n size: s-2vcpu-2gb\n nodeCount: 3\n bar:\n type: digitalocean:KubernetesNodePool\n properties:\n clusterId: ${foo.id}\n size: c-2\n nodeCount: 2\n tags:\n - backend\n labels:\n service: backend\n priority: high\n taints:\n - key: workloadKind\n value: database\n effect: NoSchedule\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Autoscaling Example\n\nNode pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/).\nFor example:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst autoscale_pool_01 = new digitalocean.KubernetesNodePool(\"autoscale-pool-01\", {\n clusterId: digitalocean_kubernetes_cluster.foo.id,\n size: \"s-1vcpu-2gb\",\n autoScale: true,\n minNodes: 1,\n maxNodes: 5,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nautoscale_pool_01 = digitalocean.KubernetesNodePool(\"autoscale-pool-01\",\n cluster_id=digitalocean_kubernetes_cluster[\"foo\"][\"id\"],\n size=\"s-1vcpu-2gb\",\n auto_scale=True,\n min_nodes=1,\n max_nodes=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var autoscale_pool_01 = new DigitalOcean.KubernetesNodePool(\"autoscale-pool-01\", new()\n {\n ClusterId = digitalocean_kubernetes_cluster.Foo.Id,\n Size = \"s-1vcpu-2gb\",\n AutoScale = true,\n MinNodes = 1,\n MaxNodes = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewKubernetesNodePool(ctx, \"autoscale-pool-01\", \u0026digitalocean.KubernetesNodePoolArgs{\n\t\t\tClusterId: pulumi.Any(digitalocean_kubernetes_cluster.Foo.Id),\n\t\t\tSize: pulumi.String(\"s-1vcpu-2gb\"),\n\t\t\tAutoScale: pulumi.Bool(true),\n\t\t\tMinNodes: pulumi.Int(1),\n\t\t\tMaxNodes: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.KubernetesNodePool;\nimport com.pulumi.digitalocean.KubernetesNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var autoscale_pool_01 = new KubernetesNodePool(\"autoscale-pool-01\", KubernetesNodePoolArgs.builder() \n .clusterId(digitalocean_kubernetes_cluster.foo().id())\n .size(\"s-1vcpu-2gb\")\n .autoScale(true)\n .minNodes(1)\n .maxNodes(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n autoscale-pool-01:\n type: digitalocean:KubernetesNodePool\n properties:\n clusterId: ${digitalocean_kubernetes_cluster.foo.id}\n size: s-1vcpu-2gb\n autoScale: true\n minNodes: 1\n maxNodes: 5\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nIf you are importing an existing Kubernetes cluster with a single node pool, just\n\nimport the cluster. Additional node pools can be imported by using their `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8\n```\n\nNote: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an\n\nexisting cluster. The provider will refuse to import the node pool in that case because the node pool\n\nis managed by the `digitalocean_kubernetes_cluster` resource and not by this\n\n`digitalocean_kubernetes_node_pool` resource.\n\n", "properties": { "actualNodeCount": { "type": "integer", @@ -11252,7 +11252,7 @@ } }, "digitalocean:index/loadBalancer:LoadBalancer": { - "description": "Provides a DigitalOcean Load Balancer resource. This can be used to create,\nmodify, and delete Load Balancers.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst _public = new digitalocean.LoadBalancer(\"public\", {\n region: \"nyc3\",\n forwardingRules: [{\n entryPort: 80,\n entryProtocol: \"http\",\n targetPort: 80,\n targetProtocol: \"http\",\n }],\n healthcheck: {\n port: 22,\n protocol: \"tcp\",\n },\n dropletIds: [web.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\npublic = digitalocean.LoadBalancer(\"public\",\n region=\"nyc3\",\n forwarding_rules=[digitalocean.LoadBalancerForwardingRuleArgs(\n entry_port=80,\n entry_protocol=\"http\",\n target_port=80,\n target_protocol=\"http\",\n )],\n healthcheck=digitalocean.LoadBalancerHealthcheckArgs(\n port=22,\n protocol=\"tcp\",\n ),\n droplet_ids=[web.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var @public = new DigitalOcean.LoadBalancer(\"public\", new()\n {\n Region = \"nyc3\",\n ForwardingRules = new[]\n {\n new DigitalOcean.Inputs.LoadBalancerForwardingRuleArgs\n {\n EntryPort = 80,\n EntryProtocol = \"http\",\n TargetPort = 80,\n TargetProtocol = \"http\",\n },\n },\n Healthcheck = new DigitalOcean.Inputs.LoadBalancerHealthcheckArgs\n {\n Port = 22,\n Protocol = \"tcp\",\n },\n DropletIds = new[]\n {\n web.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewLoadBalancer(ctx, \"public\", \u0026digitalocean.LoadBalancerArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{\n\t\t\t\t\u0026digitalocean.LoadBalancerForwardingRuleArgs{\n\t\t\t\t\tEntryPort: pulumi.Int(80),\n\t\t\t\t\tEntryProtocol: pulumi.String(\"http\"),\n\t\t\t\t\tTargetPort: pulumi.Int(80),\n\t\t\t\t\tTargetProtocol: pulumi.String(\"http\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tHealthcheck: \u0026digitalocean.LoadBalancerHealthcheckArgs{\n\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t},\n\t\t\tDropletIds: pulumi.IntArray{\n\t\t\t\tweb.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.LoadBalancer;\nimport com.pulumi.digitalocean.LoadBalancerArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerForwardingRuleArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerHealthcheckArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var public_ = new LoadBalancer(\"public\", LoadBalancerArgs.builder() \n .region(\"nyc3\")\n .forwardingRules(LoadBalancerForwardingRuleArgs.builder()\n .entryPort(80)\n .entryProtocol(\"http\")\n .targetPort(80)\n .targetProtocol(\"http\")\n .build())\n .healthcheck(LoadBalancerHealthcheckArgs.builder()\n .port(22)\n .protocol(\"tcp\")\n .build())\n .dropletIds(web.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n public:\n type: digitalocean:LoadBalancer\n properties:\n region: nyc3\n forwardingRules:\n - entryPort: 80\n entryProtocol: http\n targetPort: 80\n targetProtocol: http\n healthcheck:\n port: 22\n protocol: tcp\n dropletIds:\n - ${web.id}\n```\n\nWhen managing certificates attached to the load balancer, make sure to add the `create_before_destroy`\nlifecycle property in order to ensure the certificate is correctly updated when changed. The order of\noperations will then be: `Create new certificate` \u003e `Update loadbalancer with new certificate` -\u003e\n`Delete old certificate`. When doing so, you must also change the name of the certificate,\nas there cannot be multiple certificates with the same name in an account.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n privateKey: \"file('key.pem')\",\n leafCertificate: \"file('cert.pem')\",\n});\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst _public = new digitalocean.LoadBalancer(\"public\", {\n region: \"nyc3\",\n forwardingRules: [{\n entryPort: 443,\n entryProtocol: \"https\",\n targetPort: 80,\n targetProtocol: \"http\",\n certificateName: cert.name,\n }],\n healthcheck: {\n port: 22,\n protocol: \"tcp\",\n },\n dropletIds: [web.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n private_key=\"file('key.pem')\",\n leaf_certificate=\"file('cert.pem')\")\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\npublic = digitalocean.LoadBalancer(\"public\",\n region=\"nyc3\",\n forwarding_rules=[digitalocean.LoadBalancerForwardingRuleArgs(\n entry_port=443,\n entry_protocol=\"https\",\n target_port=80,\n target_protocol=\"http\",\n certificate_name=cert.name,\n )],\n healthcheck=digitalocean.LoadBalancerHealthcheckArgs(\n port=22,\n protocol=\"tcp\",\n ),\n droplet_ids=[web.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n PrivateKey = \"file('key.pem')\",\n LeafCertificate = \"file('cert.pem')\",\n });\n\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var @public = new DigitalOcean.LoadBalancer(\"public\", new()\n {\n Region = \"nyc3\",\n ForwardingRules = new[]\n {\n new DigitalOcean.Inputs.LoadBalancerForwardingRuleArgs\n {\n EntryPort = 443,\n EntryProtocol = \"https\",\n TargetPort = 80,\n TargetProtocol = \"http\",\n CertificateName = cert.Name,\n },\n },\n Healthcheck = new DigitalOcean.Inputs.LoadBalancerHealthcheckArgs\n {\n Port = 22,\n Protocol = \"tcp\",\n },\n DropletIds = new[]\n {\n web.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcert, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tPrivateKey: pulumi.String(\"file('key.pem')\"),\n\t\t\tLeafCertificate: pulumi.String(\"file('cert.pem')\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewLoadBalancer(ctx, \"public\", \u0026digitalocean.LoadBalancerArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{\n\t\t\t\t\u0026digitalocean.LoadBalancerForwardingRuleArgs{\n\t\t\t\t\tEntryPort: pulumi.Int(443),\n\t\t\t\t\tEntryProtocol: pulumi.String(\"https\"),\n\t\t\t\t\tTargetPort: pulumi.Int(80),\n\t\t\t\t\tTargetProtocol: pulumi.String(\"http\"),\n\t\t\t\t\tCertificateName: cert.Name,\n\t\t\t\t},\n\t\t\t},\n\t\t\tHealthcheck: \u0026digitalocean.LoadBalancerHealthcheckArgs{\n\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t},\n\t\t\tDropletIds: pulumi.IntArray{\n\t\t\t\tweb.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.LoadBalancer;\nimport com.pulumi.digitalocean.LoadBalancerArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerForwardingRuleArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerHealthcheckArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .privateKey(\"file('key.pem')\")\n .leafCertificate(\"file('cert.pem')\")\n .build());\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var public_ = new LoadBalancer(\"public\", LoadBalancerArgs.builder() \n .region(\"nyc3\")\n .forwardingRules(LoadBalancerForwardingRuleArgs.builder()\n .entryPort(443)\n .entryProtocol(\"https\")\n .targetPort(80)\n .targetProtocol(\"http\")\n .certificateName(cert.name())\n .build())\n .healthcheck(LoadBalancerHealthcheckArgs.builder()\n .port(22)\n .protocol(\"tcp\")\n .build())\n .dropletIds(web.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n privateKey: file('key.pem')\n leafCertificate: file('cert.pem')\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n public:\n type: digitalocean:LoadBalancer\n properties:\n region: nyc3\n forwardingRules:\n - entryPort: 443\n entryProtocol: https\n targetPort: 80\n targetProtocol: http\n certificateName: ${cert.name}\n healthcheck:\n port: 22\n protocol: tcp\n dropletIds:\n - ${web.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nLoad Balancers can be imported using the `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/loadBalancer:LoadBalancer myloadbalancer 4de7ac8b-495b-4884-9a69-1050c6793cd6\n```\n\n ", + "description": "Provides a DigitalOcean Load Balancer resource. This can be used to create,\nmodify, and delete Load Balancers.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst _public = new digitalocean.LoadBalancer(\"public\", {\n region: \"nyc3\",\n forwardingRules: [{\n entryPort: 80,\n entryProtocol: \"http\",\n targetPort: 80,\n targetProtocol: \"http\",\n }],\n healthcheck: {\n port: 22,\n protocol: \"tcp\",\n },\n dropletIds: [web.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\npublic = digitalocean.LoadBalancer(\"public\",\n region=\"nyc3\",\n forwarding_rules=[digitalocean.LoadBalancerForwardingRuleArgs(\n entry_port=80,\n entry_protocol=\"http\",\n target_port=80,\n target_protocol=\"http\",\n )],\n healthcheck=digitalocean.LoadBalancerHealthcheckArgs(\n port=22,\n protocol=\"tcp\",\n ),\n droplet_ids=[web.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var @public = new DigitalOcean.LoadBalancer(\"public\", new()\n {\n Region = \"nyc3\",\n ForwardingRules = new[]\n {\n new DigitalOcean.Inputs.LoadBalancerForwardingRuleArgs\n {\n EntryPort = 80,\n EntryProtocol = \"http\",\n TargetPort = 80,\n TargetProtocol = \"http\",\n },\n },\n Healthcheck = new DigitalOcean.Inputs.LoadBalancerHealthcheckArgs\n {\n Port = 22,\n Protocol = \"tcp\",\n },\n DropletIds = new[]\n {\n web.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewLoadBalancer(ctx, \"public\", \u0026digitalocean.LoadBalancerArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{\n\t\t\t\t\u0026digitalocean.LoadBalancerForwardingRuleArgs{\n\t\t\t\t\tEntryPort: pulumi.Int(80),\n\t\t\t\t\tEntryProtocol: pulumi.String(\"http\"),\n\t\t\t\t\tTargetPort: pulumi.Int(80),\n\t\t\t\t\tTargetProtocol: pulumi.String(\"http\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tHealthcheck: \u0026digitalocean.LoadBalancerHealthcheckArgs{\n\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t},\n\t\t\tDropletIds: pulumi.IntArray{\n\t\t\t\tweb.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.LoadBalancer;\nimport com.pulumi.digitalocean.LoadBalancerArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerForwardingRuleArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerHealthcheckArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var public_ = new LoadBalancer(\"public\", LoadBalancerArgs.builder() \n .region(\"nyc3\")\n .forwardingRules(LoadBalancerForwardingRuleArgs.builder()\n .entryPort(80)\n .entryProtocol(\"http\")\n .targetPort(80)\n .targetProtocol(\"http\")\n .build())\n .healthcheck(LoadBalancerHealthcheckArgs.builder()\n .port(22)\n .protocol(\"tcp\")\n .build())\n .dropletIds(web.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n public:\n type: digitalocean:LoadBalancer\n properties:\n region: nyc3\n forwardingRules:\n - entryPort: 80\n entryProtocol: http\n targetPort: 80\n targetProtocol: http\n healthcheck:\n port: 22\n protocol: tcp\n dropletIds:\n - ${web.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nWhen managing certificates attached to the load balancer, make sure to add the `create_before_destroy`\nlifecycle property in order to ensure the certificate is correctly updated when changed. The order of\noperations will then be: `Create new certificate` \u003e `Update loadbalancer with new certificate` -\u003e\n`Delete old certificate`. When doing so, you must also change the name of the certificate,\nas there cannot be multiple certificates with the same name in an account.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst cert = new digitalocean.Certificate(\"cert\", {\n privateKey: \"file('key.pem')\",\n leafCertificate: \"file('cert.pem')\",\n});\nconst web = new digitalocean.Droplet(\"web\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst _public = new digitalocean.LoadBalancer(\"public\", {\n region: \"nyc3\",\n forwardingRules: [{\n entryPort: 443,\n entryProtocol: \"https\",\n targetPort: 80,\n targetProtocol: \"http\",\n certificateName: cert.name,\n }],\n healthcheck: {\n port: 22,\n protocol: \"tcp\",\n },\n dropletIds: [web.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ncert = digitalocean.Certificate(\"cert\",\n private_key=\"file('key.pem')\",\n leaf_certificate=\"file('cert.pem')\")\nweb = digitalocean.Droplet(\"web\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\npublic = digitalocean.LoadBalancer(\"public\",\n region=\"nyc3\",\n forwarding_rules=[digitalocean.LoadBalancerForwardingRuleArgs(\n entry_port=443,\n entry_protocol=\"https\",\n target_port=80,\n target_protocol=\"http\",\n certificate_name=cert.name,\n )],\n healthcheck=digitalocean.LoadBalancerHealthcheckArgs(\n port=22,\n protocol=\"tcp\",\n ),\n droplet_ids=[web.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var cert = new DigitalOcean.Certificate(\"cert\", new()\n {\n PrivateKey = \"file('key.pem')\",\n LeafCertificate = \"file('cert.pem')\",\n });\n\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var @public = new DigitalOcean.LoadBalancer(\"public\", new()\n {\n Region = \"nyc3\",\n ForwardingRules = new[]\n {\n new DigitalOcean.Inputs.LoadBalancerForwardingRuleArgs\n {\n EntryPort = 443,\n EntryProtocol = \"https\",\n TargetPort = 80,\n TargetProtocol = \"http\",\n CertificateName = cert.Name,\n },\n },\n Healthcheck = new DigitalOcean.Inputs.LoadBalancerHealthcheckArgs\n {\n Port = 22,\n Protocol = \"tcp\",\n },\n DropletIds = new[]\n {\n web.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcert, err := digitalocean.NewCertificate(ctx, \"cert\", \u0026digitalocean.CertificateArgs{\n\t\t\tPrivateKey: pulumi.String(\"file('key.pem')\"),\n\t\t\tLeafCertificate: pulumi.String(\"file('cert.pem')\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tweb, err := digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewLoadBalancer(ctx, \"public\", \u0026digitalocean.LoadBalancerArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{\n\t\t\t\t\u0026digitalocean.LoadBalancerForwardingRuleArgs{\n\t\t\t\t\tEntryPort: pulumi.Int(443),\n\t\t\t\t\tEntryProtocol: pulumi.String(\"https\"),\n\t\t\t\t\tTargetPort: pulumi.Int(80),\n\t\t\t\t\tTargetProtocol: pulumi.String(\"http\"),\n\t\t\t\t\tCertificateName: cert.Name,\n\t\t\t\t},\n\t\t\t},\n\t\t\tHealthcheck: \u0026digitalocean.LoadBalancerHealthcheckArgs{\n\t\t\t\tPort: pulumi.Int(22),\n\t\t\t\tProtocol: pulumi.String(\"tcp\"),\n\t\t\t},\n\t\t\tDropletIds: pulumi.IntArray{\n\t\t\t\tweb.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Certificate;\nimport com.pulumi.digitalocean.CertificateArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.LoadBalancer;\nimport com.pulumi.digitalocean.LoadBalancerArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerForwardingRuleArgs;\nimport com.pulumi.digitalocean.inputs.LoadBalancerHealthcheckArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var cert = new Certificate(\"cert\", CertificateArgs.builder() \n .privateKey(\"file('key.pem')\")\n .leafCertificate(\"file('cert.pem')\")\n .build());\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var public_ = new LoadBalancer(\"public\", LoadBalancerArgs.builder() \n .region(\"nyc3\")\n .forwardingRules(LoadBalancerForwardingRuleArgs.builder()\n .entryPort(443)\n .entryProtocol(\"https\")\n .targetPort(80)\n .targetProtocol(\"http\")\n .certificateName(cert.name())\n .build())\n .healthcheck(LoadBalancerHealthcheckArgs.builder()\n .port(22)\n .protocol(\"tcp\")\n .build())\n .dropletIds(web.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n cert:\n type: digitalocean:Certificate\n properties:\n privateKey: file('key.pem')\n leafCertificate: file('cert.pem')\n web:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n public:\n type: digitalocean:LoadBalancer\n properties:\n region: nyc3\n forwardingRules:\n - entryPort: 443\n entryProtocol: https\n targetPort: 80\n targetProtocol: http\n certificateName: ${cert.name}\n healthcheck:\n port: 22\n protocol: tcp\n dropletIds:\n - ${web.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoad Balancers can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/loadBalancer:LoadBalancer myloadbalancer 4de7ac8b-495b-4884-9a69-1050c6793cd6\n```\n\n", "properties": { "algorithm": { "type": "string", @@ -11593,7 +11593,7 @@ } }, "digitalocean:index/monitorAlert:MonitorAlert": { - "description": "Provides a [DigitalOcean Monitoring](https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring)\nresource. Monitor alerts can be configured to alert about, e.g., disk or memory\nusage exceeding a certain threshold or traffic at a certain limit. Notifications\ncan be sent to either an email address or a Slack channel.\n\n\u003e **Note** Currently, the [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_alert_policy) only supports creating alerts for Droplets.\n\n\n## Import\n\nMonitor alerts can be imported using the monitor alert `uuid`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/monitorAlert:MonitorAlert cpu_alert b8ecd2ab-2267-4a5e-8692-cbf1d32583e3\n```\n\n ", + "description": "Provides a [DigitalOcean Monitoring](https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring)\nresource. Monitor alerts can be configured to alert about, e.g., disk or memory\nusage exceeding a certain threshold or traffic at a certain limit. Notifications\ncan be sent to either an email address or a Slack channel.\n\n\u003e **Note** Currently, the [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_alert_policy) only supports creating alerts for Droplets.\n\n## Import\n\nMonitor alerts can be imported using the monitor alert `uuid`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/monitorAlert:MonitorAlert cpu_alert b8ecd2ab-2267-4a5e-8692-cbf1d32583e3\n```\n\n", "properties": { "alerts": { "$ref": "#/types/digitalocean:index/MonitorAlertAlerts:MonitorAlertAlerts", @@ -11635,7 +11635,7 @@ }, "value": { "type": "number", - "description": "The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.\nDigitalOcean will show the correct unit in the web panel.\n" + "description": "The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number.\nDigitalOcean will show the correct unit in the web panel.\n" }, "window": { "type": "string", @@ -11688,7 +11688,7 @@ }, "value": { "type": "number", - "description": "The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.\nDigitalOcean will show the correct unit in the web panel.\n" + "description": "The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number.\nDigitalOcean will show the correct unit in the web panel.\n" }, "window": { "type": "string", @@ -11746,7 +11746,7 @@ }, "value": { "type": "number", - "description": "The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.\nDigitalOcean will show the correct unit in the web panel.\n" + "description": "The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number.\nDigitalOcean will show the correct unit in the web panel.\n" }, "window": { "type": "string", @@ -11757,7 +11757,7 @@ } }, "digitalocean:index/project:Project": { - "description": "Provides a DigitalOcean Project resource.\n\nProjects allow you to organize your resources into groups that fit the way you work.\nYou can group resources (like Droplets, Spaces, Load Balancers, domains, and Floating IPs)\nin ways that align with the applications you host on DigitalOcean.\n\nThe following resource types can be associated with a project:\n\n* Database Clusters\n* Domains\n* Droplets\n* Floating IP\n* Kubernetes Cluster\n* Load Balancers\n* Spaces Bucket\n* Volume\n\n**Note:** A provider managed project cannot be set as a default project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nThe following example demonstrates the creation of an empty project:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst playground = new digitalocean.Project(\"playground\", {\n description: \"A project to represent development resources.\",\n environment: \"Development\",\n purpose: \"Web Application\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nplayground = digitalocean.Project(\"playground\",\n description=\"A project to represent development resources.\",\n environment=\"Development\",\n purpose=\"Web Application\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var playground = new DigitalOcean.Project(\"playground\", new()\n {\n Description = \"A project to represent development resources.\",\n Environment = \"Development\",\n Purpose = \"Web Application\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewProject(ctx, \"playground\", \u0026digitalocean.ProjectArgs{\n\t\t\tDescription: pulumi.String(\"A project to represent development resources.\"),\n\t\t\tEnvironment: pulumi.String(\"Development\"),\n\t\t\tPurpose: pulumi.String(\"Web Application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Project;\nimport com.pulumi.digitalocean.ProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var playground = new Project(\"playground\", ProjectArgs.builder() \n .description(\"A project to represent development resources.\")\n .environment(\"Development\")\n .purpose(\"Web Application\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n playground:\n type: digitalocean:Project\n properties:\n description: A project to represent development resources.\n environment: Development\n purpose: Web Application\n```\n\nThe following example demonstrates the creation of a project with a Droplet resource:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.Droplet(\"foobar\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst playground = new digitalocean.Project(\"playground\", {\n description: \"A project to represent development resources.\",\n purpose: \"Web Application\",\n environment: \"Development\",\n resources: [foobar.dropletUrn],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.Droplet(\"foobar\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\nplayground = digitalocean.Project(\"playground\",\n description=\"A project to represent development resources.\",\n purpose=\"Web Application\",\n environment=\"Development\",\n resources=[foobar.droplet_urn])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.Droplet(\"foobar\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var playground = new DigitalOcean.Project(\"playground\", new()\n {\n Description = \"A project to represent development resources.\",\n Purpose = \"Web Application\",\n Environment = \"Development\",\n Resources = new[]\n {\n foobar.DropletUrn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobar, err := digitalocean.NewDroplet(ctx, \"foobar\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewProject(ctx, \"playground\", \u0026digitalocean.ProjectArgs{\n\t\t\tDescription: pulumi.String(\"A project to represent development resources.\"),\n\t\t\tPurpose: pulumi.String(\"Web Application\"),\n\t\t\tEnvironment: pulumi.String(\"Development\"),\n\t\t\tResources: pulumi.StringArray{\n\t\t\t\tfoobar.DropletUrn,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.Project;\nimport com.pulumi.digitalocean.ProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new Droplet(\"foobar\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var playground = new Project(\"playground\", ProjectArgs.builder() \n .description(\"A project to represent development resources.\")\n .purpose(\"Web Application\")\n .environment(\"Development\")\n .resources(foobar.dropletUrn())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n playground:\n type: digitalocean:Project\n properties:\n description: A project to represent development resources.\n purpose: Web Application\n environment: Development\n resources:\n - ${foobar.dropletUrn}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProjects can be imported using the `id` returned from DigitalOcean, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/project:Project myproject 245bcfd0-7f31-4ce6-a2bc-475a116cca97\n```\n\n ", + "description": "Provides a DigitalOcean Project resource.\n\nProjects allow you to organize your resources into groups that fit the way you work.\nYou can group resources (like Droplets, Spaces, Load Balancers, domains, and Floating IPs)\nin ways that align with the applications you host on DigitalOcean.\n\nThe following resource types can be associated with a project:\n\n* Database Clusters\n* Domains\n* Droplets\n* Floating IP\n* Kubernetes Cluster\n* Load Balancers\n* Spaces Bucket\n* Volume\n\n**Note:** A provider managed project cannot be set as a default project.\n\n## Example Usage\n\nThe following example demonstrates the creation of an empty project:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst playground = new digitalocean.Project(\"playground\", {\n description: \"A project to represent development resources.\",\n environment: \"Development\",\n purpose: \"Web Application\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nplayground = digitalocean.Project(\"playground\",\n description=\"A project to represent development resources.\",\n environment=\"Development\",\n purpose=\"Web Application\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var playground = new DigitalOcean.Project(\"playground\", new()\n {\n Description = \"A project to represent development resources.\",\n Environment = \"Development\",\n Purpose = \"Web Application\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewProject(ctx, \"playground\", \u0026digitalocean.ProjectArgs{\n\t\t\tDescription: pulumi.String(\"A project to represent development resources.\"),\n\t\t\tEnvironment: pulumi.String(\"Development\"),\n\t\t\tPurpose: pulumi.String(\"Web Application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Project;\nimport com.pulumi.digitalocean.ProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var playground = new Project(\"playground\", ProjectArgs.builder() \n .description(\"A project to represent development resources.\")\n .environment(\"Development\")\n .purpose(\"Web Application\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n playground:\n type: digitalocean:Project\n properties:\n description: A project to represent development resources.\n environment: Development\n purpose: Web Application\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nThe following example demonstrates the creation of a project with a Droplet resource:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.Droplet(\"foobar\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst playground = new digitalocean.Project(\"playground\", {\n description: \"A project to represent development resources.\",\n purpose: \"Web Application\",\n environment: \"Development\",\n resources: [foobar.dropletUrn],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.Droplet(\"foobar\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\nplayground = digitalocean.Project(\"playground\",\n description=\"A project to represent development resources.\",\n purpose=\"Web Application\",\n environment=\"Development\",\n resources=[foobar.droplet_urn])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.Droplet(\"foobar\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var playground = new DigitalOcean.Project(\"playground\", new()\n {\n Description = \"A project to represent development resources.\",\n Purpose = \"Web Application\",\n Environment = \"Development\",\n Resources = new[]\n {\n foobar.DropletUrn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobar, err := digitalocean.NewDroplet(ctx, \"foobar\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewProject(ctx, \"playground\", \u0026digitalocean.ProjectArgs{\n\t\t\tDescription: pulumi.String(\"A project to represent development resources.\"),\n\t\t\tPurpose: pulumi.String(\"Web Application\"),\n\t\t\tEnvironment: pulumi.String(\"Development\"),\n\t\t\tResources: pulumi.StringArray{\n\t\t\t\tfoobar.DropletUrn,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.Project;\nimport com.pulumi.digitalocean.ProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new Droplet(\"foobar\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var playground = new Project(\"playground\", ProjectArgs.builder() \n .description(\"A project to represent development resources.\")\n .purpose(\"Web Application\")\n .environment(\"Development\")\n .resources(foobar.dropletUrn())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n playground:\n type: digitalocean:Project\n properties:\n description: A project to represent development resources.\n purpose: Web Application\n environment: Development\n resources:\n - ${foobar.dropletUrn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nProjects can be imported using the `id` returned from DigitalOcean, e.g.\n\n```sh\n$ pulumi import digitalocean:index/project:Project myproject 245bcfd0-7f31-4ce6-a2bc-475a116cca97\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -11891,7 +11891,7 @@ } }, "digitalocean:index/projectResources:ProjectResources": { - "description": "Assign resources to a DigitalOcean Project. This is useful if you need to assign resources\nmanaged via this provider to a DigitalOcean Project managed outside of the provider.\n\nThe following resource types can be associated with a project:\n\n* Database Clusters\n* Domains\n* Droplets\n* Floating IP\n* Kubernetes Cluster\n* Load Balancers\n* Spaces Bucket\n* Volume\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nThe following example assigns a droplet to a Project managed outside of the provider:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst playground = digitalocean.getProject({\n name: \"playground\",\n});\nconst foobar = new digitalocean.Droplet(\"foobar\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst barfoo = new digitalocean.ProjectResources(\"barfoo\", {\n project: playground.then(playground =\u003e playground.id),\n resources: [foobar.dropletUrn],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nplayground = digitalocean.get_project(name=\"playground\")\nfoobar = digitalocean.Droplet(\"foobar\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\nbarfoo = digitalocean.ProjectResources(\"barfoo\",\n project=playground.id,\n resources=[foobar.droplet_urn])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var playground = DigitalOcean.GetProject.Invoke(new()\n {\n Name = \"playground\",\n });\n\n var foobar = new DigitalOcean.Droplet(\"foobar\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var barfoo = new DigitalOcean.ProjectResources(\"barfoo\", new()\n {\n Project = playground.Apply(getProjectResult =\u003e getProjectResult.Id),\n Resources = new[]\n {\n foobar.DropletUrn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tplayground, err := digitalocean.LookupProject(ctx, \u0026digitalocean.LookupProjectArgs{\n\t\t\tName: pulumi.StringRef(\"playground\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobar, err := digitalocean.NewDroplet(ctx, \"foobar\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewProjectResources(ctx, \"barfoo\", \u0026digitalocean.ProjectResourcesArgs{\n\t\t\tProject: *pulumi.String(playground.Id),\n\t\t\tResources: pulumi.StringArray{\n\t\t\t\tfoobar.DropletUrn,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.ProjectResources;\nimport com.pulumi.digitalocean.ProjectResourcesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var playground = DigitaloceanFunctions.getProject(GetProjectArgs.builder()\n .name(\"playground\")\n .build());\n\n var foobar = new Droplet(\"foobar\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var barfoo = new ProjectResources(\"barfoo\", ProjectResourcesArgs.builder() \n .project(playground.applyValue(getProjectResult -\u003e getProjectResult.id()))\n .resources(foobar.dropletUrn())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n barfoo:\n type: digitalocean:ProjectResources\n properties:\n project: ${playground.id}\n resources:\n - ${foobar.dropletUrn}\nvariables:\n playground:\n fn::invoke:\n Function: digitalocean:getProject\n Arguments:\n name: playground\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nImporting this resource is not supported.\n\n ", + "description": "Assign resources to a DigitalOcean Project. This is useful if you need to assign resources\nmanaged via this provider to a DigitalOcean Project managed outside of the provider.\n\nThe following resource types can be associated with a project:\n\n* Database Clusters\n* Domains\n* Droplets\n* Floating IP\n* Kubernetes Cluster\n* Load Balancers\n* Spaces Bucket\n* Volume\n\n## Example Usage\n\nThe following example assigns a droplet to a Project managed outside of the provider:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst playground = digitalocean.getProject({\n name: \"playground\",\n});\nconst foobar = new digitalocean.Droplet(\"foobar\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n});\nconst barfoo = new digitalocean.ProjectResources(\"barfoo\", {\n project: playground.then(playground =\u003e playground.id),\n resources: [foobar.dropletUrn],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nplayground = digitalocean.get_project(name=\"playground\")\nfoobar = digitalocean.Droplet(\"foobar\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\")\nbarfoo = digitalocean.ProjectResources(\"barfoo\",\n project=playground.id,\n resources=[foobar.droplet_urn])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var playground = DigitalOcean.GetProject.Invoke(new()\n {\n Name = \"playground\",\n });\n\n var foobar = new DigitalOcean.Droplet(\"foobar\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n });\n\n var barfoo = new DigitalOcean.ProjectResources(\"barfoo\", new()\n {\n Project = playground.Apply(getProjectResult =\u003e getProjectResult.Id),\n Resources = new[]\n {\n foobar.DropletUrn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tplayground, err := digitalocean.LookupProject(ctx, \u0026digitalocean.LookupProjectArgs{\n\t\t\tName: pulumi.StringRef(\"playground\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobar, err := digitalocean.NewDroplet(ctx, \"foobar\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewProjectResources(ctx, \"barfoo\", \u0026digitalocean.ProjectResourcesArgs{\n\t\t\tProject: *pulumi.String(playground.Id),\n\t\t\tResources: pulumi.StringArray{\n\t\t\t\tfoobar.DropletUrn,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.ProjectResources;\nimport com.pulumi.digitalocean.ProjectResourcesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var playground = DigitaloceanFunctions.getProject(GetProjectArgs.builder()\n .name(\"playground\")\n .build());\n\n var foobar = new Droplet(\"foobar\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var barfoo = new ProjectResources(\"barfoo\", ProjectResourcesArgs.builder() \n .project(playground.applyValue(getProjectResult -\u003e getProjectResult.id()))\n .resources(foobar.dropletUrn())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n barfoo:\n type: digitalocean:ProjectResources\n properties:\n project: ${playground.id}\n resources:\n - ${foobar.dropletUrn}\nvariables:\n playground:\n fn::invoke:\n Function: digitalocean:getProject\n Arguments:\n name: playground\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImporting this resource is not supported.\n\n", "properties": { "project": { "type": "string", @@ -11947,7 +11947,7 @@ } }, "digitalocean:index/reservedIp:ReservedIp": { - "description": "Provides a DigitalOcean reserved IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets.\n\n\u003e **NOTE:** Reserved IPs can be assigned to a Droplet either directly on the `digitalocean.ReservedIp` resource by setting a `droplet_id` or using the `digitalocean.ReservedIpAssignment` resource, but the two cannot be used together.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n ipv6: true,\n privateNetworking: true,\n});\nconst exampleReservedIp = new digitalocean.ReservedIp(\"exampleReservedIp\", {\n dropletId: exampleDroplet.id,\n region: exampleDroplet.region,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\",\n ipv6=True,\n private_networking=True)\nexample_reserved_ip = digitalocean.ReservedIp(\"exampleReservedIp\",\n droplet_id=example_droplet.id,\n region=example_droplet.region)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var exampleReservedIp = new DigitalOcean.ReservedIp(\"exampleReservedIp\", new()\n {\n DropletId = exampleDroplet.Id,\n Region = exampleDroplet.Region,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDroplet, err := digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewReservedIp(ctx, \"exampleReservedIp\", \u0026digitalocean.ReservedIpArgs{\n\t\t\tDropletId: exampleDroplet.ID(),\n\t\t\tRegion: exampleDroplet.Region,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.ReservedIp;\nimport com.pulumi.digitalocean.ReservedIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var exampleReservedIp = new ReservedIp(\"exampleReservedIp\", ReservedIpArgs.builder() \n .dropletId(exampleDroplet.id())\n .region(exampleDroplet.region())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n ipv6: true\n privateNetworking: true\n exampleReservedIp:\n type: digitalocean:ReservedIp\n properties:\n dropletId: ${exampleDroplet.id}\n region: ${exampleDroplet.region}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nReserved IPs can be imported using the `ip`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/reservedIp:ReservedIp myip 192.168.0.1\n```\n\n ", + "description": "Provides a DigitalOcean reserved IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets.\n\n\u003e **NOTE:** Reserved IPs can be assigned to a Droplet either directly on the `digitalocean.ReservedIp` resource by setting a `droplet_id` or using the `digitalocean.ReservedIpAssignment` resource, but the two cannot be used together.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n ipv6: true,\n privateNetworking: true,\n});\nconst exampleReservedIp = new digitalocean.ReservedIp(\"exampleReservedIp\", {\n dropletId: exampleDroplet.id,\n region: exampleDroplet.region,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\",\n ipv6=True,\n private_networking=True)\nexample_reserved_ip = digitalocean.ReservedIp(\"exampleReservedIp\",\n droplet_id=example_droplet.id,\n region=example_droplet.region)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var exampleReservedIp = new DigitalOcean.ReservedIp(\"exampleReservedIp\", new()\n {\n DropletId = exampleDroplet.Id,\n Region = exampleDroplet.Region,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleDroplet, err := digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewReservedIp(ctx, \"exampleReservedIp\", \u0026digitalocean.ReservedIpArgs{\n\t\t\tDropletId: exampleDroplet.ID(),\n\t\t\tRegion: exampleDroplet.Region,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.ReservedIp;\nimport com.pulumi.digitalocean.ReservedIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var exampleReservedIp = new ReservedIp(\"exampleReservedIp\", ReservedIpArgs.builder() \n .dropletId(exampleDroplet.id())\n .region(exampleDroplet.region())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n ipv6: true\n privateNetworking: true\n exampleReservedIp:\n type: digitalocean:ReservedIp\n properties:\n dropletId: ${exampleDroplet.id}\n region: ${exampleDroplet.region}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nReserved IPs can be imported using the `ip`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/reservedIp:ReservedIp myip 192.168.0.1\n```\n\n", "properties": { "dropletId": { "type": "integer", @@ -12014,7 +12014,7 @@ } }, "digitalocean:index/reservedIpAssignment:ReservedIpAssignment": { - "description": "Provides a resource for assigning an existing DigitalOcean reserved IP to a Droplet. This\nmakes it easy to provision reserved IP addresses that are not tied to the lifecycle of your\nDroplet.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleReservedIp = new digitalocean.ReservedIp(\"exampleReservedIp\", {region: \"nyc3\"});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n ipv6: true,\n privateNetworking: true,\n});\nconst exampleReservedIpAssignment = new digitalocean.ReservedIpAssignment(\"exampleReservedIpAssignment\", {\n ipAddress: exampleReservedIp.ipAddress,\n dropletId: exampleDroplet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_reserved_ip = digitalocean.ReservedIp(\"exampleReservedIp\", region=\"nyc3\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\",\n ipv6=True,\n private_networking=True)\nexample_reserved_ip_assignment = digitalocean.ReservedIpAssignment(\"exampleReservedIpAssignment\",\n ip_address=example_reserved_ip.ip_address,\n droplet_id=example_droplet.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleReservedIp = new DigitalOcean.ReservedIp(\"exampleReservedIp\", new()\n {\n Region = \"nyc3\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var exampleReservedIpAssignment = new DigitalOcean.ReservedIpAssignment(\"exampleReservedIpAssignment\", new()\n {\n IpAddress = exampleReservedIp.IpAddress,\n DropletId = exampleDroplet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleReservedIp, err := digitalocean.NewReservedIp(ctx, \"exampleReservedIp\", \u0026digitalocean.ReservedIpArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleDroplet, err := digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewReservedIpAssignment(ctx, \"exampleReservedIpAssignment\", \u0026digitalocean.ReservedIpAssignmentArgs{\n\t\t\tIpAddress: exampleReservedIp.IpAddress,\n\t\t\tDropletId: exampleDroplet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.ReservedIp;\nimport com.pulumi.digitalocean.ReservedIpArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.ReservedIpAssignment;\nimport com.pulumi.digitalocean.ReservedIpAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleReservedIp = new ReservedIp(\"exampleReservedIp\", ReservedIpArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var exampleReservedIpAssignment = new ReservedIpAssignment(\"exampleReservedIpAssignment\", ReservedIpAssignmentArgs.builder() \n .ipAddress(exampleReservedIp.ipAddress())\n .dropletId(exampleDroplet.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleReservedIp:\n type: digitalocean:ReservedIp\n properties:\n region: nyc3\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n ipv6: true\n privateNetworking: true\n exampleReservedIpAssignment:\n type: digitalocean:ReservedIpAssignment\n properties:\n ipAddress: ${exampleReservedIp.ipAddress}\n dropletId: ${exampleDroplet.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nReserved IP assignments can be imported using the reserved IP itself and the `id` of\n\n the Droplet joined with a comma. For example:\n\n ```sh\n $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456\n```\n\n ", + "description": "Provides a resource for assigning an existing DigitalOcean reserved IP to a Droplet. This\nmakes it easy to provision reserved IP addresses that are not tied to the lifecycle of your\nDroplet.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleReservedIp = new digitalocean.ReservedIp(\"exampleReservedIp\", {region: \"nyc3\"});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-22-04-x64\",\n region: \"nyc3\",\n ipv6: true,\n privateNetworking: true,\n});\nconst exampleReservedIpAssignment = new digitalocean.ReservedIpAssignment(\"exampleReservedIpAssignment\", {\n ipAddress: exampleReservedIp.ipAddress,\n dropletId: exampleDroplet.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_reserved_ip = digitalocean.ReservedIp(\"exampleReservedIp\", region=\"nyc3\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-22-04-x64\",\n region=\"nyc3\",\n ipv6=True,\n private_networking=True)\nexample_reserved_ip_assignment = digitalocean.ReservedIpAssignment(\"exampleReservedIpAssignment\",\n ip_address=example_reserved_ip.ip_address,\n droplet_id=example_droplet.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleReservedIp = new DigitalOcean.ReservedIp(\"exampleReservedIp\", new()\n {\n Region = \"nyc3\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-22-04-x64\",\n Region = \"nyc3\",\n Ipv6 = true,\n PrivateNetworking = true,\n });\n\n var exampleReservedIpAssignment = new DigitalOcean.ReservedIpAssignment(\"exampleReservedIpAssignment\", new()\n {\n IpAddress = exampleReservedIp.IpAddress,\n DropletId = exampleDroplet.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleReservedIp, err := digitalocean.NewReservedIp(ctx, \"exampleReservedIp\", \u0026digitalocean.ReservedIpArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleDroplet, err := digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-22-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tIpv6: pulumi.Bool(true),\n\t\t\tPrivateNetworking: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewReservedIpAssignment(ctx, \"exampleReservedIpAssignment\", \u0026digitalocean.ReservedIpAssignmentArgs{\n\t\t\tIpAddress: exampleReservedIp.IpAddress,\n\t\t\tDropletId: exampleDroplet.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.ReservedIp;\nimport com.pulumi.digitalocean.ReservedIpArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.ReservedIpAssignment;\nimport com.pulumi.digitalocean.ReservedIpAssignmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleReservedIp = new ReservedIp(\"exampleReservedIp\", ReservedIpArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-22-04-x64\")\n .region(\"nyc3\")\n .ipv6(true)\n .privateNetworking(true)\n .build());\n\n var exampleReservedIpAssignment = new ReservedIpAssignment(\"exampleReservedIpAssignment\", ReservedIpAssignmentArgs.builder() \n .ipAddress(exampleReservedIp.ipAddress())\n .dropletId(exampleDroplet.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleReservedIp:\n type: digitalocean:ReservedIp\n properties:\n region: nyc3\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-22-04-x64\n region: nyc3\n ipv6: true\n privateNetworking: true\n exampleReservedIpAssignment:\n type: digitalocean:ReservedIpAssignment\n properties:\n ipAddress: ${exampleReservedIp.ipAddress}\n dropletId: ${exampleDroplet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nReserved IP assignments can be imported using the reserved IP itself and the `id` of\n\nthe Droplet joined with a comma. For example:\n\n```sh\n$ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456\n```\n\n", "properties": { "dropletId": { "type": "integer", @@ -12063,7 +12063,7 @@ } }, "digitalocean:index/spacesBucket:SpacesBucket": { - "description": "Provides a bucket resource for Spaces, DigitalOcean's object storage product.\n\nThe [Spaces API](https://docs.digitalocean.com/reference/api/spaces-api/) was\ndesigned to be interoperable with Amazon's AWS S3 API. This allows users to\ninteract with the service while using the tools they already know. Spaces\nmirrors S3's authentication framework and requests to Spaces require a key pair\nsimilar to Amazon's Access ID and Secret Key.\n\nThe authentication requirement can be met by either setting the\n`SPACES_ACCESS_KEY_ID` and `SPACES_SECRET_ACCESS_KEY` environment variables or\nthe provider's `spaces_access_id` and `spaces_secret_key` arguments to the\naccess ID and secret you generate via the DigitalOcean control panel. For\nexample:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst static_assets = new digitalocean.SpacesBucket(\"static-assets\", {});\n// ...\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstatic_assets = digitalocean.SpacesBucket(\"static-assets\")\n# ...\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var static_assets = new DigitalOcean.SpacesBucket(\"static-assets\");\n\n // ...\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"static-assets\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var static_assets = new SpacesBucket(\"static-assets\");\n\n }\n}\n```\n```yaml\nresources:\n static-assets:\n type: digitalocean:SpacesBucket\n```\n\nFor more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a New Bucket\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {region: \"nyc3\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\", region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n```\n{{% /example %}}\n{{% example %}}\n### Create a New Bucket With CORS Rules\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {\n corsRules: [\n {\n allowedHeaders: [\"*\"],\n allowedMethods: [\"GET\"],\n allowedOrigins: [\"*\"],\n maxAgeSeconds: 3000,\n },\n {\n allowedHeaders: [\"*\"],\n allowedMethods: [\n \"PUT\",\n \"POST\",\n \"DELETE\",\n ],\n allowedOrigins: [\"https://www.example.com\"],\n maxAgeSeconds: 3000,\n },\n ],\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\",\n cors_rules=[\n digitalocean.SpacesBucketCorsRuleArgs(\n allowed_headers=[\"*\"],\n allowed_methods=[\"GET\"],\n allowed_origins=[\"*\"],\n max_age_seconds=3000,\n ),\n digitalocean.SpacesBucketCorsRuleArgs(\n allowed_headers=[\"*\"],\n allowed_methods=[\n \"PUT\",\n \"POST\",\n \"DELETE\",\n ],\n allowed_origins=[\"https://www.example.com\"],\n max_age_seconds=3000,\n ),\n ],\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n CorsRules = new[]\n {\n new DigitalOcean.Inputs.SpacesBucketCorsRuleArgs\n {\n AllowedHeaders = new[]\n {\n \"*\",\n },\n AllowedMethods = new[]\n {\n \"GET\",\n },\n AllowedOrigins = new[]\n {\n \"*\",\n },\n MaxAgeSeconds = 3000,\n },\n new DigitalOcean.Inputs.SpacesBucketCorsRuleArgs\n {\n AllowedHeaders = new[]\n {\n \"*\",\n },\n AllowedMethods = new[]\n {\n \"PUT\",\n \"POST\",\n \"DELETE\",\n },\n AllowedOrigins = new[]\n {\n \"https://www.example.com\",\n },\n MaxAgeSeconds = 3000,\n },\n },\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tCorsRules: digitalocean.SpacesBucketCorsRuleArray{\n\t\t\t\t\u0026digitalocean.SpacesBucketCorsRuleArgs{\n\t\t\t\t\tAllowedHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"GET\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAgeSeconds: pulumi.Int(3000),\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.SpacesBucketCorsRuleArgs{\n\t\t\t\t\tAllowedHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"PUT\"),\n\t\t\t\t\t\tpulumi.String(\"POST\"),\n\t\t\t\t\t\tpulumi.String(\"DELETE\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"https://www.example.com\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAgeSeconds: pulumi.Int(3000),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.inputs.SpacesBucketCorsRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .corsRules( \n SpacesBucketCorsRuleArgs.builder()\n .allowedHeaders(\"*\")\n .allowedMethods(\"GET\")\n .allowedOrigins(\"*\")\n .maxAgeSeconds(3000)\n .build(),\n SpacesBucketCorsRuleArgs.builder()\n .allowedHeaders(\"*\")\n .allowedMethods( \n \"PUT\",\n \"POST\",\n \"DELETE\")\n .allowedOrigins(\"https://www.example.com\")\n .maxAgeSeconds(3000)\n .build())\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n corsRules:\n - allowedHeaders:\n - '*'\n allowedMethods:\n - GET\n allowedOrigins:\n - '*'\n maxAgeSeconds: 3000\n - allowedHeaders:\n - '*'\n allowedMethods:\n - PUT\n - POST\n - DELETE\n allowedOrigins:\n - https://www.example.com\n maxAgeSeconds: 3000\n region: nyc3\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nBuckets can be imported using the `region` and `name` attributes (delimited by a comma):\n\n ```sh\n $ pulumi import digitalocean:index/spacesBucket:SpacesBucket foobar `region`,`name`\n```\n\n ", + "description": "Provides a bucket resource for Spaces, DigitalOcean's object storage product.\n\nThe [Spaces API](https://docs.digitalocean.com/reference/api/spaces-api/) was\ndesigned to be interoperable with Amazon's AWS S3 API. This allows users to\ninteract with the service while using the tools they already know. Spaces\nmirrors S3's authentication framework and requests to Spaces require a key pair\nsimilar to Amazon's Access ID and Secret Key.\n\nThe authentication requirement can be met by either setting the\n`SPACES_ACCESS_KEY_ID` and `SPACES_SECRET_ACCESS_KEY` environment variables or\nthe provider's `spaces_access_id` and `spaces_secret_key` arguments to the\naccess ID and secret you generate via the DigitalOcean control panel. For\nexample:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst static_assets = new digitalocean.SpacesBucket(\"static-assets\", {});\n// ...\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstatic_assets = digitalocean.SpacesBucket(\"static-assets\")\n# ...\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var static_assets = new DigitalOcean.SpacesBucket(\"static-assets\");\n\n // ...\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"static-assets\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var static_assets = new SpacesBucket(\"static-assets\");\n\n }\n}\n```\n```yaml\nresources:\n static-assets:\n type: digitalocean:SpacesBucket\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces)\n\n## Example Usage\n\n### Create a New Bucket\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {region: \"nyc3\"});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\", region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a New Bucket With CORS Rules\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {\n corsRules: [\n {\n allowedHeaders: [\"*\"],\n allowedMethods: [\"GET\"],\n allowedOrigins: [\"*\"],\n maxAgeSeconds: 3000,\n },\n {\n allowedHeaders: [\"*\"],\n allowedMethods: [\n \"PUT\",\n \"POST\",\n \"DELETE\",\n ],\n allowedOrigins: [\"https://www.example.com\"],\n maxAgeSeconds: 3000,\n },\n ],\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\",\n cors_rules=[\n digitalocean.SpacesBucketCorsRuleArgs(\n allowed_headers=[\"*\"],\n allowed_methods=[\"GET\"],\n allowed_origins=[\"*\"],\n max_age_seconds=3000,\n ),\n digitalocean.SpacesBucketCorsRuleArgs(\n allowed_headers=[\"*\"],\n allowed_methods=[\n \"PUT\",\n \"POST\",\n \"DELETE\",\n ],\n allowed_origins=[\"https://www.example.com\"],\n max_age_seconds=3000,\n ),\n ],\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n CorsRules = new[]\n {\n new DigitalOcean.Inputs.SpacesBucketCorsRuleArgs\n {\n AllowedHeaders = new[]\n {\n \"*\",\n },\n AllowedMethods = new[]\n {\n \"GET\",\n },\n AllowedOrigins = new[]\n {\n \"*\",\n },\n MaxAgeSeconds = 3000,\n },\n new DigitalOcean.Inputs.SpacesBucketCorsRuleArgs\n {\n AllowedHeaders = new[]\n {\n \"*\",\n },\n AllowedMethods = new[]\n {\n \"PUT\",\n \"POST\",\n \"DELETE\",\n },\n AllowedOrigins = new[]\n {\n \"https://www.example.com\",\n },\n MaxAgeSeconds = 3000,\n },\n },\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tCorsRules: digitalocean.SpacesBucketCorsRuleArray{\n\t\t\t\t\u0026digitalocean.SpacesBucketCorsRuleArgs{\n\t\t\t\t\tAllowedHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"GET\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAgeSeconds: pulumi.Int(3000),\n\t\t\t\t},\n\t\t\t\t\u0026digitalocean.SpacesBucketCorsRuleArgs{\n\t\t\t\t\tAllowedHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"PUT\"),\n\t\t\t\t\t\tpulumi.String(\"POST\"),\n\t\t\t\t\t\tpulumi.String(\"DELETE\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"https://www.example.com\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAgeSeconds: pulumi.Int(3000),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.inputs.SpacesBucketCorsRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .corsRules( \n SpacesBucketCorsRuleArgs.builder()\n .allowedHeaders(\"*\")\n .allowedMethods(\"GET\")\n .allowedOrigins(\"*\")\n .maxAgeSeconds(3000)\n .build(),\n SpacesBucketCorsRuleArgs.builder()\n .allowedHeaders(\"*\")\n .allowedMethods( \n \"PUT\",\n \"POST\",\n \"DELETE\")\n .allowedOrigins(\"https://www.example.com\")\n .maxAgeSeconds(3000)\n .build())\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n corsRules:\n - allowedHeaders:\n - '*'\n allowedMethods:\n - GET\n allowedOrigins:\n - '*'\n maxAgeSeconds: 3000\n - allowedHeaders:\n - '*'\n allowedMethods:\n - PUT\n - POST\n - DELETE\n allowedOrigins:\n - https://www.example.com\n maxAgeSeconds: 3000\n region: nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nBuckets can be imported using the `region` and `name` attributes (delimited by a comma):\n\n```sh\n$ pulumi import digitalocean:index/spacesBucket:SpacesBucket foobar `region`,`name`\n```\n\n", "properties": { "acl": { "type": "string", @@ -12231,7 +12231,7 @@ } }, "digitalocean:index/spacesBucketCorsConfiguration:SpacesBucketCorsConfiguration": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a Key in a Spaces Bucket\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {region: \"nyc3\"});\nconst test = new digitalocean.SpacesBucketCorsConfiguration(\"test\", {\n bucket: foobar.id,\n region: \"nyc3\",\n corsRules: [{\n allowedHeaders: [\"*\"],\n allowedMethods: [\n \"PUT\",\n \"POST\",\n ],\n allowedOrigins: [\"https://s3-website-test.hashicorp.com\"],\n exposeHeaders: [\"ETag\"],\n maxAgeSeconds: 3000,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\", region=\"nyc3\")\ntest = digitalocean.SpacesBucketCorsConfiguration(\"test\",\n bucket=foobar.id,\n region=\"nyc3\",\n cors_rules=[digitalocean.SpacesBucketCorsConfigurationCorsRuleArgs(\n allowed_headers=[\"*\"],\n allowed_methods=[\n \"PUT\",\n \"POST\",\n ],\n allowed_origins=[\"https://s3-website-test.hashicorp.com\"],\n expose_headers=[\"ETag\"],\n max_age_seconds=3000,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n Region = \"nyc3\",\n });\n\n var test = new DigitalOcean.SpacesBucketCorsConfiguration(\"test\", new()\n {\n Bucket = foobar.Id,\n Region = \"nyc3\",\n CorsRules = new[]\n {\n new DigitalOcean.Inputs.SpacesBucketCorsConfigurationCorsRuleArgs\n {\n AllowedHeaders = new[]\n {\n \"*\",\n },\n AllowedMethods = new[]\n {\n \"PUT\",\n \"POST\",\n },\n AllowedOrigins = new[]\n {\n \"https://s3-website-test.hashicorp.com\",\n },\n ExposeHeaders = new[]\n {\n \"ETag\",\n },\n MaxAgeSeconds = 3000,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobar, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewSpacesBucketCorsConfiguration(ctx, \"test\", \u0026digitalocean.SpacesBucketCorsConfigurationArgs{\n\t\t\tBucket: foobar.ID(),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tCorsRules: digitalocean.SpacesBucketCorsConfigurationCorsRuleArray{\n\t\t\t\t\u0026digitalocean.SpacesBucketCorsConfigurationCorsRuleArgs{\n\t\t\t\t\tAllowedHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"PUT\"),\n\t\t\t\t\t\tpulumi.String(\"POST\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"https://s3-website-test.hashicorp.com\"),\n\t\t\t\t\t},\n\t\t\t\t\tExposeHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ETag\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAgeSeconds: pulumi.Int(3000),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.SpacesBucketCorsConfiguration;\nimport com.pulumi.digitalocean.SpacesBucketCorsConfigurationArgs;\nimport com.pulumi.digitalocean.inputs.SpacesBucketCorsConfigurationCorsRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var test = new SpacesBucketCorsConfiguration(\"test\", SpacesBucketCorsConfigurationArgs.builder() \n .bucket(foobar.id())\n .region(\"nyc3\")\n .corsRules(SpacesBucketCorsConfigurationCorsRuleArgs.builder()\n .allowedHeaders(\"*\")\n .allowedMethods( \n \"PUT\",\n \"POST\")\n .allowedOrigins(\"https://s3-website-test.hashicorp.com\")\n .exposeHeaders(\"ETag\")\n .maxAgeSeconds(3000)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n test:\n type: digitalocean:SpacesBucketCorsConfiguration\n properties:\n bucket: ${foobar.id}\n region: nyc3\n corsRules:\n - allowedHeaders:\n - '*'\n allowedMethods:\n - PUT\n - POST\n allowedOrigins:\n - https://s3-website-test.hashicorp.com\n exposeHeaders:\n - ETag\n maxAgeSeconds: 3000\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nBucket policies can be imported using the `region` and `bucket` attributes (delimited by a comma):\n\n ```sh\n $ pulumi import digitalocean:index/spacesBucketCorsConfiguration:SpacesBucketCorsConfiguration foobar `region`,`bucket`\n```\n\n ", + "description": "## Example Usage\n\n### Create a Key in a Spaces Bucket\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {region: \"nyc3\"});\nconst test = new digitalocean.SpacesBucketCorsConfiguration(\"test\", {\n bucket: foobar.id,\n region: \"nyc3\",\n corsRules: [{\n allowedHeaders: [\"*\"],\n allowedMethods: [\n \"PUT\",\n \"POST\",\n ],\n allowedOrigins: [\"https://s3-website-test.hashicorp.com\"],\n exposeHeaders: [\"ETag\"],\n maxAgeSeconds: 3000,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\", region=\"nyc3\")\ntest = digitalocean.SpacesBucketCorsConfiguration(\"test\",\n bucket=foobar.id,\n region=\"nyc3\",\n cors_rules=[digitalocean.SpacesBucketCorsConfigurationCorsRuleArgs(\n allowed_headers=[\"*\"],\n allowed_methods=[\n \"PUT\",\n \"POST\",\n ],\n allowed_origins=[\"https://s3-website-test.hashicorp.com\"],\n expose_headers=[\"ETag\"],\n max_age_seconds=3000,\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n Region = \"nyc3\",\n });\n\n var test = new DigitalOcean.SpacesBucketCorsConfiguration(\"test\", new()\n {\n Bucket = foobar.Id,\n Region = \"nyc3\",\n CorsRules = new[]\n {\n new DigitalOcean.Inputs.SpacesBucketCorsConfigurationCorsRuleArgs\n {\n AllowedHeaders = new[]\n {\n \"*\",\n },\n AllowedMethods = new[]\n {\n \"PUT\",\n \"POST\",\n },\n AllowedOrigins = new[]\n {\n \"https://s3-website-test.hashicorp.com\",\n },\n ExposeHeaders = new[]\n {\n \"ETag\",\n },\n MaxAgeSeconds = 3000,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobar, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewSpacesBucketCorsConfiguration(ctx, \"test\", \u0026digitalocean.SpacesBucketCorsConfigurationArgs{\n\t\t\tBucket: foobar.ID(),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tCorsRules: digitalocean.SpacesBucketCorsConfigurationCorsRuleArray{\n\t\t\t\t\u0026digitalocean.SpacesBucketCorsConfigurationCorsRuleArgs{\n\t\t\t\t\tAllowedHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedMethods: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"PUT\"),\n\t\t\t\t\t\tpulumi.String(\"POST\"),\n\t\t\t\t\t},\n\t\t\t\t\tAllowedOrigins: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"https://s3-website-test.hashicorp.com\"),\n\t\t\t\t\t},\n\t\t\t\t\tExposeHeaders: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ETag\"),\n\t\t\t\t\t},\n\t\t\t\t\tMaxAgeSeconds: pulumi.Int(3000),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.SpacesBucketCorsConfiguration;\nimport com.pulumi.digitalocean.SpacesBucketCorsConfigurationArgs;\nimport com.pulumi.digitalocean.inputs.SpacesBucketCorsConfigurationCorsRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var test = new SpacesBucketCorsConfiguration(\"test\", SpacesBucketCorsConfigurationArgs.builder() \n .bucket(foobar.id())\n .region(\"nyc3\")\n .corsRules(SpacesBucketCorsConfigurationCorsRuleArgs.builder()\n .allowedHeaders(\"*\")\n .allowedMethods( \n \"PUT\",\n \"POST\")\n .allowedOrigins(\"https://s3-website-test.hashicorp.com\")\n .exposeHeaders(\"ETag\")\n .maxAgeSeconds(3000)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n test:\n type: digitalocean:SpacesBucketCorsConfiguration\n properties:\n bucket: ${foobar.id}\n region: nyc3\n corsRules:\n - allowedHeaders:\n - '*'\n allowedMethods:\n - PUT\n - POST\n allowedOrigins:\n - https://s3-website-test.hashicorp.com\n exposeHeaders:\n - ETag\n maxAgeSeconds: 3000\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nBucket policies can be imported using the `region` and `bucket` attributes (delimited by a comma):\n\n```sh\n$ pulumi import digitalocean:index/spacesBucketCorsConfiguration:SpacesBucketCorsConfiguration foobar `region`,`bucket`\n```\n\n", "properties": { "bucket": { "type": "string", @@ -12301,7 +12301,7 @@ } }, "digitalocean:index/spacesBucketObject:SpacesBucketObject": { - "description": "Provides a bucket object resource for Spaces, DigitalOcean's object storage product.\nThe `digitalocean.SpacesBucketObject` resource allows the provider to upload content\nto Spaces.\n\nThe [Spaces API](https://docs.digitalocean.com/reference/api/spaces-api/) was\ndesigned to be interoperable with Amazon's AWS S3 API. This allows users to\ninteract with the service while using the tools they already know. Spaces\nmirrors S3's authentication framework and requests to Spaces require a key pair\nsimilar to Amazon's Access ID and Secret Key.\n\nThe authentication requirement can be met by either setting the\n`SPACES_ACCESS_KEY_ID` and `SPACES_SECRET_ACCESS_KEY` environment variables or\nthe provider's `spaces_access_id` and `spaces_secret_key` arguments to the\naccess ID and secret you generate via the DigitalOcean control panel. For\nexample:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst static_assets = new digitalocean.SpacesBucket(\"static-assets\", {});\n// ...\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstatic_assets = digitalocean.SpacesBucket(\"static-assets\")\n# ...\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var static_assets = new DigitalOcean.SpacesBucket(\"static-assets\");\n\n // ...\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"static-assets\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var static_assets = new SpacesBucket(\"static-assets\");\n\n }\n}\n```\n```yaml\nresources:\n static-assets:\n type: digitalocean:SpacesBucket\n```\n\nFor more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a Key in a Spaces Bucket\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {region: \"nyc3\"});\nconst index = new digitalocean.SpacesBucketObject(\"index\", {\n region: foobar.region,\n bucket: foobar.name,\n key: \"index.html\",\n content: \"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\",\n contentType: \"text/html\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\", region=\"nyc3\")\nindex = digitalocean.SpacesBucketObject(\"index\",\n region=foobar.region,\n bucket=foobar.name,\n key=\"index.html\",\n content=\"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\",\n content_type=\"text/html\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n Region = \"nyc3\",\n });\n\n var index = new DigitalOcean.SpacesBucketObject(\"index\", new()\n {\n Region = foobar.Region,\n Bucket = foobar.Name,\n Key = \"index.html\",\n Content = \"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\",\n ContentType = \"text/html\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobar, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewSpacesBucketObject(ctx, \"index\", \u0026digitalocean.SpacesBucketObjectArgs{\n\t\t\tRegion: foobar.Region,\n\t\t\tBucket: foobar.Name,\n\t\t\tKey: pulumi.String(\"index.html\"),\n\t\t\tContent: pulumi.String(\"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\"),\n\t\t\tContentType: pulumi.String(\"text/html\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.SpacesBucketObject;\nimport com.pulumi.digitalocean.SpacesBucketObjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var index = new SpacesBucketObject(\"index\", SpacesBucketObjectArgs.builder() \n .region(foobar.region())\n .bucket(foobar.name())\n .key(\"index.html\")\n .content(\"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\")\n .contentType(\"text/html\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n index:\n type: digitalocean:SpacesBucketObject\n properties:\n region: ${foobar.region}\n bucket: ${foobar.name}\n key: index.html\n content: \u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\n contentType: text/html\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nImporting this resource is not supported.\n\n ", + "description": "Provides a bucket object resource for Spaces, DigitalOcean's object storage product.\nThe `digitalocean.SpacesBucketObject` resource allows the provider to upload content\nto Spaces.\n\nThe [Spaces API](https://docs.digitalocean.com/reference/api/spaces-api/) was\ndesigned to be interoperable with Amazon's AWS S3 API. This allows users to\ninteract with the service while using the tools they already know. Spaces\nmirrors S3's authentication framework and requests to Spaces require a key pair\nsimilar to Amazon's Access ID and Secret Key.\n\nThe authentication requirement can be met by either setting the\n`SPACES_ACCESS_KEY_ID` and `SPACES_SECRET_ACCESS_KEY` environment variables or\nthe provider's `spaces_access_id` and `spaces_secret_key` arguments to the\naccess ID and secret you generate via the DigitalOcean control panel. For\nexample:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst static_assets = new digitalocean.SpacesBucket(\"static-assets\", {});\n// ...\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstatic_assets = digitalocean.SpacesBucket(\"static-assets\")\n# ...\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var static_assets = new DigitalOcean.SpacesBucket(\"static-assets\");\n\n // ...\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewSpacesBucket(ctx, \"static-assets\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var static_assets = new SpacesBucket(\"static-assets\");\n\n }\n}\n```\n```yaml\nresources:\n static-assets:\n type: digitalocean:SpacesBucket\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nFor more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces)\n\n## Example Usage\n\n### Create a Key in a Spaces Bucket\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobar = new digitalocean.SpacesBucket(\"foobar\", {region: \"nyc3\"});\nconst index = new digitalocean.SpacesBucketObject(\"index\", {\n region: foobar.region,\n bucket: foobar.name,\n key: \"index.html\",\n content: \"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\",\n contentType: \"text/html\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar = digitalocean.SpacesBucket(\"foobar\", region=\"nyc3\")\nindex = digitalocean.SpacesBucketObject(\"index\",\n region=foobar.region,\n bucket=foobar.name,\n key=\"index.html\",\n content=\"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\",\n content_type=\"text/html\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = new DigitalOcean.SpacesBucket(\"foobar\", new()\n {\n Region = \"nyc3\",\n });\n\n var index = new DigitalOcean.SpacesBucketObject(\"index\", new()\n {\n Region = foobar.Region,\n Bucket = foobar.Name,\n Key = \"index.html\",\n Content = \"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\",\n ContentType = \"text/html\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobar, err := digitalocean.NewSpacesBucket(ctx, \"foobar\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewSpacesBucketObject(ctx, \"index\", \u0026digitalocean.SpacesBucketObjectArgs{\n\t\t\tRegion: foobar.Region,\n\t\t\tBucket: foobar.Name,\n\t\t\tKey: pulumi.String(\"index.html\"),\n\t\t\tContent: pulumi.String(\"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\"),\n\t\t\tContentType: pulumi.String(\"text/html\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.SpacesBucketObject;\nimport com.pulumi.digitalocean.SpacesBucketObjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new SpacesBucket(\"foobar\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var index = new SpacesBucketObject(\"index\", SpacesBucketObjectArgs.builder() \n .region(foobar.region())\n .bucket(foobar.name())\n .key(\"index.html\")\n .content(\"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\")\n .contentType(\"text/html\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n index:\n type: digitalocean:SpacesBucketObject\n properties:\n region: ${foobar.region}\n bucket: ${foobar.name}\n key: index.html\n content: \u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis page is empty.\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e\n contentType: text/html\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImporting this resource is not supported.\n\n", "properties": { "acl": { "type": "string", @@ -12542,7 +12542,7 @@ } }, "digitalocean:index/spacesBucketPolicy:SpacesBucketPolicy": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n### Limiting access to specific IP addresses\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarSpacesBucket = new digitalocean.SpacesBucket(\"foobarSpacesBucket\", {region: \"nyc3\"});\nconst foobarSpacesBucketPolicy = new digitalocean.SpacesBucketPolicy(\"foobarSpacesBucketPolicy\", {\n region: foobarSpacesBucket.region,\n bucket: foobarSpacesBucket.name,\n policy: pulumi.jsonStringify({\n Version: \"2012-10-17\",\n Statement: [{\n Sid: \"IPAllow\",\n Effect: \"Deny\",\n Principal: \"*\",\n Action: \"s3:*\",\n Resource: [\n pulumi.interpolate`arn:aws:s3:::${foobarSpacesBucket.name}`,\n pulumi.interpolate`arn:aws:s3:::${foobarSpacesBucket.name}/*`,\n ],\n Condition: {\n NotIpAddress: {\n \"aws:SourceIp\": \"54.240.143.0/24\",\n },\n },\n }],\n }),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_digitalocean as digitalocean\n\nfoobar_spaces_bucket = digitalocean.SpacesBucket(\"foobarSpacesBucket\", region=\"nyc3\")\nfoobar_spaces_bucket_policy = digitalocean.SpacesBucketPolicy(\"foobarSpacesBucketPolicy\",\n region=foobar_spaces_bucket.region,\n bucket=foobar_spaces_bucket.name,\n policy=pulumi.Output.json_dumps({\n \"Version\": \"2012-10-17\",\n \"Statement\": [{\n \"Sid\": \"IPAllow\",\n \"Effect\": \"Deny\",\n \"Principal\": \"*\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n foobar_spaces_bucket.name.apply(lambda name: f\"arn:aws:s3:::{name}\"),\n foobar_spaces_bucket.name.apply(lambda name: f\"arn:aws:s3:::{name}/*\"),\n ],\n \"Condition\": {\n \"NotIpAddress\": {\n \"aws:SourceIp\": \"54.240.143.0/24\",\n },\n },\n }],\n }))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarSpacesBucket = new DigitalOcean.SpacesBucket(\"foobarSpacesBucket\", new()\n {\n Region = \"nyc3\",\n });\n\n var foobarSpacesBucketPolicy = new DigitalOcean.SpacesBucketPolicy(\"foobarSpacesBucketPolicy\", new()\n {\n Region = foobarSpacesBucket.Region,\n Bucket = foobarSpacesBucket.Name,\n Policy = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"Version\"] = \"2012-10-17\",\n [\"Statement\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Sid\"] = \"IPAllow\",\n [\"Effect\"] = \"Deny\",\n [\"Principal\"] = \"*\",\n [\"Action\"] = \"s3:*\",\n [\"Resource\"] = new[]\n {\n foobarSpacesBucket.Name.Apply(name =\u003e $\"arn:aws:s3:::{name}\"),\n foobarSpacesBucket.Name.Apply(name =\u003e $\"arn:aws:s3:::{name}/*\"),\n },\n [\"Condition\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"NotIpAddress\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"aws:SourceIp\"] = \"54.240.143.0/24\",\n },\n },\n },\n },\n })),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarSpacesBucket, err := digitalocean.NewSpacesBucket(ctx, \"foobarSpacesBucket\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewSpacesBucketPolicy(ctx, \"foobarSpacesBucketPolicy\", \u0026digitalocean.SpacesBucketPolicyArgs{\n\t\t\tRegion: foobarSpacesBucket.Region,\n\t\t\tBucket: foobarSpacesBucket.Name,\n\t\t\tPolicy: pulumi.All(foobarSpacesBucket.Name, foobarSpacesBucket.Name).ApplyT(func(_args []interface{}) (string, error) {\n\t\t\t\tfoobarSpacesBucketName := _args[0].(string)\n\t\t\t\tfoobarSpacesBucketName1 := _args[1].(string)\n\t\t\t\tvar _zero string\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"Version\": \"2012-10-17\",\n\t\t\t\t\t\"Statement\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"Sid\": \"IPAllow\",\n\t\t\t\t\t\t\t\"Effect\": \"Deny\",\n\t\t\t\t\t\t\t\"Principal\": \"*\",\n\t\t\t\t\t\t\t\"Action\": \"s3:*\",\n\t\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\tfmt.Sprintf(\"arn:aws:s3:::%v\", foobarSpacesBucketName),\n\t\t\t\t\t\t\t\tfmt.Sprintf(\"arn:aws:s3:::%v/*\", foobarSpacesBucketName1),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Condition\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"NotIpAddress\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"aws:SourceIp\": \"54.240.143.0/24\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn json0, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.SpacesBucketPolicy;\nimport com.pulumi.digitalocean.SpacesBucketPolicyArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarSpacesBucket = new SpacesBucket(\"foobarSpacesBucket\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var foobarSpacesBucketPolicy = new SpacesBucketPolicy(\"foobarSpacesBucketPolicy\", SpacesBucketPolicyArgs.builder() \n .region(foobarSpacesBucket.region())\n .bucket(foobarSpacesBucket.name())\n .policy(Output.tuple(foobarSpacesBucket.name(), foobarSpacesBucket.name()).applyValue(values -\u003e {\n var foobarSpacesBucketName = values.t1;\n var foobarSpacesBucketName1 = values.t2;\n return serializeJson(\n jsonObject(\n jsonProperty(\"Version\", \"2012-10-17\"),\n jsonProperty(\"Statement\", jsonArray(jsonObject(\n jsonProperty(\"Sid\", \"IPAllow\"),\n jsonProperty(\"Effect\", \"Deny\"),\n jsonProperty(\"Principal\", \"*\"),\n jsonProperty(\"Action\", \"s3:*\"),\n jsonProperty(\"Resource\", jsonArray(\n String.format(\"arn:aws:s3:::%s\", foobarSpacesBucketName), \n String.format(\"arn:aws:s3:::%s/*\", foobarSpacesBucketName1)\n )),\n jsonProperty(\"Condition\", jsonObject(\n jsonProperty(\"NotIpAddress\", jsonObject(\n jsonProperty(\"aws:SourceIp\", \"54.240.143.0/24\")\n ))\n ))\n )))\n ));\n }))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarSpacesBucket:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n foobarSpacesBucketPolicy:\n type: digitalocean:SpacesBucketPolicy\n properties:\n region: ${foobarSpacesBucket.region}\n bucket: ${foobarSpacesBucket.name}\n policy:\n fn::toJSON:\n Version: 2012-10-17\n Statement:\n - Sid: IPAllow\n Effect: Deny\n Principal: '*'\n Action: s3:*\n Resource:\n - arn:aws:s3:::${foobarSpacesBucket.name}\n - arn:aws:s3:::${foobarSpacesBucket.name}/*\n Condition:\n NotIpAddress:\n aws:SourceIp: 54.240.143.0/24\n```\n\n!\u003e **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket.\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nBucket policies can be imported using the `region` and `bucket` attributes (delimited by a comma):\n\n ```sh\n $ pulumi import digitalocean:index/spacesBucketPolicy:SpacesBucketPolicy foobar `region`,`bucket`\n```\n\n ", + "description": "## Example Usage\n\n### Limiting access to specific IP addresses\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarSpacesBucket = new digitalocean.SpacesBucket(\"foobarSpacesBucket\", {region: \"nyc3\"});\nconst foobarSpacesBucketPolicy = new digitalocean.SpacesBucketPolicy(\"foobarSpacesBucketPolicy\", {\n region: foobarSpacesBucket.region,\n bucket: foobarSpacesBucket.name,\n policy: pulumi.jsonStringify({\n Version: \"2012-10-17\",\n Statement: [{\n Sid: \"IPAllow\",\n Effect: \"Deny\",\n Principal: \"*\",\n Action: \"s3:*\",\n Resource: [\n pulumi.interpolate`arn:aws:s3:::${foobarSpacesBucket.name}`,\n pulumi.interpolate`arn:aws:s3:::${foobarSpacesBucket.name}/*`,\n ],\n Condition: {\n NotIpAddress: {\n \"aws:SourceIp\": \"54.240.143.0/24\",\n },\n },\n }],\n }),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_digitalocean as digitalocean\n\nfoobar_spaces_bucket = digitalocean.SpacesBucket(\"foobarSpacesBucket\", region=\"nyc3\")\nfoobar_spaces_bucket_policy = digitalocean.SpacesBucketPolicy(\"foobarSpacesBucketPolicy\",\n region=foobar_spaces_bucket.region,\n bucket=foobar_spaces_bucket.name,\n policy=pulumi.Output.json_dumps({\n \"Version\": \"2012-10-17\",\n \"Statement\": [{\n \"Sid\": \"IPAllow\",\n \"Effect\": \"Deny\",\n \"Principal\": \"*\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n foobar_spaces_bucket.name.apply(lambda name: f\"arn:aws:s3:::{name}\"),\n foobar_spaces_bucket.name.apply(lambda name: f\"arn:aws:s3:::{name}/*\"),\n ],\n \"Condition\": {\n \"NotIpAddress\": {\n \"aws:SourceIp\": \"54.240.143.0/24\",\n },\n },\n }],\n }))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarSpacesBucket = new DigitalOcean.SpacesBucket(\"foobarSpacesBucket\", new()\n {\n Region = \"nyc3\",\n });\n\n var foobarSpacesBucketPolicy = new DigitalOcean.SpacesBucketPolicy(\"foobarSpacesBucketPolicy\", new()\n {\n Region = foobarSpacesBucket.Region,\n Bucket = foobarSpacesBucket.Name,\n Policy = Output.JsonSerialize(Output.Create(new Dictionary\u003cstring, object?\u003e\n {\n [\"Version\"] = \"2012-10-17\",\n [\"Statement\"] = new[]\n {\n new Dictionary\u003cstring, object?\u003e\n {\n [\"Sid\"] = \"IPAllow\",\n [\"Effect\"] = \"Deny\",\n [\"Principal\"] = \"*\",\n [\"Action\"] = \"s3:*\",\n [\"Resource\"] = new[]\n {\n foobarSpacesBucket.Name.Apply(name =\u003e $\"arn:aws:s3:::{name}\"),\n foobarSpacesBucket.Name.Apply(name =\u003e $\"arn:aws:s3:::{name}/*\"),\n },\n [\"Condition\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"NotIpAddress\"] = new Dictionary\u003cstring, object?\u003e\n {\n [\"aws:SourceIp\"] = \"54.240.143.0/24\",\n },\n },\n },\n },\n })),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarSpacesBucket, err := digitalocean.NewSpacesBucket(ctx, \"foobarSpacesBucket\", \u0026digitalocean.SpacesBucketArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewSpacesBucketPolicy(ctx, \"foobarSpacesBucketPolicy\", \u0026digitalocean.SpacesBucketPolicyArgs{\n\t\t\tRegion: foobarSpacesBucket.Region,\n\t\t\tBucket: foobarSpacesBucket.Name,\n\t\t\tPolicy: pulumi.All(foobarSpacesBucket.Name, foobarSpacesBucket.Name).ApplyT(func(_args []interface{}) (string, error) {\n\t\t\t\tfoobarSpacesBucketName := _args[0].(string)\n\t\t\t\tfoobarSpacesBucketName1 := _args[1].(string)\n\t\t\t\tvar _zero string\n\t\t\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\t\t\"Version\": \"2012-10-17\",\n\t\t\t\t\t\"Statement\": []map[string]interface{}{\n\t\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\t\"Sid\": \"IPAllow\",\n\t\t\t\t\t\t\t\"Effect\": \"Deny\",\n\t\t\t\t\t\t\t\"Principal\": \"*\",\n\t\t\t\t\t\t\t\"Action\": \"s3:*\",\n\t\t\t\t\t\t\t\"Resource\": []string{\n\t\t\t\t\t\t\t\tfmt.Sprintf(\"arn:aws:s3:::%v\", foobarSpacesBucketName),\n\t\t\t\t\t\t\t\tfmt.Sprintf(\"arn:aws:s3:::%v/*\", foobarSpacesBucketName1),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Condition\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\"NotIpAddress\": map[string]interface{}{\n\t\t\t\t\t\t\t\t\t\"aws:SourceIp\": \"54.240.143.0/24\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn _zero, err\n\t\t\t\t}\n\t\t\t\tjson0 := string(tmpJSON0)\n\t\t\t\treturn json0, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SpacesBucket;\nimport com.pulumi.digitalocean.SpacesBucketArgs;\nimport com.pulumi.digitalocean.SpacesBucketPolicy;\nimport com.pulumi.digitalocean.SpacesBucketPolicyArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarSpacesBucket = new SpacesBucket(\"foobarSpacesBucket\", SpacesBucketArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var foobarSpacesBucketPolicy = new SpacesBucketPolicy(\"foobarSpacesBucketPolicy\", SpacesBucketPolicyArgs.builder() \n .region(foobarSpacesBucket.region())\n .bucket(foobarSpacesBucket.name())\n .policy(Output.tuple(foobarSpacesBucket.name(), foobarSpacesBucket.name()).applyValue(values -\u003e {\n var foobarSpacesBucketName = values.t1;\n var foobarSpacesBucketName1 = values.t2;\n return serializeJson(\n jsonObject(\n jsonProperty(\"Version\", \"2012-10-17\"),\n jsonProperty(\"Statement\", jsonArray(jsonObject(\n jsonProperty(\"Sid\", \"IPAllow\"),\n jsonProperty(\"Effect\", \"Deny\"),\n jsonProperty(\"Principal\", \"*\"),\n jsonProperty(\"Action\", \"s3:*\"),\n jsonProperty(\"Resource\", jsonArray(\n String.format(\"arn:aws:s3:::%s\", foobarSpacesBucketName), \n String.format(\"arn:aws:s3:::%s/*\", foobarSpacesBucketName1)\n )),\n jsonProperty(\"Condition\", jsonObject(\n jsonProperty(\"NotIpAddress\", jsonObject(\n jsonProperty(\"aws:SourceIp\", \"54.240.143.0/24\")\n ))\n ))\n )))\n ));\n }))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarSpacesBucket:\n type: digitalocean:SpacesBucket\n properties:\n region: nyc3\n foobarSpacesBucketPolicy:\n type: digitalocean:SpacesBucketPolicy\n properties:\n region: ${foobarSpacesBucket.region}\n bucket: ${foobarSpacesBucket.name}\n policy:\n fn::toJSON:\n Version: 2012-10-17\n Statement:\n - Sid: IPAllow\n Effect: Deny\n Principal: '*'\n Action: s3:*\n Resource:\n - arn:aws:s3:::${foobarSpacesBucket.name}\n - arn:aws:s3:::${foobarSpacesBucket.name}/*\n Condition:\n NotIpAddress:\n aws:SourceIp: 54.240.143.0/24\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n!\u003e **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket.\n\n## Import\n\nBucket policies can be imported using the `region` and `bucket` attributes (delimited by a comma):\n\n```sh\n$ pulumi import digitalocean:index/spacesBucketPolicy:SpacesBucketPolicy foobar `region`,`bucket`\n```\n\n", "properties": { "bucket": { "type": "string", @@ -12605,7 +12605,7 @@ } }, "digitalocean:index/sshKey:SshKey": { - "description": "Provides a DigitalOcean SSH key resource to allow you to manage SSH\nkeys for Droplet access. Keys created with this resource\ncan be referenced in your Droplet configuration via their ID or\nfingerprint.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\nimport * as fs from \"fs\";\n\n// Create a new SSH key\nconst _default = new digitalocean.SshKey(\"default\", {publicKey: fs.readFileSync(\"/Users/myuser/.ssh/id_rsa.pub\", \"utf8\")});\n// Create a new Droplet using the SSH key\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n size: \"s-1vcpu-1gb\",\n sshKeys: [_default.fingerprint],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new SSH key\ndefault = digitalocean.SshKey(\"default\", public_key=(lambda path: open(path).read())(\"/Users/myuser/.ssh/id_rsa.pub\"))\n# Create a new Droplet using the SSH key\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n size=\"s-1vcpu-1gb\",\n ssh_keys=[default.fingerprint])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new SSH key\n var @default = new DigitalOcean.SshKey(\"default\", new()\n {\n PublicKey = File.ReadAllText(\"/Users/myuser/.ssh/id_rsa.pub\"),\n });\n\n // Create a new Droplet using the SSH key\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n Size = \"s-1vcpu-1gb\",\n SshKeys = new[]\n {\n @default.Fingerprint,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new SSH key\n\t\t_, err := digitalocean.NewSshKey(ctx, \"default\", \u0026digitalocean.SshKeyArgs{\n\t\t\tPublicKey: readFileOrPanic(\"/Users/myuser/.ssh/id_rsa.pub\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Droplet using the SSH key\n\t\t_, err = digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tSshKeys: pulumi.StringArray{\n\t\t\t\t_default.Fingerprint,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SshKey;\nimport com.pulumi.digitalocean.SshKeyArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new SshKey(\"default\", SshKeyArgs.builder() \n .publicKey(Files.readString(Paths.get(\"/Users/myuser/.ssh/id_rsa.pub\")))\n .build());\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .size(\"s-1vcpu-1gb\")\n .sshKeys(default_.fingerprint())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new SSH key\n default:\n type: digitalocean:SshKey\n properties:\n publicKey:\n fn::readFile: /Users/myuser/.ssh/id_rsa.pub\n # Create a new Droplet using the SSH key\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc3\n size: s-1vcpu-1gb\n sshKeys:\n - ${default.fingerprint}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSSH Keys can be imported using the `ssh key id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/sshKey:SshKey mykey 263654\n```\n\n ", + "description": "Provides a DigitalOcean SSH key resource to allow you to manage SSH\nkeys for Droplet access. Keys created with this resource\ncan be referenced in your Droplet configuration via their ID or\nfingerprint.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\nimport * as fs from \"fs\";\n\n// Create a new SSH key\nconst _default = new digitalocean.SshKey(\"default\", {publicKey: fs.readFileSync(\"/Users/myuser/.ssh/id_rsa.pub\", \"utf8\")});\n// Create a new Droplet using the SSH key\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n size: \"s-1vcpu-1gb\",\n sshKeys: [_default.fingerprint],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new SSH key\ndefault = digitalocean.SshKey(\"default\", public_key=(lambda path: open(path).read())(\"/Users/myuser/.ssh/id_rsa.pub\"))\n# Create a new Droplet using the SSH key\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n size=\"s-1vcpu-1gb\",\n ssh_keys=[default.fingerprint])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new SSH key\n var @default = new DigitalOcean.SshKey(\"default\", new()\n {\n PublicKey = File.ReadAllText(\"/Users/myuser/.ssh/id_rsa.pub\"),\n });\n\n // Create a new Droplet using the SSH key\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n Size = \"s-1vcpu-1gb\",\n SshKeys = new[]\n {\n @default.Fingerprint,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new SSH key\n\t\t_, err := digitalocean.NewSshKey(ctx, \"default\", \u0026digitalocean.SshKeyArgs{\n\t\t\tPublicKey: readFileOrPanic(\"/Users/myuser/.ssh/id_rsa.pub\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Droplet using the SSH key\n\t\t_, err = digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tSshKeys: pulumi.StringArray{\n\t\t\t\t_default.Fingerprint,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.SshKey;\nimport com.pulumi.digitalocean.SshKeyArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new SshKey(\"default\", SshKeyArgs.builder() \n .publicKey(Files.readString(Paths.get(\"/Users/myuser/.ssh/id_rsa.pub\")))\n .build());\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .size(\"s-1vcpu-1gb\")\n .sshKeys(default_.fingerprint())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new SSH key\n default:\n type: digitalocean:SshKey\n properties:\n publicKey:\n fn::readFile: /Users/myuser/.ssh/id_rsa.pub\n # Create a new Droplet using the SSH key\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc3\n size: s-1vcpu-1gb\n sshKeys:\n - ${default.fingerprint}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSSH Keys can be imported using the `ssh key id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/sshKey:SshKey mykey 263654\n```\n\n", "properties": { "fingerprint": { "type": "string", @@ -12660,7 +12660,7 @@ } }, "digitalocean:index/tag:Tag": { - "description": "Provides a DigitalOcean Tag resource. A Tag is a label that can be applied to a\nDroplet resource in order to better organize or facilitate the lookups and\nactions on it. Tags created with this resource can be referenced in your Droplet\nconfiguration via their ID or name.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new tag\nconst foobar = new digitalocean.Tag(\"foobar\", {});\n// Create a new Droplet in nyc3 with the foobar tag\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n size: \"s-1vcpu-1gb\",\n tags: [foobar.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new tag\nfoobar = digitalocean.Tag(\"foobar\")\n# Create a new Droplet in nyc3 with the foobar tag\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n size=\"s-1vcpu-1gb\",\n tags=[foobar.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new tag\n var foobar = new DigitalOcean.Tag(\"foobar\");\n\n // Create a new Droplet in nyc3 with the foobar tag\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n Size = \"s-1vcpu-1gb\",\n Tags = new[]\n {\n foobar.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new tag\n\t\tfoobar, err := digitalocean.NewTag(ctx, \"foobar\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Droplet in nyc3 with the foobar tag\n\t\t_, err = digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tfoobar.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Tag;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new Tag(\"foobar\");\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .size(\"s-1vcpu-1gb\")\n .tags(foobar.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new tag\n foobar:\n type: digitalocean:Tag\n # Create a new Droplet in nyc3 with the foobar tag\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc3\n size: s-1vcpu-1gb\n tags:\n - ${foobar.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nTags can be imported using the `name`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/tag:Tag mytag tagname\n```\n\n ", + "description": "Provides a DigitalOcean Tag resource. A Tag is a label that can be applied to a\nDroplet resource in order to better organize or facilitate the lookups and\nactions on it. Tags created with this resource can be referenced in your Droplet\nconfiguration via their ID or name.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\n// Create a new tag\nconst foobar = new digitalocean.Tag(\"foobar\", {});\n// Create a new Droplet in nyc3 with the foobar tag\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n size: \"s-1vcpu-1gb\",\n tags: [foobar.id],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\n# Create a new tag\nfoobar = digitalocean.Tag(\"foobar\")\n# Create a new Droplet in nyc3 with the foobar tag\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n size=\"s-1vcpu-1gb\",\n tags=[foobar.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new tag\n var foobar = new DigitalOcean.Tag(\"foobar\");\n\n // Create a new Droplet in nyc3 with the foobar tag\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n Size = \"s-1vcpu-1gb\",\n Tags = new[]\n {\n foobar.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Create a new tag\n\t\tfoobar, err := digitalocean.NewTag(ctx, \"foobar\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Droplet in nyc3 with the foobar tag\n\t\t_, err = digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tfoobar.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Tag;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobar = new Tag(\"foobar\");\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .size(\"s-1vcpu-1gb\")\n .tags(foobar.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new tag\n foobar:\n type: digitalocean:Tag\n # Create a new Droplet in nyc3 with the foobar tag\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc3\n size: s-1vcpu-1gb\n tags:\n - ${foobar.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nTags can be imported using the `name`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/tag:Tag mytag tagname\n```\n\n", "properties": { "databasesCount": { "type": "integer", @@ -12744,7 +12744,7 @@ } }, "digitalocean:index/uptimeAlert:UptimeAlert": { - "description": "Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/api-reference/#operation/uptime_alert_create)\nresource. Uptime Alerts provide the ability to add alerts to your [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime) when your endpoints are slow, unavailable, or SSL certificates are expiring.\n\n\n## Import\n\nUptime checks can be imported using the uptime alert's `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/uptimeAlert:UptimeAlert target 5a4981aa-9653-4bd1-bef5-d6bff52042e4\n```\n\n ", + "description": "Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/api-reference/#operation/uptime_alert_create)\nresource. Uptime Alerts provide the ability to add alerts to your [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime) when your endpoints are slow, unavailable, or SSL certificates are expiring.\n\n## Import\n\nUptime checks can be imported using the uptime alert's `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/uptimeAlert:UptimeAlert target 5a4981aa-9653-4bd1-bef5-d6bff52042e4\n```\n\n", "properties": { "checkId": { "type": "string", @@ -12861,7 +12861,7 @@ } }, "digitalocean:index/uptimeCheck:UptimeCheck": { - "description": "Provides a [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime)\nresource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they're slow, unavailable, or SSL certificates are expiring.\n\n\n## Import\n\nUptime checks can be imported using the uptime check's `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/uptimeCheck:UptimeCheck target 5a4981aa-9653-4bd1-bef5-d6bff52042e4\n```\n\n ", + "description": "Provides a [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime)\nresource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they're slow, unavailable, or SSL certificates are expiring.\n\n## Import\n\nUptime checks can be imported using the uptime check's `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/uptimeCheck:UptimeCheck target 5a4981aa-9653-4bd1-bef5-d6bff52042e4\n```\n\n", "properties": { "enabled": { "type": "boolean", @@ -12950,7 +12950,7 @@ } }, "digitalocean:index/volume:Volume": { - "description": "Provides a DigitalOcean Block Storage volume which can be attached to a Droplet in order to provide expanded storage.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"nyc1\",\n size: 100,\n initialFilesystemType: \"ext4\",\n description: \"an example volume\",\n});\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc1\",\n});\nconst foobarVolumeAttachment = new digitalocean.VolumeAttachment(\"foobarVolumeAttachment\", {\n dropletId: foobarDroplet.id,\n volumeId: foobarVolume.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"nyc1\",\n size=100,\n initial_filesystem_type=\"ext4\",\n description=\"an example volume\")\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc1\")\nfoobar_volume_attachment = digitalocean.VolumeAttachment(\"foobarVolumeAttachment\",\n droplet_id=foobar_droplet.id,\n volume_id=foobar_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"nyc1\",\n Size = 100,\n InitialFilesystemType = \"ext4\",\n Description = \"an example volume\",\n });\n\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc1\",\n });\n\n var foobarVolumeAttachment = new DigitalOcean.VolumeAttachment(\"foobarVolumeAttachment\", new()\n {\n DropletId = foobarDroplet.Id,\n VolumeId = foobarVolume.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolume, err := digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tInitialFilesystemType: pulumi.String(\"ext4\"),\n\t\t\tDescription: pulumi.String(\"an example volume\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeAttachment(ctx, \"foobarVolumeAttachment\", \u0026digitalocean.VolumeAttachmentArgs{\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t\tVolumeId: foobarVolume.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.VolumeAttachment;\nimport com.pulumi.digitalocean.VolumeAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"nyc1\")\n .size(100)\n .initialFilesystemType(\"ext4\")\n .description(\"an example volume\")\n .build());\n\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc1\")\n .build());\n\n var foobarVolumeAttachment = new VolumeAttachment(\"foobarVolumeAttachment\", VolumeAttachmentArgs.builder() \n .dropletId(foobarDroplet.id())\n .volumeId(foobarVolume.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: nyc1\n size: 100\n initialFilesystemType: ext4\n description: an example volume\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc1\n foobarVolumeAttachment:\n type: digitalocean:VolumeAttachment\n properties:\n dropletId: ${foobarDroplet.id}\n volumeId: ${foobarVolume.id}\n```\n\nYou can also create a volume from an existing snapshot.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolumeSnapshot = digitalocean.getVolumeSnapshot({\n name: \"baz\",\n});\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"lon1\",\n size: foobarVolumeSnapshot.then(foobarVolumeSnapshot =\u003e foobarVolumeSnapshot.minDiskSize),\n snapshotId: foobarVolumeSnapshot.then(foobarVolumeSnapshot =\u003e foobarVolumeSnapshot.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume_snapshot = digitalocean.get_volume_snapshot(name=\"baz\")\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"lon1\",\n size=foobar_volume_snapshot.min_disk_size,\n snapshot_id=foobar_volume_snapshot.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolumeSnapshot = DigitalOcean.GetVolumeSnapshot.Invoke(new()\n {\n Name = \"baz\",\n });\n\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"lon1\",\n Size = foobarVolumeSnapshot.Apply(getVolumeSnapshotResult =\u003e getVolumeSnapshotResult.MinDiskSize),\n SnapshotId = foobarVolumeSnapshot.Apply(getVolumeSnapshotResult =\u003e getVolumeSnapshotResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolumeSnapshot, err := digitalocean.LookupVolumeSnapshot(ctx, \u0026digitalocean.LookupVolumeSnapshotArgs{\n\t\t\tName: pulumi.StringRef(\"baz\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"lon1\"),\n\t\t\tSize: *pulumi.Int(foobarVolumeSnapshot.MinDiskSize),\n\t\t\tSnapshotId: *pulumi.String(foobarVolumeSnapshot.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeSnapshotArgs;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foobarVolumeSnapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder()\n .name(\"baz\")\n .build());\n\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"lon1\")\n .size(foobarVolumeSnapshot.applyValue(getVolumeSnapshotResult -\u003e getVolumeSnapshotResult.minDiskSize()))\n .snapshotId(foobarVolumeSnapshot.applyValue(getVolumeSnapshotResult -\u003e getVolumeSnapshotResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: lon1\n size: ${foobarVolumeSnapshot.minDiskSize}\n snapshotId: ${foobarVolumeSnapshot.id}\nvariables:\n foobarVolumeSnapshot:\n fn::invoke:\n Function: digitalocean:getVolumeSnapshot\n Arguments:\n name: baz\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nVolumes can be imported using the `volume id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/volume:Volume volume 506f78a4-e098-11e5-ad9f-000f53306ae1\n```\n\n ", + "description": "Provides a DigitalOcean Block Storage volume which can be attached to a Droplet in order to provide expanded storage.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"nyc1\",\n size: 100,\n initialFilesystemType: \"ext4\",\n description: \"an example volume\",\n});\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc1\",\n});\nconst foobarVolumeAttachment = new digitalocean.VolumeAttachment(\"foobarVolumeAttachment\", {\n dropletId: foobarDroplet.id,\n volumeId: foobarVolume.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"nyc1\",\n size=100,\n initial_filesystem_type=\"ext4\",\n description=\"an example volume\")\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc1\")\nfoobar_volume_attachment = digitalocean.VolumeAttachment(\"foobarVolumeAttachment\",\n droplet_id=foobar_droplet.id,\n volume_id=foobar_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"nyc1\",\n Size = 100,\n InitialFilesystemType = \"ext4\",\n Description = \"an example volume\",\n });\n\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc1\",\n });\n\n var foobarVolumeAttachment = new DigitalOcean.VolumeAttachment(\"foobarVolumeAttachment\", new()\n {\n DropletId = foobarDroplet.Id,\n VolumeId = foobarVolume.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolume, err := digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tInitialFilesystemType: pulumi.String(\"ext4\"),\n\t\t\tDescription: pulumi.String(\"an example volume\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeAttachment(ctx, \"foobarVolumeAttachment\", \u0026digitalocean.VolumeAttachmentArgs{\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t\tVolumeId: foobarVolume.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.VolumeAttachment;\nimport com.pulumi.digitalocean.VolumeAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"nyc1\")\n .size(100)\n .initialFilesystemType(\"ext4\")\n .description(\"an example volume\")\n .build());\n\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc1\")\n .build());\n\n var foobarVolumeAttachment = new VolumeAttachment(\"foobarVolumeAttachment\", VolumeAttachmentArgs.builder() \n .dropletId(foobarDroplet.id())\n .volumeId(foobarVolume.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: nyc1\n size: 100\n initialFilesystemType: ext4\n description: an example volume\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc1\n foobarVolumeAttachment:\n type: digitalocean:VolumeAttachment\n properties:\n dropletId: ${foobarDroplet.id}\n volumeId: ${foobarVolume.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can also create a volume from an existing snapshot.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolumeSnapshot = digitalocean.getVolumeSnapshot({\n name: \"baz\",\n});\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"lon1\",\n size: foobarVolumeSnapshot.then(foobarVolumeSnapshot =\u003e foobarVolumeSnapshot.minDiskSize),\n snapshotId: foobarVolumeSnapshot.then(foobarVolumeSnapshot =\u003e foobarVolumeSnapshot.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume_snapshot = digitalocean.get_volume_snapshot(name=\"baz\")\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"lon1\",\n size=foobar_volume_snapshot.min_disk_size,\n snapshot_id=foobar_volume_snapshot.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolumeSnapshot = DigitalOcean.GetVolumeSnapshot.Invoke(new()\n {\n Name = \"baz\",\n });\n\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"lon1\",\n Size = foobarVolumeSnapshot.Apply(getVolumeSnapshotResult =\u003e getVolumeSnapshotResult.MinDiskSize),\n SnapshotId = foobarVolumeSnapshot.Apply(getVolumeSnapshotResult =\u003e getVolumeSnapshotResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolumeSnapshot, err := digitalocean.LookupVolumeSnapshot(ctx, \u0026digitalocean.LookupVolumeSnapshotArgs{\n\t\t\tName: pulumi.StringRef(\"baz\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"lon1\"),\n\t\t\tSize: *pulumi.Int(foobarVolumeSnapshot.MinDiskSize),\n\t\t\tSnapshotId: *pulumi.String(foobarVolumeSnapshot.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeSnapshotArgs;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foobarVolumeSnapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder()\n .name(\"baz\")\n .build());\n\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"lon1\")\n .size(foobarVolumeSnapshot.applyValue(getVolumeSnapshotResult -\u003e getVolumeSnapshotResult.minDiskSize()))\n .snapshotId(foobarVolumeSnapshot.applyValue(getVolumeSnapshotResult -\u003e getVolumeSnapshotResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: lon1\n size: ${foobarVolumeSnapshot.minDiskSize}\n snapshotId: ${foobarVolumeSnapshot.id}\nvariables:\n foobarVolumeSnapshot:\n fn::invoke:\n Function: digitalocean:getVolumeSnapshot\n Arguments:\n name: baz\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nVolumes can be imported using the `volume id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/volume:Volume volume 506f78a4-e098-11e5-ad9f-000f53306ae1\n```\n\n", "properties": { "description": { "type": "string", @@ -13174,7 +13174,7 @@ } }, "digitalocean:index/volumeAttachment:VolumeAttachment": { - "description": "Manages attaching a Volume to a Droplet.\n\n\u003e **NOTE:** Volumes can be attached either directly on the `digitalocean.Droplet` resource, or using the `digitalocean.VolumeAttachment` resource - but the two cannot be used together. If both are used against the same Droplet, the volume attachments will constantly drift.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"nyc1\",\n size: 100,\n initialFilesystemType: \"ext4\",\n description: \"an example volume\",\n});\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc1\",\n});\nconst foobarVolumeAttachment = new digitalocean.VolumeAttachment(\"foobarVolumeAttachment\", {\n dropletId: foobarDroplet.id,\n volumeId: foobarVolume.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"nyc1\",\n size=100,\n initial_filesystem_type=\"ext4\",\n description=\"an example volume\")\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc1\")\nfoobar_volume_attachment = digitalocean.VolumeAttachment(\"foobarVolumeAttachment\",\n droplet_id=foobar_droplet.id,\n volume_id=foobar_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"nyc1\",\n Size = 100,\n InitialFilesystemType = \"ext4\",\n Description = \"an example volume\",\n });\n\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc1\",\n });\n\n var foobarVolumeAttachment = new DigitalOcean.VolumeAttachment(\"foobarVolumeAttachment\", new()\n {\n DropletId = foobarDroplet.Id,\n VolumeId = foobarVolume.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolume, err := digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tInitialFilesystemType: pulumi.String(\"ext4\"),\n\t\t\tDescription: pulumi.String(\"an example volume\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeAttachment(ctx, \"foobarVolumeAttachment\", \u0026digitalocean.VolumeAttachmentArgs{\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t\tVolumeId: foobarVolume.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.VolumeAttachment;\nimport com.pulumi.digitalocean.VolumeAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"nyc1\")\n .size(100)\n .initialFilesystemType(\"ext4\")\n .description(\"an example volume\")\n .build());\n\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc1\")\n .build());\n\n var foobarVolumeAttachment = new VolumeAttachment(\"foobarVolumeAttachment\", VolumeAttachmentArgs.builder() \n .dropletId(foobarDroplet.id())\n .volumeId(foobarVolume.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: nyc1\n size: 100\n initialFilesystemType: ext4\n description: an example volume\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc1\n foobarVolumeAttachment:\n type: digitalocean:VolumeAttachment\n properties:\n dropletId: ${foobarDroplet.id}\n volumeId: ${foobarVolume.id}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Manages attaching a Volume to a Droplet.\n\n\u003e **NOTE:** Volumes can be attached either directly on the `digitalocean.Droplet` resource, or using the `digitalocean.VolumeAttachment` resource - but the two cannot be used together. If both are used against the same Droplet, the volume attachments will constantly drift.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"nyc1\",\n size: 100,\n initialFilesystemType: \"ext4\",\n description: \"an example volume\",\n});\nconst foobarDroplet = new digitalocean.Droplet(\"foobarDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc1\",\n});\nconst foobarVolumeAttachment = new digitalocean.VolumeAttachment(\"foobarVolumeAttachment\", {\n dropletId: foobarDroplet.id,\n volumeId: foobarVolume.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"nyc1\",\n size=100,\n initial_filesystem_type=\"ext4\",\n description=\"an example volume\")\nfoobar_droplet = digitalocean.Droplet(\"foobarDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc1\")\nfoobar_volume_attachment = digitalocean.VolumeAttachment(\"foobarVolumeAttachment\",\n droplet_id=foobar_droplet.id,\n volume_id=foobar_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"nyc1\",\n Size = 100,\n InitialFilesystemType = \"ext4\",\n Description = \"an example volume\",\n });\n\n var foobarDroplet = new DigitalOcean.Droplet(\"foobarDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc1\",\n });\n\n var foobarVolumeAttachment = new DigitalOcean.VolumeAttachment(\"foobarVolumeAttachment\", new()\n {\n DropletId = foobarDroplet.Id,\n VolumeId = foobarVolume.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolume, err := digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tInitialFilesystemType: pulumi.String(\"ext4\"),\n\t\t\tDescription: pulumi.String(\"an example volume\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfoobarDroplet, err := digitalocean.NewDroplet(ctx, \"foobarDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeAttachment(ctx, \"foobarVolumeAttachment\", \u0026digitalocean.VolumeAttachmentArgs{\n\t\t\tDropletId: foobarDroplet.ID(),\n\t\t\tVolumeId: foobarVolume.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.VolumeAttachment;\nimport com.pulumi.digitalocean.VolumeAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"nyc1\")\n .size(100)\n .initialFilesystemType(\"ext4\")\n .description(\"an example volume\")\n .build());\n\n var foobarDroplet = new Droplet(\"foobarDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc1\")\n .build());\n\n var foobarVolumeAttachment = new VolumeAttachment(\"foobarVolumeAttachment\", VolumeAttachmentArgs.builder() \n .dropletId(foobarDroplet.id())\n .volumeId(foobarVolume.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: nyc1\n size: 100\n initialFilesystemType: ext4\n description: an example volume\n foobarDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc1\n foobarVolumeAttachment:\n type: digitalocean:VolumeAttachment\n properties:\n dropletId: ${foobarDroplet.id}\n volumeId: ${foobarVolume.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "dropletId": { "type": "integer", @@ -13223,7 +13223,7 @@ } }, "digitalocean:index/volumeSnapshot:VolumeSnapshot": { - "description": "Provides a DigitalOcean Volume Snapshot which can be used to create a snapshot from an existing volume.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"nyc1\",\n size: 100,\n description: \"an example volume\",\n});\nconst foobarVolumeSnapshot = new digitalocean.VolumeSnapshot(\"foobarVolumeSnapshot\", {volumeId: foobarVolume.id});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"nyc1\",\n size=100,\n description=\"an example volume\")\nfoobar_volume_snapshot = digitalocean.VolumeSnapshot(\"foobarVolumeSnapshot\", volume_id=foobar_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"nyc1\",\n Size = 100,\n Description = \"an example volume\",\n });\n\n var foobarVolumeSnapshot = new DigitalOcean.VolumeSnapshot(\"foobarVolumeSnapshot\", new()\n {\n VolumeId = foobarVolume.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolume, err := digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tDescription: pulumi.String(\"an example volume\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeSnapshot(ctx, \"foobarVolumeSnapshot\", \u0026digitalocean.VolumeSnapshotArgs{\n\t\t\tVolumeId: foobarVolume.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport com.pulumi.digitalocean.VolumeSnapshot;\nimport com.pulumi.digitalocean.VolumeSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"nyc1\")\n .size(100)\n .description(\"an example volume\")\n .build());\n\n var foobarVolumeSnapshot = new VolumeSnapshot(\"foobarVolumeSnapshot\", VolumeSnapshotArgs.builder() \n .volumeId(foobarVolume.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: nyc1\n size: 100\n description: an example volume\n foobarVolumeSnapshot:\n type: digitalocean:VolumeSnapshot\n properties:\n volumeId: ${foobarVolume.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nVolume Snapshots can be imported using the `snapshot id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/volumeSnapshot:VolumeSnapshot snapshot 506f78a4-e098-11e5-ad9f-000f53306ae1\n```\n\n ", + "description": "Provides a DigitalOcean Volume Snapshot which can be used to create a snapshot from an existing volume.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst foobarVolume = new digitalocean.Volume(\"foobarVolume\", {\n region: \"nyc1\",\n size: 100,\n description: \"an example volume\",\n});\nconst foobarVolumeSnapshot = new digitalocean.VolumeSnapshot(\"foobarVolumeSnapshot\", {volumeId: foobarVolume.id});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nfoobar_volume = digitalocean.Volume(\"foobarVolume\",\n region=\"nyc1\",\n size=100,\n description=\"an example volume\")\nfoobar_volume_snapshot = digitalocean.VolumeSnapshot(\"foobarVolumeSnapshot\", volume_id=foobar_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobarVolume = new DigitalOcean.Volume(\"foobarVolume\", new()\n {\n Region = \"nyc1\",\n Size = 100,\n Description = \"an example volume\",\n });\n\n var foobarVolumeSnapshot = new DigitalOcean.VolumeSnapshot(\"foobarVolumeSnapshot\", new()\n {\n VolumeId = foobarVolume.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoobarVolume, err := digitalocean.NewVolume(ctx, \"foobarVolume\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc1\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tDescription: pulumi.String(\"an example volume\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeSnapshot(ctx, \"foobarVolumeSnapshot\", \u0026digitalocean.VolumeSnapshotArgs{\n\t\t\tVolumeId: foobarVolume.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport com.pulumi.digitalocean.VolumeSnapshot;\nimport com.pulumi.digitalocean.VolumeSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foobarVolume = new Volume(\"foobarVolume\", VolumeArgs.builder() \n .region(\"nyc1\")\n .size(100)\n .description(\"an example volume\")\n .build());\n\n var foobarVolumeSnapshot = new VolumeSnapshot(\"foobarVolumeSnapshot\", VolumeSnapshotArgs.builder() \n .volumeId(foobarVolume.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobarVolume:\n type: digitalocean:Volume\n properties:\n region: nyc1\n size: 100\n description: an example volume\n foobarVolumeSnapshot:\n type: digitalocean:VolumeSnapshot\n properties:\n volumeId: ${foobarVolume.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nVolume Snapshots can be imported using the `snapshot id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/volumeSnapshot:VolumeSnapshot snapshot 506f78a4-e098-11e5-ad9f-000f53306ae1\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -13334,7 +13334,7 @@ } }, "digitalocean:index/vpc:Vpc": { - "description": "Provides a [DigitalOcean VPC](https://docs.digitalocean.com/reference/api/api-reference/#tag/VPCs) resource.\n\nVPCs are virtual networks containing resources that can communicate with each\nother in full isolation, using private IP addresses.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = new digitalocean.Vpc(\"example\", {\n ipRange: \"10.10.10.0/24\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.Vpc(\"example\",\n ip_range=\"10.10.10.0/24\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new DigitalOcean.Vpc(\"example\", new()\n {\n IpRange = \"10.10.10.0/24\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewVpc(ctx, \"example\", \u0026digitalocean.VpcArgs{\n\t\t\tIpRange: pulumi.String(\"10.10.10.0/24\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Vpc;\nimport com.pulumi.digitalocean.VpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Vpc(\"example\", VpcArgs.builder() \n .ipRange(\"10.10.10.0/24\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: digitalocean:Vpc\n properties:\n ipRange: 10.10.10.0/24\n region: nyc3\n```\n{{% /example %}}\n{{% example %}}\n### Resource Assignment\n\n`digitalocean.Droplet`, `digitalocean.KubernetesCluster`,\n`digitalocean_load_balancer`, and `digitalocean.DatabaseCluster` resources\nmay be assigned to a VPC by referencing its `id`. For example:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleVpc = new digitalocean.Vpc(\"exampleVpc\", {region: \"nyc3\"});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n vpcUuid: exampleVpc.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_vpc = digitalocean.Vpc(\"exampleVpc\", region=\"nyc3\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n vpc_uuid=example_vpc.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleVpc = new DigitalOcean.Vpc(\"exampleVpc\", new()\n {\n Region = \"nyc3\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n VpcUuid = exampleVpc.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleVpc, err := digitalocean.NewVpc(ctx, \"exampleVpc\", \u0026digitalocean.VpcArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tVpcUuid: exampleVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Vpc;\nimport com.pulumi.digitalocean.VpcArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleVpc = new Vpc(\"exampleVpc\", VpcArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .vpcUuid(exampleVpc.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleVpc:\n type: digitalocean:Vpc\n properties:\n region: nyc3\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n vpcUuid: ${exampleVpc.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nA VPC can be imported using its `id`, e.g.\n\n ```sh\n $ pulumi import digitalocean:index/vpc:Vpc example 506f78a4-e098-11e5-ad9f-000f53306ae1\n```\n\n ", + "description": "Provides a [DigitalOcean VPC](https://docs.digitalocean.com/reference/api/api-reference/#tag/VPCs) resource.\n\nVPCs are virtual networks containing resources that can communicate with each\nother in full isolation, using private IP addresses.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = new digitalocean.Vpc(\"example\", {\n ipRange: \"10.10.10.0/24\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.Vpc(\"example\",\n ip_range=\"10.10.10.0/24\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new DigitalOcean.Vpc(\"example\", new()\n {\n IpRange = \"10.10.10.0/24\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.NewVpc(ctx, \"example\", \u0026digitalocean.VpcArgs{\n\t\t\tIpRange: pulumi.String(\"10.10.10.0/24\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Vpc;\nimport com.pulumi.digitalocean.VpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Vpc(\"example\", VpcArgs.builder() \n .ipRange(\"10.10.10.0/24\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: digitalocean:Vpc\n properties:\n ipRange: 10.10.10.0/24\n region: nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Resource Assignment\n\n`digitalocean.Droplet`, `digitalocean.KubernetesCluster`,\n`digitalocean_load_balancer`, and `digitalocean.DatabaseCluster` resources\nmay be assigned to a VPC by referencing its `id`. For example:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleVpc = new digitalocean.Vpc(\"exampleVpc\", {region: \"nyc3\"});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n vpcUuid: exampleVpc.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_vpc = digitalocean.Vpc(\"exampleVpc\", region=\"nyc3\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n vpc_uuid=example_vpc.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleVpc = new DigitalOcean.Vpc(\"exampleVpc\", new()\n {\n Region = \"nyc3\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n VpcUuid = exampleVpc.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleVpc, err := digitalocean.NewVpc(ctx, \"exampleVpc\", \u0026digitalocean.VpcArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tVpcUuid: exampleVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.Vpc;\nimport com.pulumi.digitalocean.VpcArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var exampleVpc = new Vpc(\"exampleVpc\", VpcArgs.builder() \n .region(\"nyc3\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .vpcUuid(exampleVpc.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleVpc:\n type: digitalocean:Vpc\n properties:\n region: nyc3\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n vpcUuid: ${exampleVpc.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nA VPC can be imported using its `id`, e.g.\n\n```sh\n$ pulumi import digitalocean:index/vpc:Vpc example 506f78a4-e098-11e5-ad9f-000f53306ae1\n```\n\n", "properties": { "createdAt": { "type": "string", @@ -13436,7 +13436,7 @@ }, "functions": { "digitalocean:index/getAccount:getAccount": { - "description": "Get information on your DigitalOcean account.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the account:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getAccount({});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_account()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetAccount.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetAccount(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getAccount();\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getAccount\n Arguments: {}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on your DigitalOcean account.\n\n## Example Usage\n\nGet the account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getAccount({});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_account()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetAccount.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetAccount(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getAccount();\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getAccount\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getAccount.\n", "properties": { @@ -13487,7 +13487,7 @@ } }, "digitalocean:index/getApp:getApp": { - "description": "Get information on a DigitalOcean App.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the account:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getApp({\n appId: \"e665d18d-7b56-44a9-92ce-31979174d544\",\n});\nexport const defaultIngress = example.then(example =\u003e example.defaultIngress);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_app(app_id=\"e665d18d-7b56-44a9-92ce-31979174d544\")\npulumi.export(\"defaultIngress\", example.default_ingress)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetApp.Invoke(new()\n {\n AppId = \"e665d18d-7b56-44a9-92ce-31979174d544\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"defaultIngress\"] = example.Apply(getAppResult =\u003e getAppResult.DefaultIngress),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupApp(ctx, \u0026digitalocean.LookupAppArgs{\n\t\t\tAppId: \"e665d18d-7b56-44a9-92ce-31979174d544\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"defaultIngress\", example.DefaultIngress)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder()\n .appId(\"e665d18d-7b56-44a9-92ce-31979174d544\")\n .build());\n\n ctx.export(\"defaultIngress\", example.applyValue(getAppResult -\u003e getAppResult.defaultIngress()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getApp\n Arguments:\n appId: e665d18d-7b56-44a9-92ce-31979174d544\noutputs:\n defaultIngress: ${example.defaultIngress}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a DigitalOcean App.\n\n## Example Usage\n\nGet the account:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getApp({\n appId: \"e665d18d-7b56-44a9-92ce-31979174d544\",\n});\nexport const defaultIngress = example.then(example =\u003e example.defaultIngress);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_app(app_id=\"e665d18d-7b56-44a9-92ce-31979174d544\")\npulumi.export(\"defaultIngress\", example.default_ingress)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetApp.Invoke(new()\n {\n AppId = \"e665d18d-7b56-44a9-92ce-31979174d544\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"defaultIngress\"] = example.Apply(getAppResult =\u003e getAppResult.DefaultIngress),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupApp(ctx, \u0026digitalocean.LookupAppArgs{\n\t\t\tAppId: \"e665d18d-7b56-44a9-92ce-31979174d544\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"defaultIngress\", example.DefaultIngress)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder()\n .appId(\"e665d18d-7b56-44a9-92ce-31979174d544\")\n .build());\n\n ctx.export(\"defaultIngress\", example.applyValue(getAppResult -\u003e getAppResult.defaultIngress()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getApp\n Arguments:\n appId: e665d18d-7b56-44a9-92ce-31979174d544\noutputs:\n defaultIngress: ${example.defaultIngress}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getApp.\n", "properties": { @@ -13563,7 +13563,7 @@ } }, "digitalocean:index/getCertificate:getCertificate": { - "description": "Get information on a certificate. This data source provides the name, type, state,\ndomains, expiry date, and the sha1 fingerprint as configured on your DigitalOcean account.\nThis is useful if the certificate in question is not managed by this provider or you need to utilize\nany of the certificates data.\n\nAn error is triggered if the provided certificate name does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the certificate:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getCertificate({\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_certificate(name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetCertificate.Invoke(new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupCertificate(ctx, \u0026digitalocean.LookupCertificateArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetCertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getCertificate(GetCertificateArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getCertificate\n Arguments:\n name: example\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a certificate. This data source provides the name, type, state,\ndomains, expiry date, and the sha1 fingerprint as configured on your DigitalOcean account.\nThis is useful if the certificate in question is not managed by this provider or you need to utilize\nany of the certificates data.\n\nAn error is triggered if the provided certificate name does not exist.\n\n## Example Usage\n\nGet the certificate:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getCertificate({\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_certificate(name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetCertificate.Invoke(new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupCertificate(ctx, \u0026digitalocean.LookupCertificateArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetCertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getCertificate(GetCertificateArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getCertificate\n Arguments:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getCertificate.\n", "properties": { @@ -13629,7 +13629,7 @@ } }, "digitalocean:index/getContainerRegistry:getContainerRegistry": { - "description": "Get information on a container registry. This data source provides the name as\nconfigured on your DigitalOcean account. This is useful if the container\nregistry name in question is not managed by this provider or you need validate if\nthe container registry exists in the account.\n\nAn error is triggered if the provided container registry name does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Example\n\nGet the container registry:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getContainerRegistry({\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_container_registry(name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetContainerRegistry.Invoke(new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupContainerRegistry(ctx, \u0026digitalocean.LookupContainerRegistryArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetContainerRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getContainerRegistry\n Arguments:\n name: example\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a container registry. This data source provides the name as\nconfigured on your DigitalOcean account. This is useful if the container\nregistry name in question is not managed by this provider or you need validate if\nthe container registry exists in the account.\n\nAn error is triggered if the provided container registry name does not exist.\n\n## Example Usage\n\n### Basic Example\n\nGet the container registry:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getContainerRegistry({\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_container_registry(name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetContainerRegistry.Invoke(new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupContainerRegistry(ctx, \u0026digitalocean.LookupContainerRegistryArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetContainerRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getContainerRegistry\n Arguments:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getContainerRegistry.\n", "properties": { @@ -13693,7 +13693,7 @@ } }, "digitalocean:index/getDatabaseCa:getDatabaseCa": { - "description": "Provides the CA certificate for a DigitalOcean database.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst ca = digitalocean.getDatabaseCa({\n clusterId: \"aaa-bbb-ccc-ddd\",\n});\nexport const caOutput = ca.then(ca =\u003e ca.certificate);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nca = digitalocean.get_database_ca(cluster_id=\"aaa-bbb-ccc-ddd\")\npulumi.export(\"caOutput\", ca.certificate)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ca = DigitalOcean.GetDatabaseCa.Invoke(new()\n {\n ClusterId = \"aaa-bbb-ccc-ddd\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"caOutput\"] = ca.Apply(getDatabaseCaResult =\u003e getDatabaseCaResult.Certificate),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tca, err := digitalocean.GetDatabaseCa(ctx, \u0026digitalocean.GetDatabaseCaArgs{\n\t\t\tClusterId: \"aaa-bbb-ccc-ddd\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"caOutput\", ca.Certificate)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseCaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var ca = DigitaloceanFunctions.getDatabaseCa(GetDatabaseCaArgs.builder()\n .clusterId(\"aaa-bbb-ccc-ddd\")\n .build());\n\n ctx.export(\"caOutput\", ca.applyValue(getDatabaseCaResult -\u003e getDatabaseCaResult.certificate()));\n }\n}\n```\n```yaml\nvariables:\n ca:\n fn::invoke:\n Function: digitalocean:getDatabaseCa\n Arguments:\n clusterId: aaa-bbb-ccc-ddd\noutputs:\n caOutput: ${ca.certificate}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides the CA certificate for a DigitalOcean database.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst ca = digitalocean.getDatabaseCa({\n clusterId: \"aaa-bbb-ccc-ddd\",\n});\nexport const caOutput = ca.then(ca =\u003e ca.certificate);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nca = digitalocean.get_database_ca(cluster_id=\"aaa-bbb-ccc-ddd\")\npulumi.export(\"caOutput\", ca.certificate)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ca = DigitalOcean.GetDatabaseCa.Invoke(new()\n {\n ClusterId = \"aaa-bbb-ccc-ddd\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"caOutput\"] = ca.Apply(getDatabaseCaResult =\u003e getDatabaseCaResult.Certificate),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tca, err := digitalocean.GetDatabaseCa(ctx, \u0026digitalocean.GetDatabaseCaArgs{\n\t\t\tClusterId: \"aaa-bbb-ccc-ddd\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"caOutput\", ca.Certificate)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseCaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var ca = DigitaloceanFunctions.getDatabaseCa(GetDatabaseCaArgs.builder()\n .clusterId(\"aaa-bbb-ccc-ddd\")\n .build());\n\n ctx.export(\"caOutput\", ca.applyValue(getDatabaseCaResult -\u003e getDatabaseCaResult.certificate()));\n }\n}\n```\n```yaml\nvariables:\n ca:\n fn::invoke:\n Function: digitalocean:getDatabaseCa\n Arguments:\n clusterId: aaa-bbb-ccc-ddd\noutputs:\n caOutput: ${ca.certificate}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabaseCa.\n", "properties": { @@ -13731,7 +13731,7 @@ } }, "digitalocean:index/getDatabaseCluster:getDatabaseCluster": { - "description": "Provides information on a DigitalOcean database cluster resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDatabaseCluster({\n name: \"example-cluster\",\n});\nexport const databaseOutput = example.then(example =\u003e example.uri);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_database_cluster(name=\"example-cluster\")\npulumi.export(\"databaseOutput\", example.uri)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"example-cluster\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databaseOutput\"] = example.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Uri),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"example-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databaseOutput\", example.Uri)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"example-cluster\")\n .build());\n\n ctx.export(\"databaseOutput\", example.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.uri()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: example-cluster\noutputs:\n databaseOutput: ${example.uri}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides information on a DigitalOcean database cluster resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDatabaseCluster({\n name: \"example-cluster\",\n});\nexport const databaseOutput = example.then(example =\u003e example.uri);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_database_cluster(name=\"example-cluster\")\npulumi.export(\"databaseOutput\", example.uri)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"example-cluster\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databaseOutput\"] = example.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Uri),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"example-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databaseOutput\", example.Uri)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"example-cluster\")\n .build());\n\n ctx.export(\"databaseOutput\", example.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.uri()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: example-cluster\noutputs:\n databaseOutput: ${example.uri}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabaseCluster.\n", "properties": { @@ -13872,7 +13872,7 @@ } }, "digitalocean:index/getDatabaseConnectionPool:getDatabaseConnectionPool": { - "description": "Provides information on a DigitalOcean PostgreSQL database connection pool.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDatabaseCluster({\n name: \"example-cluster\",\n});\nconst read-only = example.then(example =\u003e digitalocean.getDatabaseConnectionPool({\n clusterId: example.id,\n name: \"pool-01\",\n}));\nexport const connectionPoolUriOutput = read_only.then(read_only =\u003e read_only.uri);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_database_cluster(name=\"example-cluster\")\nread_only = digitalocean.get_database_connection_pool(cluster_id=example.id,\n name=\"pool-01\")\npulumi.export(\"connectionPoolUriOutput\", read_only.uri)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"example-cluster\",\n });\n\n var read_only = DigitalOcean.GetDatabaseConnectionPool.Invoke(new()\n {\n ClusterId = example.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Id),\n Name = \"pool-01\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"connectionPoolUriOutput\"] = read_only.Apply(read_only =\u003e read_only.Apply(getDatabaseConnectionPoolResult =\u003e getDatabaseConnectionPoolResult.Uri)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"example-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tread_only, err := digitalocean.LookupDatabaseConnectionPool(ctx, \u0026digitalocean.LookupDatabaseConnectionPoolArgs{\n\t\t\tClusterId: example.Id,\n\t\t\tName: \"pool-01\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"connectionPoolUriOutput\", read_only.Uri)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.GetDatabaseConnectionPoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"example-cluster\")\n .build());\n\n final var read-only = DigitaloceanFunctions.getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs.builder()\n .clusterId(example.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.id()))\n .name(\"pool-01\")\n .build());\n\n ctx.export(\"connectionPoolUriOutput\", read_only.uri());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: example-cluster\n read-only:\n fn::invoke:\n Function: digitalocean:getDatabaseConnectionPool\n Arguments:\n clusterId: ${example.id}\n name: pool-01\noutputs:\n connectionPoolUriOutput: ${[\"read-only\"].uri}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides information on a DigitalOcean PostgreSQL database connection pool.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDatabaseCluster({\n name: \"example-cluster\",\n});\nconst read-only = example.then(example =\u003e digitalocean.getDatabaseConnectionPool({\n clusterId: example.id,\n name: \"pool-01\",\n}));\nexport const connectionPoolUriOutput = read_only.then(read_only =\u003e read_only.uri);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_database_cluster(name=\"example-cluster\")\nread_only = digitalocean.get_database_connection_pool(cluster_id=example.id,\n name=\"pool-01\")\npulumi.export(\"connectionPoolUriOutput\", read_only.uri)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"example-cluster\",\n });\n\n var read_only = DigitalOcean.GetDatabaseConnectionPool.Invoke(new()\n {\n ClusterId = example.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Id),\n Name = \"pool-01\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"connectionPoolUriOutput\"] = read_only.Apply(read_only =\u003e read_only.Apply(getDatabaseConnectionPoolResult =\u003e getDatabaseConnectionPoolResult.Uri)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"example-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tread_only, err := digitalocean.LookupDatabaseConnectionPool(ctx, \u0026digitalocean.LookupDatabaseConnectionPoolArgs{\n\t\t\tClusterId: example.Id,\n\t\t\tName: \"pool-01\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"connectionPoolUriOutput\", read_only.Uri)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.GetDatabaseConnectionPoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"example-cluster\")\n .build());\n\n final var read-only = DigitaloceanFunctions.getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs.builder()\n .clusterId(example.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.id()))\n .name(\"pool-01\")\n .build());\n\n ctx.export(\"connectionPoolUriOutput\", read_only.uri());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: example-cluster\n read-only:\n fn::invoke:\n Function: digitalocean:getDatabaseConnectionPool\n Arguments:\n clusterId: ${example.id}\n name: pool-01\noutputs:\n connectionPoolUriOutput: ${[\"read-only\"].uri}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabaseConnectionPool.\n", "properties": { @@ -13969,7 +13969,7 @@ } }, "digitalocean:index/getDatabaseReplica:getDatabaseReplica": { - "description": "Provides information on a DigitalOcean database replica.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDatabaseCluster({\n name: \"example-cluster\",\n});\nconst read-only = example.then(example =\u003e digitalocean.getDatabaseReplica({\n clusterId: example.id,\n name: \"terra-test-ro\",\n}));\nexport const replicaOutput = read_only.then(read_only =\u003e read_only.uri);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_database_cluster(name=\"example-cluster\")\nread_only = digitalocean.get_database_replica(cluster_id=example.id,\n name=\"terra-test-ro\")\npulumi.export(\"replicaOutput\", read_only.uri)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"example-cluster\",\n });\n\n var read_only = DigitalOcean.GetDatabaseReplica.Invoke(new()\n {\n ClusterId = example.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Id),\n Name = \"terra-test-ro\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"replicaOutput\"] = read_only.Apply(read_only =\u003e read_only.Apply(getDatabaseReplicaResult =\u003e getDatabaseReplicaResult.Uri)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"example-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tread_only, err := digitalocean.LookupDatabaseReplica(ctx, \u0026digitalocean.LookupDatabaseReplicaArgs{\n\t\t\tClusterId: example.Id,\n\t\t\tName: \"terra-test-ro\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"replicaOutput\", read_only.Uri)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.GetDatabaseReplicaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"example-cluster\")\n .build());\n\n final var read-only = DigitaloceanFunctions.getDatabaseReplica(GetDatabaseReplicaArgs.builder()\n .clusterId(example.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.id()))\n .name(\"terra-test-ro\")\n .build());\n\n ctx.export(\"replicaOutput\", read_only.uri());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: example-cluster\n read-only:\n fn::invoke:\n Function: digitalocean:getDatabaseReplica\n Arguments:\n clusterId: ${example.id}\n name: terra-test-ro\noutputs:\n replicaOutput: ${[\"read-only\"].uri}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides information on a DigitalOcean database replica.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDatabaseCluster({\n name: \"example-cluster\",\n});\nconst read-only = example.then(example =\u003e digitalocean.getDatabaseReplica({\n clusterId: example.id,\n name: \"terra-test-ro\",\n}));\nexport const replicaOutput = read_only.then(read_only =\u003e read_only.uri);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_database_cluster(name=\"example-cluster\")\nread_only = digitalocean.get_database_replica(cluster_id=example.id,\n name=\"terra-test-ro\")\npulumi.export(\"replicaOutput\", read_only.uri)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"example-cluster\",\n });\n\n var read_only = DigitalOcean.GetDatabaseReplica.Invoke(new()\n {\n ClusterId = example.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Id),\n Name = \"terra-test-ro\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"replicaOutput\"] = read_only.Apply(read_only =\u003e read_only.Apply(getDatabaseReplicaResult =\u003e getDatabaseReplicaResult.Uri)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"example-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tread_only, err := digitalocean.LookupDatabaseReplica(ctx, \u0026digitalocean.LookupDatabaseReplicaArgs{\n\t\t\tClusterId: example.Id,\n\t\t\tName: \"terra-test-ro\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"replicaOutput\", read_only.Uri)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.GetDatabaseReplicaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"example-cluster\")\n .build());\n\n final var read-only = DigitaloceanFunctions.getDatabaseReplica(GetDatabaseReplicaArgs.builder()\n .clusterId(example.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.id()))\n .name(\"terra-test-ro\")\n .build());\n\n ctx.export(\"replicaOutput\", read_only.uri());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: example-cluster\n read-only:\n fn::invoke:\n Function: digitalocean:getDatabaseReplica\n Arguments:\n clusterId: ${example.id}\n name: terra-test-ro\noutputs:\n replicaOutput: ${[\"read-only\"].uri}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabaseReplica.\n", "properties": { @@ -14085,7 +14085,7 @@ } }, "digitalocean:index/getDatabaseUser:getDatabaseUser": { - "description": "Provides information on a DigitalOcean database user resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst main = digitalocean.getDatabaseCluster({\n name: \"main-cluster\",\n});\nconst example = main.then(main =\u003e digitalocean.getDatabaseUser({\n clusterId: main.id,\n name: \"example-user\",\n}));\nexport const databaseUserPassword = example.then(example =\u003e example.password);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nmain = digitalocean.get_database_cluster(name=\"main-cluster\")\nexample = digitalocean.get_database_user(cluster_id=main.id,\n name=\"example-user\")\npulumi.export(\"databaseUserPassword\", example.password)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"main-cluster\",\n });\n\n var example = DigitalOcean.GetDatabaseUser.Invoke(new()\n {\n ClusterId = main.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Id),\n Name = \"example-user\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databaseUserPassword\"] = example.Apply(getDatabaseUserResult =\u003e getDatabaseUserResult.Password),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"main-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := digitalocean.LookupDatabaseUser(ctx, \u0026digitalocean.LookupDatabaseUserArgs{\n\t\t\tClusterId: main.Id,\n\t\t\tName: \"example-user\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databaseUserPassword\", example.Password)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.GetDatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var main = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"main-cluster\")\n .build());\n\n final var example = DigitaloceanFunctions.getDatabaseUser(GetDatabaseUserArgs.builder()\n .clusterId(main.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.id()))\n .name(\"example-user\")\n .build());\n\n ctx.export(\"databaseUserPassword\", example.applyValue(getDatabaseUserResult -\u003e getDatabaseUserResult.password()));\n }\n}\n```\n```yaml\nvariables:\n main:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: main-cluster\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseUser\n Arguments:\n clusterId: ${main.id}\n name: example-user\noutputs:\n databaseUserPassword: ${example.password}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides information on a DigitalOcean database user resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst main = digitalocean.getDatabaseCluster({\n name: \"main-cluster\",\n});\nconst example = main.then(main =\u003e digitalocean.getDatabaseUser({\n clusterId: main.id,\n name: \"example-user\",\n}));\nexport const databaseUserPassword = example.then(example =\u003e example.password);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nmain = digitalocean.get_database_cluster(name=\"main-cluster\")\nexample = digitalocean.get_database_user(cluster_id=main.id,\n name=\"example-user\")\npulumi.export(\"databaseUserPassword\", example.password)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var main = DigitalOcean.GetDatabaseCluster.Invoke(new()\n {\n Name = \"main-cluster\",\n });\n\n var example = DigitalOcean.GetDatabaseUser.Invoke(new()\n {\n ClusterId = main.Apply(getDatabaseClusterResult =\u003e getDatabaseClusterResult.Id),\n Name = \"example-user\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"databaseUserPassword\"] = example.Apply(getDatabaseUserResult =\u003e getDatabaseUserResult.Password),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmain, err := digitalocean.LookupDatabaseCluster(ctx, \u0026digitalocean.LookupDatabaseClusterArgs{\n\t\t\tName: \"main-cluster\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := digitalocean.LookupDatabaseUser(ctx, \u0026digitalocean.LookupDatabaseUserArgs{\n\t\t\tClusterId: main.Id,\n\t\t\tName: \"example-user\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"databaseUserPassword\", example.Password)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDatabaseClusterArgs;\nimport com.pulumi.digitalocean.inputs.GetDatabaseUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var main = DigitaloceanFunctions.getDatabaseCluster(GetDatabaseClusterArgs.builder()\n .name(\"main-cluster\")\n .build());\n\n final var example = DigitaloceanFunctions.getDatabaseUser(GetDatabaseUserArgs.builder()\n .clusterId(main.applyValue(getDatabaseClusterResult -\u003e getDatabaseClusterResult.id()))\n .name(\"example-user\")\n .build());\n\n ctx.export(\"databaseUserPassword\", example.applyValue(getDatabaseUserResult -\u003e getDatabaseUserResult.password()));\n }\n}\n```\n```yaml\nvariables:\n main:\n fn::invoke:\n Function: digitalocean:getDatabaseCluster\n Arguments:\n name: main-cluster\n example:\n fn::invoke:\n Function: digitalocean:getDatabaseUser\n Arguments:\n clusterId: ${main.id}\n name: example-user\noutputs:\n databaseUserPassword: ${example.password}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDatabaseUser.\n", "properties": { @@ -14162,7 +14162,7 @@ } }, "digitalocean:index/getDomain:getDomain": { - "description": "Get information on a domain. This data source provides the name, TTL, and zone\nfile as configured on your DigitalOcean account. This is useful if the domain\nname in question is not managed by this provider or you need to utilize TTL or zone\nfile data.\n\nAn error is triggered if the provided domain name is not managed with your\nDigitalOcean account.\n", + "description": "Get information on a domain. This data source provides the name, TTL, and zone\nfile as configured on your DigitalOcean account. This is useful if the domain\nname in question is not managed by this provider or you need to utilize TTL or zone\nfile data.\n\nAn error is triggered if the provided domain name is not managed with your\nDigitalOcean account.\n\n## Example Usage\n\nGet the zone file for a domain:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDomain({\n name: \"example.com\",\n});\nexport const domainOutput = example.then(example =\u003e example.zoneFile);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_domain(name=\"example.com\")\npulumi.export(\"domainOutput\", example.zone_file)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDomain.Invoke(new()\n {\n Name = \"example.com\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"domainOutput\"] = example.Apply(getDomainResult =\u003e getDomainResult.ZoneFile),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDomain(ctx, \u0026digitalocean.LookupDomainArgs{\n\t\t\tName: \"example.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"domainOutput\", example.ZoneFile)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder()\n .name(\"example.com\")\n .build());\n\n ctx.export(\"domainOutput\", example.applyValue(getDomainResult -\u003e getDomainResult.zoneFile()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDomain\n Arguments:\n name: example.com\noutputs:\n domainOutput: ${example.zoneFile}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n", "inputs": { "description": "A collection of arguments for invoking getDomain.\n", "properties": { @@ -14210,7 +14210,7 @@ } }, "digitalocean:index/getDomains:getDomains": { - "description": "Get information on domains for use in other resources, with the ability to filter and sort the results.\nIf no filters are specified, all domains will be returned.\n\nThis data source is useful if the domains in question are not managed by this provider or you need to\nutilize any of the domains' data.\n\nNote: You can use the `digitalocean.Domain` data source to obtain metadata\nabout a single domain if you already know the `name`.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nUse the `filter` block with a `key` string and `values` list to filter domains. (This example\nalso uses the regular expression `match_by` mode in order to match domains by suffix.)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst examples = digitalocean.getDomains({\n filters: [{\n key: \"name\",\n matchBy: \"re\",\n values: [\"example\\\\.com$\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexamples = digitalocean.get_domains(filters=[digitalocean.GetDomainsFilterArgs(\n key=\"name\",\n match_by=\"re\",\n values=[\"example\\\\.com$\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var examples = DigitalOcean.GetDomains.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetDomainsFilterInputArgs\n {\n Key = \"name\",\n MatchBy = \"re\",\n Values = new[]\n {\n \"example\\\\.com$\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetDomains(ctx, \u0026digitalocean.GetDomainsArgs{\n\t\t\tFilters: []digitalocean.GetDomainsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t\tMatchBy: pulumi.StringRef(\"re\"),\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"example\\\\.com$\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDomainsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder()\n .filters(GetDomainsFilterArgs.builder()\n .key(\"name\")\n .matchBy(\"re\")\n .values(\"example\\\\.com$\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n examples:\n fn::invoke:\n Function: digitalocean:getDomains\n Arguments:\n filters:\n - key: name\n matchBy: re\n values:\n - example\\.com$\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on domains for use in other resources, with the ability to filter and sort the results.\nIf no filters are specified, all domains will be returned.\n\nThis data source is useful if the domains in question are not managed by this provider or you need to\nutilize any of the domains' data.\n\nNote: You can use the `digitalocean.Domain` data source to obtain metadata\nabout a single domain if you already know the `name`.\n\n## Example Usage\n\nUse the `filter` block with a `key` string and `values` list to filter domains. (This example\nalso uses the regular expression `match_by` mode in order to match domains by suffix.)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst examples = digitalocean.getDomains({\n filters: [{\n key: \"name\",\n matchBy: \"re\",\n values: [\"example\\\\.com$\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexamples = digitalocean.get_domains(filters=[digitalocean.GetDomainsFilterArgs(\n key=\"name\",\n match_by=\"re\",\n values=[\"example\\\\.com$\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var examples = DigitalOcean.GetDomains.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetDomainsFilterInputArgs\n {\n Key = \"name\",\n MatchBy = \"re\",\n Values = new[]\n {\n \"example\\\\.com$\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetDomains(ctx, \u0026digitalocean.GetDomainsArgs{\n\t\t\tFilters: []digitalocean.GetDomainsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t\tMatchBy: pulumi.StringRef(\"re\"),\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"example\\\\.com$\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDomainsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var examples = DigitaloceanFunctions.getDomains(GetDomainsArgs.builder()\n .filters(GetDomainsFilterArgs.builder()\n .key(\"name\")\n .matchBy(\"re\")\n .values(\"example\\\\.com$\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n examples:\n fn::invoke:\n Function: digitalocean:getDomains\n Arguments:\n filters:\n - key: name\n matchBy: re\n values:\n - example\\.com$\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDomains.\n", "properties": { @@ -14266,7 +14266,7 @@ } }, "digitalocean:index/getDroplet:getDroplet": { - "description": "Get information on a Droplet for use in other resources. This data source provides\nall of the Droplet's properties as configured on your DigitalOcean account. This\nis useful if the Droplet in question is not managed by this provider or you need to\nutilize any of the Droplet's data.\n\n**Note:** This data source returns a single Droplet. When specifying a `tag`, an\nerror is triggered if more than one Droplet is found.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the Droplet by name:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDroplet({\n name: \"web\",\n});\nexport const dropletOutput = example.then(example =\u003e example.ipv4Address);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_droplet(name=\"web\")\npulumi.export(\"dropletOutput\", example.ipv4_address)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDroplet.Invoke(new()\n {\n Name = \"web\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"dropletOutput\"] = example.Apply(getDropletResult =\u003e getDropletResult.Ipv4Address),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDroplet(ctx, \u0026digitalocean.LookupDropletArgs{\n\t\t\tName: pulumi.StringRef(\"web\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"dropletOutput\", example.Ipv4Address)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder()\n .name(\"web\")\n .build());\n\n ctx.export(\"dropletOutput\", example.applyValue(getDropletResult -\u003e getDropletResult.ipv4Address()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDroplet\n Arguments:\n name: web\noutputs:\n dropletOutput: ${example.ipv4Address}\n```\n\nGet the Droplet by tag:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDroplet({\n tag: \"web\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_droplet(tag=\"web\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDroplet.Invoke(new()\n {\n Tag = \"web\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupDroplet(ctx, \u0026digitalocean.LookupDropletArgs{\n\t\t\tTag: pulumi.StringRef(\"web\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder()\n .tag(\"web\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDroplet\n Arguments:\n tag: web\n```\n\nGet the Droplet by ID:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDroplet({\n id: digitalocean_kubernetes_cluster.example.node_pool[0].nodes[0].droplet_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_droplet(id=digitalocean_kubernetes_cluster[\"example\"][\"node_pool\"][0][\"nodes\"][0][\"droplet_id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDroplet.Invoke(new()\n {\n Id = digitalocean_kubernetes_cluster.Example.Node_pool[0].Nodes[0].Droplet_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupDroplet(ctx, \u0026digitalocean.LookupDropletArgs{\n\t\t\tId: pulumi.IntRef(digitalocean_kubernetes_cluster.Example.Node_pool[0].Nodes[0].Droplet_id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder()\n .id(digitalocean_kubernetes_cluster.example().node_pool()[0].nodes()[0].droplet_id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDroplet\n Arguments:\n id: ${digitalocean_kubernetes_cluster.example.node_pool[0].nodes[0].droplet_id}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a Droplet for use in other resources. This data source provides\nall of the Droplet's properties as configured on your DigitalOcean account. This\nis useful if the Droplet in question is not managed by this provider or you need to\nutilize any of the Droplet's data.\n\n**Note:** This data source returns a single Droplet. When specifying a `tag`, an\nerror is triggered if more than one Droplet is found.\n\n## Example Usage\n\nGet the Droplet by name:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDroplet({\n name: \"web\",\n});\nexport const dropletOutput = example.then(example =\u003e example.ipv4Address);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_droplet(name=\"web\")\npulumi.export(\"dropletOutput\", example.ipv4_address)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDroplet.Invoke(new()\n {\n Name = \"web\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"dropletOutput\"] = example.Apply(getDropletResult =\u003e getDropletResult.Ipv4Address),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupDroplet(ctx, \u0026digitalocean.LookupDropletArgs{\n\t\t\tName: pulumi.StringRef(\"web\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"dropletOutput\", example.Ipv4Address)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder()\n .name(\"web\")\n .build());\n\n ctx.export(\"dropletOutput\", example.applyValue(getDropletResult -\u003e getDropletResult.ipv4Address()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDroplet\n Arguments:\n name: web\noutputs:\n dropletOutput: ${example.ipv4Address}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nGet the Droplet by tag:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDroplet({\n tag: \"web\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_droplet(tag=\"web\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDroplet.Invoke(new()\n {\n Tag = \"web\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupDroplet(ctx, \u0026digitalocean.LookupDropletArgs{\n\t\t\tTag: pulumi.StringRef(\"web\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder()\n .tag(\"web\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDroplet\n Arguments:\n tag: web\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nGet the Droplet by ID:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getDroplet({\n id: digitalocean_kubernetes_cluster.example.node_pool[0].nodes[0].droplet_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_droplet(id=digitalocean_kubernetes_cluster[\"example\"][\"node_pool\"][0][\"nodes\"][0][\"droplet_id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetDroplet.Invoke(new()\n {\n Id = digitalocean_kubernetes_cluster.Example.Node_pool[0].Nodes[0].Droplet_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupDroplet(ctx, \u0026digitalocean.LookupDropletArgs{\n\t\t\tId: pulumi.IntRef(digitalocean_kubernetes_cluster.Example.Node_pool[0].Nodes[0].Droplet_id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getDroplet(GetDropletArgs.builder()\n .id(digitalocean_kubernetes_cluster.example().node_pool()[0].nodes()[0].droplet_id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getDroplet\n Arguments:\n id: ${digitalocean_kubernetes_cluster.example.node_pool[0].nodes[0].droplet_id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDroplet.\n", "properties": { @@ -14427,7 +14427,7 @@ } }, "digitalocean:index/getDropletSnapshot:getDropletSnapshot": { - "description": "Droplet snapshots are saved instances of a Droplet. Use this data\nsource to retrieve the ID of a DigitalOcean Droplet snapshot for use in other\nresources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the Droplet snapshot:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web-snapshot = digitalocean.getDropletSnapshot({\n mostRecent: true,\n nameRegex: \"^web\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb_snapshot = digitalocean.get_droplet_snapshot(most_recent=True,\n name_regex=\"^web\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web_snapshot = DigitalOcean.GetDropletSnapshot.Invoke(new()\n {\n MostRecent = true,\n NameRegex = \"^web\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupDropletSnapshot(ctx, \u0026digitalocean.LookupDropletSnapshotArgs{\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder()\n .mostRecent(true)\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n web-snapshot:\n fn::invoke:\n Function: digitalocean:getDropletSnapshot\n Arguments:\n mostRecent: true\n nameRegex: ^web\n region: nyc3\n```\n\nCreate image from snapshot:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web-snapshot = digitalocean.getDropletSnapshot({\n nameRegex: \"^web\",\n region: \"nyc3\",\n mostRecent: true,\n});\nconst from_snapshot = new digitalocean.Droplet(\"from-snapshot\", {\n image: web_snapshot.then(web_snapshot =\u003e web_snapshot.id),\n region: \"nyc3\",\n size: \"s-2vcpu-4gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb_snapshot = digitalocean.get_droplet_snapshot(name_regex=\"^web\",\n region=\"nyc3\",\n most_recent=True)\nfrom_snapshot = digitalocean.Droplet(\"from-snapshot\",\n image=web_snapshot.id,\n region=\"nyc3\",\n size=\"s-2vcpu-4gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web_snapshot = DigitalOcean.GetDropletSnapshot.Invoke(new()\n {\n NameRegex = \"^web\",\n Region = \"nyc3\",\n MostRecent = true,\n });\n\n var from_snapshot = new DigitalOcean.Droplet(\"from-snapshot\", new()\n {\n Image = web_snapshot.Apply(web_snapshot =\u003e web_snapshot.Apply(getDropletSnapshotResult =\u003e getDropletSnapshotResult.Id)),\n Region = \"nyc3\",\n Size = \"s-2vcpu-4gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb_snapshot, err := digitalocean.LookupDropletSnapshot(ctx, \u0026digitalocean.LookupDropletSnapshotArgs{\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"from-snapshot\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: *pulumi.String(web_snapshot.Id),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-2vcpu-4gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletSnapshotArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder()\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .mostRecent(true)\n .build());\n\n var from_snapshot = new Droplet(\"from-snapshot\", DropletArgs.builder() \n .image(web_snapshot.id())\n .region(\"nyc3\")\n .size(\"s-2vcpu-4gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n from-snapshot:\n type: digitalocean:Droplet\n properties:\n image: ${[\"web-snapshot\"].id}\n region: nyc3\n size: s-2vcpu-4gb\nvariables:\n web-snapshot:\n fn::invoke:\n Function: digitalocean:getDropletSnapshot\n Arguments:\n nameRegex: ^web\n region: nyc3\n mostRecent: true\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Droplet snapshots are saved instances of a Droplet. Use this data\nsource to retrieve the ID of a DigitalOcean Droplet snapshot for use in other\nresources.\n\n## Example Usage\n\nGet the Droplet snapshot:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web-snapshot = digitalocean.getDropletSnapshot({\n mostRecent: true,\n nameRegex: \"^web\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb_snapshot = digitalocean.get_droplet_snapshot(most_recent=True,\n name_regex=\"^web\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web_snapshot = DigitalOcean.GetDropletSnapshot.Invoke(new()\n {\n MostRecent = true,\n NameRegex = \"^web\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupDropletSnapshot(ctx, \u0026digitalocean.LookupDropletSnapshotArgs{\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder()\n .mostRecent(true)\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n web-snapshot:\n fn::invoke:\n Function: digitalocean:getDropletSnapshot\n Arguments:\n mostRecent: true\n nameRegex: ^web\n region: nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nCreate image from snapshot:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst web-snapshot = digitalocean.getDropletSnapshot({\n nameRegex: \"^web\",\n region: \"nyc3\",\n mostRecent: true,\n});\nconst from_snapshot = new digitalocean.Droplet(\"from-snapshot\", {\n image: web_snapshot.then(web_snapshot =\u003e web_snapshot.id),\n region: \"nyc3\",\n size: \"s-2vcpu-4gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nweb_snapshot = digitalocean.get_droplet_snapshot(name_regex=\"^web\",\n region=\"nyc3\",\n most_recent=True)\nfrom_snapshot = digitalocean.Droplet(\"from-snapshot\",\n image=web_snapshot.id,\n region=\"nyc3\",\n size=\"s-2vcpu-4gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var web_snapshot = DigitalOcean.GetDropletSnapshot.Invoke(new()\n {\n NameRegex = \"^web\",\n Region = \"nyc3\",\n MostRecent = true,\n });\n\n var from_snapshot = new DigitalOcean.Droplet(\"from-snapshot\", new()\n {\n Image = web_snapshot.Apply(web_snapshot =\u003e web_snapshot.Apply(getDropletSnapshotResult =\u003e getDropletSnapshotResult.Id)),\n Region = \"nyc3\",\n Size = \"s-2vcpu-4gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tweb_snapshot, err := digitalocean.LookupDropletSnapshot(ctx, \u0026digitalocean.LookupDropletSnapshotArgs{\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"from-snapshot\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: *pulumi.String(web_snapshot.Id),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.String(\"s-2vcpu-4gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletSnapshotArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var web-snapshot = DigitaloceanFunctions.getDropletSnapshot(GetDropletSnapshotArgs.builder()\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .mostRecent(true)\n .build());\n\n var from_snapshot = new Droplet(\"from-snapshot\", DropletArgs.builder() \n .image(web_snapshot.id())\n .region(\"nyc3\")\n .size(\"s-2vcpu-4gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n from-snapshot:\n type: digitalocean:Droplet\n properties:\n image: ${[\"web-snapshot\"].id}\n region: nyc3\n size: s-2vcpu-4gb\nvariables:\n web-snapshot:\n fn::invoke:\n Function: digitalocean:getDropletSnapshot\n Arguments:\n nameRegex: ^web\n region: nyc3\n mostRecent: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDropletSnapshot.\n", "properties": { @@ -14505,7 +14505,7 @@ } }, "digitalocean:index/getDroplets:getDroplets": { - "description": "Get information on Droplets for use in other resources, with the ability to filter and sort the results.\nIf no filters are specified, all Droplets will be returned.\n\nThis data source is useful if the Droplets in question are not managed by the provider or you need to\nutilize any of the Droplets' data.\n\nNote: You can use the `digitalocean.Droplet` data source to obtain metadata\nabout a single Droplet if you already know the `id`, unique `name`, or unique `tag` to retrieve.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nUse the `filter` block with a `key` string and `values` list to filter images.\n\nFor example to find all Droplets with size `s-1vcpu-1gb`:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst small = digitalocean.getDroplets({\n filters: [{\n key: \"size\",\n values: [\"s-1vcpu-1gb\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsmall = digitalocean.get_droplets(filters=[digitalocean.GetDropletsFilterArgs(\n key=\"size\",\n values=[\"s-1vcpu-1gb\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var small = DigitalOcean.GetDroplets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetDropletsFilterInputArgs\n {\n Key = \"size\",\n Values = new[]\n {\n \"s-1vcpu-1gb\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetDroplets(ctx, \u0026digitalocean.GetDropletsArgs{\n\t\t\tFilters: []digitalocean.GetDropletsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"size\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"s-1vcpu-1gb\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder()\n .filters(GetDropletsFilterArgs.builder()\n .key(\"size\")\n .values(\"s-1vcpu-1gb\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n small:\n fn::invoke:\n Function: digitalocean:getDroplets\n Arguments:\n filters:\n - key: size\n values:\n - s-1vcpu-1gb\n```\n\nYou can filter on multiple fields and sort the results as well:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst small-with-backups = digitalocean.getDroplets({\n filters: [\n {\n key: \"size\",\n values: [\"s-1vcpu-1gb\"],\n },\n {\n key: \"backups\",\n values: [\"true\"],\n },\n ],\n sorts: [{\n direction: \"desc\",\n key: \"created_at\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsmall_with_backups = digitalocean.get_droplets(filters=[\n digitalocean.GetDropletsFilterArgs(\n key=\"size\",\n values=[\"s-1vcpu-1gb\"],\n ),\n digitalocean.GetDropletsFilterArgs(\n key=\"backups\",\n values=[\"true\"],\n ),\n ],\n sorts=[digitalocean.GetDropletsSortArgs(\n direction=\"desc\",\n key=\"created_at\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var small_with_backups = DigitalOcean.GetDroplets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetDropletsFilterInputArgs\n {\n Key = \"size\",\n Values = new[]\n {\n \"s-1vcpu-1gb\",\n },\n },\n new DigitalOcean.Inputs.GetDropletsFilterInputArgs\n {\n Key = \"backups\",\n Values = new[]\n {\n \"true\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetDropletsSortInputArgs\n {\n Direction = \"desc\",\n Key = \"created_at\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetDroplets(ctx, \u0026digitalocean.GetDropletsArgs{\n\t\t\tFilters: []digitalocean.GetDropletsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"size\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"s-1vcpu-1gb\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"backups\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"true\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetDropletsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"created_at\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder()\n .filters( \n GetDropletsFilterArgs.builder()\n .key(\"size\")\n .values(\"s-1vcpu-1gb\")\n .build(),\n GetDropletsFilterArgs.builder()\n .key(\"backups\")\n .values(\"true\")\n .build())\n .sorts(GetDropletsSortArgs.builder()\n .direction(\"desc\")\n .key(\"created_at\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n small-with-backups:\n fn::invoke:\n Function: digitalocean:getDroplets\n Arguments:\n filters:\n - key: size\n values:\n - s-1vcpu-1gb\n - key: backups\n values:\n - 'true'\n sorts:\n - direction: desc\n key: created_at\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on Droplets for use in other resources, with the ability to filter and sort the results.\nIf no filters are specified, all Droplets will be returned.\n\nThis data source is useful if the Droplets in question are not managed by the provider or you need to\nutilize any of the Droplets' data.\n\nNote: You can use the `digitalocean.Droplet` data source to obtain metadata\nabout a single Droplet if you already know the `id`, unique `name`, or unique `tag` to retrieve.\n\n## Example Usage\n\nUse the `filter` block with a `key` string and `values` list to filter images.\n\nFor example to find all Droplets with size `s-1vcpu-1gb`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst small = digitalocean.getDroplets({\n filters: [{\n key: \"size\",\n values: [\"s-1vcpu-1gb\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsmall = digitalocean.get_droplets(filters=[digitalocean.GetDropletsFilterArgs(\n key=\"size\",\n values=[\"s-1vcpu-1gb\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var small = DigitalOcean.GetDroplets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetDropletsFilterInputArgs\n {\n Key = \"size\",\n Values = new[]\n {\n \"s-1vcpu-1gb\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetDroplets(ctx, \u0026digitalocean.GetDropletsArgs{\n\t\t\tFilters: []digitalocean.GetDropletsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"size\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"s-1vcpu-1gb\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var small = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder()\n .filters(GetDropletsFilterArgs.builder()\n .key(\"size\")\n .values(\"s-1vcpu-1gb\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n small:\n fn::invoke:\n Function: digitalocean:getDroplets\n Arguments:\n filters:\n - key: size\n values:\n - s-1vcpu-1gb\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can filter on multiple fields and sort the results as well:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst small-with-backups = digitalocean.getDroplets({\n filters: [\n {\n key: \"size\",\n values: [\"s-1vcpu-1gb\"],\n },\n {\n key: \"backups\",\n values: [\"true\"],\n },\n ],\n sorts: [{\n direction: \"desc\",\n key: \"created_at\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsmall_with_backups = digitalocean.get_droplets(filters=[\n digitalocean.GetDropletsFilterArgs(\n key=\"size\",\n values=[\"s-1vcpu-1gb\"],\n ),\n digitalocean.GetDropletsFilterArgs(\n key=\"backups\",\n values=[\"true\"],\n ),\n ],\n sorts=[digitalocean.GetDropletsSortArgs(\n direction=\"desc\",\n key=\"created_at\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var small_with_backups = DigitalOcean.GetDroplets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetDropletsFilterInputArgs\n {\n Key = \"size\",\n Values = new[]\n {\n \"s-1vcpu-1gb\",\n },\n },\n new DigitalOcean.Inputs.GetDropletsFilterInputArgs\n {\n Key = \"backups\",\n Values = new[]\n {\n \"true\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetDropletsSortInputArgs\n {\n Direction = \"desc\",\n Key = \"created_at\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetDroplets(ctx, \u0026digitalocean.GetDropletsArgs{\n\t\t\tFilters: []digitalocean.GetDropletsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"size\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"s-1vcpu-1gb\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"backups\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"true\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetDropletsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"created_at\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetDropletsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var small-with-backups = DigitaloceanFunctions.getDroplets(GetDropletsArgs.builder()\n .filters( \n GetDropletsFilterArgs.builder()\n .key(\"size\")\n .values(\"s-1vcpu-1gb\")\n .build(),\n GetDropletsFilterArgs.builder()\n .key(\"backups\")\n .values(\"true\")\n .build())\n .sorts(GetDropletsSortArgs.builder()\n .direction(\"desc\")\n .key(\"created_at\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n small-with-backups:\n fn::invoke:\n Function: digitalocean:getDroplets\n Arguments:\n filters:\n - key: size\n values:\n - s-1vcpu-1gb\n - key: backups\n values:\n - 'true'\n sorts:\n - direction: desc\n key: created_at\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDroplets.\n", "properties": { @@ -14561,7 +14561,7 @@ } }, "digitalocean:index/getFirewall:getFirewall": { - "description": "Get information on a DigitalOcean Firewall.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the firewall:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getFirewall({\n firewallId: \"1df48973-6eef-4214-854f-fa7726e7e583\",\n});\nexport const exampleFirewallName = example.then(example =\u003e example.name);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_firewall(firewall_id=\"1df48973-6eef-4214-854f-fa7726e7e583\")\npulumi.export(\"exampleFirewallName\", example.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetFirewall.Invoke(new()\n {\n FirewallId = \"1df48973-6eef-4214-854f-fa7726e7e583\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleFirewallName\"] = example.Apply(getFirewallResult =\u003e getFirewallResult.Name),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupFirewall(ctx, \u0026digitalocean.LookupFirewallArgs{\n\t\t\tFirewallId: \"1df48973-6eef-4214-854f-fa7726e7e583\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleFirewallName\", example.Name)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetFirewallArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getFirewall(GetFirewallArgs.builder()\n .firewallId(\"1df48973-6eef-4214-854f-fa7726e7e583\")\n .build());\n\n ctx.export(\"exampleFirewallName\", example.applyValue(getFirewallResult -\u003e getFirewallResult.name()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getFirewall\n Arguments:\n firewallId: 1df48973-6eef-4214-854f-fa7726e7e583\noutputs:\n exampleFirewallName: ${example.name}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a DigitalOcean Firewall.\n\n## Example Usage\n\nGet the firewall:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getFirewall({\n firewallId: \"1df48973-6eef-4214-854f-fa7726e7e583\",\n});\nexport const exampleFirewallName = example.then(example =\u003e example.name);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_firewall(firewall_id=\"1df48973-6eef-4214-854f-fa7726e7e583\")\npulumi.export(\"exampleFirewallName\", example.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetFirewall.Invoke(new()\n {\n FirewallId = \"1df48973-6eef-4214-854f-fa7726e7e583\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"exampleFirewallName\"] = example.Apply(getFirewallResult =\u003e getFirewallResult.Name),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupFirewall(ctx, \u0026digitalocean.LookupFirewallArgs{\n\t\t\tFirewallId: \"1df48973-6eef-4214-854f-fa7726e7e583\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"exampleFirewallName\", example.Name)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetFirewallArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getFirewall(GetFirewallArgs.builder()\n .firewallId(\"1df48973-6eef-4214-854f-fa7726e7e583\")\n .build());\n\n ctx.export(\"exampleFirewallName\", example.applyValue(getFirewallResult -\u003e getFirewallResult.name()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getFirewall\n Arguments:\n firewallId: 1df48973-6eef-4214-854f-fa7726e7e583\noutputs:\n exampleFirewallName: ${example.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getFirewall.\n", "properties": { @@ -14673,7 +14673,7 @@ } }, "digitalocean:index/getFloatingIp:getFloatingIp": { - "description": "\u003e **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This data source will be removed in a future release. Please use `digitalocean.ReservedIp` instead.\n\nGet information on a floating ip. This data source provides the region and Droplet id\nas configured on your DigitalOcean account. This is useful if the floating IP\nin question is not managed by the provider or you need to find the Droplet the IP is\nattached to.\n\nAn error is triggered if the provided floating IP does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the floating IP:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst config = new pulumi.Config();\nconst publicIp = config.requireObject(\"publicIp\");\nconst example = digitalocean.getFloatingIp({\n ipAddress: publicIp,\n});\nexport const fipOutput = example.then(example =\u003e example.dropletId);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nconfig = pulumi.Config()\npublic_ip = config.require_object(\"publicIp\")\nexample = digitalocean.get_floating_ip(ip_address=public_ip)\npulumi.export(\"fipOutput\", example.droplet_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var publicIp = config.RequireObject\u003cdynamic\u003e(\"publicIp\");\n var example = DigitalOcean.GetFloatingIp.Invoke(new()\n {\n IpAddress = publicIp,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"fipOutput\"] = example.Apply(getFloatingIpResult =\u003e getFloatingIpResult.DropletId),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tpublicIp := cfg.RequireObject(\"publicIp\")\n\t\texample, err := digitalocean.LookupFloatingIp(ctx, \u0026digitalocean.LookupFloatingIpArgs{\n\t\t\tIpAddress: publicIp,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"fipOutput\", example.DropletId)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetFloatingIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var publicIp = config.get(\"publicIp\");\n final var example = DigitaloceanFunctions.getFloatingIp(GetFloatingIpArgs.builder()\n .ipAddress(publicIp)\n .build());\n\n ctx.export(\"fipOutput\", example.applyValue(getFloatingIpResult -\u003e getFloatingIpResult.dropletId()));\n }\n}\n```\n```yaml\nconfiguration:\n publicIp:\n type: dynamic\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getFloatingIp\n Arguments:\n ipAddress: ${publicIp}\noutputs:\n fipOutput: ${example.dropletId}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "\u003e **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This data source will be removed in a future release. Please use `digitalocean.ReservedIp` instead.\n\nGet information on a floating ip. This data source provides the region and Droplet id\nas configured on your DigitalOcean account. This is useful if the floating IP\nin question is not managed by the provider or you need to find the Droplet the IP is\nattached to.\n\nAn error is triggered if the provided floating IP does not exist.\n\n## Example Usage\n\nGet the floating IP:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst config = new pulumi.Config();\nconst publicIp = config.requireObject(\"publicIp\");\nconst example = digitalocean.getFloatingIp({\n ipAddress: publicIp,\n});\nexport const fipOutput = example.then(example =\u003e example.dropletId);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nconfig = pulumi.Config()\npublic_ip = config.require_object(\"publicIp\")\nexample = digitalocean.get_floating_ip(ip_address=public_ip)\npulumi.export(\"fipOutput\", example.droplet_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var publicIp = config.RequireObject\u003cdynamic\u003e(\"publicIp\");\n var example = DigitalOcean.GetFloatingIp.Invoke(new()\n {\n IpAddress = publicIp,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"fipOutput\"] = example.Apply(getFloatingIpResult =\u003e getFloatingIpResult.DropletId),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tpublicIp := cfg.RequireObject(\"publicIp\")\n\t\texample, err := digitalocean.LookupFloatingIp(ctx, \u0026digitalocean.LookupFloatingIpArgs{\n\t\t\tIpAddress: publicIp,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"fipOutput\", example.DropletId)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetFloatingIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var publicIp = config.get(\"publicIp\");\n final var example = DigitaloceanFunctions.getFloatingIp(GetFloatingIpArgs.builder()\n .ipAddress(publicIp)\n .build());\n\n ctx.export(\"fipOutput\", example.applyValue(getFloatingIpResult -\u003e getFloatingIpResult.dropletId()));\n }\n}\n```\n```yaml\nconfiguration:\n publicIp:\n type: dynamic\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getFloatingIp\n Arguments:\n ipAddress: ${publicIp}\noutputs:\n fipOutput: ${example.dropletId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getFloatingIp.\n", "properties": { @@ -14721,7 +14721,7 @@ } }, "digitalocean:index/getImage:getImage": { - "description": "Get information on an image for use in other resources (e.g. creating a Droplet\nbased on snapshot). This data source provides all of the image properties as\nconfigured on your DigitalOcean account. This is useful if the image in question\nis not managed by the provider or you need to utilize any of the image's data.\n\nAn error is triggered if zero or more than one result is returned by the query.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the data about a snapshot:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example1 = digitalocean.getImage({\n name: \"example-1.0.0\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample1 = digitalocean.get_image(name=\"example-1.0.0\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example1 = DigitalOcean.GetImage.Invoke(new()\n {\n Name = \"example-1.0.0\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImage(ctx, \u0026digitalocean.GetImageArgs{\n\t\t\tName: pulumi.StringRef(\"example-1.0.0\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder()\n .name(\"example-1.0.0\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example1:\n fn::invoke:\n Function: digitalocean:getImage\n Arguments:\n name: example-1.0.0\n```\n\nReuse the data about a snapshot to create a Droplet:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleImage = digitalocean.getImage({\n name: \"example-1.0.0\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n image: exampleImage.then(exampleImage =\u003e exampleImage.id),\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_image = digitalocean.get_image(name=\"example-1.0.0\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n image=example_image.id,\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleImage = DigitalOcean.GetImage.Invoke(new()\n {\n Name = \"example-1.0.0\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Image = exampleImage.Apply(getImageResult =\u003e getImageResult.Id),\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleImage, err := digitalocean.GetImage(ctx, \u0026digitalocean.GetImageArgs{\n\t\t\tName: pulumi.StringRef(\"example-1.0.0\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: *pulumi.Int(exampleImage.Id),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImageArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder()\n .name(\"example-1.0.0\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .image(exampleImage.applyValue(getImageResult -\u003e getImageResult.id()))\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n image: ${exampleImage.id}\n region: nyc2\n size: s-1vcpu-1gb\nvariables:\n exampleImage:\n fn::invoke:\n Function: digitalocean:getImage\n Arguments:\n name: example-1.0.0\n```\n\nGet the data about an official image:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example2 = digitalocean.getImage({\n slug: \"ubuntu-18-04-x64\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample2 = digitalocean.get_image(slug=\"ubuntu-18-04-x64\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example2 = DigitalOcean.GetImage.Invoke(new()\n {\n Slug = \"ubuntu-18-04-x64\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImage(ctx, \u0026digitalocean.GetImageArgs{\n\t\t\tSlug: pulumi.StringRef(\"ubuntu-18-04-x64\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder()\n .slug(\"ubuntu-18-04-x64\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example2:\n fn::invoke:\n Function: digitalocean:getImage\n Arguments:\n slug: ubuntu-18-04-x64\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on an image for use in other resources (e.g. creating a Droplet\nbased on snapshot). This data source provides all of the image properties as\nconfigured on your DigitalOcean account. This is useful if the image in question\nis not managed by the provider or you need to utilize any of the image's data.\n\nAn error is triggered if zero or more than one result is returned by the query.\n\n## Example Usage\n\nGet the data about a snapshot:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example1 = digitalocean.getImage({\n name: \"example-1.0.0\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample1 = digitalocean.get_image(name=\"example-1.0.0\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example1 = DigitalOcean.GetImage.Invoke(new()\n {\n Name = \"example-1.0.0\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImage(ctx, \u0026digitalocean.GetImageArgs{\n\t\t\tName: pulumi.StringRef(\"example-1.0.0\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example1 = DigitaloceanFunctions.getImage(GetImageArgs.builder()\n .name(\"example-1.0.0\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example1:\n fn::invoke:\n Function: digitalocean:getImage\n Arguments:\n name: example-1.0.0\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nReuse the data about a snapshot to create a Droplet:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleImage = digitalocean.getImage({\n name: \"example-1.0.0\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n image: exampleImage.then(exampleImage =\u003e exampleImage.id),\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_image = digitalocean.get_image(name=\"example-1.0.0\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n image=example_image.id,\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleImage = DigitalOcean.GetImage.Invoke(new()\n {\n Name = \"example-1.0.0\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Image = exampleImage.Apply(getImageResult =\u003e getImageResult.Id),\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleImage, err := digitalocean.GetImage(ctx, \u0026digitalocean.GetImageArgs{\n\t\t\tName: pulumi.StringRef(\"example-1.0.0\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: *pulumi.Int(exampleImage.Id),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImageArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleImage = DigitaloceanFunctions.getImage(GetImageArgs.builder()\n .name(\"example-1.0.0\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .image(exampleImage.applyValue(getImageResult -\u003e getImageResult.id()))\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n image: ${exampleImage.id}\n region: nyc2\n size: s-1vcpu-1gb\nvariables:\n exampleImage:\n fn::invoke:\n Function: digitalocean:getImage\n Arguments:\n name: example-1.0.0\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nGet the data about an official image:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example2 = digitalocean.getImage({\n slug: \"ubuntu-18-04-x64\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample2 = digitalocean.get_image(slug=\"ubuntu-18-04-x64\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example2 = DigitalOcean.GetImage.Invoke(new()\n {\n Slug = \"ubuntu-18-04-x64\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImage(ctx, \u0026digitalocean.GetImageArgs{\n\t\t\tSlug: pulumi.StringRef(\"ubuntu-18-04-x64\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImageArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example2 = DigitaloceanFunctions.getImage(GetImageArgs.builder()\n .slug(\"ubuntu-18-04-x64\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example2:\n fn::invoke:\n Function: digitalocean:getImage\n Arguments:\n slug: ubuntu-18-04-x64\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getImage.\n", "properties": { @@ -14837,7 +14837,7 @@ } }, "digitalocean:index/getImages:getImages": { - "description": "Get information on images for use in other resources (e.g. creating a Droplet\nbased on a snapshot), with the ability to filter and sort the results. If no filters are specified,\nall images will be returned.\n\nThis data source is useful if the image in question is not managed by the provider or you need to utilize any\nof the image's data.\n\nNote: You can use the `digitalocean.getImage` data source to obtain metadata\nabout a single image if you already know the `slug`, unique `name`, or `id` to retrieve.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nUse the `filter` block with a `key` string and `values` list to filter images.\n\nFor example to find all Ubuntu images:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst ubuntu = digitalocean.getImages({\n filters: [{\n key: \"distribution\",\n values: [\"Ubuntu\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nubuntu = digitalocean.get_images(filters=[digitalocean.GetImagesFilterArgs(\n key=\"distribution\",\n values=[\"Ubuntu\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ubuntu = DigitalOcean.GetImages.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetImagesFilterInputArgs\n {\n Key = \"distribution\",\n Values = new[]\n {\n \"Ubuntu\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImages(ctx, \u0026digitalocean.GetImagesArgs{\n\t\t\tFilters: []digitalocean.GetImagesFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"distribution\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Ubuntu\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImagesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder()\n .filters(GetImagesFilterArgs.builder()\n .key(\"distribution\")\n .values(\"Ubuntu\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n ubuntu:\n fn::invoke:\n Function: digitalocean:getImages\n Arguments:\n filters:\n - key: distribution\n values:\n - Ubuntu\n```\n\nYou can filter on multiple fields and sort the results as well:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst available = digitalocean.getImages({\n filters: [\n {\n key: \"distribution\",\n values: [\"Ubuntu\"],\n },\n {\n key: \"regions\",\n values: [\"nyc3\"],\n },\n ],\n sorts: [{\n direction: \"desc\",\n key: \"created\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\navailable = digitalocean.get_images(filters=[\n digitalocean.GetImagesFilterArgs(\n key=\"distribution\",\n values=[\"Ubuntu\"],\n ),\n digitalocean.GetImagesFilterArgs(\n key=\"regions\",\n values=[\"nyc3\"],\n ),\n ],\n sorts=[digitalocean.GetImagesSortArgs(\n direction=\"desc\",\n key=\"created\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var available = DigitalOcean.GetImages.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetImagesFilterInputArgs\n {\n Key = \"distribution\",\n Values = new[]\n {\n \"Ubuntu\",\n },\n },\n new DigitalOcean.Inputs.GetImagesFilterInputArgs\n {\n Key = \"regions\",\n Values = new[]\n {\n \"nyc3\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetImagesSortInputArgs\n {\n Direction = \"desc\",\n Key = \"created\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImages(ctx, \u0026digitalocean.GetImagesArgs{\n\t\t\tFilters: []digitalocean.GetImagesFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"distribution\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Ubuntu\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"regions\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"nyc3\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetImagesSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"created\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImagesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder()\n .filters( \n GetImagesFilterArgs.builder()\n .key(\"distribution\")\n .values(\"Ubuntu\")\n .build(),\n GetImagesFilterArgs.builder()\n .key(\"regions\")\n .values(\"nyc3\")\n .build())\n .sorts(GetImagesSortArgs.builder()\n .direction(\"desc\")\n .key(\"created\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n available:\n fn::invoke:\n Function: digitalocean:getImages\n Arguments:\n filters:\n - key: distribution\n values:\n - Ubuntu\n - key: regions\n values:\n - nyc3\n sorts:\n - direction: desc\n key: created\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on images for use in other resources (e.g. creating a Droplet\nbased on a snapshot), with the ability to filter and sort the results. If no filters are specified,\nall images will be returned.\n\nThis data source is useful if the image in question is not managed by the provider or you need to utilize any\nof the image's data.\n\nNote: You can use the `digitalocean.getImage` data source to obtain metadata\nabout a single image if you already know the `slug`, unique `name`, or `id` to retrieve.\n\n## Example Usage\n\nUse the `filter` block with a `key` string and `values` list to filter images.\n\nFor example to find all Ubuntu images:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst ubuntu = digitalocean.getImages({\n filters: [{\n key: \"distribution\",\n values: [\"Ubuntu\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nubuntu = digitalocean.get_images(filters=[digitalocean.GetImagesFilterArgs(\n key=\"distribution\",\n values=[\"Ubuntu\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ubuntu = DigitalOcean.GetImages.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetImagesFilterInputArgs\n {\n Key = \"distribution\",\n Values = new[]\n {\n \"Ubuntu\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImages(ctx, \u0026digitalocean.GetImagesArgs{\n\t\t\tFilters: []digitalocean.GetImagesFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"distribution\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Ubuntu\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImagesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var ubuntu = DigitaloceanFunctions.getImages(GetImagesArgs.builder()\n .filters(GetImagesFilterArgs.builder()\n .key(\"distribution\")\n .values(\"Ubuntu\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n ubuntu:\n fn::invoke:\n Function: digitalocean:getImages\n Arguments:\n filters:\n - key: distribution\n values:\n - Ubuntu\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can filter on multiple fields and sort the results as well:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst available = digitalocean.getImages({\n filters: [\n {\n key: \"distribution\",\n values: [\"Ubuntu\"],\n },\n {\n key: \"regions\",\n values: [\"nyc3\"],\n },\n ],\n sorts: [{\n direction: \"desc\",\n key: \"created\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\navailable = digitalocean.get_images(filters=[\n digitalocean.GetImagesFilterArgs(\n key=\"distribution\",\n values=[\"Ubuntu\"],\n ),\n digitalocean.GetImagesFilterArgs(\n key=\"regions\",\n values=[\"nyc3\"],\n ),\n ],\n sorts=[digitalocean.GetImagesSortArgs(\n direction=\"desc\",\n key=\"created\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var available = DigitalOcean.GetImages.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetImagesFilterInputArgs\n {\n Key = \"distribution\",\n Values = new[]\n {\n \"Ubuntu\",\n },\n },\n new DigitalOcean.Inputs.GetImagesFilterInputArgs\n {\n Key = \"regions\",\n Values = new[]\n {\n \"nyc3\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetImagesSortInputArgs\n {\n Direction = \"desc\",\n Key = \"created\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetImages(ctx, \u0026digitalocean.GetImagesArgs{\n\t\t\tFilters: []digitalocean.GetImagesFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"distribution\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Ubuntu\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"regions\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"nyc3\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetImagesSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"created\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetImagesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var available = DigitaloceanFunctions.getImages(GetImagesArgs.builder()\n .filters( \n GetImagesFilterArgs.builder()\n .key(\"distribution\")\n .values(\"Ubuntu\")\n .build(),\n GetImagesFilterArgs.builder()\n .key(\"regions\")\n .values(\"nyc3\")\n .build())\n .sorts(GetImagesSortArgs.builder()\n .direction(\"desc\")\n .key(\"created\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n available:\n fn::invoke:\n Function: digitalocean:getImages\n Arguments:\n filters:\n - key: distribution\n values:\n - Ubuntu\n - key: regions\n values:\n - nyc3\n sorts:\n - direction: desc\n key: created\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getImages.\n", "properties": { @@ -14893,7 +14893,7 @@ } }, "digitalocean:index/getKubernetesCluster:getKubernetesCluster": { - "description": "Retrieves information about a DigitalOcean Kubernetes cluster for use in other resources. This data source provides all of the cluster's properties as configured on your DigitalOcean account. This is useful if the cluster in question is not managed by the provider.\n", + "description": "Retrieves information about a DigitalOcean Kubernetes cluster for use in other resources. This data source provides all of the cluster's properties as configured on your DigitalOcean account. This is useful if the cluster in question is not managed by the provider.\n\n", "inputs": { "description": "A collection of arguments for invoking getKubernetesCluster.\n", "properties": { @@ -15033,7 +15033,7 @@ } }, "digitalocean:index/getKubernetesVersions:getKubernetesVersions": { - "description": "Provides access to the available DigitalOcean Kubernetes Service versions.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Output a list of all available versions\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nexport = async () =\u003e {\n const example = await digitalocean.getKubernetesVersions({});\n return {\n \"k8s-versions\": example.validVersions,\n };\n}\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_kubernetes_versions()\npulumi.export(\"k8s-versions\", example.valid_versions)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetKubernetesVersions.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"k8s-versions\"] = example.Apply(getKubernetesVersionsResult =\u003e getKubernetesVersionsResult.ValidVersions),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.GetKubernetesVersions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"k8s-versions\", example.ValidVersions)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetKubernetesVersionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getKubernetesVersions();\n\n ctx.export(\"k8s-versions\", example.applyValue(getKubernetesVersionsResult -\u003e getKubernetesVersionsResult.validVersions()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getKubernetesVersions\n Arguments: {}\noutputs:\n k8s-versions: ${example.validVersions}\n```\n{{% /example %}}\n{{% example %}}\n### Create a Kubernetes cluster using the most recent version available\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getKubernetesVersions({});\nconst example_cluster = new digitalocean.KubernetesCluster(\"example-cluster\", {\n region: \"lon1\",\n version: example.then(example =\u003e example.latestVersion),\n nodePool: {\n name: \"default\",\n size: \"s-1vcpu-2gb\",\n nodeCount: 3,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_kubernetes_versions()\nexample_cluster = digitalocean.KubernetesCluster(\"example-cluster\",\n region=\"lon1\",\n version=example.latest_version,\n node_pool=digitalocean.KubernetesClusterNodePoolArgs(\n name=\"default\",\n size=\"s-1vcpu-2gb\",\n node_count=3,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetKubernetesVersions.Invoke();\n\n var example_cluster = new DigitalOcean.KubernetesCluster(\"example-cluster\", new()\n {\n Region = \"lon1\",\n Version = example.Apply(getKubernetesVersionsResult =\u003e getKubernetesVersionsResult.LatestVersion),\n NodePool = new DigitalOcean.Inputs.KubernetesClusterNodePoolArgs\n {\n Name = \"default\",\n Size = \"s-1vcpu-2gb\",\n NodeCount = 3,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.GetKubernetesVersions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewKubernetesCluster(ctx, \"example-cluster\", \u0026digitalocean.KubernetesClusterArgs{\n\t\t\tRegion: pulumi.String(\"lon1\"),\n\t\t\tVersion: *pulumi.String(example.LatestVersion),\n\t\t\tNodePool: \u0026digitalocean.KubernetesClusterNodePoolArgs{\n\t\t\t\tName: pulumi.String(\"default\"),\n\t\t\t\tSize: pulumi.String(\"s-1vcpu-2gb\"),\n\t\t\t\tNodeCount: pulumi.Int(3),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetKubernetesVersionsArgs;\nimport com.pulumi.digitalocean.KubernetesCluster;\nimport com.pulumi.digitalocean.KubernetesClusterArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesClusterNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getKubernetesVersions();\n\n var example_cluster = new KubernetesCluster(\"example-cluster\", KubernetesClusterArgs.builder() \n .region(\"lon1\")\n .version(example.applyValue(getKubernetesVersionsResult -\u003e getKubernetesVersionsResult.latestVersion()))\n .nodePool(KubernetesClusterNodePoolArgs.builder()\n .name(\"default\")\n .size(\"s-1vcpu-2gb\")\n .nodeCount(3)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-cluster:\n type: digitalocean:KubernetesCluster\n properties:\n region: lon1\n version: ${example.latestVersion}\n nodePool:\n name: default\n size: s-1vcpu-2gb\n nodeCount: 3\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getKubernetesVersions\n Arguments: {}\n```\n{{% /example %}}\n{{% example %}}\n### Pin a Kubernetes cluster to a specific minor version\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getKubernetesVersions({\n versionPrefix: \"1.22.\",\n});\nconst example_cluster = new digitalocean.KubernetesCluster(\"example-cluster\", {\n region: \"lon1\",\n version: example.then(example =\u003e example.latestVersion),\n nodePool: {\n name: \"default\",\n size: \"s-1vcpu-2gb\",\n nodeCount: 3,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_kubernetes_versions(version_prefix=\"1.22.\")\nexample_cluster = digitalocean.KubernetesCluster(\"example-cluster\",\n region=\"lon1\",\n version=example.latest_version,\n node_pool=digitalocean.KubernetesClusterNodePoolArgs(\n name=\"default\",\n size=\"s-1vcpu-2gb\",\n node_count=3,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetKubernetesVersions.Invoke(new()\n {\n VersionPrefix = \"1.22.\",\n });\n\n var example_cluster = new DigitalOcean.KubernetesCluster(\"example-cluster\", new()\n {\n Region = \"lon1\",\n Version = example.Apply(getKubernetesVersionsResult =\u003e getKubernetesVersionsResult.LatestVersion),\n NodePool = new DigitalOcean.Inputs.KubernetesClusterNodePoolArgs\n {\n Name = \"default\",\n Size = \"s-1vcpu-2gb\",\n NodeCount = 3,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.GetKubernetesVersions(ctx, \u0026digitalocean.GetKubernetesVersionsArgs{\n\t\t\tVersionPrefix: pulumi.StringRef(\"1.22.\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewKubernetesCluster(ctx, \"example-cluster\", \u0026digitalocean.KubernetesClusterArgs{\n\t\t\tRegion: pulumi.String(\"lon1\"),\n\t\t\tVersion: *pulumi.String(example.LatestVersion),\n\t\t\tNodePool: \u0026digitalocean.KubernetesClusterNodePoolArgs{\n\t\t\t\tName: pulumi.String(\"default\"),\n\t\t\t\tSize: pulumi.String(\"s-1vcpu-2gb\"),\n\t\t\t\tNodeCount: pulumi.Int(3),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetKubernetesVersionsArgs;\nimport com.pulumi.digitalocean.KubernetesCluster;\nimport com.pulumi.digitalocean.KubernetesClusterArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesClusterNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder()\n .versionPrefix(\"1.22.\")\n .build());\n\n var example_cluster = new KubernetesCluster(\"example-cluster\", KubernetesClusterArgs.builder() \n .region(\"lon1\")\n .version(example.applyValue(getKubernetesVersionsResult -\u003e getKubernetesVersionsResult.latestVersion()))\n .nodePool(KubernetesClusterNodePoolArgs.builder()\n .name(\"default\")\n .size(\"s-1vcpu-2gb\")\n .nodeCount(3)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-cluster:\n type: digitalocean:KubernetesCluster\n properties:\n region: lon1\n version: ${example.latestVersion}\n nodePool:\n name: default\n size: s-1vcpu-2gb\n nodeCount: 3\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getKubernetesVersions\n Arguments:\n versionPrefix: 1.22.\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides access to the available DigitalOcean Kubernetes Service versions.\n\n## Example Usage\n\n### Output a list of all available versions\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nexport = async () =\u003e {\n const example = await digitalocean.getKubernetesVersions({});\n return {\n \"k8s-versions\": example.validVersions,\n };\n}\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_kubernetes_versions()\npulumi.export(\"k8s-versions\", example.valid_versions)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetKubernetesVersions.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"k8s-versions\"] = example.Apply(getKubernetesVersionsResult =\u003e getKubernetesVersionsResult.ValidVersions),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.GetKubernetesVersions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"k8s-versions\", example.ValidVersions)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetKubernetesVersionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getKubernetesVersions();\n\n ctx.export(\"k8s-versions\", example.applyValue(getKubernetesVersionsResult -\u003e getKubernetesVersionsResult.validVersions()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getKubernetesVersions\n Arguments: {}\noutputs:\n k8s-versions: ${example.validVersions}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create a Kubernetes cluster using the most recent version available\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getKubernetesVersions({});\nconst example_cluster = new digitalocean.KubernetesCluster(\"example-cluster\", {\n region: \"lon1\",\n version: example.then(example =\u003e example.latestVersion),\n nodePool: {\n name: \"default\",\n size: \"s-1vcpu-2gb\",\n nodeCount: 3,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_kubernetes_versions()\nexample_cluster = digitalocean.KubernetesCluster(\"example-cluster\",\n region=\"lon1\",\n version=example.latest_version,\n node_pool=digitalocean.KubernetesClusterNodePoolArgs(\n name=\"default\",\n size=\"s-1vcpu-2gb\",\n node_count=3,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetKubernetesVersions.Invoke();\n\n var example_cluster = new DigitalOcean.KubernetesCluster(\"example-cluster\", new()\n {\n Region = \"lon1\",\n Version = example.Apply(getKubernetesVersionsResult =\u003e getKubernetesVersionsResult.LatestVersion),\n NodePool = new DigitalOcean.Inputs.KubernetesClusterNodePoolArgs\n {\n Name = \"default\",\n Size = \"s-1vcpu-2gb\",\n NodeCount = 3,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.GetKubernetesVersions(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewKubernetesCluster(ctx, \"example-cluster\", \u0026digitalocean.KubernetesClusterArgs{\n\t\t\tRegion: pulumi.String(\"lon1\"),\n\t\t\tVersion: *pulumi.String(example.LatestVersion),\n\t\t\tNodePool: \u0026digitalocean.KubernetesClusterNodePoolArgs{\n\t\t\t\tName: pulumi.String(\"default\"),\n\t\t\t\tSize: pulumi.String(\"s-1vcpu-2gb\"),\n\t\t\t\tNodeCount: pulumi.Int(3),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetKubernetesVersionsArgs;\nimport com.pulumi.digitalocean.KubernetesCluster;\nimport com.pulumi.digitalocean.KubernetesClusterArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesClusterNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getKubernetesVersions();\n\n var example_cluster = new KubernetesCluster(\"example-cluster\", KubernetesClusterArgs.builder() \n .region(\"lon1\")\n .version(example.applyValue(getKubernetesVersionsResult -\u003e getKubernetesVersionsResult.latestVersion()))\n .nodePool(KubernetesClusterNodePoolArgs.builder()\n .name(\"default\")\n .size(\"s-1vcpu-2gb\")\n .nodeCount(3)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-cluster:\n type: digitalocean:KubernetesCluster\n properties:\n region: lon1\n version: ${example.latestVersion}\n nodePool:\n name: default\n size: s-1vcpu-2gb\n nodeCount: 3\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getKubernetesVersions\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Pin a Kubernetes cluster to a specific minor version\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getKubernetesVersions({\n versionPrefix: \"1.22.\",\n});\nconst example_cluster = new digitalocean.KubernetesCluster(\"example-cluster\", {\n region: \"lon1\",\n version: example.then(example =\u003e example.latestVersion),\n nodePool: {\n name: \"default\",\n size: \"s-1vcpu-2gb\",\n nodeCount: 3,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_kubernetes_versions(version_prefix=\"1.22.\")\nexample_cluster = digitalocean.KubernetesCluster(\"example-cluster\",\n region=\"lon1\",\n version=example.latest_version,\n node_pool=digitalocean.KubernetesClusterNodePoolArgs(\n name=\"default\",\n size=\"s-1vcpu-2gb\",\n node_count=3,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetKubernetesVersions.Invoke(new()\n {\n VersionPrefix = \"1.22.\",\n });\n\n var example_cluster = new DigitalOcean.KubernetesCluster(\"example-cluster\", new()\n {\n Region = \"lon1\",\n Version = example.Apply(getKubernetesVersionsResult =\u003e getKubernetesVersionsResult.LatestVersion),\n NodePool = new DigitalOcean.Inputs.KubernetesClusterNodePoolArgs\n {\n Name = \"default\",\n Size = \"s-1vcpu-2gb\",\n NodeCount = 3,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.GetKubernetesVersions(ctx, \u0026digitalocean.GetKubernetesVersionsArgs{\n\t\t\tVersionPrefix: pulumi.StringRef(\"1.22.\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewKubernetesCluster(ctx, \"example-cluster\", \u0026digitalocean.KubernetesClusterArgs{\n\t\t\tRegion: pulumi.String(\"lon1\"),\n\t\t\tVersion: *pulumi.String(example.LatestVersion),\n\t\t\tNodePool: \u0026digitalocean.KubernetesClusterNodePoolArgs{\n\t\t\t\tName: pulumi.String(\"default\"),\n\t\t\t\tSize: pulumi.String(\"s-1vcpu-2gb\"),\n\t\t\t\tNodeCount: pulumi.Int(3),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetKubernetesVersionsArgs;\nimport com.pulumi.digitalocean.KubernetesCluster;\nimport com.pulumi.digitalocean.KubernetesClusterArgs;\nimport com.pulumi.digitalocean.inputs.KubernetesClusterNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getKubernetesVersions(GetKubernetesVersionsArgs.builder()\n .versionPrefix(\"1.22.\")\n .build());\n\n var example_cluster = new KubernetesCluster(\"example-cluster\", KubernetesClusterArgs.builder() \n .region(\"lon1\")\n .version(example.applyValue(getKubernetesVersionsResult -\u003e getKubernetesVersionsResult.latestVersion()))\n .nodePool(KubernetesClusterNodePoolArgs.builder()\n .name(\"default\")\n .size(\"s-1vcpu-2gb\")\n .nodeCount(3)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example-cluster:\n type: digitalocean:KubernetesCluster\n properties:\n region: lon1\n version: ${example.latestVersion}\n nodePool:\n name: default\n size: s-1vcpu-2gb\n nodeCount: 3\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getKubernetesVersions\n Arguments:\n versionPrefix: 1.22.\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getKubernetesVersions.\n", "properties": { @@ -15075,7 +15075,7 @@ } }, "digitalocean:index/getLoadBalancer:getLoadBalancer": { - "description": "Get information on a load balancer for use in other resources. This data source\nprovides all of the load balancers properties as configured on your DigitalOcean\naccount. This is useful if the load balancer in question is not managed by\nthe provider or you need to utilize any of the load balancers data.\n\nAn error is triggered if the provided load balancer name does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the load balancer by name:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getLoadBalancer({\n name: \"app\",\n});\nexport const lbOutput = example.then(example =\u003e example.ip);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_load_balancer(name=\"app\")\npulumi.export(\"lbOutput\", example.ip)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetLoadBalancer.Invoke(new()\n {\n Name = \"app\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"lbOutput\"] = example.Apply(getLoadBalancerResult =\u003e getLoadBalancerResult.Ip),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupLoadBalancer(ctx, \u0026digitalocean.LookupLoadBalancerArgs{\n\t\t\tName: pulumi.StringRef(\"app\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"lbOutput\", example.Ip)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetLoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()\n .name(\"app\")\n .build());\n\n ctx.export(\"lbOutput\", example.applyValue(getLoadBalancerResult -\u003e getLoadBalancerResult.ip()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getLoadBalancer\n Arguments:\n name: app\noutputs:\n lbOutput: ${example.ip}\n```\n\nGet the load balancer by ID:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getLoadBalancer({\n id: \"loadbalancer_id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_load_balancer(id=\"loadbalancer_id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetLoadBalancer.Invoke(new()\n {\n Id = \"loadbalancer_id\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupLoadBalancer(ctx, \u0026digitalocean.LookupLoadBalancerArgs{\n\t\t\tId: pulumi.StringRef(\"loadbalancer_id\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetLoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()\n .id(\"loadbalancer_id\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getLoadBalancer\n Arguments:\n id: loadbalancer_id\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a load balancer for use in other resources. This data source\nprovides all of the load balancers properties as configured on your DigitalOcean\naccount. This is useful if the load balancer in question is not managed by\nthe provider or you need to utilize any of the load balancers data.\n\nAn error is triggered if the provided load balancer name does not exist.\n\n## Example Usage\n\nGet the load balancer by name:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getLoadBalancer({\n name: \"app\",\n});\nexport const lbOutput = example.then(example =\u003e example.ip);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_load_balancer(name=\"app\")\npulumi.export(\"lbOutput\", example.ip)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetLoadBalancer.Invoke(new()\n {\n Name = \"app\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"lbOutput\"] = example.Apply(getLoadBalancerResult =\u003e getLoadBalancerResult.Ip),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupLoadBalancer(ctx, \u0026digitalocean.LookupLoadBalancerArgs{\n\t\t\tName: pulumi.StringRef(\"app\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"lbOutput\", example.Ip)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetLoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()\n .name(\"app\")\n .build());\n\n ctx.export(\"lbOutput\", example.applyValue(getLoadBalancerResult -\u003e getLoadBalancerResult.ip()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getLoadBalancer\n Arguments:\n name: app\noutputs:\n lbOutput: ${example.ip}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nGet the load balancer by ID:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getLoadBalancer({\n id: \"loadbalancer_id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_load_balancer(id=\"loadbalancer_id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetLoadBalancer.Invoke(new()\n {\n Id = \"loadbalancer_id\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupLoadBalancer(ctx, \u0026digitalocean.LookupLoadBalancerArgs{\n\t\t\tId: pulumi.StringRef(\"loadbalancer_id\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetLoadBalancerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()\n .id(\"loadbalancer_id\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getLoadBalancer\n Arguments:\n id: loadbalancer_id\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getLoadBalancer.\n", "properties": { @@ -15208,7 +15208,7 @@ } }, "digitalocean:index/getProject:getProject": { - "description": "Get information on a single DigitalOcean project. If neither the `id` nor `name` attributes are provided,\nthen this data source returns the default project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst default = digitalocean.getProject({});\nconst staging = digitalocean.getProject({\n name: \"My Staging Project\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ndefault = digitalocean.get_project()\nstaging = digitalocean.get_project(name=\"My Staging Project\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = DigitalOcean.GetProject.Invoke();\n\n var staging = DigitalOcean.GetProject.Invoke(new()\n {\n Name = \"My Staging Project\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupProject(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.LookupProject(ctx, \u0026digitalocean.LookupProjectArgs{\n\t\t\tName: pulumi.StringRef(\"My Staging Project\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = DigitaloceanFunctions.getProject();\n\n final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder()\n .name(\"My Staging Project\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: digitalocean:getProject\n Arguments: {}\n staging:\n fn::invoke:\n Function: digitalocean:getProject\n Arguments:\n name: My Staging Project\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a single DigitalOcean project. If neither the `id` nor `name` attributes are provided,\nthen this data source returns the default project.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst default = digitalocean.getProject({});\nconst staging = digitalocean.getProject({\n name: \"My Staging Project\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\ndefault = digitalocean.get_project()\nstaging = digitalocean.get_project(name=\"My Staging Project\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = DigitalOcean.GetProject.Invoke();\n\n var staging = DigitalOcean.GetProject.Invoke(new()\n {\n Name = \"My Staging Project\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupProject(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.LookupProject(ctx, \u0026digitalocean.LookupProjectArgs{\n\t\t\tName: pulumi.StringRef(\"My Staging Project\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = DigitaloceanFunctions.getProject();\n\n final var staging = DigitaloceanFunctions.getProject(GetProjectArgs.builder()\n .name(\"My Staging Project\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: digitalocean:getProject\n Arguments: {}\n staging:\n fn::invoke:\n Function: digitalocean:getProject\n Arguments:\n name: My Staging Project\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getProject.\n", "properties": { @@ -15288,7 +15288,7 @@ } }, "digitalocean:index/getProjects:getProjects": { - "description": "Retrieve information about all DigitalOcean projects associated with an account, with\nthe ability to filter and sort the results. If no filters are specified, all projects\nwill be returned.\n\nNote: You can use the `digitalocean.Project` data source to\nobtain metadata about a single project if you already know the `id` to retrieve or the unique\n`name` of the project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nUse the `filter` block with a `key` string and `values` list to filter projects.\n\nFor example to find all staging environment projects:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst staging = digitalocean.getProjects({\n filters: [{\n key: \"environment\",\n values: [\"Staging\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstaging = digitalocean.get_projects(filters=[digitalocean.GetProjectsFilterArgs(\n key=\"environment\",\n values=[\"Staging\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var staging = DigitalOcean.GetProjects.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetProjectsFilterInputArgs\n {\n Key = \"environment\",\n Values = new[]\n {\n \"Staging\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetProjects(ctx, \u0026digitalocean.GetProjectsArgs{\n\t\t\tFilters: []digitalocean.GetProjectsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"environment\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Staging\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder()\n .filters(GetProjectsFilterArgs.builder()\n .key(\"environment\")\n .values(\"Staging\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n staging:\n fn::invoke:\n Function: digitalocean:getProjects\n Arguments:\n filters:\n - key: environment\n values:\n - Staging\n```\n\nYou can filter on multiple fields and sort the results as well:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst non-default-production = digitalocean.getProjects({\n filters: [\n {\n key: \"environment\",\n values: [\"Production\"],\n },\n {\n key: \"is_default\",\n values: [\"false\"],\n },\n ],\n sorts: [{\n direction: \"asc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nnon_default_production = digitalocean.get_projects(filters=[\n digitalocean.GetProjectsFilterArgs(\n key=\"environment\",\n values=[\"Production\"],\n ),\n digitalocean.GetProjectsFilterArgs(\n key=\"is_default\",\n values=[\"false\"],\n ),\n ],\n sorts=[digitalocean.GetProjectsSortArgs(\n direction=\"asc\",\n key=\"name\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var non_default_production = DigitalOcean.GetProjects.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetProjectsFilterInputArgs\n {\n Key = \"environment\",\n Values = new[]\n {\n \"Production\",\n },\n },\n new DigitalOcean.Inputs.GetProjectsFilterInputArgs\n {\n Key = \"is_default\",\n Values = new[]\n {\n \"false\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetProjectsSortInputArgs\n {\n Direction = \"asc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetProjects(ctx, \u0026digitalocean.GetProjectsArgs{\n\t\t\tFilters: []digitalocean.GetProjectsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"environment\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Production\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"is_default\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"false\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetProjectsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"asc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder()\n .filters( \n GetProjectsFilterArgs.builder()\n .key(\"environment\")\n .values(\"Production\")\n .build(),\n GetProjectsFilterArgs.builder()\n .key(\"is_default\")\n .values(\"false\")\n .build())\n .sorts(GetProjectsSortArgs.builder()\n .direction(\"asc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n non-default-production:\n fn::invoke:\n Function: digitalocean:getProjects\n Arguments:\n filters:\n - key: environment\n values:\n - Production\n - key: is_default\n values:\n - 'false'\n sorts:\n - direction: asc\n key: name\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Retrieve information about all DigitalOcean projects associated with an account, with\nthe ability to filter and sort the results. If no filters are specified, all projects\nwill be returned.\n\nNote: You can use the `digitalocean.Project` data source to\nobtain metadata about a single project if you already know the `id` to retrieve or the unique\n`name` of the project.\n\n## Example Usage\n\nUse the `filter` block with a `key` string and `values` list to filter projects.\n\nFor example to find all staging environment projects:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst staging = digitalocean.getProjects({\n filters: [{\n key: \"environment\",\n values: [\"Staging\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nstaging = digitalocean.get_projects(filters=[digitalocean.GetProjectsFilterArgs(\n key=\"environment\",\n values=[\"Staging\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var staging = DigitalOcean.GetProjects.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetProjectsFilterInputArgs\n {\n Key = \"environment\",\n Values = new[]\n {\n \"Staging\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetProjects(ctx, \u0026digitalocean.GetProjectsArgs{\n\t\t\tFilters: []digitalocean.GetProjectsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"environment\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Staging\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var staging = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder()\n .filters(GetProjectsFilterArgs.builder()\n .key(\"environment\")\n .values(\"Staging\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n staging:\n fn::invoke:\n Function: digitalocean:getProjects\n Arguments:\n filters:\n - key: environment\n values:\n - Staging\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can filter on multiple fields and sort the results as well:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst non-default-production = digitalocean.getProjects({\n filters: [\n {\n key: \"environment\",\n values: [\"Production\"],\n },\n {\n key: \"is_default\",\n values: [\"false\"],\n },\n ],\n sorts: [{\n direction: \"asc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nnon_default_production = digitalocean.get_projects(filters=[\n digitalocean.GetProjectsFilterArgs(\n key=\"environment\",\n values=[\"Production\"],\n ),\n digitalocean.GetProjectsFilterArgs(\n key=\"is_default\",\n values=[\"false\"],\n ),\n ],\n sorts=[digitalocean.GetProjectsSortArgs(\n direction=\"asc\",\n key=\"name\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var non_default_production = DigitalOcean.GetProjects.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetProjectsFilterInputArgs\n {\n Key = \"environment\",\n Values = new[]\n {\n \"Production\",\n },\n },\n new DigitalOcean.Inputs.GetProjectsFilterInputArgs\n {\n Key = \"is_default\",\n Values = new[]\n {\n \"false\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetProjectsSortInputArgs\n {\n Direction = \"asc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetProjects(ctx, \u0026digitalocean.GetProjectsArgs{\n\t\t\tFilters: []digitalocean.GetProjectsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"environment\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"Production\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"is_default\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"false\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetProjectsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"asc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetProjectsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var non-default-production = DigitaloceanFunctions.getProjects(GetProjectsArgs.builder()\n .filters( \n GetProjectsFilterArgs.builder()\n .key(\"environment\")\n .values(\"Production\")\n .build(),\n GetProjectsFilterArgs.builder()\n .key(\"is_default\")\n .values(\"false\")\n .build())\n .sorts(GetProjectsSortArgs.builder()\n .direction(\"asc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n non-default-production:\n fn::invoke:\n Function: digitalocean:getProjects\n Arguments:\n filters:\n - key: environment\n values:\n - Production\n - key: is_default\n values:\n - 'false'\n sorts:\n - direction: asc\n key: name\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getProjects.\n", "properties": { @@ -15344,7 +15344,7 @@ } }, "digitalocean:index/getRecord:getRecord": { - "description": "Get information on a DNS record. This data source provides the name, TTL, and zone\nfile as configured on your DigitalOcean account. This is useful if the record\nin question is not managed by the provider.\n\nAn error is triggered if the provided domain name or record are not managed with\nyour DigitalOcean account.\n", + "description": "Get information on a DNS record. This data source provides the name, TTL, and zone\nfile as configured on your DigitalOcean account. This is useful if the record\nin question is not managed by the provider.\n\nAn error is triggered if the provided domain name or record are not managed with\nyour DigitalOcean account.\n\n## Example Usage\n\nGet data from a DNS record:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getRecord({\n domain: \"example.com\",\n name: \"test\",\n});\nexport const recordType = example.then(example =\u003e example.type);\nexport const recordTtl = example.then(example =\u003e example.ttl);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_record(domain=\"example.com\",\n name=\"test\")\npulumi.export(\"recordType\", example.type)\npulumi.export(\"recordTtl\", example.ttl)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetRecord.Invoke(new()\n {\n Domain = \"example.com\",\n Name = \"test\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"recordType\"] = example.Apply(getRecordResult =\u003e getRecordResult.Type),\n [\"recordTtl\"] = example.Apply(getRecordResult =\u003e getRecordResult.Ttl),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.GetRecord(ctx, \u0026digitalocean.GetRecordArgs{\n\t\t\tDomain: \"example.com\",\n\t\t\tName: \"test\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"recordType\", example.Type)\n\t\tctx.Export(\"recordTtl\", example.Ttl)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetRecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder()\n .domain(\"example.com\")\n .name(\"test\")\n .build());\n\n ctx.export(\"recordType\", example.applyValue(getRecordResult -\u003e getRecordResult.type()));\n ctx.export(\"recordTtl\", example.applyValue(getRecordResult -\u003e getRecordResult.ttl()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getRecord\n Arguments:\n domain: example.com\n name: test\noutputs:\n recordType: ${example.type}\n recordTtl: ${example.ttl}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n", "inputs": { "description": "A collection of arguments for invoking getRecord.\n", "properties": { @@ -15426,7 +15426,7 @@ } }, "digitalocean:index/getRecords:getRecords": { - "description": "Retrieve information about all DNS records within a domain, with the ability to filter and sort the results.\nIf no filters are specified, all records will be returned.\n", + "description": "Retrieve information about all DNS records within a domain, with the ability to filter and sort the results.\nIf no filters are specified, all records will be returned.\n\n", "inputs": { "description": "A collection of arguments for invoking getRecords.\n", "properties": { @@ -15493,7 +15493,7 @@ } }, "digitalocean:index/getRegion:getRegion": { - "description": "Get information on a single DigitalOcean region. This is useful to find out \nwhat Droplet sizes and features are supported within a region.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst sfo2 = digitalocean.getRegion({\n slug: \"sfo2\",\n});\nexport const regionName = sfo2.then(sfo2 =\u003e sfo2.name);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsfo2 = digitalocean.get_region(slug=\"sfo2\")\npulumi.export(\"regionName\", sfo2.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sfo2 = DigitalOcean.GetRegion.Invoke(new()\n {\n Slug = \"sfo2\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"regionName\"] = sfo2.Apply(getRegionResult =\u003e getRegionResult.Name),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsfo2, err := digitalocean.GetRegion(ctx, \u0026digitalocean.GetRegionArgs{\n\t\t\tSlug: \"sfo2\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"regionName\", sfo2.Name)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetRegionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var sfo2 = DigitaloceanFunctions.getRegion(GetRegionArgs.builder()\n .slug(\"sfo2\")\n .build());\n\n ctx.export(\"regionName\", sfo2.applyValue(getRegionResult -\u003e getRegionResult.name()));\n }\n}\n```\n```yaml\nvariables:\n sfo2:\n fn::invoke:\n Function: digitalocean:getRegion\n Arguments:\n slug: sfo2\noutputs:\n regionName: ${sfo2.name}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a single DigitalOcean region. This is useful to find out \nwhat Droplet sizes and features are supported within a region.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst sfo2 = digitalocean.getRegion({\n slug: \"sfo2\",\n});\nexport const regionName = sfo2.then(sfo2 =\u003e sfo2.name);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsfo2 = digitalocean.get_region(slug=\"sfo2\")\npulumi.export(\"regionName\", sfo2.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sfo2 = DigitalOcean.GetRegion.Invoke(new()\n {\n Slug = \"sfo2\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"regionName\"] = sfo2.Apply(getRegionResult =\u003e getRegionResult.Name),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsfo2, err := digitalocean.GetRegion(ctx, \u0026digitalocean.GetRegionArgs{\n\t\t\tSlug: \"sfo2\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"regionName\", sfo2.Name)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetRegionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var sfo2 = DigitaloceanFunctions.getRegion(GetRegionArgs.builder()\n .slug(\"sfo2\")\n .build());\n\n ctx.export(\"regionName\", sfo2.applyValue(getRegionResult -\u003e getRegionResult.name()));\n }\n}\n```\n```yaml\nvariables:\n sfo2:\n fn::invoke:\n Function: digitalocean:getRegion\n Arguments:\n slug: sfo2\noutputs:\n regionName: ${sfo2.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRegion.\n", "properties": { @@ -15553,7 +15553,7 @@ } }, "digitalocean:index/getRegions:getRegions": { - "description": "Retrieve information about all supported DigitalOcean regions, with the ability to\nfilter and sort the results. If no filters are specified, all regions will be returned.\n\nNote: You can use the `digitalocean.getRegion` data source\nto obtain metadata about a single region if you already know the `slug` to retrieve.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nUse the `filter` block with a `key` string and `values` list to filter regions.\n\nFor example to find all available regions:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst available = digitalocean.getRegions({\n filters: [{\n key: \"available\",\n values: [\"true\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\navailable = digitalocean.get_regions(filters=[digitalocean.GetRegionsFilterArgs(\n key=\"available\",\n values=[\"true\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var available = DigitalOcean.GetRegions.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetRegionsFilterInputArgs\n {\n Key = \"available\",\n Values = new[]\n {\n \"true\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetRegions(ctx, \u0026digitalocean.GetRegionsArgs{\n\t\t\tFilters: []digitalocean.GetRegionsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"available\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"true\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetRegionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder()\n .filters(GetRegionsFilterArgs.builder()\n .key(\"available\")\n .values(\"true\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n available:\n fn::invoke:\n Function: digitalocean:getRegions\n Arguments:\n filters:\n - key: available\n values:\n - 'true'\n```\n\nYou can filter on multiple fields and sort the results as well:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst available = digitalocean.getRegions({\n filters: [\n {\n key: \"available\",\n values: [\"true\"],\n },\n {\n key: \"features\",\n values: [\"private_networking\"],\n },\n ],\n sorts: [{\n direction: \"desc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\navailable = digitalocean.get_regions(filters=[\n digitalocean.GetRegionsFilterArgs(\n key=\"available\",\n values=[\"true\"],\n ),\n digitalocean.GetRegionsFilterArgs(\n key=\"features\",\n values=[\"private_networking\"],\n ),\n ],\n sorts=[digitalocean.GetRegionsSortArgs(\n direction=\"desc\",\n key=\"name\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var available = DigitalOcean.GetRegions.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetRegionsFilterInputArgs\n {\n Key = \"available\",\n Values = new[]\n {\n \"true\",\n },\n },\n new DigitalOcean.Inputs.GetRegionsFilterInputArgs\n {\n Key = \"features\",\n Values = new[]\n {\n \"private_networking\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetRegionsSortInputArgs\n {\n Direction = \"desc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetRegions(ctx, \u0026digitalocean.GetRegionsArgs{\n\t\t\tFilters: []digitalocean.GetRegionsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"available\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"true\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"features\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"private_networking\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetRegionsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetRegionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder()\n .filters( \n GetRegionsFilterArgs.builder()\n .key(\"available\")\n .values(\"true\")\n .build(),\n GetRegionsFilterArgs.builder()\n .key(\"features\")\n .values(\"private_networking\")\n .build())\n .sorts(GetRegionsSortArgs.builder()\n .direction(\"desc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n available:\n fn::invoke:\n Function: digitalocean:getRegions\n Arguments:\n filters:\n - key: available\n values:\n - 'true'\n - key: features\n values:\n - private_networking\n sorts:\n - direction: desc\n key: name\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Retrieve information about all supported DigitalOcean regions, with the ability to\nfilter and sort the results. If no filters are specified, all regions will be returned.\n\nNote: You can use the `digitalocean.getRegion` data source\nto obtain metadata about a single region if you already know the `slug` to retrieve.\n\n## Example Usage\n\nUse the `filter` block with a `key` string and `values` list to filter regions.\n\nFor example to find all available regions:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst available = digitalocean.getRegions({\n filters: [{\n key: \"available\",\n values: [\"true\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\navailable = digitalocean.get_regions(filters=[digitalocean.GetRegionsFilterArgs(\n key=\"available\",\n values=[\"true\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var available = DigitalOcean.GetRegions.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetRegionsFilterInputArgs\n {\n Key = \"available\",\n Values = new[]\n {\n \"true\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetRegions(ctx, \u0026digitalocean.GetRegionsArgs{\n\t\t\tFilters: []digitalocean.GetRegionsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"available\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"true\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetRegionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder()\n .filters(GetRegionsFilterArgs.builder()\n .key(\"available\")\n .values(\"true\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n available:\n fn::invoke:\n Function: digitalocean:getRegions\n Arguments:\n filters:\n - key: available\n values:\n - 'true'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nYou can filter on multiple fields and sort the results as well:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst available = digitalocean.getRegions({\n filters: [\n {\n key: \"available\",\n values: [\"true\"],\n },\n {\n key: \"features\",\n values: [\"private_networking\"],\n },\n ],\n sorts: [{\n direction: \"desc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\navailable = digitalocean.get_regions(filters=[\n digitalocean.GetRegionsFilterArgs(\n key=\"available\",\n values=[\"true\"],\n ),\n digitalocean.GetRegionsFilterArgs(\n key=\"features\",\n values=[\"private_networking\"],\n ),\n ],\n sorts=[digitalocean.GetRegionsSortArgs(\n direction=\"desc\",\n key=\"name\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var available = DigitalOcean.GetRegions.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetRegionsFilterInputArgs\n {\n Key = \"available\",\n Values = new[]\n {\n \"true\",\n },\n },\n new DigitalOcean.Inputs.GetRegionsFilterInputArgs\n {\n Key = \"features\",\n Values = new[]\n {\n \"private_networking\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetRegionsSortInputArgs\n {\n Direction = \"desc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetRegions(ctx, \u0026digitalocean.GetRegionsArgs{\n\t\t\tFilters: []digitalocean.GetRegionsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"available\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"true\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tKey: \"features\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"private_networking\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetRegionsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetRegionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var available = DigitaloceanFunctions.getRegions(GetRegionsArgs.builder()\n .filters( \n GetRegionsFilterArgs.builder()\n .key(\"available\")\n .values(\"true\")\n .build(),\n GetRegionsFilterArgs.builder()\n .key(\"features\")\n .values(\"private_networking\")\n .build())\n .sorts(GetRegionsSortArgs.builder()\n .direction(\"desc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n available:\n fn::invoke:\n Function: digitalocean:getRegions\n Arguments:\n filters:\n - key: available\n values:\n - 'true'\n - key: features\n values:\n - private_networking\n sorts:\n - direction: desc\n key: name\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRegions.\n", "properties": { @@ -15609,7 +15609,7 @@ } }, "digitalocean:index/getReservedIp:getReservedIp": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the reserved IP:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst config = new pulumi.Config();\nconst publicIp = config.requireObject(\"publicIp\");\nconst example = digitalocean.getReservedIp({\n ipAddress: publicIp,\n});\nexport const fipOutput = example.then(example =\u003e example.dropletId);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nconfig = pulumi.Config()\npublic_ip = config.require_object(\"publicIp\")\nexample = digitalocean.get_reserved_ip(ip_address=public_ip)\npulumi.export(\"fipOutput\", example.droplet_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var publicIp = config.RequireObject\u003cdynamic\u003e(\"publicIp\");\n var example = DigitalOcean.GetReservedIp.Invoke(new()\n {\n IpAddress = publicIp,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"fipOutput\"] = example.Apply(getReservedIpResult =\u003e getReservedIpResult.DropletId),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tpublicIp := cfg.RequireObject(\"publicIp\")\n\t\texample, err := digitalocean.LookupReservedIp(ctx, \u0026digitalocean.LookupReservedIpArgs{\n\t\t\tIpAddress: publicIp,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"fipOutput\", example.DropletId)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetReservedIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var publicIp = config.get(\"publicIp\");\n final var example = DigitaloceanFunctions.getReservedIp(GetReservedIpArgs.builder()\n .ipAddress(publicIp)\n .build());\n\n ctx.export(\"fipOutput\", example.applyValue(getReservedIpResult -\u003e getReservedIpResult.dropletId()));\n }\n}\n```\n```yaml\nconfiguration:\n publicIp:\n type: dynamic\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getReservedIp\n Arguments:\n ipAddress: ${publicIp}\noutputs:\n fipOutput: ${example.dropletId}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "## Example Usage\n\nGet the reserved IP:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst config = new pulumi.Config();\nconst publicIp = config.requireObject(\"publicIp\");\nconst example = digitalocean.getReservedIp({\n ipAddress: publicIp,\n});\nexport const fipOutput = example.then(example =\u003e example.dropletId);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nconfig = pulumi.Config()\npublic_ip = config.require_object(\"publicIp\")\nexample = digitalocean.get_reserved_ip(ip_address=public_ip)\npulumi.export(\"fipOutput\", example.droplet_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var publicIp = config.RequireObject\u003cdynamic\u003e(\"publicIp\");\n var example = DigitalOcean.GetReservedIp.Invoke(new()\n {\n IpAddress = publicIp,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"fipOutput\"] = example.Apply(getReservedIpResult =\u003e getReservedIpResult.DropletId),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tpublicIp := cfg.RequireObject(\"publicIp\")\n\t\texample, err := digitalocean.LookupReservedIp(ctx, \u0026digitalocean.LookupReservedIpArgs{\n\t\t\tIpAddress: publicIp,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"fipOutput\", example.DropletId)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetReservedIpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var config = ctx.config();\n final var publicIp = config.get(\"publicIp\");\n final var example = DigitaloceanFunctions.getReservedIp(GetReservedIpArgs.builder()\n .ipAddress(publicIp)\n .build());\n\n ctx.export(\"fipOutput\", example.applyValue(getReservedIpResult -\u003e getReservedIpResult.dropletId()));\n }\n}\n```\n```yaml\nconfiguration:\n publicIp:\n type: dynamic\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getReservedIp\n Arguments:\n ipAddress: ${publicIp}\noutputs:\n fipOutput: ${example.dropletId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getReservedIp.\n", "properties": { @@ -15657,7 +15657,7 @@ } }, "digitalocean:index/getSizes:getSizes": { - "description": "Retrieves information about the Droplet sizes that DigitalOcean supports, with\nthe ability to filter and sort the results. If no filters are specified, all sizes\nwill be returned.\n", + "description": "Retrieves information about the Droplet sizes that DigitalOcean supports, with\nthe ability to filter and sort the results. If no filters are specified, all sizes\nwill be returned.\n\n", "inputs": { "description": "A collection of arguments for invoking getSizes.\n", "properties": { @@ -15712,7 +15712,7 @@ } }, "digitalocean:index/getSpacesBucket:getSpacesBucket": { - "description": "Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question\nis not managed by the provider or you need to utilize any of the bucket's data.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the bucket by name:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getSpacesBucket({\n name: \"my-spaces-bucket\",\n region: \"nyc3\",\n});\nexport const bucketDomainName = example.then(example =\u003e example.bucketDomainName);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_spaces_bucket(name=\"my-spaces-bucket\",\n region=\"nyc3\")\npulumi.export(\"bucketDomainName\", example.bucket_domain_name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetSpacesBucket.Invoke(new()\n {\n Name = \"my-spaces-bucket\",\n Region = \"nyc3\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"bucketDomainName\"] = example.Apply(getSpacesBucketResult =\u003e getSpacesBucketResult.BucketDomainName),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupSpacesBucket(ctx, \u0026digitalocean.LookupSpacesBucketArgs{\n\t\t\tName: \"my-spaces-bucket\",\n\t\t\tRegion: \"nyc3\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"bucketDomainName\", example.BucketDomainName)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getSpacesBucket(GetSpacesBucketArgs.builder()\n .name(\"my-spaces-bucket\")\n .region(\"nyc3\")\n .build());\n\n ctx.export(\"bucketDomainName\", example.applyValue(getSpacesBucketResult -\u003e getSpacesBucketResult.bucketDomainName()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getSpacesBucket\n Arguments:\n name: my-spaces-bucket\n region: nyc3\noutputs:\n bucketDomainName: ${example.bucketDomainName}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question\nis not managed by the provider or you need to utilize any of the bucket's data.\n\n## Example Usage\n\nGet the bucket by name:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getSpacesBucket({\n name: \"my-spaces-bucket\",\n region: \"nyc3\",\n});\nexport const bucketDomainName = example.then(example =\u003e example.bucketDomainName);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_spaces_bucket(name=\"my-spaces-bucket\",\n region=\"nyc3\")\npulumi.export(\"bucketDomainName\", example.bucket_domain_name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetSpacesBucket.Invoke(new()\n {\n Name = \"my-spaces-bucket\",\n Region = \"nyc3\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"bucketDomainName\"] = example.Apply(getSpacesBucketResult =\u003e getSpacesBucketResult.BucketDomainName),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := digitalocean.LookupSpacesBucket(ctx, \u0026digitalocean.LookupSpacesBucketArgs{\n\t\t\tName: \"my-spaces-bucket\",\n\t\t\tRegion: \"nyc3\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"bucketDomainName\", example.BucketDomainName)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getSpacesBucket(GetSpacesBucketArgs.builder()\n .name(\"my-spaces-bucket\")\n .region(\"nyc3\")\n .build());\n\n ctx.export(\"bucketDomainName\", example.applyValue(getSpacesBucketResult -\u003e getSpacesBucketResult.bucketDomainName()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getSpacesBucket\n Arguments:\n name: my-spaces-bucket\n region: nyc3\noutputs:\n bucketDomainName: ${example.bucketDomainName}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSpacesBucket.\n", "properties": { @@ -15771,7 +15771,7 @@ } }, "digitalocean:index/getSpacesBucketObject:getSpacesBucketObject": { - "description": "The Spaces object data source allows access to the metadata and\n_optionally_ (see below) content of an object stored inside a Spaces bucket.\n\n\u003e **Note:** The content of an object (`body` field) is available only for objects which have a human-readable\n`Content-Type` (`text/*` and `application/json`). This is to prevent printing unsafe characters and potentially\ndownloading large amount of data which would be thrown away in favor of metadata.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nThe following example retrieves a text object (which must have a `Content-Type`\nvalue starting with `text/`) and uses it as the `user_data` for a Droplet:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst bootstrapScript = digitalocean.getSpacesBucketObject({\n bucket: \"ourcorp-deploy-config\",\n region: \"nyc3\",\n key: \"droplet-bootstrap-script.sh\",\n});\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n userData: bootstrapScript.then(bootstrapScript =\u003e bootstrapScript.body),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nbootstrap_script = digitalocean.get_spaces_bucket_object(bucket=\"ourcorp-deploy-config\",\n region=\"nyc3\",\n key=\"droplet-bootstrap-script.sh\")\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\",\n user_data=bootstrap_script.body)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var bootstrapScript = DigitalOcean.GetSpacesBucketObject.Invoke(new()\n {\n Bucket = \"ourcorp-deploy-config\",\n Region = \"nyc3\",\n Key = \"droplet-bootstrap-script.sh\",\n });\n\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n UserData = bootstrapScript.Apply(getSpacesBucketObjectResult =\u003e getSpacesBucketObjectResult.Body),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tbootstrapScript, err := digitalocean.LookupSpacesBucketObject(ctx, \u0026digitalocean.LookupSpacesBucketObjectArgs{\n\t\t\tBucket: \"ourcorp-deploy-config\",\n\t\t\tRegion: \"nyc3\",\n\t\t\tKey: \"droplet-bootstrap-script.sh\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tUserData: *pulumi.String(bootstrapScript.Body),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketObjectArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var bootstrapScript = DigitaloceanFunctions.getSpacesBucketObject(GetSpacesBucketObjectArgs.builder()\n .bucket(\"ourcorp-deploy-config\")\n .region(\"nyc3\")\n .key(\"droplet-bootstrap-script.sh\")\n .build());\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -\u003e getSpacesBucketObjectResult.body()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n userData: ${bootstrapScript.body}\nvariables:\n bootstrapScript:\n fn::invoke:\n Function: digitalocean:getSpacesBucketObject\n Arguments:\n bucket: ourcorp-deploy-config\n region: nyc3\n key: droplet-bootstrap-script.sh\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "The Spaces object data source allows access to the metadata and\n_optionally_ (see below) content of an object stored inside a Spaces bucket.\n\n\u003e **Note:** The content of an object (`body` field) is available only for objects which have a human-readable\n`Content-Type` (`text/*` and `application/json`). This is to prevent printing unsafe characters and potentially\ndownloading large amount of data which would be thrown away in favor of metadata.\n\n## Example Usage\n\nThe following example retrieves a text object (which must have a `Content-Type`\nvalue starting with `text/`) and uses it as the `user_data` for a Droplet:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst bootstrapScript = digitalocean.getSpacesBucketObject({\n bucket: \"ourcorp-deploy-config\",\n region: \"nyc3\",\n key: \"droplet-bootstrap-script.sh\",\n});\nconst web = new digitalocean.Droplet(\"web\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n userData: bootstrapScript.then(bootstrapScript =\u003e bootstrapScript.body),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nbootstrap_script = digitalocean.get_spaces_bucket_object(bucket=\"ourcorp-deploy-config\",\n region=\"nyc3\",\n key=\"droplet-bootstrap-script.sh\")\nweb = digitalocean.Droplet(\"web\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\",\n user_data=bootstrap_script.body)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var bootstrapScript = DigitalOcean.GetSpacesBucketObject.Invoke(new()\n {\n Bucket = \"ourcorp-deploy-config\",\n Region = \"nyc3\",\n Key = \"droplet-bootstrap-script.sh\",\n });\n\n var web = new DigitalOcean.Droplet(\"web\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n UserData = bootstrapScript.Apply(getSpacesBucketObjectResult =\u003e getSpacesBucketObjectResult.Body),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tbootstrapScript, err := digitalocean.LookupSpacesBucketObject(ctx, \u0026digitalocean.LookupSpacesBucketObjectArgs{\n\t\t\tBucket: \"ourcorp-deploy-config\",\n\t\t\tRegion: \"nyc3\",\n\t\t\tKey: \"droplet-bootstrap-script.sh\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"web\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tUserData: *pulumi.String(bootstrapScript.Body),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketObjectArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var bootstrapScript = DigitaloceanFunctions.getSpacesBucketObject(GetSpacesBucketObjectArgs.builder()\n .bucket(\"ourcorp-deploy-config\")\n .region(\"nyc3\")\n .key(\"droplet-bootstrap-script.sh\")\n .build());\n\n var web = new Droplet(\"web\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .userData(bootstrapScript.applyValue(getSpacesBucketObjectResult -\u003e getSpacesBucketObjectResult.body()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n web:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n userData: ${bootstrapScript.body}\nvariables:\n bootstrapScript:\n fn::invoke:\n Function: digitalocean:getSpacesBucketObject\n Arguments:\n bucket: ourcorp-deploy-config\n region: nyc3\n key: droplet-bootstrap-script.sh\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSpacesBucketObject.\n", "properties": { @@ -15905,7 +15905,7 @@ } }, "digitalocean:index/getSpacesBucketObjects:getSpacesBucketObjects": { - "description": "\u003e **NOTE on `max_keys`:** Retrieving very large numbers of keys can adversely affect the provider's performance.\n\nThe bucket-objects data source returns keys (i.e., file names) and other metadata about objects in a Spaces bucket.\n", + "description": "\u003e **NOTE on `max_keys`:** Retrieving very large numbers of keys can adversely affect the provider's performance.\n\nThe bucket-objects data source returns keys (i.e., file names) and other metadata about objects in a Spaces bucket.\n\n", "inputs": { "description": "A collection of arguments for invoking getSpacesBucketObjects.\n", "properties": { @@ -15999,7 +15999,7 @@ } }, "digitalocean:index/getSpacesBuckets:getSpacesBuckets": { - "description": "Get information on Spaces buckets for use in other resources, with the ability to filter and sort the results.\nIf no filters are specified, all Spaces buckets will be returned.\n\nNote: You can use the `digitalocean.SpacesBucket` data source to\nobtain metadata about a single bucket if you already know its `name` and `region`.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nUse the `filter` block with a `key` string and `values` list to filter buckets.\n\nGet all buckets in a region:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst nyc3 = digitalocean.getSpacesBuckets({\n filters: [{\n key: \"region\",\n values: [\"nyc3\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nnyc3 = digitalocean.get_spaces_buckets(filters=[digitalocean.GetSpacesBucketsFilterArgs(\n key=\"region\",\n values=[\"nyc3\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nyc3 = DigitalOcean.GetSpacesBuckets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetSpacesBucketsFilterInputArgs\n {\n Key = \"region\",\n Values = new[]\n {\n \"nyc3\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSpacesBuckets(ctx, \u0026digitalocean.GetSpacesBucketsArgs{\n\t\t\tFilters: []digitalocean.GetSpacesBucketsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"region\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"nyc3\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder()\n .filters(GetSpacesBucketsFilterArgs.builder()\n .key(\"region\")\n .values(\"nyc3\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n nyc3:\n fn::invoke:\n Function: digitalocean:getSpacesBuckets\n Arguments:\n filters:\n - key: region\n values:\n - nyc3\n```\nYou can sort the results as well:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst nyc3 = digitalocean.getSpacesBuckets({\n filters: [{\n key: \"region\",\n values: [\"nyc3\"],\n }],\n sorts: [{\n direction: \"desc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nnyc3 = digitalocean.get_spaces_buckets(filters=[digitalocean.GetSpacesBucketsFilterArgs(\n key=\"region\",\n values=[\"nyc3\"],\n )],\n sorts=[digitalocean.GetSpacesBucketsSortArgs(\n direction=\"desc\",\n key=\"name\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nyc3 = DigitalOcean.GetSpacesBuckets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetSpacesBucketsFilterInputArgs\n {\n Key = \"region\",\n Values = new[]\n {\n \"nyc3\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetSpacesBucketsSortInputArgs\n {\n Direction = \"desc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSpacesBuckets(ctx, \u0026digitalocean.GetSpacesBucketsArgs{\n\t\t\tFilters: []digitalocean.GetSpacesBucketsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"region\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"nyc3\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetSpacesBucketsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder()\n .filters(GetSpacesBucketsFilterArgs.builder()\n .key(\"region\")\n .values(\"nyc3\")\n .build())\n .sorts(GetSpacesBucketsSortArgs.builder()\n .direction(\"desc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n nyc3:\n fn::invoke:\n Function: digitalocean:getSpacesBuckets\n Arguments:\n filters:\n - key: region\n values:\n - nyc3\n sorts:\n - direction: desc\n key: name\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on Spaces buckets for use in other resources, with the ability to filter and sort the results.\nIf no filters are specified, all Spaces buckets will be returned.\n\nNote: You can use the `digitalocean.SpacesBucket` data source to\nobtain metadata about a single bucket if you already know its `name` and `region`.\n\n## Example Usage\n\nUse the `filter` block with a `key` string and `values` list to filter buckets.\n\nGet all buckets in a region:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst nyc3 = digitalocean.getSpacesBuckets({\n filters: [{\n key: \"region\",\n values: [\"nyc3\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nnyc3 = digitalocean.get_spaces_buckets(filters=[digitalocean.GetSpacesBucketsFilterArgs(\n key=\"region\",\n values=[\"nyc3\"],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nyc3 = DigitalOcean.GetSpacesBuckets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetSpacesBucketsFilterInputArgs\n {\n Key = \"region\",\n Values = new[]\n {\n \"nyc3\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSpacesBuckets(ctx, \u0026digitalocean.GetSpacesBucketsArgs{\n\t\t\tFilters: []digitalocean.GetSpacesBucketsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"region\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"nyc3\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder()\n .filters(GetSpacesBucketsFilterArgs.builder()\n .key(\"region\")\n .values(\"nyc3\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n nyc3:\n fn::invoke:\n Function: digitalocean:getSpacesBuckets\n Arguments:\n filters:\n - key: region\n values:\n - nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\nYou can sort the results as well:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst nyc3 = digitalocean.getSpacesBuckets({\n filters: [{\n key: \"region\",\n values: [\"nyc3\"],\n }],\n sorts: [{\n direction: \"desc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nnyc3 = digitalocean.get_spaces_buckets(filters=[digitalocean.GetSpacesBucketsFilterArgs(\n key=\"region\",\n values=[\"nyc3\"],\n )],\n sorts=[digitalocean.GetSpacesBucketsSortArgs(\n direction=\"desc\",\n key=\"name\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nyc3 = DigitalOcean.GetSpacesBuckets.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetSpacesBucketsFilterInputArgs\n {\n Key = \"region\",\n Values = new[]\n {\n \"nyc3\",\n },\n },\n },\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetSpacesBucketsSortInputArgs\n {\n Direction = \"desc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSpacesBuckets(ctx, \u0026digitalocean.GetSpacesBucketsArgs{\n\t\t\tFilters: []digitalocean.GetSpacesBucketsFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"region\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"nyc3\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSorts: []digitalocean.GetSpacesBucketsSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"desc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSpacesBucketsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var nyc3 = DigitaloceanFunctions.getSpacesBuckets(GetSpacesBucketsArgs.builder()\n .filters(GetSpacesBucketsFilterArgs.builder()\n .key(\"region\")\n .values(\"nyc3\")\n .build())\n .sorts(GetSpacesBucketsSortArgs.builder()\n .direction(\"desc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n nyc3:\n fn::invoke:\n Function: digitalocean:getSpacesBuckets\n Arguments:\n filters:\n - key: region\n values:\n - nyc3\n sorts:\n - direction: desc\n key: name\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSpacesBuckets.\n", "properties": { @@ -16055,7 +16055,7 @@ } }, "digitalocean:index/getSshKey:getSshKey": { - "description": "Get information on a ssh key. This data source provides the name, public key,\nand fingerprint as configured on your DigitalOcean account. This is useful if\nthe ssh key in question is not managed by the provider or you need to utilize any\nof the keys data.\n\nAn error is triggered if the provided ssh key name does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the ssh key:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleSshKey = digitalocean.getSshKey({\n name: \"example\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n sshKeys: [exampleSshKey.then(exampleSshKey =\u003e exampleSshKey.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_ssh_key = digitalocean.get_ssh_key(name=\"example\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\",\n ssh_keys=[example_ssh_key.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSshKey = DigitalOcean.GetSshKey.Invoke(new()\n {\n Name = \"example\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n SshKeys = new[]\n {\n exampleSshKey.Apply(getSshKeyResult =\u003e getSshKeyResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleSshKey, err := digitalocean.LookupSshKey(ctx, \u0026digitalocean.LookupSshKeyArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tSshKeys: pulumi.StringArray{\n\t\t\t\t*pulumi.Int(exampleSshKey.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSshKeyArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleSshKey = DigitaloceanFunctions.getSshKey(GetSshKeyArgs.builder()\n .name(\"example\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .sshKeys(exampleSshKey.applyValue(getSshKeyResult -\u003e getSshKeyResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n sshKeys:\n - ${exampleSshKey.id}\nvariables:\n exampleSshKey:\n fn::invoke:\n Function: digitalocean:getSshKey\n Arguments:\n name: example\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a ssh key. This data source provides the name, public key,\nand fingerprint as configured on your DigitalOcean account. This is useful if\nthe ssh key in question is not managed by the provider or you need to utilize any\nof the keys data.\n\nAn error is triggered if the provided ssh key name does not exist.\n\n## Example Usage\n\nGet the ssh key:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleSshKey = digitalocean.getSshKey({\n name: \"example\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n sshKeys: [exampleSshKey.then(exampleSshKey =\u003e exampleSshKey.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_ssh_key = digitalocean.get_ssh_key(name=\"example\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\",\n ssh_keys=[example_ssh_key.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSshKey = DigitalOcean.GetSshKey.Invoke(new()\n {\n Name = \"example\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n SshKeys = new[]\n {\n exampleSshKey.Apply(getSshKeyResult =\u003e getSshKeyResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleSshKey, err := digitalocean.LookupSshKey(ctx, \u0026digitalocean.LookupSshKeyArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tSshKeys: pulumi.StringArray{\n\t\t\t\t*pulumi.Int(exampleSshKey.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSshKeyArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleSshKey = DigitaloceanFunctions.getSshKey(GetSshKeyArgs.builder()\n .name(\"example\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .sshKeys(exampleSshKey.applyValue(getSshKeyResult -\u003e getSshKeyResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n sshKeys:\n - ${exampleSshKey.id}\nvariables:\n exampleSshKey:\n fn::invoke:\n Function: digitalocean:getSshKey\n Arguments:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSshKey.\n", "properties": { @@ -16098,7 +16098,7 @@ } }, "digitalocean:index/getSshKeys:getSshKeys": { - "description": "Get information on SSH Keys for use in other resources.\n\nThis data source is useful if the SSH Keys in question are not managed by the provider or you need to\nutilize any of the SSH Keys' data.\n\nNote: You can use the `digitalocean.SshKey` data source to obtain metadata\nabout a single SSH Key if you already know the unique `name` to retrieve.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nFor example, to find all SSH keys:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst keys = digitalocean.getSshKeys({\n sorts: [{\n direction: \"asc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkeys = digitalocean.get_ssh_keys(sorts=[digitalocean.GetSshKeysSortArgs(\n direction=\"asc\",\n key=\"name\",\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var keys = DigitalOcean.GetSshKeys.Invoke(new()\n {\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetSshKeysSortInputArgs\n {\n Direction = \"asc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSshKeys(ctx, \u0026digitalocean.GetSshKeysArgs{\n\t\t\tSorts: []digitalocean.GetSshKeysSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"asc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSshKeysArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder()\n .sorts(GetSshKeysSortArgs.builder()\n .direction(\"asc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n keys:\n fn::invoke:\n Function: digitalocean:getSshKeys\n Arguments:\n sorts:\n - direction: asc\n key: name\n```\n\nOr to find ones matching specific values:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst keys = digitalocean.getSshKeys({\n filters: [{\n key: \"name\",\n values: [\n \"laptop\",\n \"desktop\",\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkeys = digitalocean.get_ssh_keys(filters=[digitalocean.GetSshKeysFilterArgs(\n key=\"name\",\n values=[\n \"laptop\",\n \"desktop\",\n ],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var keys = DigitalOcean.GetSshKeys.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetSshKeysFilterInputArgs\n {\n Key = \"name\",\n Values = new[]\n {\n \"laptop\",\n \"desktop\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSshKeys(ctx, \u0026digitalocean.GetSshKeysArgs{\n\t\t\tFilters: []digitalocean.GetSshKeysFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"laptop\",\n\t\t\t\t\t\t\"desktop\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSshKeysArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder()\n .filters(GetSshKeysFilterArgs.builder()\n .key(\"name\")\n .values( \n \"laptop\",\n \"desktop\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n keys:\n fn::invoke:\n Function: digitalocean:getSshKeys\n Arguments:\n filters:\n - key: name\n values:\n - laptop\n - desktop\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on SSH Keys for use in other resources.\n\nThis data source is useful if the SSH Keys in question are not managed by the provider or you need to\nutilize any of the SSH Keys' data.\n\nNote: You can use the `digitalocean.SshKey` data source to obtain metadata\nabout a single SSH Key if you already know the unique `name` to retrieve.\n\n## Example Usage\n\nFor example, to find all SSH keys:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst keys = digitalocean.getSshKeys({\n sorts: [{\n direction: \"asc\",\n key: \"name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkeys = digitalocean.get_ssh_keys(sorts=[digitalocean.GetSshKeysSortArgs(\n direction=\"asc\",\n key=\"name\",\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var keys = DigitalOcean.GetSshKeys.Invoke(new()\n {\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetSshKeysSortInputArgs\n {\n Direction = \"asc\",\n Key = \"name\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSshKeys(ctx, \u0026digitalocean.GetSshKeysArgs{\n\t\t\tSorts: []digitalocean.GetSshKeysSort{\n\t\t\t\t{\n\t\t\t\t\tDirection: pulumi.StringRef(\"asc\"),\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSshKeysArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder()\n .sorts(GetSshKeysSortArgs.builder()\n .direction(\"asc\")\n .key(\"name\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n keys:\n fn::invoke:\n Function: digitalocean:getSshKeys\n Arguments:\n sorts:\n - direction: asc\n key: name\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nOr to find ones matching specific values:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst keys = digitalocean.getSshKeys({\n filters: [{\n key: \"name\",\n values: [\n \"laptop\",\n \"desktop\",\n ],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nkeys = digitalocean.get_ssh_keys(filters=[digitalocean.GetSshKeysFilterArgs(\n key=\"name\",\n values=[\n \"laptop\",\n \"desktop\",\n ],\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var keys = DigitalOcean.GetSshKeys.Invoke(new()\n {\n Filters = new[]\n {\n new DigitalOcean.Inputs.GetSshKeysFilterInputArgs\n {\n Key = \"name\",\n Values = new[]\n {\n \"laptop\",\n \"desktop\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.GetSshKeys(ctx, \u0026digitalocean.GetSshKeysArgs{\n\t\t\tFilters: []digitalocean.GetSshKeysFilter{\n\t\t\t\t{\n\t\t\t\t\tKey: \"name\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"laptop\",\n\t\t\t\t\t\t\"desktop\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetSshKeysArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var keys = DigitaloceanFunctions.getSshKeys(GetSshKeysArgs.builder()\n .filters(GetSshKeysFilterArgs.builder()\n .key(\"name\")\n .values( \n \"laptop\",\n \"desktop\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n keys:\n fn::invoke:\n Function: digitalocean:getSshKeys\n Arguments:\n filters:\n - key: name\n values:\n - laptop\n - desktop\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSshKeys.\n", "properties": { @@ -16154,7 +16154,7 @@ } }, "digitalocean:index/getTag:getTag": { - "description": "Get information on a tag. This data source provides the name as configured on\nyour DigitalOcean account. This is useful if the tag name in question is not\nmanaged by the provider or you need validate if the tag exists in the account.\n\nAn error is triggered if the provided tag name does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the tag:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleTag = digitalocean.getTag({\n name: \"example\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n tags: [exampleTag.then(exampleTag =\u003e exampleTag.name)],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_tag = digitalocean.get_tag(name=\"example\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\",\n tags=[example_tag.name])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleTag = DigitalOcean.GetTag.Invoke(new()\n {\n Name = \"example\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n Tags = new[]\n {\n exampleTag.Apply(getTagResult =\u003e getTagResult.Name),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleTag, err := digitalocean.LookupTag(ctx, \u0026digitalocean.LookupTagArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\t*pulumi.String(exampleTag.Name),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetTagArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleTag = DigitaloceanFunctions.getTag(GetTagArgs.builder()\n .name(\"example\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .tags(exampleTag.applyValue(getTagResult -\u003e getTagResult.name()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n tags:\n - ${exampleTag.name}\nvariables:\n exampleTag:\n fn::invoke:\n Function: digitalocean:getTag\n Arguments:\n name: example\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a tag. This data source provides the name as configured on\nyour DigitalOcean account. This is useful if the tag name in question is not\nmanaged by the provider or you need validate if the tag exists in the account.\n\nAn error is triggered if the provided tag name does not exist.\n\n## Example Usage\n\nGet the tag:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleTag = digitalocean.getTag({\n name: \"example\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n image: \"ubuntu-18-04-x64\",\n region: \"nyc2\",\n size: \"s-1vcpu-1gb\",\n tags: [exampleTag.then(exampleTag =\u003e exampleTag.name)],\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_tag = digitalocean.get_tag(name=\"example\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc2\",\n size=\"s-1vcpu-1gb\",\n tags=[example_tag.name])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleTag = DigitalOcean.GetTag.Invoke(new()\n {\n Name = \"example\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc2\",\n Size = \"s-1vcpu-1gb\",\n Tags = new[]\n {\n exampleTag.Apply(getTagResult =\u003e getTagResult.Name),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleTag, err := digitalocean.LookupTag(ctx, \u0026digitalocean.LookupTagArgs{\n\t\t\tName: \"example\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc2\"),\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\t*pulumi.String(exampleTag.Name),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetTagArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleTag = DigitaloceanFunctions.getTag(GetTagArgs.builder()\n .name(\"example\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc2\")\n .size(\"s-1vcpu-1gb\")\n .tags(exampleTag.applyValue(getTagResult -\u003e getTagResult.name()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n image: ubuntu-18-04-x64\n region: nyc2\n size: s-1vcpu-1gb\n tags:\n - ${exampleTag.name}\nvariables:\n exampleTag:\n fn::invoke:\n Function: digitalocean:getTag\n Arguments:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getTag.\n", "properties": { @@ -16217,7 +16217,7 @@ } }, "digitalocean:index/getTags:getTags": { - "description": "Returns a list of tags in your DigitalOcean account, with the ability to\nfilter and sort the results. If no filters are specified, all tags will be\nreturned.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst list = digitalocean.getTags({\n sorts: [{\n key: \"total_resource_count\",\n direction: \"asc\",\n }],\n});\nexport const sortedTags = list.then(list =\u003e list.tags);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nlist = digitalocean.get_tags(sorts=[digitalocean.GetTagsSortArgs(\n key=\"total_resource_count\",\n direction=\"asc\",\n)])\npulumi.export(\"sortedTags\", list.tags)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var list = DigitalOcean.GetTags.Invoke(new()\n {\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetTagsSortInputArgs\n {\n Key = \"total_resource_count\",\n Direction = \"asc\",\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"sortedTags\"] = list.Apply(getTagsResult =\u003e getTagsResult.Tags),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tlist, err := digitalocean.GetTags(ctx, \u0026digitalocean.GetTagsArgs{\n\t\t\tSorts: []digitalocean.GetTagsSort{\n\t\t\t\t{\n\t\t\t\t\tKey: \"total_resource_count\",\n\t\t\t\t\tDirection: pulumi.StringRef(\"asc\"),\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"sortedTags\", list.Tags)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetTagsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder()\n .sorts(GetTagsSortArgs.builder()\n .key(\"total_resource_count\")\n .direction(\"asc\")\n .build())\n .build());\n\n ctx.export(\"sortedTags\", list.applyValue(getTagsResult -\u003e getTagsResult.tags()));\n }\n}\n```\n```yaml\nvariables:\n list:\n fn::invoke:\n Function: digitalocean:getTags\n Arguments:\n sorts:\n - key: total_resource_count\n direction: asc\noutputs:\n sortedTags: ${list.tags}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Returns a list of tags in your DigitalOcean account, with the ability to\nfilter and sort the results. If no filters are specified, all tags will be\nreturned.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst list = digitalocean.getTags({\n sorts: [{\n key: \"total_resource_count\",\n direction: \"asc\",\n }],\n});\nexport const sortedTags = list.then(list =\u003e list.tags);\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nlist = digitalocean.get_tags(sorts=[digitalocean.GetTagsSortArgs(\n key=\"total_resource_count\",\n direction=\"asc\",\n)])\npulumi.export(\"sortedTags\", list.tags)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var list = DigitalOcean.GetTags.Invoke(new()\n {\n Sorts = new[]\n {\n new DigitalOcean.Inputs.GetTagsSortInputArgs\n {\n Key = \"total_resource_count\",\n Direction = \"asc\",\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"sortedTags\"] = list.Apply(getTagsResult =\u003e getTagsResult.Tags),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tlist, err := digitalocean.GetTags(ctx, \u0026digitalocean.GetTagsArgs{\n\t\t\tSorts: []digitalocean.GetTagsSort{\n\t\t\t\t{\n\t\t\t\t\tKey: \"total_resource_count\",\n\t\t\t\t\tDirection: pulumi.StringRef(\"asc\"),\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"sortedTags\", list.Tags)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetTagsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var list = DigitaloceanFunctions.getTags(GetTagsArgs.builder()\n .sorts(GetTagsSortArgs.builder()\n .key(\"total_resource_count\")\n .direction(\"asc\")\n .build())\n .build());\n\n ctx.export(\"sortedTags\", list.applyValue(getTagsResult -\u003e getTagsResult.tags()));\n }\n}\n```\n```yaml\nvariables:\n list:\n fn::invoke:\n Function: digitalocean:getTags\n Arguments:\n sorts:\n - key: total_resource_count\n direction: asc\noutputs:\n sortedTags: ${list.tags}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getTags.\n", "properties": { @@ -16272,7 +16272,7 @@ } }, "digitalocean:index/getVolume:getVolume": { - "description": "Get information on a volume for use in other resources. This data source provides\nall of the volumes properties as configured on your DigitalOcean account. This is\nuseful if the volume in question is not managed by the provider or you need to utilize\nany of the volumes data.\n\nAn error is triggered if the provided volume name does not exist.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the volume:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getVolume({\n name: \"app-data\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_volume(name=\"app-data\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetVolume.Invoke(new()\n {\n Name = \"app-data\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupVolume(ctx, \u0026digitalocean.LookupVolumeArgs{\n\t\t\tName: \"app-data\",\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder()\n .name(\"app-data\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getVolume\n Arguments:\n name: app-data\n region: nyc3\n```\n\nReuse the data about a volume to attach it to a Droplet:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleVolume = digitalocean.getVolume({\n name: \"app-data\",\n region: \"nyc3\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst foobar = new digitalocean.VolumeAttachment(\"foobar\", {\n dropletId: exampleDroplet.id,\n volumeId: exampleVolume.then(exampleVolume =\u003e exampleVolume.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_volume = digitalocean.get_volume(name=\"app-data\",\n region=\"nyc3\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\nfoobar = digitalocean.VolumeAttachment(\"foobar\",\n droplet_id=example_droplet.id,\n volume_id=example_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleVolume = DigitalOcean.GetVolume.Invoke(new()\n {\n Name = \"app-data\",\n Region = \"nyc3\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var foobar = new DigitalOcean.VolumeAttachment(\"foobar\", new()\n {\n DropletId = exampleDroplet.Id,\n VolumeId = exampleVolume.Apply(getVolumeResult =\u003e getVolumeResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleVolume, err := digitalocean.LookupVolume(ctx, \u0026digitalocean.LookupVolumeArgs{\n\t\t\tName: \"app-data\",\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleDroplet, err := digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeAttachment(ctx, \"foobar\", \u0026digitalocean.VolumeAttachmentArgs{\n\t\t\tDropletId: exampleDroplet.ID(),\n\t\t\tVolumeId: *pulumi.String(exampleVolume.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.VolumeAttachment;\nimport com.pulumi.digitalocean.VolumeAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleVolume = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder()\n .name(\"app-data\")\n .region(\"nyc3\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var foobar = new VolumeAttachment(\"foobar\", VolumeAttachmentArgs.builder() \n .dropletId(exampleDroplet.id())\n .volumeId(exampleVolume.applyValue(getVolumeResult -\u003e getVolumeResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n foobar:\n type: digitalocean:VolumeAttachment\n properties:\n dropletId: ${exampleDroplet.id}\n volumeId: ${exampleVolume.id}\nvariables:\n exampleVolume:\n fn::invoke:\n Function: digitalocean:getVolume\n Arguments:\n name: app-data\n region: nyc3\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Get information on a volume for use in other resources. This data source provides\nall of the volumes properties as configured on your DigitalOcean account. This is\nuseful if the volume in question is not managed by the provider or you need to utilize\nany of the volumes data.\n\nAn error is triggered if the provided volume name does not exist.\n\n## Example Usage\n\nGet the volume:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getVolume({\n name: \"app-data\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_volume(name=\"app-data\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetVolume.Invoke(new()\n {\n Name = \"app-data\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupVolume(ctx, \u0026digitalocean.LookupVolumeArgs{\n\t\t\tName: \"app-data\",\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder()\n .name(\"app-data\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getVolume\n Arguments:\n name: app-data\n region: nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nReuse the data about a volume to attach it to a Droplet:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleVolume = digitalocean.getVolume({\n name: \"app-data\",\n region: \"nyc3\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n});\nconst foobar = new digitalocean.VolumeAttachment(\"foobar\", {\n dropletId: exampleDroplet.id,\n volumeId: exampleVolume.then(exampleVolume =\u003e exampleVolume.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_volume = digitalocean.get_volume(name=\"app-data\",\n region=\"nyc3\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\")\nfoobar = digitalocean.VolumeAttachment(\"foobar\",\n droplet_id=example_droplet.id,\n volume_id=example_volume.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleVolume = DigitalOcean.GetVolume.Invoke(new()\n {\n Name = \"app-data\",\n Region = \"nyc3\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n });\n\n var foobar = new DigitalOcean.VolumeAttachment(\"foobar\", new()\n {\n DropletId = exampleDroplet.Id,\n VolumeId = exampleVolume.Apply(getVolumeResult =\u003e getVolumeResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleVolume, err := digitalocean.LookupVolume(ctx, \u0026digitalocean.LookupVolumeArgs{\n\t\t\tName: \"app-data\",\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleDroplet, err := digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolumeAttachment(ctx, \"foobar\", \u0026digitalocean.VolumeAttachmentArgs{\n\t\t\tDropletId: exampleDroplet.ID(),\n\t\t\tVolumeId: *pulumi.String(exampleVolume.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport com.pulumi.digitalocean.VolumeAttachment;\nimport com.pulumi.digitalocean.VolumeAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleVolume = DigitaloceanFunctions.getVolume(GetVolumeArgs.builder()\n .name(\"app-data\")\n .region(\"nyc3\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .build());\n\n var foobar = new VolumeAttachment(\"foobar\", VolumeAttachmentArgs.builder() \n .dropletId(exampleDroplet.id())\n .volumeId(exampleVolume.applyValue(getVolumeResult -\u003e getVolumeResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n foobar:\n type: digitalocean:VolumeAttachment\n properties:\n dropletId: ${exampleDroplet.id}\n volumeId: ${exampleVolume.id}\nvariables:\n exampleVolume:\n fn::invoke:\n Function: digitalocean:getVolume\n Arguments:\n name: app-data\n region: nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVolume.\n", "properties": { @@ -16356,7 +16356,7 @@ } }, "digitalocean:index/getVolumeSnapshot:getVolumeSnapshot": { - "description": "Volume snapshots are saved instances of a block storage volume. Use this data\nsource to retrieve the ID of a DigitalOcean volume snapshot for use in other\nresources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nGet the volume snapshot:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst snapshot = digitalocean.getVolumeSnapshot({\n mostRecent: true,\n nameRegex: \"^web\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsnapshot = digitalocean.get_volume_snapshot(most_recent=True,\n name_regex=\"^web\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var snapshot = DigitalOcean.GetVolumeSnapshot.Invoke(new()\n {\n MostRecent = true,\n NameRegex = \"^web\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupVolumeSnapshot(ctx, \u0026digitalocean.LookupVolumeSnapshotArgs{\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder()\n .mostRecent(true)\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n snapshot:\n fn::invoke:\n Function: digitalocean:getVolumeSnapshot\n Arguments:\n mostRecent: true\n nameRegex: ^web\n region: nyc3\n```\n\nReuse the data about a volume snapshot to create a new volume based on it:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst snapshot = digitalocean.getVolumeSnapshot({\n nameRegex: \"^web\",\n region: \"nyc3\",\n mostRecent: true,\n});\nconst foobar = new digitalocean.Volume(\"foobar\", {\n region: \"nyc3\",\n size: 100,\n snapshotId: snapshot.then(snapshot =\u003e snapshot.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsnapshot = digitalocean.get_volume_snapshot(name_regex=\"^web\",\n region=\"nyc3\",\n most_recent=True)\nfoobar = digitalocean.Volume(\"foobar\",\n region=\"nyc3\",\n size=100,\n snapshot_id=snapshot.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var snapshot = DigitalOcean.GetVolumeSnapshot.Invoke(new()\n {\n NameRegex = \"^web\",\n Region = \"nyc3\",\n MostRecent = true,\n });\n\n var foobar = new DigitalOcean.Volume(\"foobar\", new()\n {\n Region = \"nyc3\",\n Size = 100,\n SnapshotId = snapshot.Apply(getVolumeSnapshotResult =\u003e getVolumeSnapshotResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsnapshot, err := digitalocean.LookupVolumeSnapshot(ctx, \u0026digitalocean.LookupVolumeSnapshotArgs{\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolume(ctx, \"foobar\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tSnapshotId: *pulumi.String(snapshot.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeSnapshotArgs;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder()\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .mostRecent(true)\n .build());\n\n var foobar = new Volume(\"foobar\", VolumeArgs.builder() \n .region(\"nyc3\")\n .size(100)\n .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -\u003e getVolumeSnapshotResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:Volume\n properties:\n region: nyc3\n size: 100\n snapshotId: ${snapshot.id}\nvariables:\n snapshot:\n fn::invoke:\n Function: digitalocean:getVolumeSnapshot\n Arguments:\n nameRegex: ^web\n region: nyc3\n mostRecent: true\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Volume snapshots are saved instances of a block storage volume. Use this data\nsource to retrieve the ID of a DigitalOcean volume snapshot for use in other\nresources.\n\n## Example Usage\n\nGet the volume snapshot:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst snapshot = digitalocean.getVolumeSnapshot({\n mostRecent: true,\n nameRegex: \"^web\",\n region: \"nyc3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsnapshot = digitalocean.get_volume_snapshot(most_recent=True,\n name_regex=\"^web\",\n region=\"nyc3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var snapshot = DigitalOcean.GetVolumeSnapshot.Invoke(new()\n {\n MostRecent = true,\n NameRegex = \"^web\",\n Region = \"nyc3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupVolumeSnapshot(ctx, \u0026digitalocean.LookupVolumeSnapshotArgs{\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeSnapshotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder()\n .mostRecent(true)\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n snapshot:\n fn::invoke:\n Function: digitalocean:getVolumeSnapshot\n Arguments:\n mostRecent: true\n nameRegex: ^web\n region: nyc3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nReuse the data about a volume snapshot to create a new volume based on it:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst snapshot = digitalocean.getVolumeSnapshot({\n nameRegex: \"^web\",\n region: \"nyc3\",\n mostRecent: true,\n});\nconst foobar = new digitalocean.Volume(\"foobar\", {\n region: \"nyc3\",\n size: 100,\n snapshotId: snapshot.then(snapshot =\u003e snapshot.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nsnapshot = digitalocean.get_volume_snapshot(name_regex=\"^web\",\n region=\"nyc3\",\n most_recent=True)\nfoobar = digitalocean.Volume(\"foobar\",\n region=\"nyc3\",\n size=100,\n snapshot_id=snapshot.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var snapshot = DigitalOcean.GetVolumeSnapshot.Invoke(new()\n {\n NameRegex = \"^web\",\n Region = \"nyc3\",\n MostRecent = true,\n });\n\n var foobar = new DigitalOcean.Volume(\"foobar\", new()\n {\n Region = \"nyc3\",\n Size = 100,\n SnapshotId = snapshot.Apply(getVolumeSnapshotResult =\u003e getVolumeSnapshotResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsnapshot, err := digitalocean.LookupVolumeSnapshot(ctx, \u0026digitalocean.LookupVolumeSnapshotArgs{\n\t\t\tNameRegex: pulumi.StringRef(\"^web\"),\n\t\t\tRegion: pulumi.StringRef(\"nyc3\"),\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewVolume(ctx, \"foobar\", \u0026digitalocean.VolumeArgs{\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tSize: pulumi.Int(100),\n\t\t\tSnapshotId: *pulumi.String(snapshot.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVolumeSnapshotArgs;\nimport com.pulumi.digitalocean.Volume;\nimport com.pulumi.digitalocean.VolumeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var snapshot = DigitaloceanFunctions.getVolumeSnapshot(GetVolumeSnapshotArgs.builder()\n .nameRegex(\"^web\")\n .region(\"nyc3\")\n .mostRecent(true)\n .build());\n\n var foobar = new Volume(\"foobar\", VolumeArgs.builder() \n .region(\"nyc3\")\n .size(100)\n .snapshotId(snapshot.applyValue(getVolumeSnapshotResult -\u003e getVolumeSnapshotResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: digitalocean:Volume\n properties:\n region: nyc3\n size: 100\n snapshotId: ${snapshot.id}\nvariables:\n snapshot:\n fn::invoke:\n Function: digitalocean:getVolumeSnapshot\n Arguments:\n nameRegex: ^web\n region: nyc3\n mostRecent: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVolumeSnapshot.\n", "properties": { @@ -16442,7 +16442,7 @@ } }, "digitalocean:index/getVpc:getVpc": { - "description": "Retrieve information about a VPC for use in other resources.\n\nThis data source provides all of the VPC's properties as configured on your\nDigitalOcean account. This is useful if the VPC in question is not managed by\nthe provider or you need to utilize any of the VPC's data.\n\nVPCs may be looked up by `id` or `name`. Specifying a `region` will\nreturn that that region's default VPC.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### VPC By Name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getVpc({\n name: \"example-network\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_vpc(name=\"example-network\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetVpc.Invoke(new()\n {\n Name = \"example-network\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupVpc(ctx, \u0026digitalocean.LookupVpcArgs{\n\t\t\tName: pulumi.StringRef(\"example-network\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder()\n .name(\"example-network\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getVpc\n Arguments:\n name: example-network\n```\n\nReuse the data about a VPC to assign a Droplet to it:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleVpc = digitalocean.getVpc({\n name: \"example-network\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n vpcUuid: exampleVpc.then(exampleVpc =\u003e exampleVpc.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_vpc = digitalocean.get_vpc(name=\"example-network\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n vpc_uuid=example_vpc.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleVpc = DigitalOcean.GetVpc.Invoke(new()\n {\n Name = \"example-network\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n VpcUuid = exampleVpc.Apply(getVpcResult =\u003e getVpcResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleVpc, err := digitalocean.LookupVpc(ctx, \u0026digitalocean.LookupVpcArgs{\n\t\t\tName: pulumi.StringRef(\"example-network\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tVpcUuid: *pulumi.String(exampleVpc.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVpcArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder()\n .name(\"example-network\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .vpcUuid(exampleVpc.applyValue(getVpcResult -\u003e getVpcResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n vpcUuid: ${exampleVpc.id}\nvariables:\n exampleVpc:\n fn::invoke:\n Function: digitalocean:getVpc\n Arguments:\n name: example-network\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Retrieve information about a VPC for use in other resources.\n\nThis data source provides all of the VPC's properties as configured on your\nDigitalOcean account. This is useful if the VPC in question is not managed by\nthe provider or you need to utilize any of the VPC's data.\n\nVPCs may be looked up by `id` or `name`. Specifying a `region` will\nreturn that that region's default VPC.\n\n## Example Usage\n\n### VPC By Name\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst example = digitalocean.getVpc({\n name: \"example-network\",\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample = digitalocean.get_vpc(name=\"example-network\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DigitalOcean.GetVpc.Invoke(new()\n {\n Name = \"example-network\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := digitalocean.LookupVpc(ctx, \u0026digitalocean.LookupVpcArgs{\n\t\t\tName: pulumi.StringRef(\"example-network\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVpcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DigitaloceanFunctions.getVpc(GetVpcArgs.builder()\n .name(\"example-network\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: digitalocean:getVpc\n Arguments:\n name: example-network\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nReuse the data about a VPC to assign a Droplet to it:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as digitalocean from \"@pulumi/digitalocean\";\n\nconst exampleVpc = digitalocean.getVpc({\n name: \"example-network\",\n});\nconst exampleDroplet = new digitalocean.Droplet(\"exampleDroplet\", {\n size: \"s-1vcpu-1gb\",\n image: \"ubuntu-18-04-x64\",\n region: \"nyc3\",\n vpcUuid: exampleVpc.then(exampleVpc =\u003e exampleVpc.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_digitalocean as digitalocean\n\nexample_vpc = digitalocean.get_vpc(name=\"example-network\")\nexample_droplet = digitalocean.Droplet(\"exampleDroplet\",\n size=\"s-1vcpu-1gb\",\n image=\"ubuntu-18-04-x64\",\n region=\"nyc3\",\n vpc_uuid=example_vpc.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DigitalOcean = Pulumi.DigitalOcean;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleVpc = DigitalOcean.GetVpc.Invoke(new()\n {\n Name = \"example-network\",\n });\n\n var exampleDroplet = new DigitalOcean.Droplet(\"exampleDroplet\", new()\n {\n Size = \"s-1vcpu-1gb\",\n Image = \"ubuntu-18-04-x64\",\n Region = \"nyc3\",\n VpcUuid = exampleVpc.Apply(getVpcResult =\u003e getVpcResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleVpc, err := digitalocean.LookupVpc(ctx, \u0026digitalocean.LookupVpcArgs{\n\t\t\tName: pulumi.StringRef(\"example-network\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = digitalocean.NewDroplet(ctx, \"exampleDroplet\", \u0026digitalocean.DropletArgs{\n\t\t\tSize: pulumi.String(\"s-1vcpu-1gb\"),\n\t\t\tImage: pulumi.String(\"ubuntu-18-04-x64\"),\n\t\t\tRegion: pulumi.String(\"nyc3\"),\n\t\t\tVpcUuid: *pulumi.String(exampleVpc.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.digitalocean.DigitaloceanFunctions;\nimport com.pulumi.digitalocean.inputs.GetVpcArgs;\nimport com.pulumi.digitalocean.Droplet;\nimport com.pulumi.digitalocean.DropletArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleVpc = DigitaloceanFunctions.getVpc(GetVpcArgs.builder()\n .name(\"example-network\")\n .build());\n\n var exampleDroplet = new Droplet(\"exampleDroplet\", DropletArgs.builder() \n .size(\"s-1vcpu-1gb\")\n .image(\"ubuntu-18-04-x64\")\n .region(\"nyc3\")\n .vpcUuid(exampleVpc.applyValue(getVpcResult -\u003e getVpcResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleDroplet:\n type: digitalocean:Droplet\n properties:\n size: s-1vcpu-1gb\n image: ubuntu-18-04-x64\n region: nyc3\n vpcUuid: ${exampleVpc.id}\nvariables:\n exampleVpc:\n fn::invoke:\n Function: digitalocean:getVpc\n Arguments:\n name: example-network\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getVpc.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index f2c1f233..f6128fbb 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -4,15 +4,15 @@ go 1.21 require ( github.com/digitalocean/terraform-provider-digitalocean v0.0.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.76.0 - github.com/pulumi/pulumi/pkg/v3 v3.107.0 - github.com/pulumi/pulumi/sdk/v3 v3.107.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 + github.com/pulumi/pulumi/pkg/v3 v3.108.1 + github.com/pulumi/pulumi/sdk/v3 v3.108.1 ) replace ( github.com/digitalocean/terraform-provider-digitalocean => ../upstream github.com/hashicorp/go-getter v1.5.0 => github.com/hashicorp/go-getter v1.4.0 - github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240202163305-e2a20ae13ef9 + github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240229143312-4f60ee4e2975 github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0 ) @@ -35,10 +35,10 @@ require ( github.com/BurntSushi/toml v1.2.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect - github.com/Masterminds/semver/v3 v3.1.1 // indirect - github.com/Masterminds/sprig/v3 v3.2.2 // indirect + github.com/Masterminds/semver/v3 v3.2.0 // indirect + github.com/Masterminds/sprig/v3 v3.2.3 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect + github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect @@ -80,7 +80,7 @@ require ( github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/ettle/strcase v0.1.1 // indirect - github.com/fatih/color v1.15.0 // indirect + github.com/fatih/color v1.16.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect @@ -125,22 +125,22 @@ require ( github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect - github.com/hashicorp/hc-install v0.6.0 // indirect + github.com/hashicorp/hc-install v0.6.3 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.18.0 // indirect + github.com/hashicorp/hcl/v2 v2.19.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-exec v0.19.0 // indirect - github.com/hashicorp/terraform-json v0.17.1 // indirect + github.com/hashicorp/terraform-exec v0.20.0 // indirect + github.com/hashicorp/terraform-json v0.21.0 // indirect github.com/hashicorp/terraform-plugin-go v0.22.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect - github.com/huandu/xstrings v1.3.2 // indirect + github.com/huandu/xstrings v1.3.3 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/imdario/mergo v0.3.15 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect @@ -152,7 +152,7 @@ require ( github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.15 // indirect github.com/mitchellh/cli v1.1.5 // indirect @@ -219,7 +219,7 @@ require ( github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.14.0 // indirect + github.com/zclconf/go-cty v1.14.2 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect @@ -229,14 +229,14 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.36.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.18.0 // indirect + golang.org/x/crypto v0.19.0 // indirect golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect - golang.org/x/mod v0.14.0 // indirect + golang.org/x/mod v0.15.0 // indirect golang.org/x/net v0.20.0 // indirect golang.org/x/oauth2 v0.16.0 // indirect golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/term v0.16.0 // indirect + golang.org/x/sys v0.17.0 // indirect + golang.org/x/term v0.17.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.15.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 01af4fbe..a1b55cc3 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -40,35 +40,75 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= +cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= +cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.6/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.7/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.8/go.mod h1:Iz8AkXJf1qmxC3Oxoep8R1T36w8B92yU29PcBhHO5fk= +cloud.google.com/go v0.110.9/go.mod h1:rpxevX/0Lqvlbc88b7Sc1SPNdyK1riNBTUU6JXhYNpM= +cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM= cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= +cloud.google.com/go/accessapproval v1.7.1/go.mod h1:JYczztsHRMK7NTXb6Xw+dwbs/WnOJxbo/2mTI+Kgg68= +cloud.google.com/go/accessapproval v1.7.2/go.mod h1:/gShiq9/kK/h8T/eEn1BTzalDvk0mZxJlhfw0p+Xuc0= +cloud.google.com/go/accessapproval v1.7.3/go.mod h1:4l8+pwIxGTNqSf4T3ds8nLO94NQf0W/KnMNuQ9PbnP8= +cloud.google.com/go/accessapproval v1.7.4/go.mod h1:/aTEh45LzplQgFYdQdwPMR9YdX0UlhBmvB84uAmQKUc= cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= +cloud.google.com/go/accesscontextmanager v1.8.0/go.mod h1:uI+AI/r1oyWK99NN8cQ3UK76AMelMzgZCvJfsi2c+ps= +cloud.google.com/go/accesscontextmanager v1.8.1/go.mod h1:JFJHfvuaTC+++1iL1coPiG1eu5D24db2wXCDWDjIrxo= +cloud.google.com/go/accesscontextmanager v1.8.2/go.mod h1:E6/SCRM30elQJ2PKtFMs2YhfJpZSNcJyejhuzoId4Zk= +cloud.google.com/go/accesscontextmanager v1.8.3/go.mod h1:4i/JkF2JiFbhLnnpnfoTX5vRXfhf9ukhU1ANOTALTOQ= +cloud.google.com/go/accesscontextmanager v1.8.4/go.mod h1:ParU+WbMpD34s5JFEnGAnPBYAgUHozaTmDJU7aCU9+M= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= +cloud.google.com/go/aiplatform v1.45.0/go.mod h1:Iu2Q7sC7QGhXUeOhAj/oCK9a+ULz1O4AotZiqjQ8MYA= +cloud.google.com/go/aiplatform v1.48.0/go.mod h1:Iu2Q7sC7QGhXUeOhAj/oCK9a+ULz1O4AotZiqjQ8MYA= +cloud.google.com/go/aiplatform v1.50.0/go.mod h1:IRc2b8XAMTa9ZmfJV1BCCQbieWWvDnP1A8znyz5N7y4= +cloud.google.com/go/aiplatform v1.51.0/go.mod h1:IRc2b8XAMTa9ZmfJV1BCCQbieWWvDnP1A8znyz5N7y4= +cloud.google.com/go/aiplatform v1.51.1/go.mod h1:kY3nIMAVQOK2XDqDPHaOuD9e+FdMA6OOpfBjsvaFSOo= +cloud.google.com/go/aiplatform v1.51.2/go.mod h1:hCqVYB3mY45w99TmetEoe8eCQEwZEp9WHxeZdcv9phw= +cloud.google.com/go/aiplatform v1.52.0/go.mod h1:pwZMGvqe0JRkI1GWSZCtnAfrR4K1bv65IHILGA//VEU= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= +cloud.google.com/go/analytics v0.21.2/go.mod h1:U8dcUtmDmjrmUTnnnRnI4m6zKn/yaA5N9RlEkYFHpQo= +cloud.google.com/go/analytics v0.21.3/go.mod h1:U8dcUtmDmjrmUTnnnRnI4m6zKn/yaA5N9RlEkYFHpQo= +cloud.google.com/go/analytics v0.21.4/go.mod h1:zZgNCxLCy8b2rKKVfC1YkC2vTrpfZmeRCySM3aUbskA= +cloud.google.com/go/analytics v0.21.5/go.mod h1:BQtOBHWTlJ96axpPPnw5CvGJ6i3Ve/qX2fTxR8qWyr8= +cloud.google.com/go/analytics v0.21.6/go.mod h1:eiROFQKosh4hMaNhF85Oc9WO97Cpa7RggD40e/RBy8w= cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= +cloud.google.com/go/apigateway v1.6.1/go.mod h1:ufAS3wpbRjqfZrzpvLC2oh0MFlpRJm2E/ts25yyqmXA= +cloud.google.com/go/apigateway v1.6.2/go.mod h1:CwMC90nnZElorCW63P2pAYm25AtQrHfuOkbRSHj0bT8= +cloud.google.com/go/apigateway v1.6.3/go.mod h1:k68PXWpEs6BVDTtnLQAyG606Q3mz8pshItwPXjgv44Y= +cloud.google.com/go/apigateway v1.6.4/go.mod h1:0EpJlVGH5HwAN4VF4Iec8TAzGN1aQgbxAWGJsnPCGGY= cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= +cloud.google.com/go/apigeeconnect v1.6.1/go.mod h1:C4awq7x0JpLtrlQCr8AzVIzAaYgngRqWf9S5Uhg+wWs= +cloud.google.com/go/apigeeconnect v1.6.2/go.mod h1:s6O0CgXT9RgAxlq3DLXvG8riw8PYYbU/v25jqP3Dy18= +cloud.google.com/go/apigeeconnect v1.6.3/go.mod h1:peG0HFQ0si2bN15M6QSjEW/W7Gy3NYkWGz7pFz13cbo= +cloud.google.com/go/apigeeconnect v1.6.4/go.mod h1:CapQCWZ8TCjnU0d7PobxhpOdVz/OVJ2Hr/Zcuu1xFx0= cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= +cloud.google.com/go/apigeeregistry v0.7.1/go.mod h1:1XgyjZye4Mqtw7T9TsY4NW10U7BojBvG4RMD+vRDrIw= +cloud.google.com/go/apigeeregistry v0.7.2/go.mod h1:9CA2B2+TGsPKtfi3F7/1ncCCsL62NXBRfM6iPoGSM+8= +cloud.google.com/go/apigeeregistry v0.8.1/go.mod h1:MW4ig1N4JZQsXmBSwH4rwpgDonocz7FPBSw6XPGHmYw= +cloud.google.com/go/apigeeregistry v0.8.2/go.mod h1:h4v11TDGdeXJDJvImtgK2AFVvMIgGWjSb0HRnBSjcX8= cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= @@ -77,10 +117,18 @@ cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodC cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= +cloud.google.com/go/appengine v1.8.1/go.mod h1:6NJXGLVhZCN9aQ/AEDvmfzKEfoYBlfB80/BHiKVputY= +cloud.google.com/go/appengine v1.8.2/go.mod h1:WMeJV9oZ51pvclqFN2PqHoGnys7rK0rz6s3Mp6yMvDo= +cloud.google.com/go/appengine v1.8.3/go.mod h1:2oUPZ1LVZ5EXi+AF1ihNAF+S8JrzQ3till5m9VQkrsk= +cloud.google.com/go/appengine v1.8.4/go.mod h1:TZ24v+wXBujtkK77CXCpjZbnuTvsFNT41MUaZ28D6vg= cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= +cloud.google.com/go/area120 v0.8.1/go.mod h1:BVfZpGpB7KFVNxPiQBuHkX6Ed0rS51xIgmGyjrAfzsg= +cloud.google.com/go/area120 v0.8.2/go.mod h1:a5qfo+x77SRLXnCynFWPUZhnZGeSgvQ+Y0v1kSItkh4= +cloud.google.com/go/area120 v0.8.3/go.mod h1:5zj6pMzVTH+SVHljdSKC35sriR/CVvQZzG/Icdyriw0= +cloud.google.com/go/area120 v0.8.4/go.mod h1:jfawXjxf29wyBXr48+W+GyX/f8fflxp642D/bb9v68M= cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= @@ -89,6 +137,11 @@ cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1 cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= +cloud.google.com/go/artifactregistry v1.14.1/go.mod h1:nxVdG19jTaSTu7yA7+VbWL346r3rIdkZ142BSQqhn5E= +cloud.google.com/go/artifactregistry v1.14.2/go.mod h1:Xk+QbsKEb0ElmyeMfdHAey41B+qBq3q5R5f5xD4XT3U= +cloud.google.com/go/artifactregistry v1.14.3/go.mod h1:A2/E9GXnsyXl7GUvQ/2CjHA+mVRoWAXC0brg2os+kNI= +cloud.google.com/go/artifactregistry v1.14.4/go.mod h1:SJJcZTMv6ce0LDMUnihCN7WSrI+kBSFV0KIKo8S8aYU= +cloud.google.com/go/artifactregistry v1.14.6/go.mod h1:np9LSFotNWHcjnOgh8UVK0RFPCTUGbO0ve3384xyHfE= cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= @@ -97,27 +150,56 @@ cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAt cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= +cloud.google.com/go/asset v1.14.1/go.mod h1:4bEJ3dnHCqWCDbWJ/6Vn7GVI9LerSi7Rfdi03hd+WTQ= +cloud.google.com/go/asset v1.15.0/go.mod h1:tpKafV6mEut3+vN9ScGvCHXHj7FALFVta+okxFECHcg= +cloud.google.com/go/asset v1.15.1/go.mod h1:yX/amTvFWRpp5rcFq6XbCxzKT8RJUam1UoboE179jU4= +cloud.google.com/go/asset v1.15.2/go.mod h1:B6H5tclkXvXz7PD22qCA2TDxSVQfasa3iDlM89O2NXs= +cloud.google.com/go/asset v1.15.3/go.mod h1:yYLfUD4wL4X589A9tYrv4rFrba0QlDeag0CMcM5ggXU= cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= +cloud.google.com/go/assuredworkloads v1.11.1/go.mod h1:+F04I52Pgn5nmPG36CWFtxmav6+7Q+c5QyJoL18Lry0= +cloud.google.com/go/assuredworkloads v1.11.2/go.mod h1:O1dfr+oZJMlE6mw0Bp0P1KZSlj5SghMBvTpZqIcUAW4= +cloud.google.com/go/assuredworkloads v1.11.3/go.mod h1:vEjfTKYyRUaIeA0bsGJceFV2JKpVRgyG2op3jfa59Zs= +cloud.google.com/go/assuredworkloads v1.11.4/go.mod h1:4pwwGNwy1RP0m+y12ef3Q/8PaiWrIDQ6nD2E8kvWI9U= cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= +cloud.google.com/go/automl v1.13.1/go.mod h1:1aowgAHWYZU27MybSCFiukPO7xnyawv7pt3zK4bheQE= +cloud.google.com/go/automl v1.13.2/go.mod h1:gNY/fUmDEN40sP8amAX3MaXkxcqPIn7F1UIIPZpy4Mg= +cloud.google.com/go/automl v1.13.3/go.mod h1:Y8KwvyAZFOsMAPqUCfNu1AyclbC6ivCUF/MTwORymyY= +cloud.google.com/go/automl v1.13.4/go.mod h1:ULqwX/OLZ4hBVfKQaMtxMSTlPx0GqGbWN8uA/1EqCP8= cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= +cloud.google.com/go/baremetalsolution v1.1.1/go.mod h1:D1AV6xwOksJMV4OSlWHtWuFNZZYujJknMAP4Qa27QIA= +cloud.google.com/go/baremetalsolution v1.2.0/go.mod h1:68wi9AwPYkEWIUT4SvSGS9UJwKzNpshjHsH4lzk8iOw= +cloud.google.com/go/baremetalsolution v1.2.1/go.mod h1:3qKpKIw12RPXStwQXcbhfxVj1dqQGEvcmA+SX/mUR88= +cloud.google.com/go/baremetalsolution v1.2.2/go.mod h1:O5V6Uu1vzVelYahKfwEWRMaS3AbCkeYHy3145s1FkhM= +cloud.google.com/go/baremetalsolution v1.2.3/go.mod h1:/UAQ5xG3faDdy180rCUv47e0jvpp3BFxT+Cl0PFjw5g= cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= +cloud.google.com/go/batch v1.3.1/go.mod h1:VguXeQKXIYaeeIYbuozUmBR13AfL4SJP7IltNPS+A4A= +cloud.google.com/go/batch v1.4.1/go.mod h1:KdBmDD61K0ovcxoRHGrN6GmOBWeAOyCgKD0Mugx4Fkk= +cloud.google.com/go/batch v1.5.0/go.mod h1:KdBmDD61K0ovcxoRHGrN6GmOBWeAOyCgKD0Mugx4Fkk= +cloud.google.com/go/batch v1.5.1/go.mod h1:RpBuIYLkQu8+CWDk3dFD/t/jOCGuUpkpX+Y0n1Xccs8= +cloud.google.com/go/batch v1.6.1/go.mod h1:urdpD13zPe6YOK+6iZs/8/x2VBRofvblLpx0t57vM98= +cloud.google.com/go/batch v1.6.3/go.mod h1:J64gD4vsNSA2O5TtDB5AAux3nJ9iV8U3ilg3JDBYejU= cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= +cloud.google.com/go/beyondcorp v0.6.1/go.mod h1:YhxDWw946SCbmcWo3fAhw3V4XZMSpQ/VYfcKGAEU8/4= +cloud.google.com/go/beyondcorp v1.0.0/go.mod h1:YhxDWw946SCbmcWo3fAhw3V4XZMSpQ/VYfcKGAEU8/4= +cloud.google.com/go/beyondcorp v1.0.1/go.mod h1:zl/rWWAFVeV+kx+X2Javly7o1EIQThU4WlkynffL/lk= +cloud.google.com/go/beyondcorp v1.0.2/go.mod h1:m8cpG7caD+5su+1eZr+TSvF6r21NdLJk4f9u4SP2Ntc= +cloud.google.com/go/beyondcorp v1.0.3/go.mod h1:HcBvnEd7eYr+HGDd5ZbuVmBYX019C6CEXBonXbCVwJo= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -131,38 +213,79 @@ cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/Zur cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= +cloud.google.com/go/bigquery v1.52.0/go.mod h1:3b/iXjRQGU4nKa87cXeg6/gogLjO8C6PmuM8i5Bi/u4= +cloud.google.com/go/bigquery v1.53.0/go.mod h1:3b/iXjRQGU4nKa87cXeg6/gogLjO8C6PmuM8i5Bi/u4= +cloud.google.com/go/bigquery v1.55.0/go.mod h1:9Y5I3PN9kQWuid6183JFhOGOW3GcirA5LpsKCUn+2ec= +cloud.google.com/go/bigquery v1.56.0/go.mod h1:KDcsploXTEY7XT3fDQzMUZlpQLHzE4itubHrnmhUrZA= +cloud.google.com/go/bigquery v1.57.1/go.mod h1:iYzC0tGVWt1jqSzBHqCr3lrRn0u13E8e+AqowBsDgug= cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= +cloud.google.com/go/billing v1.16.0/go.mod h1:y8vx09JSSJG02k5QxbycNRrN7FGZB6F3CAcgum7jvGA= +cloud.google.com/go/billing v1.17.0/go.mod h1:Z9+vZXEq+HwH7bhJkyI4OQcR6TSbeMrjlpEjO2vzY64= +cloud.google.com/go/billing v1.17.1/go.mod h1:Z9+vZXEq+HwH7bhJkyI4OQcR6TSbeMrjlpEjO2vzY64= +cloud.google.com/go/billing v1.17.2/go.mod h1:u/AdV/3wr3xoRBk5xvUzYMS1IawOAPwQMuHgHMdljDg= +cloud.google.com/go/billing v1.17.3/go.mod h1:z83AkoZ7mZwBGT3yTnt6rSGI1OOsHSIi6a5M3mJ8NaU= +cloud.google.com/go/billing v1.17.4/go.mod h1:5DOYQStCxquGprqfuid/7haD7th74kyMBHkjO/OvDtk= cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= +cloud.google.com/go/binaryauthorization v1.6.1/go.mod h1:TKt4pa8xhowwffiBmbrbcxijJRZED4zrqnwZ1lKH51U= +cloud.google.com/go/binaryauthorization v1.7.0/go.mod h1:Zn+S6QqTMn6odcMU1zDZCJxPjU2tZPV1oDl45lWY154= +cloud.google.com/go/binaryauthorization v1.7.1/go.mod h1:GTAyfRWYgcbsP3NJogpV3yeunbUIjx2T9xVeYovtURE= +cloud.google.com/go/binaryauthorization v1.7.2/go.mod h1:kFK5fQtxEp97m92ziy+hbu+uKocka1qRRL8MVJIgjv0= +cloud.google.com/go/binaryauthorization v1.7.3/go.mod h1:VQ/nUGRKhrStlGr+8GMS8f6/vznYLkdK5vaKfdCIpvU= cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= +cloud.google.com/go/certificatemanager v1.7.1/go.mod h1:iW8J3nG6SaRYImIa+wXQ0g8IgoofDFRp5UMzaNk1UqI= +cloud.google.com/go/certificatemanager v1.7.2/go.mod h1:15SYTDQMd00kdoW0+XY5d9e+JbOPjp24AvF48D8BbcQ= +cloud.google.com/go/certificatemanager v1.7.3/go.mod h1:T/sZYuC30PTag0TLo28VedIRIj1KPGcOQzjWAptHa00= +cloud.google.com/go/certificatemanager v1.7.4/go.mod h1:FHAylPe/6IIKuaRmHbjbdLhGhVQ+CWHSD5Jq0k4+cCE= cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= +cloud.google.com/go/channel v1.16.0/go.mod h1:eN/q1PFSl5gyu0dYdmxNXscY/4Fi7ABmeHCJNf/oHmc= +cloud.google.com/go/channel v1.17.0/go.mod h1:RpbhJsGi/lXWAUM1eF4IbQGbsfVlg2o8Iiy2/YLfVT0= +cloud.google.com/go/channel v1.17.1/go.mod h1:xqfzcOZAcP4b/hUDH0GkGg1Sd5to6di1HOJn/pi5uBQ= +cloud.google.com/go/channel v1.17.2/go.mod h1:aT2LhnftnyfQceFql5I/mP8mIbiiJS4lWqgXA815zMk= +cloud.google.com/go/channel v1.17.3/go.mod h1:QcEBuZLGGrUMm7kNj9IbU1ZfmJq2apotsV83hbxX7eE= cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= +cloud.google.com/go/cloudbuild v1.10.1/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= +cloud.google.com/go/cloudbuild v1.13.0/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= +cloud.google.com/go/cloudbuild v1.14.0/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= +cloud.google.com/go/cloudbuild v1.14.1/go.mod h1:K7wGc/3zfvmYWOWwYTgF/d/UVJhS4pu+HAy7PL7mCsU= +cloud.google.com/go/cloudbuild v1.14.2/go.mod h1:Bn6RO0mBYk8Vlrt+8NLrru7WXlQ9/RDWz2uo5KG1/sg= +cloud.google.com/go/cloudbuild v1.14.3/go.mod h1:eIXYWmRt3UtggLnFGx4JvXcMj4kShhVzGndL1LwleEM= cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= +cloud.google.com/go/clouddms v1.6.1/go.mod h1:Ygo1vL52Ov4TBZQquhz5fiw2CQ58gvu+PlS6PVXCpZI= +cloud.google.com/go/clouddms v1.7.0/go.mod h1:MW1dC6SOtI/tPNCciTsXtsGNEM0i0OccykPvv3hiYeM= +cloud.google.com/go/clouddms v1.7.1/go.mod h1:o4SR8U95+P7gZ/TX+YbJxehOCsM+fe6/brlrFquiszk= +cloud.google.com/go/clouddms v1.7.2/go.mod h1:Rk32TmWmHo64XqDvW7jgkFQet1tUKNVzs7oajtJT3jU= +cloud.google.com/go/clouddms v1.7.3/go.mod h1:fkN2HQQNUYInAU3NQ3vRLkV2iWs8lIdmBKOx4nrL6Hc= cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= +cloud.google.com/go/cloudtasks v1.11.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8oHwpmFsKspEvM= +cloud.google.com/go/cloudtasks v1.12.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8oHwpmFsKspEvM= +cloud.google.com/go/cloudtasks v1.12.2/go.mod h1:A7nYkjNlW2gUoROg1kvJrQGhJP/38UaWwsnuBDOBVUk= +cloud.google.com/go/cloudtasks v1.12.3/go.mod h1:GPVXhIOSGEaR+3xT4Fp72ScI+HjHffSS4B8+BaBB5Ys= +cloud.google.com/go/cloudtasks v1.12.4/go.mod h1:BEPu0Gtt2dU6FxZHNqqNdGqIG86qyWKBPGnsb7udGY0= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= @@ -178,6 +301,12 @@ cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63 cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= +cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= +cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.21.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.1/go.mod h1:CqB3xpmPKKt3OJpW2ndFIXnA9A4xAy/F3Xp1ixncW78= +cloud.google.com/go/compute v1.23.2/go.mod h1:JJ0atRC0J/oWYiiVBmsSsrRnh92DhZPG4hFDcR04Rns= cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= @@ -188,15 +317,32 @@ cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2Aawl cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= +cloud.google.com/go/contactcenterinsights v1.9.1/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= +cloud.google.com/go/contactcenterinsights v1.10.0/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= +cloud.google.com/go/contactcenterinsights v1.11.0/go.mod h1:hutBdImE4XNZ1NV4vbPJKSFOnQruhC5Lj9bZqWMTKiU= +cloud.google.com/go/contactcenterinsights v1.11.1/go.mod h1:FeNP3Kg8iteKM80lMwSk3zZZKVxr+PGnAId6soKuXwE= +cloud.google.com/go/contactcenterinsights v1.11.2/go.mod h1:A9PIR5ov5cRcd28KlDbmmXE8Aay+Gccer2h4wzkYFso= +cloud.google.com/go/contactcenterinsights v1.11.3/go.mod h1:HHX5wrz5LHVAwfI2smIotQG9x8Qd6gYilaHcLLLmNis= cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= +cloud.google.com/go/container v1.22.1/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= +cloud.google.com/go/container v1.24.0/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= +cloud.google.com/go/container v1.26.0/go.mod h1:YJCmRet6+6jnYYRS000T6k0D0xUXQgBSaJ7VwI8FBj4= +cloud.google.com/go/container v1.26.1/go.mod h1:5smONjPRUxeEpDG7bMKWfDL4sauswqEtnBK1/KKpR04= +cloud.google.com/go/container v1.26.2/go.mod h1:YlO84xCt5xupVbLaMY4s3XNE79MUJ+49VmkInr6HvF4= +cloud.google.com/go/container v1.27.1/go.mod h1:b1A1gJeTBXVLQ6GGw9/9M4FG94BEGsqJ5+t4d/3N7O4= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= +cloud.google.com/go/containeranalysis v0.10.1/go.mod h1:Ya2jiILITMY68ZLPaogjmOMNkwsDrWBSTyBubGXO7j0= +cloud.google.com/go/containeranalysis v0.11.0/go.mod h1:4n2e99ZwpGxpNcz+YsFT1dfOHPQFGcAC8FN2M2/ne/U= +cloud.google.com/go/containeranalysis v0.11.1/go.mod h1:rYlUOM7nem1OJMKwE1SadufX0JP3wnXj844EtZAwWLY= +cloud.google.com/go/containeranalysis v0.11.2/go.mod h1:xibioGBC1MD2j4reTyV1xY1/MvKaz+fyM9ENWhmIeP8= +cloud.google.com/go/containeranalysis v0.11.3/go.mod h1:kMeST7yWFQMGjiG9K7Eov+fPNQcGhb8mXj/UcTiWw9U= cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= @@ -205,44 +351,98 @@ cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOX cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= +cloud.google.com/go/datacatalog v1.14.0/go.mod h1:h0PrGtlihoutNMp/uvwhawLQ9+c63Kz65UFqh49Yo+E= +cloud.google.com/go/datacatalog v1.14.1/go.mod h1:d2CevwTG4yedZilwe+v3E3ZBDRMobQfSG/a6cCCN5R4= +cloud.google.com/go/datacatalog v1.16.0/go.mod h1:d2CevwTG4yedZilwe+v3E3ZBDRMobQfSG/a6cCCN5R4= +cloud.google.com/go/datacatalog v1.17.1/go.mod h1:nCSYFHgtxh2MiEktWIz71s/X+7ds/UT9kp0PC7waCzE= +cloud.google.com/go/datacatalog v1.18.0/go.mod h1:nCSYFHgtxh2MiEktWIz71s/X+7ds/UT9kp0PC7waCzE= +cloud.google.com/go/datacatalog v1.18.1/go.mod h1:TzAWaz+ON1tkNr4MOcak8EBHX7wIRX/gZKM+yTVsv+A= +cloud.google.com/go/datacatalog v1.18.2/go.mod h1:SPVgWW2WEMuWHA+fHodYjmxPiMqcOiWfhc9OD5msigk= +cloud.google.com/go/datacatalog v1.18.3/go.mod h1:5FR6ZIF8RZrtml0VUao22FxhdjkoG+a0866rEnObryM= cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= +cloud.google.com/go/dataflow v0.9.1/go.mod h1:Wp7s32QjYuQDWqJPFFlnBKhkAtiFpMTdg00qGbnIHVw= +cloud.google.com/go/dataflow v0.9.2/go.mod h1:vBfdBZ/ejlTaYIGB3zB4T08UshH70vbtZeMD+urnUSo= +cloud.google.com/go/dataflow v0.9.3/go.mod h1:HI4kMVjcHGTs3jTHW/kv3501YW+eloiJSLxkJa/vqFE= +cloud.google.com/go/dataflow v0.9.4/go.mod h1:4G8vAkHYCSzU8b/kmsoR2lWyHJD85oMJPHMtan40K8w= cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= +cloud.google.com/go/dataform v0.8.1/go.mod h1:3BhPSiw8xmppbgzeBbmDvmSWlwouuJkXsXsb8UBih9M= +cloud.google.com/go/dataform v0.8.2/go.mod h1:X9RIqDs6NbGPLR80tnYoPNiO1w0wenKTb8PxxlhTMKM= +cloud.google.com/go/dataform v0.8.3/go.mod h1:8nI/tvv5Fso0drO3pEjtowz58lodx8MVkdV2q0aPlqg= +cloud.google.com/go/dataform v0.9.1/go.mod h1:pWTg+zGQ7i16pyn0bS1ruqIE91SdL2FDMvEYu/8oQxs= cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= +cloud.google.com/go/datafusion v1.7.1/go.mod h1:KpoTBbFmoToDExJUso/fcCiguGDk7MEzOWXUsJo0wsI= +cloud.google.com/go/datafusion v1.7.2/go.mod h1:62K2NEC6DRlpNmI43WHMWf9Vg/YvN6QVi8EVwifElI0= +cloud.google.com/go/datafusion v1.7.3/go.mod h1:eoLt1uFXKGBq48jy9LZ+Is8EAVLnmn50lNncLzwYokE= +cloud.google.com/go/datafusion v1.7.4/go.mod h1:BBs78WTOLYkT4GVZIXQCZT3GFpkpDN4aBY4NDX/jVlM= cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= +cloud.google.com/go/datalabeling v0.8.1/go.mod h1:XS62LBSVPbYR54GfYQsPXZjTW8UxCK2fkDciSrpRFdY= +cloud.google.com/go/datalabeling v0.8.2/go.mod h1:cyDvGHuJWu9U/cLDA7d8sb9a0tWLEletStu2sTmg3BE= +cloud.google.com/go/datalabeling v0.8.3/go.mod h1:tvPhpGyS/V7lqjmb3V0TaDdGvhzgR1JoW7G2bpi2UTI= +cloud.google.com/go/datalabeling v0.8.4/go.mod h1:Z1z3E6LHtffBGrNUkKwbwbDxTiXEApLzIgmymj8A3S8= cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= +cloud.google.com/go/dataplex v1.8.1/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= +cloud.google.com/go/dataplex v1.9.0/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= +cloud.google.com/go/dataplex v1.9.1/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= +cloud.google.com/go/dataplex v1.10.1/go.mod h1:1MzmBv8FvjYfc7vDdxhnLFNskikkB+3vl475/XdCDhs= +cloud.google.com/go/dataplex v1.10.2/go.mod h1:xdC8URdTrCrZMW6keY779ZT1cTOfV8KEPNsw+LTRT1Y= +cloud.google.com/go/dataplex v1.11.1/go.mod h1:mHJYQQ2VEJHsyoC0OdNyy988DvEbPhqFs5OOLffLX0c= cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= +cloud.google.com/go/dataproc/v2 v2.0.1/go.mod h1:7Ez3KRHdFGcfY7GcevBbvozX+zyWGcwLJvvAMwCaoZ4= +cloud.google.com/go/dataproc/v2 v2.2.0/go.mod h1:lZR7AQtwZPvmINx5J87DSOOpTfof9LVZju6/Qo4lmcY= +cloud.google.com/go/dataproc/v2 v2.2.1/go.mod h1:QdAJLaBjh+l4PVlVZcmrmhGccosY/omC1qwfQ61Zv/o= +cloud.google.com/go/dataproc/v2 v2.2.2/go.mod h1:aocQywVmQVF4i8CL740rNI/ZRpsaaC1Wh2++BJ7HEJ4= +cloud.google.com/go/dataproc/v2 v2.2.3/go.mod h1:G5R6GBc9r36SXv/RtZIVfB8SipI+xVn0bX5SxUzVYbY= cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= +cloud.google.com/go/dataqna v0.8.1/go.mod h1:zxZM0Bl6liMePWsHA8RMGAfmTG34vJMapbHAxQ5+WA8= +cloud.google.com/go/dataqna v0.8.2/go.mod h1:KNEqgx8TTmUipnQsScOoDpq/VlXVptUqVMZnt30WAPs= +cloud.google.com/go/dataqna v0.8.3/go.mod h1:wXNBW2uvc9e7Gl5k8adyAMnLush1KVV6lZUhB+rqNu4= +cloud.google.com/go/dataqna v0.8.4/go.mod h1:mySRKjKg5Lz784P6sCov3p1QD+RZQONRMRjzGNcFd0c= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= +cloud.google.com/go/datastore v1.12.0/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= +cloud.google.com/go/datastore v1.12.1/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= +cloud.google.com/go/datastore v1.13.0/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= +cloud.google.com/go/datastore v1.14.0/go.mod h1:GAeStMBIt9bPS7jMJA85kgkpsMkvseWWXiaHya9Jes8= +cloud.google.com/go/datastore v1.15.0/go.mod h1:GAeStMBIt9bPS7jMJA85kgkpsMkvseWWXiaHya9Jes8= cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= +cloud.google.com/go/datastream v1.9.1/go.mod h1:hqnmr8kdUBmrnk65k5wNRoHSCYksvpdZIcZIEl8h43Q= +cloud.google.com/go/datastream v1.10.0/go.mod h1:hqnmr8kdUBmrnk65k5wNRoHSCYksvpdZIcZIEl8h43Q= +cloud.google.com/go/datastream v1.10.1/go.mod h1:7ngSYwnw95YFyTd5tOGBxHlOZiL+OtpjheqU7t2/s/c= +cloud.google.com/go/datastream v1.10.2/go.mod h1:W42TFgKAs/om6x/CdXX5E4oiAsKlH+e8MTGy81zdYt0= +cloud.google.com/go/datastream v1.10.3/go.mod h1:YR0USzgjhqA/Id0Ycu1VvZe8hEWwrkjuXrGbzeDOSEA= cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= +cloud.google.com/go/deploy v1.11.0/go.mod h1:tKuSUV5pXbn67KiubiUNUejqLs4f5cxxiCNCeyl0F2g= +cloud.google.com/go/deploy v1.13.0/go.mod h1:tKuSUV5pXbn67KiubiUNUejqLs4f5cxxiCNCeyl0F2g= +cloud.google.com/go/deploy v1.13.1/go.mod h1:8jeadyLkH9qu9xgO3hVWw8jVr29N1mnW42gRJT8GY6g= +cloud.google.com/go/deploy v1.14.1/go.mod h1:N8S0b+aIHSEeSr5ORVoC0+/mOPUysVt8ae4QkZYolAw= +cloud.google.com/go/deploy v1.14.2/go.mod h1:e5XOUI5D+YGldyLNZ21wbp9S8otJbBE4i88PtO9x/2g= cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= @@ -251,37 +451,80 @@ cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFM cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= +cloud.google.com/go/dialogflow v1.38.0/go.mod h1:L7jnH+JL2mtmdChzAIcXQHXMvQkE3U4hTaNltEuxXn4= +cloud.google.com/go/dialogflow v1.40.0/go.mod h1:L7jnH+JL2mtmdChzAIcXQHXMvQkE3U4hTaNltEuxXn4= +cloud.google.com/go/dialogflow v1.43.0/go.mod h1:pDUJdi4elL0MFmt1REMvFkdsUTYSHq+rTCS8wg0S3+M= +cloud.google.com/go/dialogflow v1.44.0/go.mod h1:pDUJdi4elL0MFmt1REMvFkdsUTYSHq+rTCS8wg0S3+M= +cloud.google.com/go/dialogflow v1.44.1/go.mod h1:n/h+/N2ouKOO+rbe/ZnI186xImpqvCVj2DdsWS/0EAk= +cloud.google.com/go/dialogflow v1.44.2/go.mod h1:QzFYndeJhpVPElnFkUXxdlptx0wPnBWLCBT9BvtC3/c= +cloud.google.com/go/dialogflow v1.44.3/go.mod h1:mHly4vU7cPXVweuB5R0zsYKPMzy240aQdAu06SqBbAQ= cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= +cloud.google.com/go/dlp v1.10.1/go.mod h1:IM8BWz1iJd8njcNcG0+Kyd9OPnqnRNkDV8j42VT5KOI= +cloud.google.com/go/dlp v1.10.2/go.mod h1:ZbdKIhcnyhILgccwVDzkwqybthh7+MplGC3kZVZsIOQ= +cloud.google.com/go/dlp v1.10.3/go.mod h1:iUaTc/ln8I+QT6Ai5vmuwfw8fqTk2kaz0FvCwhLCom0= +cloud.google.com/go/dlp v1.11.1/go.mod h1:/PA2EnioBeXTL/0hInwgj0rfsQb3lpE3R8XUJxqUNKI= cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= +cloud.google.com/go/documentai v1.20.0/go.mod h1:yJkInoMcK0qNAEdRnqY/D5asy73tnPe88I1YTZT+a8E= +cloud.google.com/go/documentai v1.22.0/go.mod h1:yJkInoMcK0qNAEdRnqY/D5asy73tnPe88I1YTZT+a8E= +cloud.google.com/go/documentai v1.22.1/go.mod h1:LKs22aDHbJv7ufXuPypzRO7rG3ALLJxzdCXDPutw4Qc= +cloud.google.com/go/documentai v1.23.0/go.mod h1:LKs22aDHbJv7ufXuPypzRO7rG3ALLJxzdCXDPutw4Qc= +cloud.google.com/go/documentai v1.23.2/go.mod h1:Q/wcRT+qnuXOpjAkvOV4A+IeQl04q2/ReT7SSbytLSo= +cloud.google.com/go/documentai v1.23.4/go.mod h1:4MYAaEMnADPN1LPN5xboDR5QVB6AgsaxgFdJhitlE2Y= +cloud.google.com/go/documentai v1.23.5/go.mod h1:ghzBsyVTiVdkfKaUCum/9bGBEyBjDO4GfooEcYKhN+g= cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= +cloud.google.com/go/domains v0.9.1/go.mod h1:aOp1c0MbejQQ2Pjf1iJvnVyT+z6R6s8pX66KaCSDYfE= +cloud.google.com/go/domains v0.9.2/go.mod h1:3YvXGYzZG1Temjbk7EyGCuGGiXHJwVNmwIf+E/cUp5I= +cloud.google.com/go/domains v0.9.3/go.mod h1:29k66YNDLDY9LCFKpGFeh6Nj9r62ZKm5EsUJxAl84KU= +cloud.google.com/go/domains v0.9.4/go.mod h1:27jmJGShuXYdUNjyDG0SodTfT5RwLi7xmH334Gvi3fY= cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= +cloud.google.com/go/edgecontainer v1.1.1/go.mod h1:O5bYcS//7MELQZs3+7mabRqoWQhXCzenBu0R8bz2rwk= +cloud.google.com/go/edgecontainer v1.1.2/go.mod h1:wQRjIzqxEs9e9wrtle4hQPSR1Y51kqN75dgF7UllZZ4= +cloud.google.com/go/edgecontainer v1.1.3/go.mod h1:Ll2DtIABzEfaxaVSbwj3QHFaOOovlDFiWVDu349jSsA= +cloud.google.com/go/edgecontainer v1.1.4/go.mod h1:AvFdVuZuVGdgaE5YvlL1faAoa1ndRR/5XhXZvPBHbsE= cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= +cloud.google.com/go/essentialcontacts v1.6.2/go.mod h1:T2tB6tX+TRak7i88Fb2N9Ok3PvY3UNbUsMag9/BARh4= +cloud.google.com/go/essentialcontacts v1.6.3/go.mod h1:yiPCD7f2TkP82oJEFXFTou8Jl8L6LBRPeBEkTaO0Ggo= +cloud.google.com/go/essentialcontacts v1.6.4/go.mod h1:iju5Vy3d9tJUg0PYMd1nHhjV7xoCXaOAVabrwLaPBEM= +cloud.google.com/go/essentialcontacts v1.6.5/go.mod h1:jjYbPzw0x+yglXC890l6ECJWdYeZ5dlYACTFL0U/VuM= cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= +cloud.google.com/go/eventarc v1.12.1/go.mod h1:mAFCW6lukH5+IZjkvrEss+jmt2kOdYlN8aMx3sRJiAI= +cloud.google.com/go/eventarc v1.13.0/go.mod h1:mAFCW6lukH5+IZjkvrEss+jmt2kOdYlN8aMx3sRJiAI= +cloud.google.com/go/eventarc v1.13.1/go.mod h1:EqBxmGHFrruIara4FUQ3RHlgfCn7yo1HYsu2Hpt/C3Y= +cloud.google.com/go/eventarc v1.13.2/go.mod h1:X9A80ShVu19fb4e5sc/OLV7mpFUKZMwfJFeeWhcIObM= +cloud.google.com/go/eventarc v1.13.3/go.mod h1:RWH10IAZIRcj1s/vClXkBgMHwh59ts7hSWcqD3kaclg= cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= +cloud.google.com/go/filestore v1.7.1/go.mod h1:y10jsorq40JJnjR/lQ8AfFbbcGlw3g+Dp8oN7i7FjV4= +cloud.google.com/go/filestore v1.7.2/go.mod h1:TYOlyJs25f/omgj+vY7/tIG/E7BX369triSPzE4LdgE= +cloud.google.com/go/filestore v1.7.3/go.mod h1:Qp8WaEERR3cSkxToxFPHh/b8AACkSut+4qlCjAmKTV0= +cloud.google.com/go/filestore v1.7.4/go.mod h1:S5JCxIbFjeBhWMTfIYH2Jx24J6BqjwpkkPl+nBA5DlI= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= +cloud.google.com/go/firestore v1.11.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay3/DBsIGKKy4= +cloud.google.com/go/firestore v1.12.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay3/DBsIGKKy4= +cloud.google.com/go/firestore v1.13.0/go.mod h1:QojqqOh8IntInDUSTAh0c8ZsPYAr68Ma8c5DWOy8xb8= +cloud.google.com/go/firestore v1.14.0/go.mod h1:96MVaHLsEhbvkBEdZgfN+AS/GIkco1LRpH9Xp9YZfzQ= cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= @@ -289,28 +532,56 @@ cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5Uwt cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= +cloud.google.com/go/functions v1.15.1/go.mod h1:P5yNWUTkyU+LvW/S9O6V+V423VZooALQlqoXdoPz5AE= +cloud.google.com/go/functions v1.15.2/go.mod h1:CHAjtcR6OU4XF2HuiVeriEdELNcnvRZSk1Q8RMqy4lE= +cloud.google.com/go/functions v1.15.3/go.mod h1:r/AMHwBheapkkySEhiZYLDBwVJCdlRwsm4ieJu35/Ug= +cloud.google.com/go/functions v1.15.4/go.mod h1:CAsTc3VlRMVvx+XqXxKqVevguqJpnVip4DdonFsX28I= cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= +cloud.google.com/go/gaming v1.10.1/go.mod h1:XQQvtfP8Rb9Rxnxm5wFVpAp9zCQkJi2bLIb7iHGwB3s= cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= +cloud.google.com/go/gkebackup v1.3.0/go.mod h1:vUDOu++N0U5qs4IhG1pcOnD1Mac79xWy6GoBFlWCWBU= +cloud.google.com/go/gkebackup v1.3.1/go.mod h1:vUDOu++N0U5qs4IhG1pcOnD1Mac79xWy6GoBFlWCWBU= +cloud.google.com/go/gkebackup v1.3.2/go.mod h1:OMZbXzEJloyXMC7gqdSB+EOEQ1AKcpGYvO3s1ec5ixk= +cloud.google.com/go/gkebackup v1.3.3/go.mod h1:eMk7/wVV5P22KBakhQnJxWSVftL1p4VBFLpv0kIft7I= +cloud.google.com/go/gkebackup v1.3.4/go.mod h1:gLVlbM8h/nHIs09ns1qx3q3eaXcGSELgNu1DWXYz1HI= cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= +cloud.google.com/go/gkeconnect v0.8.1/go.mod h1:KWiK1g9sDLZqhxB2xEuPV8V9NYzrqTUmQR9shJHpOZw= +cloud.google.com/go/gkeconnect v0.8.2/go.mod h1:6nAVhwchBJYgQCXD2pHBFQNiJNyAd/wyxljpaa6ZPrY= +cloud.google.com/go/gkeconnect v0.8.3/go.mod h1:i9GDTrfzBSUZGCe98qSu1B8YB8qfapT57PenIb820Jo= +cloud.google.com/go/gkeconnect v0.8.4/go.mod h1:84hZz4UMlDCKl8ifVW8layK4WHlMAFeq8vbzjU0yJkw= cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= +cloud.google.com/go/gkehub v0.14.1/go.mod h1:VEXKIJZ2avzrbd7u+zeMtW00Y8ddk/4V9511C9CQGTY= +cloud.google.com/go/gkehub v0.14.2/go.mod h1:iyjYH23XzAxSdhrbmfoQdePnlMj2EWcvnR+tHdBQsCY= +cloud.google.com/go/gkehub v0.14.3/go.mod h1:jAl6WafkHHW18qgq7kqcrXYzN08hXeK/Va3utN8VKg8= +cloud.google.com/go/gkehub v0.14.4/go.mod h1:Xispfu2MqnnFt8rV/2/3o73SK1snL8s9dYJ9G2oQMfc= cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= +cloud.google.com/go/gkemulticloud v0.6.1/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= +cloud.google.com/go/gkemulticloud v1.0.0/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= +cloud.google.com/go/gkemulticloud v1.0.1/go.mod h1:AcrGoin6VLKT/fwZEYuqvVominLriQBCKmbjtnbMjG8= +cloud.google.com/go/gkemulticloud v1.0.2/go.mod h1:+ee5VXxKb3H1l4LZAcgWB/rvI16VTNTrInWxDjAGsGo= +cloud.google.com/go/gkemulticloud v1.0.3/go.mod h1:7NpJBN94U6DY1xHIbsDqB2+TFZUfjLUKLjUX8NGLor0= cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= +cloud.google.com/go/grafeas v0.3.0/go.mod h1:P7hgN24EyONOTMyeJH6DxG4zD7fwiYa5Q6GUgyFSOU8= cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= +cloud.google.com/go/gsuiteaddons v1.6.1/go.mod h1:CodrdOqRZcLp5WOwejHWYBjZvfY0kOphkAKpF/3qdZY= +cloud.google.com/go/gsuiteaddons v1.6.2/go.mod h1:K65m9XSgs8hTF3X9nNTPi8IQueljSdYo9F+Mi+s4MyU= +cloud.google.com/go/gsuiteaddons v1.6.3/go.mod h1:sCFJkZoMrLZT3JTb8uJqgKPNshH2tfXeCwTFRebTq48= +cloud.google.com/go/gsuiteaddons v1.6.4/go.mod h1:rxtstw7Fx22uLOXBpsvb9DUbC+fiXs7rF4U29KHM/pE= cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= @@ -320,6 +591,12 @@ cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGE cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= +cloud.google.com/go/iam v1.0.1/go.mod h1:yR3tmSL8BcZB4bxByRv2jkSIahVmCtfKZwLYGBalRE8= +cloud.google.com/go/iam v1.1.0/go.mod h1:nxdHjaKfCr7fNYx/HJMM8LgiMugmveWlkatear5gVyk= +cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.2/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.3/go.mod h1:3khUlaBXfPKKe7huYgEpDn6FtgRyMEqbkvBxrQyY5SE= +cloud.google.com/go/iam v1.1.4/go.mod h1:l/rg8l1AaA+VFMho/HYx2Vv6xinPSLMF8qfhRPIZ0L8= cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= @@ -327,13 +604,26 @@ cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/ cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= +cloud.google.com/go/iap v1.8.1/go.mod h1:sJCbeqg3mvWLqjZNsI6dfAtbbV1DL2Rl7e1mTyXYREQ= +cloud.google.com/go/iap v1.9.0/go.mod h1:01OFxd1R+NFrg78S+hoPV5PxEzv22HXaNqUUlmNHFuY= +cloud.google.com/go/iap v1.9.1/go.mod h1:SIAkY7cGMLohLSdBR25BuIxO+I4fXJiL06IBL7cy/5Q= +cloud.google.com/go/iap v1.9.2/go.mod h1:GwDTOs047PPSnwRD0Us5FKf4WDRcVvHg1q9WVkKBhdI= +cloud.google.com/go/iap v1.9.3/go.mod h1:DTdutSZBqkkOm2HEOTBzhZxh2mwwxshfD/h3yofAiCw= cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= +cloud.google.com/go/ids v1.4.1/go.mod h1:np41ed8YMU8zOgv53MMMoCntLTn2lF+SUzlM+O3u/jw= +cloud.google.com/go/ids v1.4.2/go.mod h1:3vw8DX6YddRu9BncxuzMyWn0g8+ooUjI2gslJ7FH3vk= +cloud.google.com/go/ids v1.4.3/go.mod h1:9CXPqI3GedjmkjbMWCUhMZ2P2N7TUMzAkVXYEH2orYU= +cloud.google.com/go/ids v1.4.4/go.mod h1:z+WUc2eEl6S/1aZWzwtVNWoSZslgzPxAboS0lZX0HjI= cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= +cloud.google.com/go/iot v1.7.1/go.mod h1:46Mgw7ev1k9KqK1ao0ayW9h0lI+3hxeanz+L1zmbbbk= +cloud.google.com/go/iot v1.7.2/go.mod h1:q+0P5zr1wRFpw7/MOgDXrG/HVA+l+cSwdObffkrpnSg= +cloud.google.com/go/iot v1.7.3/go.mod h1:t8itFchkol4VgNbHnIq9lXoOOtHNR3uAACQMYbN9N4I= +cloud.google.com/go/iot v1.7.4/go.mod h1:3TWqDVvsddYBG++nHSZmluoCAVGr1hAcabbWZNKEZLk= cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= @@ -341,6 +631,12 @@ cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4 cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= +cloud.google.com/go/kms v1.11.0/go.mod h1:hwdiYC0xjnWsKQQCQQmIQnS9asjYVSK6jtXm+zFqXLM= +cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= +cloud.google.com/go/kms v1.15.0/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= +cloud.google.com/go/kms v1.15.2/go.mod h1:3hopT4+7ooWRCjc2DxgnpESFxhIraaI2IpAVUEhbT/w= +cloud.google.com/go/kms v1.15.3/go.mod h1:AJdXqHxS2GlPyduM99s9iGqi2nwbviBbhV/hdmt4iOQ= +cloud.google.com/go/kms v1.15.4/go.mod h1:L3Sdj6QTHK8dfwK5D1JLsAyELsNMnd3tAIwGS4ltKpc= cloud.google.com/go/kms v1.15.5 h1:pj1sRfut2eRbD9pFRjNnPNg/CzJPuQAzUujMIM1vVeM= cloud.google.com/go/kms v1.15.5/go.mod h1:cU2H5jnp6G2TDpUGZyqTCoy1n16fbubHZjmVXSMtwDI= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= @@ -348,92 +644,193 @@ cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQn cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= +cloud.google.com/go/language v1.10.1/go.mod h1:CPp94nsdVNiQEt1CNjF5WkTcisLiHPyIbMhvR8H2AW0= +cloud.google.com/go/language v1.11.0/go.mod h1:uDx+pFDdAKTY8ehpWbiXyQdz8tDSYLJbQcXsCkjYyvQ= +cloud.google.com/go/language v1.11.1/go.mod h1:Xyid9MG9WOX3utvDbpX7j3tXDmmDooMyMDqgUVpH17U= +cloud.google.com/go/language v1.12.1/go.mod h1:zQhalE2QlQIxbKIZt54IASBzmZpN/aDASea5zl1l+J4= +cloud.google.com/go/language v1.12.2/go.mod h1:9idWapzr/JKXBBQ4lWqVX/hcadxB194ry20m/bTrhWc= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= +cloud.google.com/go/lifesciences v0.9.1/go.mod h1:hACAOd1fFbCGLr/+weUKRAJas82Y4vrL3O5326N//Wc= +cloud.google.com/go/lifesciences v0.9.2/go.mod h1:QHEOO4tDzcSAzeJg7s2qwnLM2ji8IRpQl4p6m5Z9yTA= +cloud.google.com/go/lifesciences v0.9.3/go.mod h1:gNGBOJV80IWZdkd+xz4GQj4mbqaz737SCLHn2aRhQKM= +cloud.google.com/go/lifesciences v0.9.4/go.mod h1:bhm64duKhMi7s9jR9WYJYvjAFJwRqNj+Nia7hF0Z7JA= cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= +cloud.google.com/go/logging v1.8.1/go.mod h1:TJjR+SimHwuC8MZ9cjByQulAMgni+RkXeI3wwctHJEI= cloud.google.com/go/logging v1.9.0 h1:iEIOXFO9EmSiTjDmfpbRjOxECO7R8C7b8IXUGOj7xZw= cloud.google.com/go/logging v1.9.0/go.mod h1:1Io0vnZv4onoUnsVUQY3HZ3Igb1nBchky0A0y7BBBhE= cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= +cloud.google.com/go/longrunning v0.4.2/go.mod h1:OHrnaYyLUV6oqwh0xiS7e5sLQhP1m0QU9R+WhGDMgIQ= +cloud.google.com/go/longrunning v0.5.0/go.mod h1:0JNuqRShmscVAhIACGtskSAWtqtOoPkwP0YF1oVEchc= +cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= +cloud.google.com/go/longrunning v0.5.2/go.mod h1:nqo6DQbNV2pXhGDbDMoN2bWz68MjZUzqv2YttZiveCs= +cloud.google.com/go/longrunning v0.5.3/go.mod h1:y/0ga59EYu58J6SHmmQOvekvND2qODbu8ywBBW7EK7Y= cloud.google.com/go/longrunning v0.5.4 h1:w8xEcbZodnA2BbW6sVirkkoC+1gP8wS57EUUgGS0GVg= cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= +cloud.google.com/go/managedidentities v1.6.1/go.mod h1:h/irGhTN2SkZ64F43tfGPMbHnypMbu4RB3yl8YcuEak= +cloud.google.com/go/managedidentities v1.6.2/go.mod h1:5c2VG66eCa0WIq6IylRk3TBW83l161zkFvCj28X7jn8= +cloud.google.com/go/managedidentities v1.6.3/go.mod h1:tewiat9WLyFN0Fi7q1fDD5+0N4VUoL0SCX0OTCthZq4= +cloud.google.com/go/managedidentities v1.6.4/go.mod h1:WgyaECfHmF00t/1Uk8Oun3CQ2PGUtjc3e9Alh79wyiM= cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= +cloud.google.com/go/maps v1.3.0/go.mod h1:6mWTUv+WhnOwAgjVsSW2QPPECmW+s3PcRyOa9vgG/5s= +cloud.google.com/go/maps v1.4.0/go.mod h1:6mWTUv+WhnOwAgjVsSW2QPPECmW+s3PcRyOa9vgG/5s= +cloud.google.com/go/maps v1.4.1/go.mod h1:BxSa0BnW1g2U2gNdbq5zikLlHUuHW0GFWh7sgML2kIY= +cloud.google.com/go/maps v1.5.1/go.mod h1:NPMZw1LJwQZYCfz4y+EIw+SI+24A4bpdFJqdKVr0lt4= +cloud.google.com/go/maps v1.6.1/go.mod h1:4+buOHhYXFBp58Zj/K+Lc1rCmJssxxF4pJ5CJnhdz18= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= +cloud.google.com/go/mediatranslation v0.8.1/go.mod h1:L/7hBdEYbYHQJhX2sldtTO5SZZ1C1vkapubj0T2aGig= +cloud.google.com/go/mediatranslation v0.8.2/go.mod h1:c9pUaDRLkgHRx3irYE5ZC8tfXGrMYwNZdmDqKMSfFp8= +cloud.google.com/go/mediatranslation v0.8.3/go.mod h1:F9OnXTy336rteOEywtY7FOqCk+J43o2RF638hkOQl4Y= +cloud.google.com/go/mediatranslation v0.8.4/go.mod h1:9WstgtNVAdN53m6TQa5GjIjLqKQPXe74hwSCxUP6nj4= cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= +cloud.google.com/go/memcache v1.10.1/go.mod h1:47YRQIarv4I3QS5+hoETgKO40InqzLP6kpNLvyXuyaA= +cloud.google.com/go/memcache v1.10.2/go.mod h1:f9ZzJHLBrmd4BkguIAa/l/Vle6uTHzHokdnzSWOdQ6A= +cloud.google.com/go/memcache v1.10.3/go.mod h1:6z89A41MT2DVAW0P4iIRdu5cmRTsbsFn4cyiIx8gbwo= +cloud.google.com/go/memcache v1.10.4/go.mod h1:v/d8PuC8d1gD6Yn5+I3INzLR01IDn0N4Ym56RgikSI0= cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= +cloud.google.com/go/metastore v1.11.1/go.mod h1:uZuSo80U3Wd4zi6C22ZZliOUJ3XeM/MlYi/z5OAOWRA= +cloud.google.com/go/metastore v1.12.0/go.mod h1:uZuSo80U3Wd4zi6C22ZZliOUJ3XeM/MlYi/z5OAOWRA= +cloud.google.com/go/metastore v1.13.0/go.mod h1:URDhpG6XLeh5K+Glq0NOt74OfrPKTwS62gEPZzb5SOk= +cloud.google.com/go/metastore v1.13.1/go.mod h1:IbF62JLxuZmhItCppcIfzBBfUFq0DIB9HPDoLgWrVOU= +cloud.google.com/go/metastore v1.13.2/go.mod h1:KS59dD+unBji/kFebVp8XU/quNSyo8b6N6tPGspKszA= +cloud.google.com/go/metastore v1.13.3/go.mod h1:K+wdjXdtkdk7AQg4+sXS8bRrQa9gcOr+foOMF2tqINE= cloud.google.com/go/monitoring v1.1.0/go.mod h1:L81pzz7HKn14QCMaCs6NTQkdBnE87TElyanS95vIcl4= cloud.google.com/go/monitoring v1.5.0/go.mod h1:/o9y8NYX5j91JjD/JvGLYbi86kL11OjyJXq2XziLJu4= cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= +cloud.google.com/go/monitoring v1.15.1/go.mod h1:lADlSAlFdbqQuwwpaImhsJXu1QSdd3ojypXrFSMr2rM= +cloud.google.com/go/monitoring v1.16.0/go.mod h1:Ptp15HgAyM1fNICAojDMoNc/wUmn67mLHQfyqbw+poY= +cloud.google.com/go/monitoring v1.16.1/go.mod h1:6HsxddR+3y9j+o/cMJH6q/KJ/CBTvM/38L/1m7bTRJ4= +cloud.google.com/go/monitoring v1.16.2/go.mod h1:B44KGwi4ZCF8Rk/5n+FWeispDXoKSk9oss2QNlXJBgc= +cloud.google.com/go/monitoring v1.16.3/go.mod h1:KwSsX5+8PnXv5NJnICZzW2R8pWTis8ypC4zmdRD63Tw= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= +cloud.google.com/go/networkconnectivity v1.12.1/go.mod h1:PelxSWYM7Sh9/guf8CFhi6vIqf19Ir/sbfZRUwXh92E= +cloud.google.com/go/networkconnectivity v1.13.0/go.mod h1:SAnGPes88pl7QRLUen2HmcBSE9AowVAcdug8c0RSBFk= +cloud.google.com/go/networkconnectivity v1.14.0/go.mod h1:SAnGPes88pl7QRLUen2HmcBSE9AowVAcdug8c0RSBFk= +cloud.google.com/go/networkconnectivity v1.14.1/go.mod h1:LyGPXR742uQcDxZ/wv4EI0Vu5N6NKJ77ZYVnDe69Zug= +cloud.google.com/go/networkconnectivity v1.14.2/go.mod h1:5UFlwIisZylSkGG1AdwK/WZUaoz12PKu6wODwIbFzJo= +cloud.google.com/go/networkconnectivity v1.14.3/go.mod h1:4aoeFdrJpYEXNvrnfyD5kIzs8YtHg945Og4koAjHQek= cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= +cloud.google.com/go/networkmanagement v1.8.0/go.mod h1:Ho/BUGmtyEqrttTgWEe7m+8vDdK74ibQc+Be0q7Fof0= +cloud.google.com/go/networkmanagement v1.9.0/go.mod h1:UTUaEU9YwbCAhhz3jEOHr+2/K/MrBk2XxOLS89LQzFw= +cloud.google.com/go/networkmanagement v1.9.1/go.mod h1:CCSYgrQQvW73EJawO2QamemYcOb57LvrDdDU51F0mcI= +cloud.google.com/go/networkmanagement v1.9.2/go.mod h1:iDGvGzAoYRghhp4j2Cji7sF899GnfGQcQRQwgVOWnDw= +cloud.google.com/go/networkmanagement v1.9.3/go.mod h1:y7WMO1bRLaP5h3Obm4tey+NquUvB93Co1oh4wpL+XcU= cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= +cloud.google.com/go/networksecurity v0.9.1/go.mod h1:MCMdxOKQ30wsBI1eI659f9kEp4wuuAueoC9AJKSPWZQ= +cloud.google.com/go/networksecurity v0.9.2/go.mod h1:jG0SeAttWzPMUILEHDUvFYdQTl8L/E/KC8iZDj85lEI= +cloud.google.com/go/networksecurity v0.9.3/go.mod h1:l+C0ynM6P+KV9YjOnx+kk5IZqMSLccdBqW6GUoF4p/0= +cloud.google.com/go/networksecurity v0.9.4/go.mod h1:E9CeMZ2zDsNBkr8axKSYm8XyTqNhiCHf1JO/Vb8mD1w= cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= +cloud.google.com/go/notebooks v1.9.1/go.mod h1:zqG9/gk05JrzgBt4ghLzEepPHNwE5jgPcHZRKhlC1A8= +cloud.google.com/go/notebooks v1.10.0/go.mod h1:SOPYMZnttHxqot0SGSFSkRrwE29eqnKPBJFqgWmiK2k= +cloud.google.com/go/notebooks v1.10.1/go.mod h1:5PdJc2SgAybE76kFQCWrTfJolCOUQXF97e+gteUUA6A= +cloud.google.com/go/notebooks v1.11.1/go.mod h1:V2Zkv8wX9kDCGRJqYoI+bQAaoVeE5kSiz4yYHd2yJwQ= +cloud.google.com/go/notebooks v1.11.2/go.mod h1:z0tlHI/lREXC8BS2mIsUeR3agM1AkgLiS+Isov3SS70= cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= +cloud.google.com/go/optimization v1.4.1/go.mod h1:j64vZQP7h9bO49m2rVaTVoNM0vEBEN5eKPUPbZyXOrk= +cloud.google.com/go/optimization v1.5.0/go.mod h1:evo1OvTxeBRBu6ydPlrIRizKY/LJKo/drDMMRKqGEUU= +cloud.google.com/go/optimization v1.5.1/go.mod h1:NC0gnUD5MWVAF7XLdoYVPmYYVth93Q6BUzqAq3ZwtV8= +cloud.google.com/go/optimization v1.6.1/go.mod h1:hH2RYPTTM9e9zOiTaYPTiGPcGdNZVnBSBxjIAJzUkqo= +cloud.google.com/go/optimization v1.6.2/go.mod h1:mWNZ7B9/EyMCcwNl1frUGEuY6CPijSkz88Fz2vwKPOY= cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= +cloud.google.com/go/orchestration v1.8.1/go.mod h1:4sluRF3wgbYVRqz7zJ1/EUNc90TTprliq9477fGobD8= +cloud.google.com/go/orchestration v1.8.2/go.mod h1:T1cP+6WyTmh6LSZzeUhvGf0uZVmJyTx7t8z7Vg87+A0= +cloud.google.com/go/orchestration v1.8.3/go.mod h1:xhgWAYqlbYjlz2ftbFghdyqENYW+JXuhBx9KsjMoGHs= +cloud.google.com/go/orchestration v1.8.4/go.mod h1:d0lywZSVYtIoSZXb0iFjv9SaL13PGyVOKDxqGxEf/qI= cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= +cloud.google.com/go/orgpolicy v1.11.0/go.mod h1:2RK748+FtVvnfuynxBzdnyu7sygtoZa1za/0ZfpOs1M= +cloud.google.com/go/orgpolicy v1.11.1/go.mod h1:8+E3jQcpZJQliP+zaFfayC2Pg5bmhuLK755wKhIIUCE= +cloud.google.com/go/orgpolicy v1.11.2/go.mod h1:biRDpNwfyytYnmCRWZWxrKF22Nkz9eNVj9zyaBdpm1o= +cloud.google.com/go/orgpolicy v1.11.3/go.mod h1:oKAtJ/gkMjum5icv2aujkP4CxROxPXsBbYGCDbPO8MM= +cloud.google.com/go/orgpolicy v1.11.4/go.mod h1:0+aNV/nrfoTQ4Mytv+Aw+stBDBjNf4d8fYRA9herfJI= cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= +cloud.google.com/go/osconfig v1.12.0/go.mod h1:8f/PaYzoS3JMVfdfTubkowZYGmAhUCjjwnjqWI7NVBc= +cloud.google.com/go/osconfig v1.12.1/go.mod h1:4CjBxND0gswz2gfYRCUoUzCm9zCABp91EeTtWXyz0tE= +cloud.google.com/go/osconfig v1.12.2/go.mod h1:eh9GPaMZpI6mEJEuhEjUJmaxvQ3gav+fFEJon1Y8Iw0= +cloud.google.com/go/osconfig v1.12.3/go.mod h1:L/fPS8LL6bEYUi1au832WtMnPeQNT94Zo3FwwV1/xGM= +cloud.google.com/go/osconfig v1.12.4/go.mod h1:B1qEwJ/jzqSRslvdOCI8Kdnp0gSng0xW4LOnIebQomA= cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= +cloud.google.com/go/oslogin v1.10.1/go.mod h1:x692z7yAue5nE7CsSnoG0aaMbNoRJRXO4sn73R+ZqAs= +cloud.google.com/go/oslogin v1.11.0/go.mod h1:8GMTJs4X2nOAUVJiPGqIWVcDaF0eniEto3xlOxaboXE= +cloud.google.com/go/oslogin v1.11.1/go.mod h1:OhD2icArCVNUxKqtK0mcSmKL7lgr0LVlQz+v9s1ujTg= +cloud.google.com/go/oslogin v1.12.1/go.mod h1:VfwTeFJGbnakxAY236eN8fsnglLiVXndlbcNomY4iZU= +cloud.google.com/go/oslogin v1.12.2/go.mod h1:CQ3V8Jvw4Qo4WRhNPF0o+HAM4DiLuE27Ul9CX9g2QdY= cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= +cloud.google.com/go/phishingprotection v0.8.1/go.mod h1:AxonW7GovcA8qdEk13NfHq9hNx5KPtfxXNeUxTDxB6I= +cloud.google.com/go/phishingprotection v0.8.2/go.mod h1:LhJ91uyVHEYKSKcMGhOa14zMMWfbEdxG032oT6ECbC8= +cloud.google.com/go/phishingprotection v0.8.3/go.mod h1:3B01yO7T2Ra/TMojifn8EoGd4G9jts/6cIO0DgDY9J8= +cloud.google.com/go/phishingprotection v0.8.4/go.mod h1:6b3kNPAc2AQ6jZfFHioZKg9MQNybDg4ixFd4RPZZ2nE= cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= +cloud.google.com/go/policytroubleshooter v1.7.1/go.mod h1:0NaT5v3Ag1M7U5r0GfDCpUFkWd9YqpubBWsQlhanRv0= +cloud.google.com/go/policytroubleshooter v1.8.0/go.mod h1:tmn5Ir5EToWe384EuboTcVQT7nTag2+DuH3uHmKd1HU= +cloud.google.com/go/policytroubleshooter v1.9.0/go.mod h1:+E2Lga7TycpeSTj2FsH4oXxTnrbHJGRlKhVZBLGgU64= +cloud.google.com/go/policytroubleshooter v1.9.1/go.mod h1:MYI8i0bCrL8cW+VHN1PoiBTyNZTstCg2WUw2eVC4c4U= +cloud.google.com/go/policytroubleshooter v1.10.1/go.mod h1:5C0rhT3TDZVxAu8813bwmTvd57Phbl8mr9F4ipOsxEs= +cloud.google.com/go/policytroubleshooter v1.10.2/go.mod h1:m4uF3f6LseVEnMV6nknlN2vYGRb+75ylQwJdnOXfnv0= cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= +cloud.google.com/go/privatecatalog v0.9.1/go.mod h1:0XlDXW2unJXdf9zFz968Hp35gl/bhF4twwpXZAW50JA= +cloud.google.com/go/privatecatalog v0.9.2/go.mod h1:RMA4ATa8IXfzvjrhhK8J6H4wwcztab+oZph3c6WmtFc= +cloud.google.com/go/privatecatalog v0.9.3/go.mod h1:K5pn2GrVmOPjXz3T26mzwXLcKivfIJ9R5N79AFCF9UE= +cloud.google.com/go/privatecatalog v0.9.4/go.mod h1:SOjm93f+5hp/U3PqMZAHTtBtluqLygrDrVO8X8tYtG0= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -443,9 +840,12 @@ cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcd cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= +cloud.google.com/go/pubsub v1.32.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= +cloud.google.com/go/pubsub v1.33.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= +cloud.google.com/go/pubsublite v1.8.1/go.mod h1:fOLdU4f5xldK4RGJrBMm+J7zMWNj/k4PxwEZXy39QS0= cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= @@ -454,47 +854,90 @@ cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= +cloud.google.com/go/recaptchaenterprise/v2 v2.7.2/go.mod h1:kR0KjsJS7Jt1YSyWFkseQ756D45kaYNTlDPPaRAvDBU= +cloud.google.com/go/recaptchaenterprise/v2 v2.8.0/go.mod h1:QuE8EdU9dEnesG8/kG3XuJyNsjEqMlMzg3v3scCJ46c= +cloud.google.com/go/recaptchaenterprise/v2 v2.8.1/go.mod h1:JZYZJOeZjgSSTGP4uz7NlQ4/d1w5hGmksVgM0lbEij0= +cloud.google.com/go/recaptchaenterprise/v2 v2.8.2/go.mod h1:kpaDBOpkwD4G0GVMzG1W6Doy1tFFC97XAV3xy+Rd/pw= +cloud.google.com/go/recaptchaenterprise/v2 v2.8.3/go.mod h1:Dak54rw6lC2gBY8FBznpOCAR58wKf+R+ZSJRoeJok4w= cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= +cloud.google.com/go/recommendationengine v0.8.1/go.mod h1:MrZihWwtFYWDzE6Hz5nKcNz3gLizXVIDI/o3G1DLcrE= +cloud.google.com/go/recommendationengine v0.8.2/go.mod h1:QIybYHPK58qir9CV2ix/re/M//Ty10OxjnnhWdaKS1Y= +cloud.google.com/go/recommendationengine v0.8.3/go.mod h1:m3b0RZV02BnODE9FeSvGv1qibFo8g0OnmB/RMwYy4V8= +cloud.google.com/go/recommendationengine v0.8.4/go.mod h1:GEteCf1PATl5v5ZsQ60sTClUE0phbWmo3rQ1Js8louU= cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= +cloud.google.com/go/recommender v1.10.1/go.mod h1:XFvrE4Suqn5Cq0Lf+mCP6oBHD/yRMA8XxP5sb7Q7gpA= +cloud.google.com/go/recommender v1.11.0/go.mod h1:kPiRQhPyTJ9kyXPCG6u/dlPLbYfFlkwHNRwdzPVAoII= +cloud.google.com/go/recommender v1.11.1/go.mod h1:sGwFFAyI57v2Hc5LbIj+lTwXipGu9NW015rkaEM5B18= +cloud.google.com/go/recommender v1.11.2/go.mod h1:AeoJuzOvFR/emIcXdVFkspVXVTYpliRCmKNYDnyBv6Y= +cloud.google.com/go/recommender v1.11.3/go.mod h1:+FJosKKJSId1MBFeJ/TTyoGQZiEelQQIZMKYYD8ruK4= cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= +cloud.google.com/go/redis v1.13.1/go.mod h1:VP7DGLpE91M6bcsDdMuyCm2hIpB6Vp2hI090Mfd1tcg= +cloud.google.com/go/redis v1.13.2/go.mod h1:0Hg7pCMXS9uz02q+LoEVl5dNHUkIQv+C/3L76fandSA= +cloud.google.com/go/redis v1.13.3/go.mod h1:vbUpCKUAZSYzFcWKmICnYgRAhTFg9r+djWqFxDYXi4U= +cloud.google.com/go/redis v1.14.1/go.mod h1:MbmBxN8bEnQI4doZPC1BzADU4HGocHBk2de3SbgOkqs= cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= +cloud.google.com/go/resourcemanager v1.9.1/go.mod h1:dVCuosgrh1tINZ/RwBufr8lULmWGOkPS8gL5gqyjdT8= +cloud.google.com/go/resourcemanager v1.9.2/go.mod h1:OujkBg1UZg5lX2yIyMo5Vz9O5hf7XQOSV7WxqxxMtQE= +cloud.google.com/go/resourcemanager v1.9.3/go.mod h1:IqrY+g0ZgLsihcfcmqSe+RKp1hzjXwG904B92AwBz6U= +cloud.google.com/go/resourcemanager v1.9.4/go.mod h1:N1dhP9RFvo3lUfwtfLWVxfUWq8+KUQ+XLlHLH3BoFJ0= cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= +cloud.google.com/go/resourcesettings v1.6.1/go.mod h1:M7mk9PIZrC5Fgsu1kZJci6mpgN8o0IUzVx3eJU3y4Jw= +cloud.google.com/go/resourcesettings v1.6.2/go.mod h1:mJIEDd9MobzunWMeniaMp6tzg4I2GvD3TTmPkc8vBXk= +cloud.google.com/go/resourcesettings v1.6.3/go.mod h1:pno5D+7oDYkMWZ5BpPsb4SO0ewg3IXcmmrUZaMJrFic= +cloud.google.com/go/resourcesettings v1.6.4/go.mod h1:pYTTkWdv2lmQcjsthbZLNBP4QW140cs7wqA3DuqErVI= cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= +cloud.google.com/go/retail v1.14.1/go.mod h1:y3Wv3Vr2k54dLNIrCzenyKG8g8dhvhncT2NcNjb/6gE= +cloud.google.com/go/retail v1.14.2/go.mod h1:W7rrNRChAEChX336QF7bnMxbsjugcOCPU44i5kbLiL8= +cloud.google.com/go/retail v1.14.3/go.mod h1:Omz2akDHeSlfCq8ArPKiBxlnRpKEBjUH386JYFLUvXo= +cloud.google.com/go/retail v1.14.4/go.mod h1:l/N7cMtY78yRnJqp5JW8emy7MB1nz8E4t2yfOmklYfg= cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= +cloud.google.com/go/run v1.2.0/go.mod h1:36V1IlDzQ0XxbQjUx6IYbw8H3TJnWvhii963WW3B/bo= +cloud.google.com/go/run v1.3.0/go.mod h1:S/osX/4jIPZGg+ssuqh6GNgg7syixKe3YnprwehzHKU= +cloud.google.com/go/run v1.3.1/go.mod h1:cymddtZOzdwLIAsmS6s+Asl4JoXIDm/K1cpZTxV4Q5s= +cloud.google.com/go/run v1.3.2/go.mod h1:SIhmqArbjdU/D9M6JoHaAqnAMKLFtXaVdNeq04NjnVE= +cloud.google.com/go/run v1.3.3/go.mod h1:WSM5pGyJ7cfYyYbONVQBN4buz42zFqwG67Q3ch07iK4= cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= +cloud.google.com/go/scheduler v1.10.1/go.mod h1:R63Ldltd47Bs4gnhQkmNDse5w8gBRrhObZ54PxgR2Oo= +cloud.google.com/go/scheduler v1.10.2/go.mod h1:O3jX6HRH5eKCA3FutMw375XHZJudNIKVonSCHv7ropY= +cloud.google.com/go/scheduler v1.10.3/go.mod h1:8ANskEM33+sIbpJ+R4xRfw/jzOG+ZFE8WVLy7/yGvbc= +cloud.google.com/go/scheduler v1.10.4/go.mod h1:MTuXcrJC9tqOHhixdbHDFSIuh7xZF2IysiINDuiq6NI= cloud.google.com/go/secretmanager v1.5.0/go.mod h1:5C9kM+RwSpkURNovKySkNvGQLUaOgyoR5W0RUx2SyHQ= cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= +cloud.google.com/go/secretmanager v1.11.1/go.mod h1:znq9JlXgTNdBeQk9TBW/FnR/W4uChEKGeqQWAJ8SXFw= +cloud.google.com/go/secretmanager v1.11.2/go.mod h1:MQm4t3deoSub7+WNwiC4/tRYgDBHJgJPvswqQVB1Vss= +cloud.google.com/go/secretmanager v1.11.3/go.mod h1:0bA2o6FabmShrEy328i67aV+65XoUFFSmVeLBn/51jI= +cloud.google.com/go/secretmanager v1.11.4/go.mod h1:wreJlbS9Zdq21lMzWmJ0XhWW2ZxgPeahsqeV/vZoJ3w= cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= @@ -502,12 +945,20 @@ cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= +cloud.google.com/go/security v1.15.1/go.mod h1:MvTnnbsWnehoizHi09zoiZob0iCHVcL4AUBj76h9fXA= +cloud.google.com/go/security v1.15.2/go.mod h1:2GVE/v1oixIRHDaClVbHuPcZwAqFM28mXuAKCfMgYIg= +cloud.google.com/go/security v1.15.3/go.mod h1:gQ/7Q2JYUZZgOzqKtw9McShH+MjNvtDpL40J1cT+vBs= +cloud.google.com/go/security v1.15.4/go.mod h1:oN7C2uIZKhxCLiAAijKUCuHLZbIt/ghYEo8MqwD/Ty4= cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= +cloud.google.com/go/securitycenter v1.23.0/go.mod h1:8pwQ4n+Y9WCWM278R8W3nF65QtY172h4S8aXyI9/hsQ= +cloud.google.com/go/securitycenter v1.23.1/go.mod h1:w2HV3Mv/yKhbXKwOCu2i8bCuLtNP1IMHuiYQn4HJq5s= +cloud.google.com/go/securitycenter v1.24.1/go.mod h1:3h9IdjjHhVMXdQnmqzVnM7b0wMn/1O/U20eWVpMpZjI= +cloud.google.com/go/securitycenter v1.24.2/go.mod h1:l1XejOngggzqwr4Fa2Cn+iWZGf+aBLTXtB/vXjy5vXM= cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= @@ -519,6 +970,11 @@ cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPj cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= +cloud.google.com/go/servicedirectory v1.10.1/go.mod h1:Xv0YVH8s4pVOwfM/1eMTl0XJ6bzIOSLDt8f8eLaGOxQ= +cloud.google.com/go/servicedirectory v1.11.0/go.mod h1:Xv0YVH8s4pVOwfM/1eMTl0XJ6bzIOSLDt8f8eLaGOxQ= +cloud.google.com/go/servicedirectory v1.11.1/go.mod h1:tJywXimEWzNzw9FvtNjsQxxJ3/41jseeILgwU/QLrGI= +cloud.google.com/go/servicedirectory v1.11.2/go.mod h1:KD9hCLhncWRV5jJphwIpugKwM5bn1x0GyVVD4NO8mGg= +cloud.google.com/go/servicedirectory v1.11.3/go.mod h1:LV+cHkomRLr67YoQy3Xq2tUXBGOs5z5bPofdq7qtiAw= cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= @@ -530,15 +986,28 @@ cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DR cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= +cloud.google.com/go/shell v1.7.1/go.mod h1:u1RaM+huXFaTojTbW4g9P5emOrrmLE69KrxqQahKn4g= +cloud.google.com/go/shell v1.7.2/go.mod h1:KqRPKwBV0UyLickMn0+BY1qIyE98kKyI216sH/TuHmc= +cloud.google.com/go/shell v1.7.3/go.mod h1:cTTEz/JdaBsQAeTQ3B6HHldZudFoYBOqjteev07FbIc= +cloud.google.com/go/shell v1.7.4/go.mod h1:yLeXB8eKLxw0dpEmXQ/FjriYrBijNsONpwnWsdPqlKM= cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= +cloud.google.com/go/spanner v1.47.0/go.mod h1:IXsJwVW2j4UKs0eYDqodab6HgGuA1bViSqW4uH9lfUI= +cloud.google.com/go/spanner v1.49.0/go.mod h1:eGj9mQGK8+hkgSVbHNQ06pQ4oS+cyc4tXXd6Dif1KoM= +cloud.google.com/go/spanner v1.50.0/go.mod h1:eGj9mQGK8+hkgSVbHNQ06pQ4oS+cyc4tXXd6Dif1KoM= +cloud.google.com/go/spanner v1.51.0/go.mod h1:c5KNo5LQ1X5tJwma9rSQZsXNBDNvj4/n8BVc3LNahq0= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= +cloud.google.com/go/speech v1.17.1/go.mod h1:8rVNzU43tQvxDaGvqOhpDqgkJTFowBpDvCJ14kGlJYo= +cloud.google.com/go/speech v1.19.0/go.mod h1:8rVNzU43tQvxDaGvqOhpDqgkJTFowBpDvCJ14kGlJYo= +cloud.google.com/go/speech v1.19.1/go.mod h1:WcuaWz/3hOlzPFOVo9DUsblMIHwxP589y6ZMtaG+iAA= +cloud.google.com/go/speech v1.19.2/go.mod h1:2OYFfj+Ch5LWjsaSINuCZsre/789zlcCI3SY4oAi2oI= +cloud.google.com/go/speech v1.20.1/go.mod h1:wwolycgONvfz2EDU8rKuHRW3+wc9ILPsAWoikBEWavY= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= @@ -551,45 +1020,82 @@ cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= +cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= cloud.google.com/go/storage v1.36.0 h1:P0mOkAcaJxhCTvAkMhxMfrTKiNcub4YmmPBtlhAyTr8= cloud.google.com/go/storage v1.36.0/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= +cloud.google.com/go/storagetransfer v1.10.0/go.mod h1:DM4sTlSmGiNczmV6iZyceIh2dbs+7z2Ayg6YAiQlYfA= +cloud.google.com/go/storagetransfer v1.10.1/go.mod h1:rS7Sy0BtPviWYTTJVWCSV4QrbBitgPeuK4/FKa4IdLs= +cloud.google.com/go/storagetransfer v1.10.2/go.mod h1:meIhYQup5rg9juQJdyppnA/WLQCOguxtk1pr3/vBWzA= +cloud.google.com/go/storagetransfer v1.10.3/go.mod h1:Up8LY2p6X68SZ+WToswpQbQHnJpOty/ACcMafuey8gc= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= +cloud.google.com/go/talent v1.6.2/go.mod h1:CbGvmKCG61mkdjcqTcLOkb2ZN1SrQI8MDyma2l7VD24= +cloud.google.com/go/talent v1.6.3/go.mod h1:xoDO97Qd4AK43rGjJvyBHMskiEf3KulgYzcH6YWOVoo= +cloud.google.com/go/talent v1.6.4/go.mod h1:QsWvi5eKeh6gG2DlBkpMaFYZYrYUnIpo34f6/V5QykY= +cloud.google.com/go/talent v1.6.5/go.mod h1:Mf5cma696HmE+P2BWJ/ZwYqeJXEeU0UqjHFXVLadEDI= cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= +cloud.google.com/go/texttospeech v1.7.1/go.mod h1:m7QfG5IXxeneGqTapXNxv2ItxP/FS0hCZBwXYqucgSk= +cloud.google.com/go/texttospeech v1.7.2/go.mod h1:VYPT6aTOEl3herQjFHYErTlSZJ4vB00Q2ZTmuVgluD4= +cloud.google.com/go/texttospeech v1.7.3/go.mod h1:Av/zpkcgWfXlDLRYob17lqMstGZ3GqlvJXqKMp2u8so= +cloud.google.com/go/texttospeech v1.7.4/go.mod h1:vgv0002WvR4liGuSd5BJbWy4nDn5Ozco0uJymY5+U74= cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= +cloud.google.com/go/tpu v1.6.1/go.mod h1:sOdcHVIgDEEOKuqUoi6Fq53MKHJAtOwtz0GuKsWSH3E= +cloud.google.com/go/tpu v1.6.2/go.mod h1:NXh3NDwt71TsPZdtGWgAG5ThDfGd32X1mJ2cMaRlVgU= +cloud.google.com/go/tpu v1.6.3/go.mod h1:lxiueqfVMlSToZY1151IaZqp89ELPSrk+3HIQ5HRkbY= +cloud.google.com/go/tpu v1.6.4/go.mod h1:NAm9q3Rq2wIlGnOhpYICNI7+bpBebMJbh0yyp3aNw1Y= cloud.google.com/go/trace v1.0.0/go.mod h1:4iErSByzxkyHWzzlAj63/Gmjz0NH1ASqhJguHpGcr6A= cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQlbW1rwM= cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= +cloud.google.com/go/trace v1.10.1/go.mod h1:gbtL94KE5AJLH3y+WVpfWILmqgc6dXcqgNXdOPAQTYk= +cloud.google.com/go/trace v1.10.2/go.mod h1:NPXemMi6MToRFcSxRl2uDnu/qAlAQ3oULUphcHGh1vA= +cloud.google.com/go/trace v1.10.3/go.mod h1:Ke1bgfc73RV3wUFml+uQp7EsDw4dGaETLxB7Iq/r4CY= +cloud.google.com/go/trace v1.10.4/go.mod h1:Nso99EDIK8Mj5/zmB+iGr9dosS/bzWCJ8wGmE6TXNWY= cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/translate v1.8.1/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= +cloud.google.com/go/translate v1.8.2/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= +cloud.google.com/go/translate v1.9.0/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= +cloud.google.com/go/translate v1.9.1/go.mod h1:TWIgDZknq2+JD4iRcojgeDtqGEp154HN/uL6hMvylS8= +cloud.google.com/go/translate v1.9.2/go.mod h1:E3Tc6rUTsQkVrXW6avbUhKJSr7ZE3j7zNmqzXKHqRrY= +cloud.google.com/go/translate v1.9.3/go.mod h1:Kbq9RggWsbqZ9W5YpM94Q1Xv4dshw/gr/SHfsl5yCZ0= cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= +cloud.google.com/go/video v1.17.1/go.mod h1:9qmqPqw/Ib2tLqaeHgtakU+l5TcJxCJbhFXM7UJjVzU= +cloud.google.com/go/video v1.19.0/go.mod h1:9qmqPqw/Ib2tLqaeHgtakU+l5TcJxCJbhFXM7UJjVzU= +cloud.google.com/go/video v1.20.0/go.mod h1:U3G3FTnsvAGqglq9LxgqzOiBc/Nt8zis8S+850N2DUM= +cloud.google.com/go/video v1.20.1/go.mod h1:3gJS+iDprnj8SY6pe0SwLeC5BUW80NjhwX7INWEuWGU= +cloud.google.com/go/video v1.20.2/go.mod h1:lrixr5JeKNThsgfM9gqtwb6Okuqzfo4VrY2xynaViTA= +cloud.google.com/go/video v1.20.3/go.mod h1:TnH/mNZKVHeNtpamsSPygSR0iHtvrR/cW1/GDjN5+GU= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= +cloud.google.com/go/videointelligence v1.11.1/go.mod h1:76xn/8InyQHarjTWsBR058SmlPCwQjgcvoW0aZykOvo= +cloud.google.com/go/videointelligence v1.11.2/go.mod h1:ocfIGYtIVmIcWk1DsSGOoDiXca4vaZQII1C85qtoplc= +cloud.google.com/go/videointelligence v1.11.3/go.mod h1:tf0NUaGTjU1iS2KEkGWvO5hRHeCkFK3nPo0/cOZhZAo= +cloud.google.com/go/videointelligence v1.11.4/go.mod h1:kPBMAYsTPFiQxMLmmjpcZUMklJp3nC9+ipJJtprccD8= cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= @@ -597,29 +1103,59 @@ cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= +cloud.google.com/go/vision/v2 v2.7.2/go.mod h1:jKa8oSYBWhYiXarHPvP4USxYANYUEdEsQrloLjrSwJU= +cloud.google.com/go/vision/v2 v2.7.3/go.mod h1:V0IcLCY7W+hpMKXK1JYE0LV5llEqVmj+UJChjvA1WsM= +cloud.google.com/go/vision/v2 v2.7.4/go.mod h1:ynDKnsDN/0RtqkKxQZ2iatv3Dm9O+HfRb5djl7l4Vvw= +cloud.google.com/go/vision/v2 v2.7.5/go.mod h1:GcviprJLFfK9OLf0z8Gm6lQb6ZFUulvpZws+mm6yPLM= cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= +cloud.google.com/go/vmmigration v1.7.1/go.mod h1:WD+5z7a/IpZ5bKK//YmT9E047AD+rjycCAvyMxGJbro= +cloud.google.com/go/vmmigration v1.7.2/go.mod h1:iA2hVj22sm2LLYXGPT1pB63mXHhrH1m/ruux9TwWLd8= +cloud.google.com/go/vmmigration v1.7.3/go.mod h1:ZCQC7cENwmSWlwyTrZcWivchn78YnFniEQYRWQ65tBo= +cloud.google.com/go/vmmigration v1.7.4/go.mod h1:yBXCmiLaB99hEl/G9ZooNx2GyzgsjKnw5fWcINRgD70= cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= +cloud.google.com/go/vmwareengine v0.4.1/go.mod h1:Px64x+BvjPZwWuc4HdmVhoygcXqEkGHXoa7uyfTgSI0= +cloud.google.com/go/vmwareengine v1.0.0/go.mod h1:Px64x+BvjPZwWuc4HdmVhoygcXqEkGHXoa7uyfTgSI0= +cloud.google.com/go/vmwareengine v1.0.1/go.mod h1:aT3Xsm5sNx0QShk1Jc1B8OddrxAScYLwzVoaiXfdzzk= +cloud.google.com/go/vmwareengine v1.0.2/go.mod h1:xMSNjIk8/itYrz1JA8nV3Ajg4L4n3N+ugP8JKzk3OaA= +cloud.google.com/go/vmwareengine v1.0.3/go.mod h1:QSpdZ1stlbfKtyt6Iu19M6XRxjmXO+vb5a/R6Fvy2y4= cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= +cloud.google.com/go/vpcaccess v1.7.1/go.mod h1:FogoD46/ZU+JUBX9D606X21EnxiszYi2tArQwLY4SXs= +cloud.google.com/go/vpcaccess v1.7.2/go.mod h1:mmg/MnRHv+3e8FJUjeSibVFvQF1cCy2MsFaFqxeY1HU= +cloud.google.com/go/vpcaccess v1.7.3/go.mod h1:YX4skyfW3NC8vI3Fk+EegJnlYFatA+dXK4o236EUCUc= +cloud.google.com/go/vpcaccess v1.7.4/go.mod h1:lA0KTvhtEOb/VOdnH/gwPuOzGgM+CWsmGu6bb4IoMKk= cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= +cloud.google.com/go/webrisk v1.9.1/go.mod h1:4GCmXKcOa2BZcZPn6DCEvE7HypmEJcJkr4mtM+sqYPc= +cloud.google.com/go/webrisk v1.9.2/go.mod h1:pY9kfDgAqxUpDBOrG4w8deLfhvJmejKB0qd/5uQIPBc= +cloud.google.com/go/webrisk v1.9.3/go.mod h1:RUYXe9X/wBDXhVilss7EDLW9ZNa06aowPuinUOPCXH8= +cloud.google.com/go/webrisk v1.9.4/go.mod h1:w7m4Ib4C+OseSr2GL66m0zMBywdrVNTDKsdEsfMl7X0= cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= +cloud.google.com/go/websecurityscanner v1.6.1/go.mod h1:Njgaw3rttgRHXzwCB8kgCYqv5/rGpFCsBOvPbYgszpg= +cloud.google.com/go/websecurityscanner v1.6.2/go.mod h1:7YgjuU5tun7Eg2kpKgGnDuEOXWIrh8x8lWrJT4zfmas= +cloud.google.com/go/websecurityscanner v1.6.3/go.mod h1:x9XANObUFR+83Cya3g/B9M/yoHVqzxPnFtgF8yYGAXw= +cloud.google.com/go/websecurityscanner v1.6.4/go.mod h1:mUiyMQ+dGpPPRkHgknIZeCzSHJ45+fY4F52nZFDHm2o= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= +cloud.google.com/go/workflows v1.11.1/go.mod h1:Z+t10G1wF7h8LgdY/EmRcQY8ptBD/nvofaL6FqlET6g= +cloud.google.com/go/workflows v1.12.0/go.mod h1:PYhSk2b6DhZ508tj8HXKaBh+OFe+xdl0dHF/tJdzPQM= +cloud.google.com/go/workflows v1.12.1/go.mod h1:5A95OhD/edtOhQd/O741NSfIMezNTbCwLM1P1tBRGHM= +cloud.google.com/go/workflows v1.12.2/go.mod h1:+OmBIgNqYJPVggnMo9nqmizW0qEXHhmnAzK/CnBqsHc= +cloud.google.com/go/workflows v1.12.3/go.mod h1:fmOUeeqEwPzIU81foMjTRQIdwQHADi/vEr1cx9R1m5g= code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc= @@ -702,11 +1238,12 @@ github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJ github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= +github.com/Masterminds/semver/v3 v3.2.0 h1:3MEsd0SM6jqZojhjLWWeBY+Kcjy9i6MQAeY7YgDP83g= +github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= -github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= -github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= +github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= +github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= @@ -735,9 +1272,9 @@ github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:m github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v1.1.0-alpha.0 h1:nHGfwXmFvJrSR9xu8qL7BkO4DqTHXE9N5vPhgY2I+j0= +github.com/ProtonMail/go-crypto v1.1.0-alpha.0/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -746,7 +1283,6 @@ github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:H github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= @@ -773,6 +1309,7 @@ github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuW github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= +github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= @@ -975,7 +1512,10 @@ github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230428030218-4003588d1b74/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20231109132714-523115ebc101/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ= github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= @@ -1158,6 +1698,7 @@ github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -1165,7 +1706,6 @@ github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaB github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= @@ -1185,11 +1725,16 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go. github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= +github.com/envoyproxy/go-control-plane v0.11.0/go.mod h1:VnHyVMpzcLvCFt9yUz1UnCwHLhwx1WguiVDV7pTG/tI= github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= +github.com/envoyproxy/go-control-plane v0.11.1/go.mod h1:uhMcXKCQMEJHiAb0w+YGefQLaTEw+YhGluxZkrTmD0g= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/envoyproxy/protoc-gen-validate v1.0.1/go.mod h1:0vj8bNkYbSTNS2PIyH87KZaeN4x9zpL9Qt8fQC7d+vs= +github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A= github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= @@ -1202,8 +1747,8 @@ github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5Kwzbycv github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= -github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= +github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= @@ -1248,14 +1793,12 @@ github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2H github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= -github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= -github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= -github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= +github.com/go-git/go-git/v5 v5.10.1/go.mod h1:uEuHjxkHap8kAl//V5F/nNWwqIYtP/402ddd05mp0wg= github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= @@ -1282,6 +1825,7 @@ github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= @@ -1328,6 +1872,7 @@ github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LB github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= @@ -1394,6 +1939,7 @@ github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGw github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1460,6 +2006,8 @@ github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= +github.com/google/go-pkcs11 v0.2.0/go.mod h1:6eQoGcuNJpa7jnd5pMGdkSaQpNDYvPlXWMcjXXThLlY= +github.com/google/go-pkcs11 v0.2.1-0.20230907215043-c6f79328ddf9/go.mod h1:6eQoGcuNJpa7jnd5pMGdkSaQpNDYvPlXWMcjXXThLlY= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= @@ -1491,6 +2039,7 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= @@ -1498,6 +2047,9 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/s2a-go v0.1.0/go.mod h1:OJpEgntRZo8ugHpF9hkoLJbS5dSI20XZeXJ9JVywLlM= +github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= @@ -1508,6 +2060,8 @@ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= @@ -1517,6 +2071,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.2.4/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.2.5/go.mod h1:RxW0N9901Cko1VOCW3SXCpWP+mlIEkk2tP7jnHy9a3w= github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= @@ -1530,6 +2086,9 @@ github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqE github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gax-go/v2 v2.8.0/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gax-go/v2 v2.10.0/go.mod h1:4UOEnMCrxsSqQ940WnTiD6qJ63le2ev3xfyagutxiPw= +github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= @@ -1569,6 +2128,7 @@ github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFi github.com/hanwen/go-fuse/v2 v2.1.0/go.mod h1:oRyA5eK+pvJyv5otpO/DgccS8y/RvYMaO00GgRLGryc= github.com/hashicorp/awspolicyequivalence v1.5.0 h1:tGw6h9qN1AWNBaUf4OUcdCyE/kqNBItTiyTPQeV/KUg= github.com/hashicorp/awspolicyequivalence v1.5.0/go.mod h1:9IOaIHx+a7C0NfUNk1A93M7kHd5rJ19aoUx37LZGC14= +github.com/hashicorp/cli v1.1.6/go.mod h1:MPon5QYlgjjo0BSoAiN0ESeT5fRzDjVRp+uioJ0piz4= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= @@ -1615,7 +2175,6 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9 github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= -github.com/hashicorp/go-plugin v1.5.1/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= @@ -1658,14 +2217,15 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hc-install v0.6.0 h1:fDHnU7JNFNSQebVKYhHZ0va1bC6SrPQ8fpebsvNr2w4= -github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA= +github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps= +github.com/hashicorp/hc-install v0.6.3 h1:yE/r1yJvWbtrJ0STwScgEnCanb0U9v7zp0Gbkmcoxqs= +github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= -github.com/hashicorp/hcl/v2 v2.18.0 h1:wYnG7Lt31t2zYkcquwgKo6MWXzRUDIeIVU5naZwHLl8= -github.com/hashicorp/hcl/v2 v2.18.0/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= +github.com/hashicorp/hcl/v2 v2.19.1 h1://i05Jqznmb2EXqa39Nsvyan2o5XyMowW5fnCKW5RPI= +github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -1679,12 +2239,12 @@ github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79 github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.19.0 h1:FpqZ6n50Tk95mItTSS9BjeOVUb4eg81SpgVtZNNtFSM= -github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg= +github.com/hashicorp/terraform-exec v0.20.0 h1:DIZnPsqzPGuUnq6cH8jWcPunBfY+C+M8JyYF3vpnuEo= +github.com/hashicorp/terraform-exec v0.20.0/go.mod h1:ckKGkJWbsNqFKV1itgMnE0hY9IYf1HoiekpuN0eWoDw= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= -github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA= -github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= -github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec= +github.com/hashicorp/terraform-json v0.19.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= +github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= +github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= github.com/hashicorp/terraform-plugin-go v0.22.0 h1:1OS1Jk5mO0f5hrziWJGXXIxBrMe2j/B8E+DVGw43Xmc= github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= @@ -1692,7 +2252,6 @@ github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwU github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= @@ -1721,8 +2280,9 @@ github.com/hexops/valast v1.4.4 h1:rETyycw+/L2ZVJHHNxEBgh8KUn+87WugH9MxcEv9PGs= github.com/hexops/valast v1.4.4/go.mod h1:Jcy1pNH7LNraVaAZDLyv21hHg2WBv9Nf9FL6fGxU7o4= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/huandu/xstrings v1.3.3 h1:/Gcsuc1x8JVbJ9/rlye4xZnVAbEkGauT8lbebqcQws4= +github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= @@ -1879,6 +2439,7 @@ github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= +github.com/lyft/protoc-gen-star/v2 v2.0.3/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= @@ -1891,7 +2452,6 @@ github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJ github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= -github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= @@ -1911,8 +2471,9 @@ github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOA github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= @@ -1924,6 +2485,7 @@ github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vq github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= @@ -2048,6 +2610,20 @@ github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108 github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= +github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= +github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= +github.com/onsi/ginkgo/v2 v2.3.0/go.mod h1:Eew0uilEqZmIEZr8JrvYlvOM7Rr6xzTmMV8AyFNU9d0= +github.com/onsi/ginkgo/v2 v2.4.0/go.mod h1:iHkDK1fKGcBoEHT5W7YBq4RFWaQulw+caOMkAt4OrFo= +github.com/onsi/ginkgo/v2 v2.5.0/go.mod h1:Luc4sArBICYCS8THh8v3i3i5CuSZO+RaQRaJoeNwomw= +github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo= +github.com/onsi/ginkgo/v2 v2.8.1/go.mod h1:N1/NbDngAFcSLdyZ+/aYTYGSlq9qMCS/cNKGJjy+csc= +github.com/onsi/ginkgo/v2 v2.9.0/go.mod h1:4xkjoL/tZv4SMWeww56BU5kAt19mVB47gTWxmrTcxyk= +github.com/onsi/ginkgo/v2 v2.9.1/go.mod h1:FEcmzVcCHl+4o9bQZVab+4dC9+j+91t2FHSzmGAPfuo= +github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= +github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3RonqW57k= +github.com/onsi/ginkgo/v2 v2.9.7/go.mod h1:cxrmXWykAwTwhQsJOPfdIDiJ+l2RYq7U8hFU+M/1uw0= +github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= @@ -2058,6 +2634,20 @@ github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoT github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= +github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= +github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= +github.com/onsi/gomega v1.21.1/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc= +github.com/onsi/gomega v1.22.1/go.mod h1:x6n7VNe4hw0vkyYUM4mjIXx3JbLiPaBPNgB7PRQ1tuM= +github.com/onsi/gomega v1.24.0/go.mod h1:Z/NWtiqwBrwUt4/2loMmHL63EDLnYHmVbuBpDr2vQAg= +github.com/onsi/gomega v1.24.1/go.mod h1:3AOiACssS3/MajrniINInwbfOOtfZvplPzuRSmvt1jM= +github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= +github.com/onsi/gomega v1.27.1/go.mod h1:aHX5xOykVYzWOV4WqQy0sy8BQptgukenXpCXfadcIAw= +github.com/onsi/gomega v1.27.3/go.mod h1:5vG284IBtfDAmDyrK+eGyZmUgUlmi+Wngqo557cZ6Gw= +github.com/onsi/gomega v1.27.4/go.mod h1:riYq/GJKh8hhoM01HN6Vmuy93AarCXCBGpvFDK3q3fQ= +github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= +github.com/onsi/gomega v1.27.7/go.mod h1:1p8OOlwo2iUUDsHnOrjE5UKYJ+e3W8eQ3qSlRahPmr4= +github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= @@ -2170,6 +2760,7 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1: github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= +github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= @@ -2209,29 +2800,30 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/providertest v0.0.10 h1:bx77G0JYPO2Alf/SHRP05XpAYMrboKJkMIVkbFclVhI= -github.com/pulumi/providertest v0.0.10/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= +github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVdnQUe8= +github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-java/pkg v0.9.9 h1:F3xJUtMFDVrTGCxb7Rh2Q8s6tj7gMfM5pcoUthz7vFY= github.com/pulumi/pulumi-java/pkg v0.9.9/go.mod h1:LVF1zeg3UkToHWxb67V+zEIxQc3EdMnlot5NWSt+FpA= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.76.0 h1:o8XQDN0KH1LE1SNYjk512HdQujxmnOVhMp4mlqIGqVo= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.76.0/go.mod h1:iSQ4IXK9AD/ne+pFcR+kqtrEuOD43/1f8jugbYWvt4c= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 h1:BZhD7yNZz7O5MWeM4WofY6XBLjtiA3qH2UJJTg8+Nts= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0/go.mod h1:OCfjEGPU2fbBlda8UZhN/N3FljW6R08SK6lXPXzahwA= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.5.0 h1:HfXu+WSFNpycref9CK935cViYJzXwSgHGWM/RepyrW0= github.com/pulumi/pulumi-yaml v1.5.0/go.mod h1:AvKSmEQv2EkPbpvAQroR1eP1LkJGC8z5NDM34rVWOtg= -github.com/pulumi/pulumi/pkg/v3 v3.107.0 h1:HRyIl1c9ur0PVQW+GuFL1APBEuGa/fQQMp3F+WluxW8= -github.com/pulumi/pulumi/pkg/v3 v3.107.0/go.mod h1:7edfZu4FlrXdIn4339tJ+SQX5VKGqbFntmpc8cai0Zg= -github.com/pulumi/pulumi/sdk/v3 v3.107.0 h1:bef+ayh9+4KkAqXih4EjlHfQXRY24NWPwWBIQhBxTjg= -github.com/pulumi/pulumi/sdk/v3 v3.107.0/go.mod h1:Ml3rpGfyZlI4zQCG7LN2XDSmH4XUNYdyBwJ3yEr/OpI= +github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= +github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= +github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= +github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240202163305-e2a20ae13ef9 h1:k3SdGlmaJ49yaRV79Ktb5KGdPvuNfeiv4+oHXN+wyhs= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240202163305-e2a20ae13ef9/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240229143312-4f60ee4e2975 h1:1WBy43K/lHEdS5Hliwf3ylVSfAu5s0KhhEs6wNeP11Y= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240229143312-4f60ee4e2975/go.mod h1:H+8tjs9TjV2w57QFVSMBQacf8k/E1XwLXGCARgViC6A= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -2300,7 +2892,6 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= @@ -2361,6 +2952,7 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= @@ -2446,9 +3038,9 @@ github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= -github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= -github.com/zclconf/go-cty v1.14.0 h1:/Xrd39K7DXbHzlisFP9c4pHao4yyf+/Ug9LEz+Y/yhc= -github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.14.2 h1:kTG7lqmBou0Zkx35r6HJHUQTvaRPr5bIAf3AoHS0izI= +github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= @@ -2605,19 +3197,27 @@ golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= +golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2679,9 +3279,12 @@ golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= +golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2769,6 +3372,7 @@ golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= @@ -2776,8 +3380,14 @@ golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ= golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= -golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= +golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= +golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -2814,6 +3424,11 @@ golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQI= +golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= +golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= +golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM= golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2833,6 +3448,10 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2970,8 +3589,10 @@ golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2994,10 +3615,16 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3012,10 +3639,15 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo= golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= -golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= -golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= +golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= +golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3032,7 +3664,9 @@ golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= @@ -3143,8 +3777,14 @@ golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4 golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= +golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= +golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.10.0/go.mod h1:UJwyiVBsOA2uwvK/e5OY3GTpDUJriEd+/YlqAwLPmyM= +golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8= golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -3231,6 +3871,14 @@ google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/ google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= +google.golang.org/api v0.118.0/go.mod h1:76TtD3vkgmZ66zZzp72bUUklpmQmKlhh6sYtIjYK+5E= +google.golang.org/api v0.122.0/go.mod h1:gcitW0lvnyWjSp9nKxAbdHKIZ6vF4aajGueeslZOyms= +google.golang.org/api v0.124.0/go.mod h1:xu2HQurE5gi/3t1aFCvhPD781p0a3p11sdunTJ2BlP4= +google.golang.org/api v0.125.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.128.0/go.mod h1:Y611qgqaE92On/7g65MQgxYul3c0rEB894kniWLY750= +google.golang.org/api v0.139.0/go.mod h1:CVagp6Eekz9CjGZ718Z+sloknzkDJE7Vc1Ckj9+viBk= +google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= google.golang.org/api v0.155.0 h1:vBmGhCYs0djJttDNynWo44zosHlPvHmA0XiN2zP2DtA= google.golang.org/api v0.155.0/go.mod h1:GI5qK5f40kCpHfPn6+YzGAByIKWv8ujFnmoWm7Igduk= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -3393,16 +4041,67 @@ google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVix google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230403163135-c38d8f061ccd/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= +google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= +google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= +google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= +google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:O9kGHb51iE/nOGvQaDUuadVYqovW56s5emA88lQnj6Y= +google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98/go.mod h1:S7mY02OqCJTD0E1OiQy1F72PWFB4bZJ87cAtLPYgDR0= +google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= +google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= +google.golang.org/genproto v0.0.0-20230821184602-ccc8af3d0e93/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= +google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= +google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= +google.golang.org/genproto v0.0.0-20230920204549-e6e6cdab5c13/go.mod h1:CCviP9RmpZ1mxVr8MUjCnSiY09IbAXZxhLE6EhHIdPU= +google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97/go.mod h1:t1VqOqqvce95G3hIDCT5FeO3YUc6Q4Oe24L/+rNMxRk= +google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:EMfReVxb80Dq1hhioy0sOsY9jCE46YDgHlJ7fWVUWRE= +google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:CgAqfJo+Xmu0GwA0411Ht3OU3OntXwsGmrmjI8ioGXI= +google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405/go.mod h1:3WDQMjmJk36UQhjQ89emUzb1mdaHcPeeAh4SCBKznB4= +google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:J7XzRzVy1+IPwWHZUzoD0IccYZIrXILAQpc+Qy9CMhY= google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 h1:KAeGQVN3M9nD0/bQXnr/ClcEMJ968gUXJQ9pwfSynuQ= google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro= google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ= +google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= +google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= +google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q= +google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/api v0.0.0-20230920204549-e6e6cdab5c13/go.mod h1:RdyHbowztCGQySiCvQPgWQWgWhGnouTdCflKoDBt32U= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97/go.mod h1:iargEX0SFPm3xcfMI0d1domjg0ZF4Aa0p2awqyxhvF0= +google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:SUBoKXbI1Efip18FClrQVGjWcyd0QZd8KkvdP34t7ww= +google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:IBQ646DjkDkvUIsVq/cc03FUFQ9wbZu7yE396YcL870= +google.golang.org/genproto/googleapis/api v0.0.0-20231030173426-d783a09b4405/go.mod h1:oT32Z4o8Zv2xPQTg0pbVaPr0MPOH6f14RgXt7zfIpwg= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 h1:Lj5rbfG876hIAYFjqiJnPHfhXbv+nzTWfm04Fg/XSVU= google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80/go.mod h1:4jWUdICTdgc3Ibxmr8nAJiiLHwQBY0UI0XZcEMaFKaA= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20230807174057-1744710a1577/go.mod h1:NjCQG/D8JandXxM57PZbAJL1DCNL6EypA0vPPwfsc7c= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20231030173426-d783a09b4405/go.mod h1:GRUCuLdzVqZte8+Dl/D4N25yLzcGqqWaYkeVOwulFqw= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230731190214-cbb8c96f2d6d/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5/go.mod h1:zBEcrKX2ZOcEkHWxBPAIvYUWOKKMIhYcmNiUIu2ji3I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230920183334-c177e329c48b/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13/go.mod h1:KSqppvjFjtoCI+KGd4PELB0qLNxdJHRGqRI09mB6pQA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97/go.mod h1:v7nGkzlmW8P3n/bKmWBn2WpBjpOEx8Q6gMueudAmKfY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:4cYg8o5yUbm77w8ZX00LhMVNl/YVBFJRYWDc0uYWMs0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA= google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM= google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -3453,10 +4152,18 @@ google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCD google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= +google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= +google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= +google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= +google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= +google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= google.golang.org/grpc v1.62.0 h1:HQKZ/fa1bXkX1oFOvSjmZEUL8wLSaZTjCcLAlmZRtdk= google.golang.org/grpc v1.62.0/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= @@ -3607,12 +4314,17 @@ lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.37.0/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= +modernc.org/cc/v3 v3.40.0/go.mod h1:/bTg4dnWkSXowUO6ssQKnOV0yMVxDYNIsIrzqTFDGH0= modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= +modernc.org/ccgo/v3 v3.0.0-20220904174949-82d86e1b6d56/go.mod h1:YSXjPL62P2AMSxBphRHPn7IkzhVHqkvOnRKAKh+W6ZI= modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= +modernc.org/ccgo/v3 v3.16.13-0.20221017192402-261537637ce8/go.mod h1:fUB3Vn0nVPReA+7IG7yZDfjv1TMWjhQP8gCxrFAtL5g= +modernc.org/ccgo/v3 v3.16.13/go.mod h1:2Quk+5YgpImhPjv2Qsob1DnZ/4som1lJTodubIcoUkY= modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= @@ -3622,19 +4334,31 @@ modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= +modernc.org/libc v1.17.4/go.mod h1:WNg2ZH56rDEwdropAJeZPQkXmDwh+JCA1s/htl6r2fA= +modernc.org/libc v1.18.0/go.mod h1:vj6zehR5bfc98ipowQOM2nIDUZnVew/wNC/2tOGS+q0= +modernc.org/libc v1.20.3/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= +modernc.org/libc v1.21.4/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= +modernc.org/libc v1.22.2/go.mod h1:uvQavJ1pZ0hIoC/jfqNoMLURIMhKzINIWypNM17puug= modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/memory v1.3.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/memory v1.4.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/memory v1.5.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= +modernc.org/sqlite v1.18.2/go.mod h1:kvrTLEWgxUcHa2GfHBQtanR1H9ht3hTJNtKpzH9k1u0= modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= +modernc.org/tcl v1.13.2/go.mod h1:7CLiGIPo1M8Rv1Mitpv5akc2+8fxUd2y2UzC/MfMzy0= modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= mvdan.cc/gofumpt v0.5.0 h1:0EQ+Z56k8tXjj/6TQD25BFNKQXpCvT0rnansIc7Ug5E= mvdan.cc/gofumpt v0.5.0/go.mod h1:HBeVDtMKRZpXyxFciAirzdKklDlGu8aAy1wEbH5Y9js= diff --git a/sdk/dotnet/App.cs b/sdk/dotnet/App.cs index 68037772..616236b0 100644 --- a/sdk/dotnet/App.cs +++ b/sdk/dotnet/App.cs @@ -15,8 +15,10 @@ namespace Pulumi.DigitalOcean /// ## Example Usage /// /// To create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components. + /// /// ### Basic Example /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -51,8 +53,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Static Site Example /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -86,6 +91,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/Cdn.cs b/sdk/dotnet/Cdn.cs index 2ef91b9c..ab836083 100644 --- a/sdk/dotnet/Cdn.cs +++ b/sdk/dotnet/Cdn.cs @@ -13,8 +13,10 @@ namespace Pulumi.DigitalOcean /// Provides a DigitalOcean CDN Endpoint resource for use with Spaces. /// /// ## Example Usage + /// /// ### Basic Example /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -42,8 +44,11 @@ namespace Pulumi.DigitalOcean /// }; /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Custom Sub-Domain Example /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -79,6 +84,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/Certificate.cs b/sdk/dotnet/Certificate.cs index 14cf2162..68de16bf 100644 --- a/sdk/dotnet/Certificate.cs +++ b/sdk/dotnet/Certificate.cs @@ -18,8 +18,10 @@ namespace Pulumi.DigitalOcean /// Let's Encrypt. /// /// ## Example Usage + /// /// ### Custom Certificate /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.IO; @@ -39,8 +41,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Let's Encrypt Certificate /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -60,11 +65,14 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Use with Other Resources /// /// Both custom and Let's Encrypt certificates can be used with other resources /// including the `digitalocean.LoadBalancer` and `digitalocean.Cdn` resources. /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -102,6 +110,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/ContainerRegistry.cs b/sdk/dotnet/ContainerRegistry.cs index e4d1726c..8e28941f 100644 --- a/sdk/dotnet/ContainerRegistry.cs +++ b/sdk/dotnet/ContainerRegistry.cs @@ -15,6 +15,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -31,6 +32,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/ContainerRegistryDockerCredentials.cs b/sdk/dotnet/ContainerRegistryDockerCredentials.cs index 9d59b058..7e6f4cd0 100644 --- a/sdk/dotnet/ContainerRegistryDockerCredentials.cs +++ b/sdk/dotnet/ContainerRegistryDockerCredentials.cs @@ -15,10 +15,12 @@ namespace Pulumi.DigitalOcean /// An error is triggered if the provided container registry name does not exist. /// /// ## Example Usage + /// /// ### Basic Example /// /// Get the container registry: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -34,10 +36,13 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Docker Provider Example /// /// Use the `endpoint` and `docker_credentials` with the Docker provider: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -58,6 +63,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// [DigitalOceanResourceType("digitalocean:index/containerRegistryDockerCredentials:ContainerRegistryDockerCredentials")] public partial class ContainerRegistryDockerCredentials : global::Pulumi.CustomResource diff --git a/sdk/dotnet/CustomImage.cs b/sdk/dotnet/CustomImage.cs index 932b2e22..ff6a34dd 100644 --- a/sdk/dotnet/CustomImage.cs +++ b/sdk/dotnet/CustomImage.cs @@ -24,6 +24,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -54,6 +55,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// [DigitalOceanResourceType("digitalocean:index/customImage:CustomImage")] public partial class CustomImage : global::Pulumi.CustomResource diff --git a/sdk/dotnet/DatabaseCluster.cs b/sdk/dotnet/DatabaseCluster.cs index a6616f8a..d23968e3 100644 --- a/sdk/dotnet/DatabaseCluster.cs +++ b/sdk/dotnet/DatabaseCluster.cs @@ -13,7 +13,9 @@ namespace Pulumi.DigitalOcean /// Provides a DigitalOcean database cluster resource. /// /// ## Example Usage + /// /// ### Create a new PostgreSQL database cluster + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -33,7 +35,10 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new MySQL database cluster + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -53,7 +58,10 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new Redis database cluster + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -73,7 +81,10 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new Kafka database cluster + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -93,7 +104,10 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new MongoDB database cluster + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -113,8 +127,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ## Create a new database cluster based on a backup of an existing cluster. /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -161,6 +178,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/DatabaseConnectionPool.cs b/sdk/dotnet/DatabaseConnectionPool.cs index fca63de0..50ccff5e 100644 --- a/sdk/dotnet/DatabaseConnectionPool.cs +++ b/sdk/dotnet/DatabaseConnectionPool.cs @@ -13,7 +13,9 @@ namespace Pulumi.DigitalOcean /// Provides a DigitalOcean database connection pool resource. /// /// ## Example Usage + /// /// ### Create a new PostgreSQL database connection pool + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -42,12 +44,13 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// Database connection pools can be imported using the `id` of the source database cluster /// - /// and the `name` of the connection pool joined with a comma. For example: + /// and the `name` of the connection pool joined with a comma. For example: /// /// ```sh /// $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01 diff --git a/sdk/dotnet/DatabaseDb.cs b/sdk/dotnet/DatabaseDb.cs index 6838e8e4..f19645a0 100644 --- a/sdk/dotnet/DatabaseDb.cs +++ b/sdk/dotnet/DatabaseDb.cs @@ -13,7 +13,9 @@ namespace Pulumi.DigitalOcean /// Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster. /// /// ## Example Usage + /// /// ### Create a new PostgreSQL database + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -38,12 +40,13 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// Database can be imported using the `id` of the source database cluster /// - /// and the `name` of the database joined with a comma. For example: + /// and the `name` of the database joined with a comma. For example: /// /// ```sh /// $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/dotnet/DatabaseFirewall.cs b/sdk/dotnet/DatabaseFirewall.cs index 710b894f..e222c704 100644 --- a/sdk/dotnet/DatabaseFirewall.cs +++ b/sdk/dotnet/DatabaseFirewall.cs @@ -15,8 +15,10 @@ namespace Pulumi.DigitalOcean /// specific Droplets, Kubernetes clusters, or IP addresses. /// /// ## Example Usage + /// /// ### Create a new database firewall allowing multiple IP addresses /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -54,8 +56,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new database firewall allowing a Droplet /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -95,8 +100,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new database firewall for a database replica /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -137,12 +145,13 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// Database firewalls can be imported using the `id` of the target database cluster /// - /// For example: + /// For example: /// /// ```sh /// $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54 diff --git a/sdk/dotnet/DatabaseKafkaTopic.cs b/sdk/dotnet/DatabaseKafkaTopic.cs index 9ea669cc..d407437c 100644 --- a/sdk/dotnet/DatabaseKafkaTopic.cs +++ b/sdk/dotnet/DatabaseKafkaTopic.cs @@ -13,7 +13,9 @@ namespace Pulumi.DigitalOcean /// Provides a DigitalOcean Kafka topic for Kafka clusters. /// /// ## Example Usage + /// /// ### Create a new Kafka topic + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -73,6 +75,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/DatabaseMysqlConfig.cs b/sdk/dotnet/DatabaseMysqlConfig.cs index 7fafc025..aae795a9 100644 --- a/sdk/dotnet/DatabaseMysqlConfig.cs +++ b/sdk/dotnet/DatabaseMysqlConfig.cs @@ -17,6 +17,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -43,6 +44,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/DatabaseRedisConfig.cs b/sdk/dotnet/DatabaseRedisConfig.cs index a590672d..329f322f 100644 --- a/sdk/dotnet/DatabaseRedisConfig.cs +++ b/sdk/dotnet/DatabaseRedisConfig.cs @@ -17,6 +17,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -44,6 +45,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/DatabaseReplica.cs b/sdk/dotnet/DatabaseReplica.cs index 76fc93ea..00ffdab5 100644 --- a/sdk/dotnet/DatabaseReplica.cs +++ b/sdk/dotnet/DatabaseReplica.cs @@ -13,7 +13,9 @@ namespace Pulumi.DigitalOcean /// Provides a DigitalOcean database replica resource. /// /// ## Example Usage + /// /// ### Create a new PostgreSQL database replica + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -58,12 +60,13 @@ namespace Pulumi.DigitalOcean /// }; /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// Database replicas can be imported using the `id` of the source database cluster /// - /// and the `name` of the replica joined with a comma. For example: + /// and the `name` of the replica joined with a comma. For example: /// /// ```sh /// $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica diff --git a/sdk/dotnet/DatabaseUser.cs b/sdk/dotnet/DatabaseUser.cs index f54d0cb6..49465021 100644 --- a/sdk/dotnet/DatabaseUser.cs +++ b/sdk/dotnet/DatabaseUser.cs @@ -15,7 +15,9 @@ namespace Pulumi.DigitalOcean /// > **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually. /// /// ## Example Usage + /// /// ### Create a new PostgreSQL database user + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -40,7 +42,10 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new user for a PostgreSQL database replica + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -72,7 +77,10 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a new user for a Kafka database cluster + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -126,12 +134,13 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// Database user can be imported using the `id` of the source database cluster /// - /// and the `name` of the user joined with a comma. For example: + /// and the `name` of the user joined with a comma. For example: /// /// ```sh /// $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/dotnet/DnsRecord.cs b/sdk/dotnet/DnsRecord.cs index 8bf0a751..f0b6dde5 100644 --- a/sdk/dotnet/DnsRecord.cs +++ b/sdk/dotnet/DnsRecord.cs @@ -14,6 +14,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -51,6 +52,7 @@ namespace Pulumi.DigitalOcean /// }; /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// @@ -60,9 +62,7 @@ namespace Pulumi.DigitalOcean /// $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678 /// ``` /// - /// ~> - /// - /// You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list <domain.name>` + /// ~> You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list <domain.name>` /// [DigitalOceanResourceType("digitalocean:index/dnsRecord:DnsRecord")] public partial class DnsRecord : global::Pulumi.CustomResource diff --git a/sdk/dotnet/Domain.cs b/sdk/dotnet/Domain.cs index dd4805ca..d761e7ee 100644 --- a/sdk/dotnet/Domain.cs +++ b/sdk/dotnet/Domain.cs @@ -14,6 +14,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -31,6 +32,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/Droplet.cs b/sdk/dotnet/Droplet.cs index 9c10a8a0..089bdfde 100644 --- a/sdk/dotnet/Droplet.cs +++ b/sdk/dotnet/Droplet.cs @@ -15,6 +15,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -33,6 +34,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/DropletSnapshot.cs b/sdk/dotnet/DropletSnapshot.cs index 2c96f633..45563157 100644 --- a/sdk/dotnet/DropletSnapshot.cs +++ b/sdk/dotnet/DropletSnapshot.cs @@ -14,6 +14,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -43,6 +44,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/Firewall.cs b/sdk/dotnet/Firewall.cs index 8acfbf8c..3615c45e 100644 --- a/sdk/dotnet/Firewall.cs +++ b/sdk/dotnet/Firewall.cs @@ -15,6 +15,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -114,6 +115,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/FloatingIp.cs b/sdk/dotnet/FloatingIp.cs index 11ebf080..e4c95699 100644 --- a/sdk/dotnet/FloatingIp.cs +++ b/sdk/dotnet/FloatingIp.cs @@ -18,6 +18,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -43,6 +44,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/FloatingIpAssignment.cs b/sdk/dotnet/FloatingIpAssignment.cs index 3eae8421..a8a25b65 100644 --- a/sdk/dotnet/FloatingIpAssignment.cs +++ b/sdk/dotnet/FloatingIpAssignment.cs @@ -18,6 +18,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -48,12 +49,13 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// Floating IP assignments can be imported using the Floating IP itself and the `id` of /// - /// the Droplet joined with a comma. For example: + /// the Droplet joined with a comma. For example: /// /// ```sh /// $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/dotnet/GetAccount.cs b/sdk/dotnet/GetAccount.cs index 10b05218..eefba324 100644 --- a/sdk/dotnet/GetAccount.cs +++ b/sdk/dotnet/GetAccount.cs @@ -14,12 +14,11 @@ public static class GetAccount /// /// Get information on your DigitalOcean account. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the account: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -32,8 +31,7 @@ public static class GetAccount /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getAccount:getAccount", InvokeArgs.Empty, options.WithDefaults()); @@ -41,12 +39,11 @@ public static Task InvokeAsync(InvokeOptions? options = null) /// /// Get information on your DigitalOcean account. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the account: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -59,8 +56,7 @@ public static Task InvokeAsync(InvokeOptions? options = null) /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getAccount:getAccount", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetApp.cs b/sdk/dotnet/GetApp.cs index 2d0b4c77..93f9031d 100644 --- a/sdk/dotnet/GetApp.cs +++ b/sdk/dotnet/GetApp.cs @@ -14,12 +14,11 @@ public static class GetApp /// /// Get information on a DigitalOcean App. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the account: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -39,8 +38,7 @@ public static class GetApp /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetAppArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getApp:getApp", args ?? new GetAppArgs(), options.WithDefaults()); @@ -48,12 +46,11 @@ public static Task InvokeAsync(GetAppArgs args, InvokeOptions? opt /// /// Get information on a DigitalOcean App. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the account: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -73,8 +70,7 @@ public static Task InvokeAsync(GetAppArgs args, InvokeOptions? opt /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetAppInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getApp:getApp", args ?? new GetAppInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetCertificate.cs b/sdk/dotnet/GetCertificate.cs index 9ea0ee18..55ec76be 100644 --- a/sdk/dotnet/GetCertificate.cs +++ b/sdk/dotnet/GetCertificate.cs @@ -19,12 +19,11 @@ public static class GetCertificate /// /// An error is triggered if the provided certificate name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the certificate: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -40,8 +39,7 @@ public static class GetCertificate /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetCertificateArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getCertificate:getCertificate", args ?? new GetCertificateArgs(), options.WithDefaults()); @@ -54,12 +52,11 @@ public static Task InvokeAsync(GetCertificateArgs args, In /// /// An error is triggered if the provided certificate name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the certificate: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -75,8 +72,7 @@ public static Task InvokeAsync(GetCertificateArgs args, In /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetCertificateInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getCertificate:getCertificate", args ?? new GetCertificateInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetContainerRegistry.cs b/sdk/dotnet/GetContainerRegistry.cs index 2086f4f2..46a15984 100644 --- a/sdk/dotnet/GetContainerRegistry.cs +++ b/sdk/dotnet/GetContainerRegistry.cs @@ -19,13 +19,13 @@ public static class GetContainerRegistry /// /// An error is triggered if the provided container registry name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} + /// /// ### Basic Example /// /// Get the container registry: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -41,8 +41,7 @@ public static class GetContainerRegistry /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetContainerRegistryArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getContainerRegistry:getContainerRegistry", args ?? new GetContainerRegistryArgs(), options.WithDefaults()); @@ -55,13 +54,13 @@ public static Task InvokeAsync(GetContainerRegistryA /// /// An error is triggered if the provided container registry name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} + /// /// ### Basic Example /// /// Get the container registry: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -77,8 +76,7 @@ public static Task InvokeAsync(GetContainerRegistryA /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetContainerRegistryInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getContainerRegistry:getContainerRegistry", args ?? new GetContainerRegistryInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDatabaseCa.cs b/sdk/dotnet/GetDatabaseCa.cs index 359319ff..5adf8b14 100644 --- a/sdk/dotnet/GetDatabaseCa.cs +++ b/sdk/dotnet/GetDatabaseCa.cs @@ -14,10 +14,9 @@ public static class GetDatabaseCa /// /// Provides the CA certificate for a DigitalOcean database. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -37,8 +36,7 @@ public static class GetDatabaseCa /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDatabaseCaArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDatabaseCa:getDatabaseCa", args ?? new GetDatabaseCaArgs(), options.WithDefaults()); @@ -46,10 +44,9 @@ public static Task InvokeAsync(GetDatabaseCaArgs args, Invo /// /// Provides the CA certificate for a DigitalOcean database. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -69,8 +66,7 @@ public static Task InvokeAsync(GetDatabaseCaArgs args, Invo /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDatabaseCaInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDatabaseCa:getDatabaseCa", args ?? new GetDatabaseCaInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDatabaseCluster.cs b/sdk/dotnet/GetDatabaseCluster.cs index e7680b23..4a35be2a 100644 --- a/sdk/dotnet/GetDatabaseCluster.cs +++ b/sdk/dotnet/GetDatabaseCluster.cs @@ -14,10 +14,9 @@ public static class GetDatabaseCluster /// /// Provides information on a DigitalOcean database cluster resource. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -37,8 +36,7 @@ public static class GetDatabaseCluster /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDatabaseClusterArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDatabaseCluster:getDatabaseCluster", args ?? new GetDatabaseClusterArgs(), options.WithDefaults()); @@ -46,10 +44,9 @@ public static Task InvokeAsync(GetDatabaseClusterArgs /// /// Provides information on a DigitalOcean database cluster resource. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -69,8 +66,7 @@ public static Task InvokeAsync(GetDatabaseClusterArgs /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDatabaseClusterInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDatabaseCluster:getDatabaseCluster", args ?? new GetDatabaseClusterInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDatabaseConnectionPool.cs b/sdk/dotnet/GetDatabaseConnectionPool.cs index eadd4005..13b16762 100644 --- a/sdk/dotnet/GetDatabaseConnectionPool.cs +++ b/sdk/dotnet/GetDatabaseConnectionPool.cs @@ -14,10 +14,9 @@ public static class GetDatabaseConnectionPool /// /// Provides information on a DigitalOcean PostgreSQL database connection pool. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -43,8 +42,7 @@ public static class GetDatabaseConnectionPool /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDatabaseConnectionPoolArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDatabaseConnectionPool:getDatabaseConnectionPool", args ?? new GetDatabaseConnectionPoolArgs(), options.WithDefaults()); @@ -52,10 +50,9 @@ public static Task InvokeAsync(GetDatabaseConne /// /// Provides information on a DigitalOcean PostgreSQL database connection pool. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -81,8 +78,7 @@ public static Task InvokeAsync(GetDatabaseConne /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDatabaseConnectionPoolInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDatabaseConnectionPool:getDatabaseConnectionPool", args ?? new GetDatabaseConnectionPoolInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDatabaseReplica.cs b/sdk/dotnet/GetDatabaseReplica.cs index 1f9605b1..8ece1dfa 100644 --- a/sdk/dotnet/GetDatabaseReplica.cs +++ b/sdk/dotnet/GetDatabaseReplica.cs @@ -14,10 +14,9 @@ public static class GetDatabaseReplica /// /// Provides information on a DigitalOcean database replica. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -43,8 +42,7 @@ public static class GetDatabaseReplica /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDatabaseReplicaArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDatabaseReplica:getDatabaseReplica", args ?? new GetDatabaseReplicaArgs(), options.WithDefaults()); @@ -52,10 +50,9 @@ public static Task InvokeAsync(GetDatabaseReplicaArgs /// /// Provides information on a DigitalOcean database replica. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -81,8 +78,7 @@ public static Task InvokeAsync(GetDatabaseReplicaArgs /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDatabaseReplicaInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDatabaseReplica:getDatabaseReplica", args ?? new GetDatabaseReplicaInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDatabaseUser.cs b/sdk/dotnet/GetDatabaseUser.cs index c820dde3..14aaa1e5 100644 --- a/sdk/dotnet/GetDatabaseUser.cs +++ b/sdk/dotnet/GetDatabaseUser.cs @@ -14,10 +14,9 @@ public static class GetDatabaseUser /// /// Provides information on a DigitalOcean database user resource. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -43,8 +42,7 @@ public static class GetDatabaseUser /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDatabaseUserArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDatabaseUser:getDatabaseUser", args ?? new GetDatabaseUserArgs(), options.WithDefaults()); @@ -52,10 +50,9 @@ public static Task InvokeAsync(GetDatabaseUserArgs args, /// /// Provides information on a DigitalOcean database user resource. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -81,8 +78,7 @@ public static Task InvokeAsync(GetDatabaseUserArgs args, /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDatabaseUserInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDatabaseUser:getDatabaseUser", args ?? new GetDatabaseUserInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDomain.cs b/sdk/dotnet/GetDomain.cs index 02bdb8c2..8c0cfdc8 100644 --- a/sdk/dotnet/GetDomain.cs +++ b/sdk/dotnet/GetDomain.cs @@ -19,6 +19,32 @@ public static class GetDomain /// /// An error is triggered if the provided domain name is not managed with your /// DigitalOcean account. + /// + /// ## Example Usage + /// + /// Get the zone file for a domain: + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using DigitalOcean = Pulumi.DigitalOcean; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = DigitalOcean.GetDomain.Invoke(new() + /// { + /// Name = "example.com", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["domainOutput"] = example.Apply(getDomainResult => getDomainResult.ZoneFile), + /// }; + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDomainArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDomain:getDomain", args ?? new GetDomainArgs(), options.WithDefaults()); @@ -31,6 +57,32 @@ public static Task InvokeAsync(GetDomainArgs args, InvokeOption /// /// An error is triggered if the provided domain name is not managed with your /// DigitalOcean account. + /// + /// ## Example Usage + /// + /// Get the zone file for a domain: + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using DigitalOcean = Pulumi.DigitalOcean; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = DigitalOcean.GetDomain.Invoke(new() + /// { + /// Name = "example.com", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["domainOutput"] = example.Apply(getDomainResult => getDomainResult.ZoneFile), + /// }; + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDomainInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDomain:getDomain", args ?? new GetDomainInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDomains.cs b/sdk/dotnet/GetDomains.cs index a7f42b0c..337c8c77 100644 --- a/sdk/dotnet/GetDomains.cs +++ b/sdk/dotnet/GetDomains.cs @@ -21,13 +21,12 @@ public static class GetDomains /// Note: You can use the `digitalocean.Domain` data source to obtain metadata /// about a single domain if you already know the `name`. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter domains. (This example /// also uses the regular expression `match_by` mode in order to match domains by suffix.) /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -54,8 +53,7 @@ public static class GetDomains /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDomainsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDomains:getDomains", args ?? new GetDomainsArgs(), options.WithDefaults()); @@ -70,13 +68,12 @@ public static Task InvokeAsync(GetDomainsArgs? args = null, In /// Note: You can use the `digitalocean.Domain` data source to obtain metadata /// about a single domain if you already know the `name`. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter domains. (This example /// also uses the regular expression `match_by` mode in order to match domains by suffix.) /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -103,8 +100,7 @@ public static Task InvokeAsync(GetDomainsArgs? args = null, In /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDomainsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDomains:getDomains", args ?? new GetDomainsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDroplet.cs b/sdk/dotnet/GetDroplet.cs index 2f441d01..b06a0668 100644 --- a/sdk/dotnet/GetDroplet.cs +++ b/sdk/dotnet/GetDroplet.cs @@ -20,12 +20,11 @@ public static class GetDroplet /// **Note:** This data source returns a single Droplet. When specifying a `tag`, an /// error is triggered if more than one Droplet is found. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the Droplet by name: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -45,9 +44,11 @@ public static class GetDroplet /// }; /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the Droplet by tag: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -63,9 +64,11 @@ public static class GetDroplet /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the Droplet by ID: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -81,8 +84,7 @@ public static class GetDroplet /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDropletArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDroplet:getDroplet", args ?? new GetDropletArgs(), options.WithDefaults()); @@ -96,12 +98,11 @@ public static Task InvokeAsync(GetDropletArgs? args = null, In /// **Note:** This data source returns a single Droplet. When specifying a `tag`, an /// error is triggered if more than one Droplet is found. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the Droplet by name: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -121,9 +122,11 @@ public static Task InvokeAsync(GetDropletArgs? args = null, In /// }; /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the Droplet by tag: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -139,9 +142,11 @@ public static Task InvokeAsync(GetDropletArgs? args = null, In /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the Droplet by ID: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -157,8 +162,7 @@ public static Task InvokeAsync(GetDropletArgs? args = null, In /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDropletInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDroplet:getDroplet", args ?? new GetDropletInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDropletSnapshot.cs b/sdk/dotnet/GetDropletSnapshot.cs index 9eb3dd7a..86145c31 100644 --- a/sdk/dotnet/GetDropletSnapshot.cs +++ b/sdk/dotnet/GetDropletSnapshot.cs @@ -16,12 +16,11 @@ public static class GetDropletSnapshot /// source to retrieve the ID of a DigitalOcean Droplet snapshot for use in other /// resources. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the Droplet snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -39,9 +38,11 @@ public static class GetDropletSnapshot /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Create image from snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -66,8 +67,7 @@ public static class GetDropletSnapshot /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDropletSnapshotArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDropletSnapshot:getDropletSnapshot", args ?? new GetDropletSnapshotArgs(), options.WithDefaults()); @@ -77,12 +77,11 @@ public static Task InvokeAsync(GetDropletSnapshotArgs? /// source to retrieve the ID of a DigitalOcean Droplet snapshot for use in other /// resources. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the Droplet snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -100,9 +99,11 @@ public static Task InvokeAsync(GetDropletSnapshotArgs? /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Create image from snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -127,8 +128,7 @@ public static Task InvokeAsync(GetDropletSnapshotArgs? /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDropletSnapshotInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDropletSnapshot:getDropletSnapshot", args ?? new GetDropletSnapshotInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDroplets.cs b/sdk/dotnet/GetDroplets.cs index 01ef48fd..7707ce5a 100644 --- a/sdk/dotnet/GetDroplets.cs +++ b/sdk/dotnet/GetDroplets.cs @@ -21,14 +21,13 @@ public static class GetDroplets /// Note: You can use the `digitalocean.Droplet` data source to obtain metadata /// about a single Droplet if you already know the `id`, unique `name`, or unique `tag` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter images. /// /// For example to find all Droplets with size `s-1vcpu-1gb`: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -54,9 +53,11 @@ public static class GetDroplets /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -98,8 +99,7 @@ public static class GetDroplets /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetDropletsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getDroplets:getDroplets", args ?? new GetDropletsArgs(), options.WithDefaults()); @@ -114,14 +114,13 @@ public static Task InvokeAsync(GetDropletsArgs? args = null, /// Note: You can use the `digitalocean.Droplet` data source to obtain metadata /// about a single Droplet if you already know the `id`, unique `name`, or unique `tag` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter images. /// /// For example to find all Droplets with size `s-1vcpu-1gb`: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -147,9 +146,11 @@ public static Task InvokeAsync(GetDropletsArgs? args = null, /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -191,8 +192,7 @@ public static Task InvokeAsync(GetDropletsArgs? args = null, /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetDropletsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getDroplets:getDroplets", args ?? new GetDropletsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetFirewall.cs b/sdk/dotnet/GetFirewall.cs index d5016422..e8ad32be 100644 --- a/sdk/dotnet/GetFirewall.cs +++ b/sdk/dotnet/GetFirewall.cs @@ -14,12 +14,11 @@ public static class GetFirewall /// /// Get information on a DigitalOcean Firewall. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the firewall: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -39,8 +38,7 @@ public static class GetFirewall /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetFirewallArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getFirewall:getFirewall", args ?? new GetFirewallArgs(), options.WithDefaults()); @@ -48,12 +46,11 @@ public static Task InvokeAsync(GetFirewallArgs args, InvokeOp /// /// Get information on a DigitalOcean Firewall. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the firewall: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -73,8 +70,7 @@ public static Task InvokeAsync(GetFirewallArgs args, InvokeOp /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetFirewallInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getFirewall:getFirewall", args ?? new GetFirewallInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetFloatingIp.cs b/sdk/dotnet/GetFloatingIp.cs index 03511d82..8f16b853 100644 --- a/sdk/dotnet/GetFloatingIp.cs +++ b/sdk/dotnet/GetFloatingIp.cs @@ -21,12 +21,11 @@ public static class GetFloatingIp /// /// An error is triggered if the provided floating IP does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the floating IP: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -48,8 +47,7 @@ public static class GetFloatingIp /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetFloatingIpArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getFloatingIp:getFloatingIp", args ?? new GetFloatingIpArgs(), options.WithDefaults()); @@ -64,12 +62,11 @@ public static Task InvokeAsync(GetFloatingIpArgs args, Invo /// /// An error is triggered if the provided floating IP does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the floating IP: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -91,8 +88,7 @@ public static Task InvokeAsync(GetFloatingIpArgs args, Invo /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetFloatingIpInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getFloatingIp:getFloatingIp", args ?? new GetFloatingIpInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetImage.cs b/sdk/dotnet/GetImage.cs index 7fdcb5ca..a0dbe8e7 100644 --- a/sdk/dotnet/GetImage.cs +++ b/sdk/dotnet/GetImage.cs @@ -19,12 +19,11 @@ public static class GetImage /// /// An error is triggered if zero or more than one result is returned by the query. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the data about a snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -40,9 +39,11 @@ public static class GetImage /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a snapshot to create a Droplet: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -65,9 +66,11 @@ public static class GetImage /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the data about an official image: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -83,8 +86,7 @@ public static class GetImage /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetImageArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getImage:getImage", args ?? new GetImageArgs(), options.WithDefaults()); @@ -97,12 +99,11 @@ public static Task InvokeAsync(GetImageArgs? args = null, Invoke /// /// An error is triggered if zero or more than one result is returned by the query. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the data about a snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -118,9 +119,11 @@ public static Task InvokeAsync(GetImageArgs? args = null, Invoke /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a snapshot to create a Droplet: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -143,9 +146,11 @@ public static Task InvokeAsync(GetImageArgs? args = null, Invoke /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the data about an official image: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -161,8 +166,7 @@ public static Task InvokeAsync(GetImageArgs? args = null, Invoke /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetImageInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getImage:getImage", args ?? new GetImageInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetImages.cs b/sdk/dotnet/GetImages.cs index 89f7bd7f..936bb733 100644 --- a/sdk/dotnet/GetImages.cs +++ b/sdk/dotnet/GetImages.cs @@ -22,14 +22,13 @@ public static class GetImages /// Note: You can use the `digitalocean.getImage` data source to obtain metadata /// about a single image if you already know the `slug`, unique `name`, or `id` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter images. /// /// For example to find all Ubuntu images: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -55,9 +54,11 @@ public static class GetImages /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -99,8 +100,7 @@ public static class GetImages /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetImagesArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getImages:getImages", args ?? new GetImagesArgs(), options.WithDefaults()); @@ -116,14 +116,13 @@ public static Task InvokeAsync(GetImagesArgs? args = null, Invo /// Note: You can use the `digitalocean.getImage` data source to obtain metadata /// about a single image if you already know the `slug`, unique `name`, or `id` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter images. /// /// For example to find all Ubuntu images: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -149,9 +148,11 @@ public static Task InvokeAsync(GetImagesArgs? args = null, Invo /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -193,8 +194,7 @@ public static Task InvokeAsync(GetImagesArgs? args = null, Invo /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetImagesInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getImages:getImages", args ?? new GetImagesInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetKubernetesVersions.cs b/sdk/dotnet/GetKubernetesVersions.cs index 7126e601..e10c92ec 100644 --- a/sdk/dotnet/GetKubernetesVersions.cs +++ b/sdk/dotnet/GetKubernetesVersions.cs @@ -14,11 +14,11 @@ public static class GetKubernetesVersions /// /// Provides access to the available DigitalOcean Kubernetes Service versions. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} + /// /// ### Output a list of all available versions /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -35,10 +35,11 @@ public static class GetKubernetesVersions /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% example %}} + /// <!--End PulumiCodeChooser --> + /// /// ### Create a Kubernetes cluster using the most recent version available /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -63,10 +64,11 @@ public static class GetKubernetesVersions /// /// }); /// ``` - /// {{% /example %}} - /// {{% example %}} + /// <!--End PulumiCodeChooser --> + /// /// ### Pin a Kubernetes cluster to a specific minor version /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -94,8 +96,7 @@ public static class GetKubernetesVersions /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetKubernetesVersionsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getKubernetesVersions:getKubernetesVersions", args ?? new GetKubernetesVersionsArgs(), options.WithDefaults()); @@ -103,11 +104,11 @@ public static Task InvokeAsync(GetKubernetesVersion /// /// Provides access to the available DigitalOcean Kubernetes Service versions. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} + /// /// ### Output a list of all available versions /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -124,10 +125,11 @@ public static Task InvokeAsync(GetKubernetesVersion /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% example %}} + /// <!--End PulumiCodeChooser --> + /// /// ### Create a Kubernetes cluster using the most recent version available /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -152,10 +154,11 @@ public static Task InvokeAsync(GetKubernetesVersion /// /// }); /// ``` - /// {{% /example %}} - /// {{% example %}} + /// <!--End PulumiCodeChooser --> + /// /// ### Pin a Kubernetes cluster to a specific minor version /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -183,8 +186,7 @@ public static Task InvokeAsync(GetKubernetesVersion /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetKubernetesVersionsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getKubernetesVersions:getKubernetesVersions", args ?? new GetKubernetesVersionsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetLoadBalancer.cs b/sdk/dotnet/GetLoadBalancer.cs index 7ff04ae9..ec568806 100644 --- a/sdk/dotnet/GetLoadBalancer.cs +++ b/sdk/dotnet/GetLoadBalancer.cs @@ -19,12 +19,11 @@ public static class GetLoadBalancer /// /// An error is triggered if the provided load balancer name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the load balancer by name: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -44,9 +43,11 @@ public static class GetLoadBalancer /// }; /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the load balancer by ID: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -62,8 +63,7 @@ public static class GetLoadBalancer /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetLoadBalancerArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getLoadBalancer:getLoadBalancer", args ?? new GetLoadBalancerArgs(), options.WithDefaults()); @@ -76,12 +76,11 @@ public static Task InvokeAsync(GetLoadBalancerArgs? args /// /// An error is triggered if the provided load balancer name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the load balancer by name: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -101,9 +100,11 @@ public static Task InvokeAsync(GetLoadBalancerArgs? args /// }; /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Get the load balancer by ID: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -119,8 +120,7 @@ public static Task InvokeAsync(GetLoadBalancerArgs? args /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetLoadBalancerInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getLoadBalancer:getLoadBalancer", args ?? new GetLoadBalancerInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetProject.cs b/sdk/dotnet/GetProject.cs index 57ebce5a..29e2d6a8 100644 --- a/sdk/dotnet/GetProject.cs +++ b/sdk/dotnet/GetProject.cs @@ -15,10 +15,9 @@ public static class GetProject /// Get information on a single DigitalOcean project. If neither the `id` nor `name` attributes are provided, /// then this data source returns the default project. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -36,8 +35,7 @@ public static class GetProject /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetProjectArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getProject:getProject", args ?? new GetProjectArgs(), options.WithDefaults()); @@ -46,10 +44,9 @@ public static Task InvokeAsync(GetProjectArgs? args = null, In /// Get information on a single DigitalOcean project. If neither the `id` nor `name` attributes are provided, /// then this data source returns the default project. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -67,8 +64,7 @@ public static Task InvokeAsync(GetProjectArgs? args = null, In /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetProjectInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetProjects.cs b/sdk/dotnet/GetProjects.cs index e408dfa9..5a9e9a47 100644 --- a/sdk/dotnet/GetProjects.cs +++ b/sdk/dotnet/GetProjects.cs @@ -20,14 +20,13 @@ public static class GetProjects /// obtain metadata about a single project if you already know the `id` to retrieve or the unique /// `name` of the project. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter projects. /// /// For example to find all staging environment projects: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -53,9 +52,11 @@ public static class GetProjects /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -97,8 +98,7 @@ public static class GetProjects /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetProjectsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getProjects:getProjects", args ?? new GetProjectsArgs(), options.WithDefaults()); @@ -112,14 +112,13 @@ public static Task InvokeAsync(GetProjectsArgs? args = null, /// obtain metadata about a single project if you already know the `id` to retrieve or the unique /// `name` of the project. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter projects. /// /// For example to find all staging environment projects: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -145,9 +144,11 @@ public static Task InvokeAsync(GetProjectsArgs? args = null, /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -189,8 +190,7 @@ public static Task InvokeAsync(GetProjectsArgs? args = null, /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetProjectsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getProjects:getProjects", args ?? new GetProjectsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetRecord.cs b/sdk/dotnet/GetRecord.cs index 0b25ba78..5aa8fa85 100644 --- a/sdk/dotnet/GetRecord.cs +++ b/sdk/dotnet/GetRecord.cs @@ -18,6 +18,34 @@ public static class GetRecord /// /// An error is triggered if the provided domain name or record are not managed with /// your DigitalOcean account. + /// + /// ## Example Usage + /// + /// Get data from a DNS record: + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using DigitalOcean = Pulumi.DigitalOcean; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = DigitalOcean.GetRecord.Invoke(new() + /// { + /// Domain = "example.com", + /// Name = "test", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["recordType"] = example.Apply(getRecordResult => getRecordResult.Type), + /// ["recordTtl"] = example.Apply(getRecordResult => getRecordResult.Ttl), + /// }; + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetRecordArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getRecord:getRecord", args ?? new GetRecordArgs(), options.WithDefaults()); @@ -29,6 +57,34 @@ public static Task InvokeAsync(GetRecordArgs args, InvokeOption /// /// An error is triggered if the provided domain name or record are not managed with /// your DigitalOcean account. + /// + /// ## Example Usage + /// + /// Get data from a DNS record: + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using DigitalOcean = Pulumi.DigitalOcean; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = DigitalOcean.GetRecord.Invoke(new() + /// { + /// Domain = "example.com", + /// Name = "test", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["recordType"] = example.Apply(getRecordResult => getRecordResult.Type), + /// ["recordTtl"] = example.Apply(getRecordResult => getRecordResult.Ttl), + /// }; + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetRecordInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getRecord:getRecord", args ?? new GetRecordInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetRegion.cs b/sdk/dotnet/GetRegion.cs index 4a15a40a..6915d0ae 100644 --- a/sdk/dotnet/GetRegion.cs +++ b/sdk/dotnet/GetRegion.cs @@ -15,10 +15,9 @@ public static class GetRegion /// Get information on a single DigitalOcean region. This is useful to find out /// what Droplet sizes and features are supported within a region. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -38,8 +37,7 @@ public static class GetRegion /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetRegionArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getRegion:getRegion", args ?? new GetRegionArgs(), options.WithDefaults()); @@ -48,10 +46,9 @@ public static Task InvokeAsync(GetRegionArgs args, InvokeOption /// Get information on a single DigitalOcean region. This is useful to find out /// what Droplet sizes and features are supported within a region. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -71,8 +68,7 @@ public static Task InvokeAsync(GetRegionArgs args, InvokeOption /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetRegionInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getRegion:getRegion", args ?? new GetRegionInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetRegions.cs b/sdk/dotnet/GetRegions.cs index 15d3c87d..6788f7ca 100644 --- a/sdk/dotnet/GetRegions.cs +++ b/sdk/dotnet/GetRegions.cs @@ -18,14 +18,13 @@ public static class GetRegions /// Note: You can use the `digitalocean.getRegion` data source /// to obtain metadata about a single region if you already know the `slug` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter regions. /// /// For example to find all available regions: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -51,9 +50,11 @@ public static class GetRegions /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -95,8 +96,7 @@ public static class GetRegions /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetRegionsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getRegions:getRegions", args ?? new GetRegionsArgs(), options.WithDefaults()); @@ -108,14 +108,13 @@ public static Task InvokeAsync(GetRegionsArgs? args = null, In /// Note: You can use the `digitalocean.getRegion` data source /// to obtain metadata about a single region if you already know the `slug` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter regions. /// /// For example to find all available regions: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -141,9 +140,11 @@ public static Task InvokeAsync(GetRegionsArgs? args = null, In /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can filter on multiple fields and sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -185,8 +186,7 @@ public static Task InvokeAsync(GetRegionsArgs? args = null, In /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetRegionsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getRegions:getRegions", args ?? new GetRegionsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetReservedIp.cs b/sdk/dotnet/GetReservedIp.cs index 929c8c90..2de02618 100644 --- a/sdk/dotnet/GetReservedIp.cs +++ b/sdk/dotnet/GetReservedIp.cs @@ -12,12 +12,11 @@ namespace Pulumi.DigitalOcean public static class GetReservedIp { /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the reserved IP: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -39,19 +38,17 @@ public static class GetReservedIp /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetReservedIpArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getReservedIp:getReservedIp", args ?? new GetReservedIpArgs(), options.WithDefaults()); /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the reserved IP: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -73,8 +70,7 @@ public static Task InvokeAsync(GetReservedIpArgs args, Invo /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetReservedIpInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getReservedIp:getReservedIp", args ?? new GetReservedIpInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetSpacesBucket.cs b/sdk/dotnet/GetSpacesBucket.cs index aa0d0aca..18a87fb7 100644 --- a/sdk/dotnet/GetSpacesBucket.cs +++ b/sdk/dotnet/GetSpacesBucket.cs @@ -15,12 +15,11 @@ public static class GetSpacesBucket /// Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question /// is not managed by the provider or you need to utilize any of the bucket's data. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the bucket by name: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -41,8 +40,7 @@ public static class GetSpacesBucket /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetSpacesBucketArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getSpacesBucket:getSpacesBucket", args ?? new GetSpacesBucketArgs(), options.WithDefaults()); @@ -51,12 +49,11 @@ public static Task InvokeAsync(GetSpacesBucketArgs args, /// Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question /// is not managed by the provider or you need to utilize any of the bucket's data. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the bucket by name: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -77,8 +74,7 @@ public static Task InvokeAsync(GetSpacesBucketArgs args, /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetSpacesBucketInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getSpacesBucket:getSpacesBucket", args ?? new GetSpacesBucketInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetSpacesBucketObject.cs b/sdk/dotnet/GetSpacesBucketObject.cs index 10db262e..bde6a9d7 100644 --- a/sdk/dotnet/GetSpacesBucketObject.cs +++ b/sdk/dotnet/GetSpacesBucketObject.cs @@ -19,13 +19,12 @@ public static class GetSpacesBucketObject /// `Content-Type` (`text/*` and `application/json`). This is to prevent printing unsafe characters and potentially /// downloading large amount of data which would be thrown away in favor of metadata. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// The following example retrieves a text object (which must have a `Content-Type` /// value starting with `text/`) and uses it as the `user_data` for a Droplet: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -51,8 +50,7 @@ public static class GetSpacesBucketObject /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetSpacesBucketObjectArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getSpacesBucketObject:getSpacesBucketObject", args ?? new GetSpacesBucketObjectArgs(), options.WithDefaults()); @@ -65,13 +63,12 @@ public static Task InvokeAsync(GetSpacesBucketObjec /// `Content-Type` (`text/*` and `application/json`). This is to prevent printing unsafe characters and potentially /// downloading large amount of data which would be thrown away in favor of metadata. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// The following example retrieves a text object (which must have a `Content-Type` /// value starting with `text/`) and uses it as the `user_data` for a Droplet: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -97,8 +94,7 @@ public static Task InvokeAsync(GetSpacesBucketObjec /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetSpacesBucketObjectInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getSpacesBucketObject:getSpacesBucketObject", args ?? new GetSpacesBucketObjectInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetSpacesBuckets.cs b/sdk/dotnet/GetSpacesBuckets.cs index 0c8882b7..d0d9788f 100644 --- a/sdk/dotnet/GetSpacesBuckets.cs +++ b/sdk/dotnet/GetSpacesBuckets.cs @@ -18,14 +18,13 @@ public static class GetSpacesBuckets /// Note: You can use the `digitalocean.SpacesBucket` data source to /// obtain metadata about a single bucket if you already know its `name` and `region`. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter buckets. /// /// Get all buckets in a region: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -51,8 +50,10 @@ public static class GetSpacesBuckets /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// You can sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -86,8 +87,7 @@ public static class GetSpacesBuckets /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetSpacesBucketsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getSpacesBuckets:getSpacesBuckets", args ?? new GetSpacesBucketsArgs(), options.WithDefaults()); @@ -99,14 +99,13 @@ public static Task InvokeAsync(GetSpacesBucketsArgs? arg /// Note: You can use the `digitalocean.SpacesBucket` data source to /// obtain metadata about a single bucket if you already know its `name` and `region`. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Use the `filter` block with a `key` string and `values` list to filter buckets. /// /// Get all buckets in a region: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -132,8 +131,10 @@ public static Task InvokeAsync(GetSpacesBucketsArgs? arg /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// You can sort the results as well: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -167,8 +168,7 @@ public static Task InvokeAsync(GetSpacesBucketsArgs? arg /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetSpacesBucketsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getSpacesBuckets:getSpacesBuckets", args ?? new GetSpacesBucketsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetSshKey.cs b/sdk/dotnet/GetSshKey.cs index 504f297f..6a9d1948 100644 --- a/sdk/dotnet/GetSshKey.cs +++ b/sdk/dotnet/GetSshKey.cs @@ -19,12 +19,11 @@ public static class GetSshKey /// /// An error is triggered if the provided ssh key name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the ssh key: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -51,8 +50,7 @@ public static class GetSshKey /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetSshKeyArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getSshKey:getSshKey", args ?? new GetSshKeyArgs(), options.WithDefaults()); @@ -65,12 +63,11 @@ public static Task InvokeAsync(GetSshKeyArgs args, InvokeOption /// /// An error is triggered if the provided ssh key name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the ssh key: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -97,8 +94,7 @@ public static Task InvokeAsync(GetSshKeyArgs args, InvokeOption /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetSshKeyInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getSshKey:getSshKey", args ?? new GetSshKeyInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetSshKeys.cs b/sdk/dotnet/GetSshKeys.cs index 27264f0d..abdac801 100644 --- a/sdk/dotnet/GetSshKeys.cs +++ b/sdk/dotnet/GetSshKeys.cs @@ -20,12 +20,11 @@ public static class GetSshKeys /// Note: You can use the `digitalocean.SshKey` data source to obtain metadata /// about a single SSH Key if you already know the unique `name` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// For example, to find all SSH keys: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -48,9 +47,11 @@ public static class GetSshKeys /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Or to find ones matching specific values: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -77,8 +78,7 @@ public static class GetSshKeys /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetSshKeysArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getSshKeys:getSshKeys", args ?? new GetSshKeysArgs(), options.WithDefaults()); @@ -92,12 +92,11 @@ public static Task InvokeAsync(GetSshKeysArgs? args = null, In /// Note: You can use the `digitalocean.SshKey` data source to obtain metadata /// about a single SSH Key if you already know the unique `name` to retrieve. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// For example, to find all SSH keys: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -120,9 +119,11 @@ public static Task InvokeAsync(GetSshKeysArgs? args = null, In /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Or to find ones matching specific values: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -149,8 +150,7 @@ public static Task InvokeAsync(GetSshKeysArgs? args = null, In /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetSshKeysInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getSshKeys:getSshKeys", args ?? new GetSshKeysInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetTag.cs b/sdk/dotnet/GetTag.cs index ef37801f..2eb99127 100644 --- a/sdk/dotnet/GetTag.cs +++ b/sdk/dotnet/GetTag.cs @@ -18,12 +18,11 @@ public static class GetTag /// /// An error is triggered if the provided tag name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the tag: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -50,8 +49,7 @@ public static class GetTag /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetTagArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getTag:getTag", args ?? new GetTagArgs(), options.WithDefaults()); @@ -63,12 +61,11 @@ public static Task InvokeAsync(GetTagArgs args, InvokeOptions? opt /// /// An error is triggered if the provided tag name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the tag: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -95,8 +92,7 @@ public static Task InvokeAsync(GetTagArgs args, InvokeOptions? opt /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetTagInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getTag:getTag", args ?? new GetTagInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetTags.cs b/sdk/dotnet/GetTags.cs index 4d215f65..9e77ed65 100644 --- a/sdk/dotnet/GetTags.cs +++ b/sdk/dotnet/GetTags.cs @@ -16,10 +16,9 @@ public static class GetTags /// filter and sort the results. If no filters are specified, all tags will be /// returned. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -46,8 +45,7 @@ public static class GetTags /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetTagsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getTags:getTags", args ?? new GetTagsArgs(), options.WithDefaults()); @@ -57,10 +55,9 @@ public static Task InvokeAsync(GetTagsArgs? args = null, InvokeOp /// filter and sort the results. If no filters are specified, all tags will be /// returned. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -87,8 +84,7 @@ public static Task InvokeAsync(GetTagsArgs? args = null, InvokeOp /// }; /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetTagsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getTags:getTags", args ?? new GetTagsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetVolume.cs b/sdk/dotnet/GetVolume.cs index 499fa058..90c0ef89 100644 --- a/sdk/dotnet/GetVolume.cs +++ b/sdk/dotnet/GetVolume.cs @@ -19,12 +19,11 @@ public static class GetVolume /// /// An error is triggered if the provided volume name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the volume: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -41,9 +40,11 @@ public static class GetVolume /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a volume to attach it to a Droplet: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -73,8 +74,7 @@ public static class GetVolume /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetVolumeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getVolume:getVolume", args ?? new GetVolumeArgs(), options.WithDefaults()); @@ -87,12 +87,11 @@ public static Task InvokeAsync(GetVolumeArgs args, InvokeOption /// /// An error is triggered if the provided volume name does not exist. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the volume: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -109,9 +108,11 @@ public static Task InvokeAsync(GetVolumeArgs args, InvokeOption /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a volume to attach it to a Droplet: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -141,8 +142,7 @@ public static Task InvokeAsync(GetVolumeArgs args, InvokeOption /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetVolumeInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getVolume:getVolume", args ?? new GetVolumeInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetVolumeSnapshot.cs b/sdk/dotnet/GetVolumeSnapshot.cs index 215f18a0..af6dc444 100644 --- a/sdk/dotnet/GetVolumeSnapshot.cs +++ b/sdk/dotnet/GetVolumeSnapshot.cs @@ -16,12 +16,11 @@ public static class GetVolumeSnapshot /// source to retrieve the ID of a DigitalOcean volume snapshot for use in other /// resources. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the volume snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -39,9 +38,11 @@ public static class GetVolumeSnapshot /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a volume snapshot to create a new volume based on it: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -66,8 +67,7 @@ public static class GetVolumeSnapshot /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetVolumeSnapshotArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getVolumeSnapshot:getVolumeSnapshot", args ?? new GetVolumeSnapshotArgs(), options.WithDefaults()); @@ -77,12 +77,11 @@ public static Task InvokeAsync(GetVolumeSnapshotArgs? a /// source to retrieve the ID of a DigitalOcean volume snapshot for use in other /// resources. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} /// /// Get the volume snapshot: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -100,9 +99,11 @@ public static Task InvokeAsync(GetVolumeSnapshotArgs? a /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a volume snapshot to create a new volume based on it: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -127,8 +128,7 @@ public static Task InvokeAsync(GetVolumeSnapshotArgs? a /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetVolumeSnapshotInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getVolumeSnapshot:getVolumeSnapshot", args ?? new GetVolumeSnapshotInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetVpc.cs b/sdk/dotnet/GetVpc.cs index 7e4b0ce8..5f1f8c35 100644 --- a/sdk/dotnet/GetVpc.cs +++ b/sdk/dotnet/GetVpc.cs @@ -21,11 +21,11 @@ public static class GetVpc /// VPCs may be looked up by `id` or `name`. Specifying a `region` will /// return that that region's default VPC. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} + /// /// ### VPC By Name /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -41,9 +41,11 @@ public static class GetVpc /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a VPC to assign a Droplet to it: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -67,8 +69,7 @@ public static class GetVpc /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Task InvokeAsync(GetVpcArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("digitalocean:index/getVpc:getVpc", args ?? new GetVpcArgs(), options.WithDefaults()); @@ -83,11 +84,11 @@ public static Task InvokeAsync(GetVpcArgs? args = null, InvokeOpti /// VPCs may be looked up by `id` or `name`. Specifying a `region` will /// return that that region's default VPC. /// - /// {{% examples %}} /// ## Example Usage - /// {{% example %}} + /// /// ### VPC By Name /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -103,9 +104,11 @@ public static Task InvokeAsync(GetVpcArgs? args = null, InvokeOpti /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// Reuse the data about a VPC to assign a Droplet to it: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -129,8 +132,7 @@ public static Task InvokeAsync(GetVpcArgs? args = null, InvokeOpti /// /// }); /// ``` - /// {{% /example %}} - /// {{% /examples %}} + /// <!--End PulumiCodeChooser --> /// public static Output Invoke(GetVpcInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("digitalocean:index/getVpc:getVpc", args ?? new GetVpcInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/KubernetesCluster.cs b/sdk/dotnet/KubernetesCluster.cs index dfe6af71..fc6c58f7 100644 --- a/sdk/dotnet/KubernetesCluster.cs +++ b/sdk/dotnet/KubernetesCluster.cs @@ -14,23 +14,23 @@ namespace Pulumi.DigitalOcean /// /// Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with /// - /// the `terraform:default-node-pool` tag. The provider will automatically add this tag if + /// the `terraform:default-node-pool` tag. The provider will automatically add this tag if /// - /// the cluster only has a single node pool. Clusters with more than one node pool, however, will require + /// the cluster only has a single node pool. Clusters with more than one node pool, however, will require /// - /// that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be + /// that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be /// - /// the default node pool. + /// the default node pool. /// - /// Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. + /// Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. /// /// ```sh /// $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af /// ``` /// - /// Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` + /// Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` /// - /// resources, e.g. + /// resources, e.g. /// /// ```sh /// $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8 diff --git a/sdk/dotnet/KubernetesNodePool.cs b/sdk/dotnet/KubernetesNodePool.cs index 1a0decf4..50c71790 100644 --- a/sdk/dotnet/KubernetesNodePool.cs +++ b/sdk/dotnet/KubernetesNodePool.cs @@ -13,8 +13,10 @@ namespace Pulumi.DigitalOcean /// Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `digitalocean.KubernetesCluster` resource, this resource can be used to add additional ones to a cluster. /// /// ## Example Usage + /// /// ### Basic Example /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -62,11 +64,14 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Autoscaling Example /// /// Node pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/). /// For example: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -86,24 +91,25 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// If you are importing an existing Kubernetes cluster with a single node pool, just /// - /// import the cluster. Additional node pools can be imported by using their `id`, e.g. + /// import the cluster. Additional node pools can be imported by using their `id`, e.g. /// /// ```sh /// $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8 /// ``` /// - /// Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an + /// Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an /// - /// existing cluster. The provider will refuse to import the node pool in that case because the node pool + /// existing cluster. The provider will refuse to import the node pool in that case because the node pool /// - /// is managed by the `digitalocean_kubernetes_cluster` resource and not by this + /// is managed by the `digitalocean_kubernetes_cluster` resource and not by this /// - /// `digitalocean_kubernetes_node_pool` resource. + /// `digitalocean_kubernetes_node_pool` resource. /// [DigitalOceanResourceType("digitalocean:index/kubernetesNodePool:KubernetesNodePool")] public partial class KubernetesNodePool : global::Pulumi.CustomResource diff --git a/sdk/dotnet/LoadBalancer.cs b/sdk/dotnet/LoadBalancer.cs index 4afbe77b..b552acbf 100644 --- a/sdk/dotnet/LoadBalancer.cs +++ b/sdk/dotnet/LoadBalancer.cs @@ -15,6 +15,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -56,6 +57,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// When managing certificates attached to the load balancer, make sure to add the `create_before_destroy` /// lifecycle property in order to ensure the certificate is correctly updated when changed. The order of @@ -63,6 +65,7 @@ namespace Pulumi.DigitalOcean /// `Delete old certificate`. When doing so, you must also change the name of the certificate, /// as there cannot be multiple certificates with the same name in an account. /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -111,6 +114,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/MonitorAlert.cs b/sdk/dotnet/MonitorAlert.cs index 3db7bc57..4d463ea5 100644 --- a/sdk/dotnet/MonitorAlert.cs +++ b/sdk/dotnet/MonitorAlert.cs @@ -93,7 +93,7 @@ public partial class MonitorAlert : global::Pulumi.CustomResource public Output Uuid { get; private set; } = null!; /// - /// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + /// The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. /// DigitalOcean will show the correct unit in the web panel. /// [Output("value")] @@ -222,7 +222,7 @@ public InputList Tags public Input Type { get; set; } = null!; /// - /// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + /// The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. /// DigitalOcean will show the correct unit in the web panel. /// [Input("value", required: true)] @@ -319,7 +319,7 @@ public InputList Tags public Input? Uuid { get; set; } /// - /// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + /// The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. /// DigitalOcean will show the correct unit in the web panel. /// [Input("value")] diff --git a/sdk/dotnet/Project.cs b/sdk/dotnet/Project.cs index 7f021e2b..e5833b96 100644 --- a/sdk/dotnet/Project.cs +++ b/sdk/dotnet/Project.cs @@ -33,6 +33,7 @@ namespace Pulumi.DigitalOcean /// /// The following example demonstrates the creation of an empty project: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -50,9 +51,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// The following example demonstrates the creation of a project with a Droplet resource: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -81,6 +84,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/ProjectResources.cs b/sdk/dotnet/ProjectResources.cs index 6bae890e..528d56f0 100644 --- a/sdk/dotnet/ProjectResources.cs +++ b/sdk/dotnet/ProjectResources.cs @@ -28,6 +28,7 @@ namespace Pulumi.DigitalOcean /// /// The following example assigns a droplet to a Project managed outside of the provider: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -59,6 +60,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/ReservedIp.cs b/sdk/dotnet/ReservedIp.cs index 57c71422..b634d3a8 100644 --- a/sdk/dotnet/ReservedIp.cs +++ b/sdk/dotnet/ReservedIp.cs @@ -16,6 +16,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -41,6 +42,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/ReservedIpAssignment.cs b/sdk/dotnet/ReservedIpAssignment.cs index f3ad3229..8b2790e2 100644 --- a/sdk/dotnet/ReservedIpAssignment.cs +++ b/sdk/dotnet/ReservedIpAssignment.cs @@ -16,6 +16,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -46,12 +47,13 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// /// Reserved IP assignments can be imported using the reserved IP itself and the `id` of /// - /// the Droplet joined with a comma. For example: + /// the Droplet joined with a comma. For example: /// /// ```sh /// $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/dotnet/SpacesBucket.cs b/sdk/dotnet/SpacesBucket.cs index bc25697d..9ad27a13 100644 --- a/sdk/dotnet/SpacesBucket.cs +++ b/sdk/dotnet/SpacesBucket.cs @@ -24,6 +24,7 @@ namespace Pulumi.DigitalOcean /// access ID and secret you generate via the DigitalOcean control panel. For /// example: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -37,12 +38,15 @@ namespace Pulumi.DigitalOcean /// // ... /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) /// /// ## Example Usage + /// /// ### Create a New Bucket /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -58,8 +62,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Create a New Bucket With CORS Rules /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -112,6 +119,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/SpacesBucketCorsConfiguration.cs b/sdk/dotnet/SpacesBucketCorsConfiguration.cs index e3cf3898..19f61f82 100644 --- a/sdk/dotnet/SpacesBucketCorsConfiguration.cs +++ b/sdk/dotnet/SpacesBucketCorsConfiguration.cs @@ -11,8 +11,10 @@ namespace Pulumi.DigitalOcean { /// /// ## Example Usage + /// /// ### Create a Key in a Spaces Bucket /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -58,6 +60,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/SpacesBucketObject.cs b/sdk/dotnet/SpacesBucketObject.cs index 1cb91455..079eccbd 100644 --- a/sdk/dotnet/SpacesBucketObject.cs +++ b/sdk/dotnet/SpacesBucketObject.cs @@ -26,6 +26,7 @@ namespace Pulumi.DigitalOcean /// access ID and secret you generate via the DigitalOcean control panel. For /// example: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -39,12 +40,15 @@ namespace Pulumi.DigitalOcean /// // ... /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) /// /// ## Example Usage + /// /// ### Create a Key in a Spaces Bucket /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -69,6 +73,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/SpacesBucketPolicy.cs b/sdk/dotnet/SpacesBucketPolicy.cs index ed3a8afc..73d248aa 100644 --- a/sdk/dotnet/SpacesBucketPolicy.cs +++ b/sdk/dotnet/SpacesBucketPolicy.cs @@ -11,8 +11,10 @@ namespace Pulumi.DigitalOcean { /// /// ## Example Usage + /// /// ### Limiting access to specific IP addresses /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -61,6 +63,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// !> **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket. /// diff --git a/sdk/dotnet/SshKey.cs b/sdk/dotnet/SshKey.cs index a6508fb3..e3debb34 100644 --- a/sdk/dotnet/SshKey.cs +++ b/sdk/dotnet/SshKey.cs @@ -17,6 +17,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.IO; @@ -46,6 +47,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/Tag.cs b/sdk/dotnet/Tag.cs index f6c6c6a8..309b8faa 100644 --- a/sdk/dotnet/Tag.cs +++ b/sdk/dotnet/Tag.cs @@ -17,6 +17,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -42,6 +43,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/Volume.cs b/sdk/dotnet/Volume.cs index 9d0689a9..c0b58628 100644 --- a/sdk/dotnet/Volume.cs +++ b/sdk/dotnet/Volume.cs @@ -14,6 +14,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -45,9 +46,11 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// You can also create a volume from an existing snapshot. /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -70,6 +73,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/VolumeAttachment.cs b/sdk/dotnet/VolumeAttachment.cs index 74ed863b..ddd9d1e5 100644 --- a/sdk/dotnet/VolumeAttachment.cs +++ b/sdk/dotnet/VolumeAttachment.cs @@ -16,6 +16,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -47,6 +48,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// [DigitalOceanResourceType("digitalocean:index/volumeAttachment:VolumeAttachment")] public partial class VolumeAttachment : global::Pulumi.CustomResource diff --git a/sdk/dotnet/VolumeSnapshot.cs b/sdk/dotnet/VolumeSnapshot.cs index d90176c6..09b9b4a4 100644 --- a/sdk/dotnet/VolumeSnapshot.cs +++ b/sdk/dotnet/VolumeSnapshot.cs @@ -14,6 +14,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -36,6 +37,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/dotnet/Vpc.cs b/sdk/dotnet/Vpc.cs index 0de42566..32300a3b 100644 --- a/sdk/dotnet/Vpc.cs +++ b/sdk/dotnet/Vpc.cs @@ -17,6 +17,7 @@ namespace Pulumi.DigitalOcean /// /// ## Example Usage /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -33,12 +34,15 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ### Resource Assignment /// /// `digitalocean.Droplet`, `digitalocean.KubernetesCluster`, /// `digitalocean_load_balancer`, and `digitalocean.DatabaseCluster` resources /// may be assigned to a VPC by referencing its `id`. For example: /// + /// <!--Start PulumiCodeChooser --> /// ```csharp /// using System.Collections.Generic; /// using System.Linq; @@ -62,6 +66,7 @@ namespace Pulumi.DigitalOcean /// /// }); /// ``` + /// <!--End PulumiCodeChooser --> /// /// ## Import /// diff --git a/sdk/go.mod b/sdk/go.mod index 03434ab8..ac3eb0ea 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.107.0 + github.com/pulumi/pulumi/sdk/v3 v3.108.1 ) require ( @@ -32,6 +32,7 @@ require ( github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect + github.com/google/uuid v1.3.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index e0318b57..69dbe19d 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -75,6 +75,8 @@ github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -148,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/sdk/v3 v3.107.0 h1:bef+ayh9+4KkAqXih4EjlHfQXRY24NWPwWBIQhBxTjg= -github.com/pulumi/pulumi/sdk/v3 v3.107.0/go.mod h1:Ml3rpGfyZlI4zQCG7LN2XDSmH4XUNYdyBwJ3yEr/OpI= +github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= +github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/digitalocean/app.go b/sdk/go/digitalocean/app.go index 5fbbb619..a6b1a0f3 100644 --- a/sdk/go/digitalocean/app.go +++ b/sdk/go/digitalocean/app.go @@ -16,8 +16,10 @@ import ( // ## Example Usage // // To create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components. +// // ### Basic Example // +// // ```go // package main // @@ -56,8 +58,11 @@ import ( // } // // ``` +// +// // ### Static Site Example // +// // ```go // package main // @@ -95,6 +100,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/cdn.go b/sdk/go/digitalocean/cdn.go index e225205d..c6760ad3 100644 --- a/sdk/go/digitalocean/cdn.go +++ b/sdk/go/digitalocean/cdn.go @@ -15,8 +15,10 @@ import ( // Provides a DigitalOcean CDN Endpoint resource for use with Spaces. // // ## Example Usage +// // ### Basic Example // +// // ```go // package main // @@ -50,8 +52,11 @@ import ( // } // // ``` +// +// // ### Custom Sub-Domain Example // +// // ```go // package main // @@ -96,6 +101,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/certificate.go b/sdk/go/digitalocean/certificate.go index 03b4c34d..cd65361d 100644 --- a/sdk/go/digitalocean/certificate.go +++ b/sdk/go/digitalocean/certificate.go @@ -19,8 +19,10 @@ import ( // Let's Encrypt. // // ## Example Usage +// // ### Custom Certificate // +// // ```go // package main // @@ -57,8 +59,11 @@ import ( // } // // ``` +// +// // ### Let's Encrypt Certificate // +// // ```go // package main // @@ -85,11 +90,14 @@ import ( // } // // ``` +// +// // ### Use with Other Resources // // Both custom and Let's Encrypt certificates can be used with other resources // including the `LoadBalancer` and `Cdn` resources. // +// // ```go // package main // @@ -133,6 +141,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/containerRegistry.go b/sdk/go/digitalocean/containerRegistry.go index 87accf77..d8c4245c 100644 --- a/sdk/go/digitalocean/containerRegistry.go +++ b/sdk/go/digitalocean/containerRegistry.go @@ -17,6 +17,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -41,6 +42,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/containerRegistryDockerCredentials.go b/sdk/go/digitalocean/containerRegistryDockerCredentials.go index 20d52651..7c3020ff 100644 --- a/sdk/go/digitalocean/containerRegistryDockerCredentials.go +++ b/sdk/go/digitalocean/containerRegistryDockerCredentials.go @@ -17,10 +17,12 @@ import ( // An error is triggered if the provided container registry name does not exist. // // ## Example Usage +// // ### Basic Example // // Get the container registry: // +// // ```go // package main // @@ -44,10 +46,13 @@ import ( // } // // ``` +// +// // ### Docker Provider Example // // Use the `endpoint` and `dockerCredentials` with the Docker provider: // +// // ```go // package main // @@ -77,6 +82,7 @@ import ( // } // // ``` +// type ContainerRegistryDockerCredentials struct { pulumi.CustomResourceState diff --git a/sdk/go/digitalocean/customImage.go b/sdk/go/digitalocean/customImage.go index 2fb8f761..d547d532 100644 --- a/sdk/go/digitalocean/customImage.go +++ b/sdk/go/digitalocean/customImage.go @@ -26,6 +26,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -63,6 +64,7 @@ import ( // } // // ``` +// type CustomImage struct { pulumi.CustomResourceState diff --git a/sdk/go/digitalocean/databaseCluster.go b/sdk/go/digitalocean/databaseCluster.go index cfa93bbc..19a519cd 100644 --- a/sdk/go/digitalocean/databaseCluster.go +++ b/sdk/go/digitalocean/databaseCluster.go @@ -15,7 +15,9 @@ import ( // Provides a DigitalOcean database cluster resource. // // ## Example Usage +// // ### Create a new PostgreSQL database cluster +// // ```go // package main // @@ -43,7 +45,10 @@ import ( // } // // ``` +// +// // ### Create a new MySQL database cluster +// // ```go // package main // @@ -71,7 +76,10 @@ import ( // } // // ``` +// +// // ### Create a new Redis database cluster +// // ```go // package main // @@ -99,7 +107,10 @@ import ( // } // // ``` +// +// // ### Create a new Kafka database cluster +// // ```go // package main // @@ -127,7 +138,10 @@ import ( // } // // ``` +// +// // ### Create a new MongoDB database cluster +// // ```go // package main // @@ -155,8 +169,11 @@ import ( // } // // ``` +// +// // ## Create a new database cluster based on a backup of an existing cluster. // +// // ```go // package main // @@ -205,6 +222,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/databaseConnectionPool.go b/sdk/go/digitalocean/databaseConnectionPool.go index 31ac23e5..d57e68e0 100644 --- a/sdk/go/digitalocean/databaseConnectionPool.go +++ b/sdk/go/digitalocean/databaseConnectionPool.go @@ -15,7 +15,9 @@ import ( // Provides a DigitalOcean database connection pool resource. // // ## Example Usage +// // ### Create a new PostgreSQL database connection pool +// // ```go // package main // @@ -53,12 +55,13 @@ import ( // } // // ``` +// // // ## Import // -// Database connection pools can be imported using the `id` of the source database cluster +// # Database connection pools can be imported using the `id` of the source database cluster // -// and the `name` of the connection pool joined with a comma. For example: +// and the `name` of the connection pool joined with a comma. For example: // // ```sh // $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01 diff --git a/sdk/go/digitalocean/databaseDb.go b/sdk/go/digitalocean/databaseDb.go index 0930848b..36aea1a8 100644 --- a/sdk/go/digitalocean/databaseDb.go +++ b/sdk/go/digitalocean/databaseDb.go @@ -15,7 +15,9 @@ import ( // Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster. // // ## Example Usage +// // ### Create a new PostgreSQL database +// // ```go // package main // @@ -49,12 +51,13 @@ import ( // } // // ``` +// // // ## Import // -// Database can be imported using the `id` of the source database cluster +// # Database can be imported using the `id` of the source database cluster // -// and the `name` of the database joined with a comma. For example: +// and the `name` of the database joined with a comma. For example: // // ```sh // $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/go/digitalocean/databaseFirewall.go b/sdk/go/digitalocean/databaseFirewall.go index f5866fa3..8e65461f 100644 --- a/sdk/go/digitalocean/databaseFirewall.go +++ b/sdk/go/digitalocean/databaseFirewall.go @@ -17,8 +17,10 @@ import ( // specific Droplets, Kubernetes clusters, or IP addresses. // // ## Example Usage +// // ### Create a new database firewall allowing multiple IP addresses // +// // ```go // package main // @@ -62,8 +64,11 @@ import ( // } // // ``` +// +// // ### Create a new database firewall allowing a Droplet // +// // ```go // package main // @@ -111,8 +116,11 @@ import ( // } // // ``` +// +// // ### Create a new database firewall for a database replica // +// // ```go // package main // @@ -161,12 +169,13 @@ import ( // } // // ``` +// // // ## Import // -// Database firewalls can be imported using the `id` of the target database cluster +// # Database firewalls can be imported using the `id` of the target database cluster // -// For example: +// For example: // // ```sh // $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54 diff --git a/sdk/go/digitalocean/databaseKafkaTopic.go b/sdk/go/digitalocean/databaseKafkaTopic.go index bc255ab2..a63b17aa 100644 --- a/sdk/go/digitalocean/databaseKafkaTopic.go +++ b/sdk/go/digitalocean/databaseKafkaTopic.go @@ -15,7 +15,9 @@ import ( // Provides a DigitalOcean Kafka topic for Kafka clusters. // // ## Example Usage +// // ### Create a new Kafka topic +// // ```go // package main // @@ -81,6 +83,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/databaseMysqlConfig.go b/sdk/go/digitalocean/databaseMysqlConfig.go index a60fa12b..59d5d55e 100644 --- a/sdk/go/digitalocean/databaseMysqlConfig.go +++ b/sdk/go/digitalocean/databaseMysqlConfig.go @@ -19,6 +19,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -54,6 +55,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/databaseRedisConfig.go b/sdk/go/digitalocean/databaseRedisConfig.go index 55243e37..dba7e8b9 100644 --- a/sdk/go/digitalocean/databaseRedisConfig.go +++ b/sdk/go/digitalocean/databaseRedisConfig.go @@ -19,6 +19,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -55,6 +56,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/databaseReplica.go b/sdk/go/digitalocean/databaseReplica.go index f302f11c..49bac3b0 100644 --- a/sdk/go/digitalocean/databaseReplica.go +++ b/sdk/go/digitalocean/databaseReplica.go @@ -15,7 +15,9 @@ import ( // Provides a DigitalOcean database replica resource. // // ## Example Usage +// // ### Create a new PostgreSQL database replica +// // ```go // package main // @@ -65,12 +67,13 @@ import ( // } // // ``` +// // // ## Import // -// Database replicas can be imported using the `id` of the source database cluster +// # Database replicas can be imported using the `id` of the source database cluster // -// and the `name` of the replica joined with a comma. For example: +// and the `name` of the replica joined with a comma. For example: // // ```sh // $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica diff --git a/sdk/go/digitalocean/databaseUser.go b/sdk/go/digitalocean/databaseUser.go index b5b16506..248c629d 100644 --- a/sdk/go/digitalocean/databaseUser.go +++ b/sdk/go/digitalocean/databaseUser.go @@ -17,7 +17,9 @@ import ( // > **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually. // // ## Example Usage +// // ### Create a new PostgreSQL database user +// // ```go // package main // @@ -51,7 +53,10 @@ import ( // } // // ``` +// +// // ### Create a new user for a PostgreSQL database replica +// // ```go // package main // @@ -93,7 +98,10 @@ import ( // } // // ``` +// +// // ### Create a new user for a Kafka database cluster +// // ```go // package main // @@ -151,12 +159,13 @@ import ( // } // // ``` +// // // ## Import // -// Database user can be imported using the `id` of the source database cluster +// # Database user can be imported using the `id` of the source database cluster // -// and the `name` of the user joined with a comma. For example: +// and the `name` of the user joined with a comma. For example: // // ```sh // $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/go/digitalocean/dnsRecord.go b/sdk/go/digitalocean/dnsRecord.go index ad301b48..c3009d13 100644 --- a/sdk/go/digitalocean/dnsRecord.go +++ b/sdk/go/digitalocean/dnsRecord.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -60,6 +61,7 @@ import ( // } // // ``` +// // // ## Import // @@ -69,9 +71,7 @@ import ( // $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678 // ``` // -// ~> -// -// You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` +// ~> You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` type DnsRecord struct { pulumi.CustomResourceState diff --git a/sdk/go/digitalocean/domain.go b/sdk/go/digitalocean/domain.go index 4168616a..303f2861 100644 --- a/sdk/go/digitalocean/domain.go +++ b/sdk/go/digitalocean/domain.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -41,6 +42,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/droplet.go b/sdk/go/digitalocean/droplet.go index fe083176..72b942af 100644 --- a/sdk/go/digitalocean/droplet.go +++ b/sdk/go/digitalocean/droplet.go @@ -17,6 +17,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -43,6 +44,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/dropletSnapshot.go b/sdk/go/digitalocean/dropletSnapshot.go index 3321a9c2..808b1cfe 100644 --- a/sdk/go/digitalocean/dropletSnapshot.go +++ b/sdk/go/digitalocean/dropletSnapshot.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -55,6 +56,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/firewall.go b/sdk/go/digitalocean/firewall.go index 17315be0..c0b32c48 100644 --- a/sdk/go/digitalocean/firewall.go +++ b/sdk/go/digitalocean/firewall.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -107,6 +108,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/floatingIp.go b/sdk/go/digitalocean/floatingIp.go index a403f676..30784329 100644 --- a/sdk/go/digitalocean/floatingIp.go +++ b/sdk/go/digitalocean/floatingIp.go @@ -20,6 +20,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -54,6 +55,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/floatingIpAssignment.go b/sdk/go/digitalocean/floatingIpAssignment.go index b3888ff6..a408dc5a 100644 --- a/sdk/go/digitalocean/floatingIpAssignment.go +++ b/sdk/go/digitalocean/floatingIpAssignment.go @@ -20,6 +20,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -60,12 +61,13 @@ import ( // } // // ``` +// // // ## Import // -// Floating IP assignments can be imported using the Floating IP itself and the `id` of +// # Floating IP assignments can be imported using the Floating IP itself and the `id` of // -// the Droplet joined with a comma. For example: +// the Droplet joined with a comma. For example: // // ```sh // $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/go/digitalocean/getAccount.go b/sdk/go/digitalocean/getAccount.go index 0ab49b32..cc57910e 100644 --- a/sdk/go/digitalocean/getAccount.go +++ b/sdk/go/digitalocean/getAccount.go @@ -17,6 +17,7 @@ import ( // // Get the account: // +// // ```go // package main // @@ -38,6 +39,7 @@ import ( // } // // ``` +// func GetAccount(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAccountResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetAccountResult diff --git a/sdk/go/digitalocean/getApp.go b/sdk/go/digitalocean/getApp.go index c0923a57..d123bc4d 100644 --- a/sdk/go/digitalocean/getApp.go +++ b/sdk/go/digitalocean/getApp.go @@ -17,6 +17,7 @@ import ( // // Get the account: // +// // ```go // package main // @@ -41,6 +42,7 @@ import ( // } // // ``` +// func LookupApp(ctx *pulumi.Context, args *LookupAppArgs, opts ...pulumi.InvokeOption) (*LookupAppResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupAppResult diff --git a/sdk/go/digitalocean/getCertificate.go b/sdk/go/digitalocean/getCertificate.go index 0f1adf66..7bac9c30 100644 --- a/sdk/go/digitalocean/getCertificate.go +++ b/sdk/go/digitalocean/getCertificate.go @@ -22,6 +22,7 @@ import ( // // Get the certificate: // +// // ```go // package main // @@ -45,6 +46,7 @@ import ( // } // // ``` +// func LookupCertificate(ctx *pulumi.Context, args *LookupCertificateArgs, opts ...pulumi.InvokeOption) (*LookupCertificateResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupCertificateResult diff --git a/sdk/go/digitalocean/getContainerRegistry.go b/sdk/go/digitalocean/getContainerRegistry.go index 85971b6b..3a71fbc5 100644 --- a/sdk/go/digitalocean/getContainerRegistry.go +++ b/sdk/go/digitalocean/getContainerRegistry.go @@ -19,10 +19,12 @@ import ( // An error is triggered if the provided container registry name does not exist. // // ## Example Usage +// // ### Basic Example // // Get the container registry: // +// // ```go // package main // @@ -46,6 +48,7 @@ import ( // } // // ``` +// func LookupContainerRegistry(ctx *pulumi.Context, args *LookupContainerRegistryArgs, opts ...pulumi.InvokeOption) (*LookupContainerRegistryResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupContainerRegistryResult diff --git a/sdk/go/digitalocean/getDatabaseCa.go b/sdk/go/digitalocean/getDatabaseCa.go index 8b33e087..42962c5f 100644 --- a/sdk/go/digitalocean/getDatabaseCa.go +++ b/sdk/go/digitalocean/getDatabaseCa.go @@ -15,6 +15,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -39,6 +40,7 @@ import ( // } // // ``` +// func GetDatabaseCa(ctx *pulumi.Context, args *GetDatabaseCaArgs, opts ...pulumi.InvokeOption) (*GetDatabaseCaResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetDatabaseCaResult diff --git a/sdk/go/digitalocean/getDatabaseCluster.go b/sdk/go/digitalocean/getDatabaseCluster.go index caf7e163..f53e0e6f 100644 --- a/sdk/go/digitalocean/getDatabaseCluster.go +++ b/sdk/go/digitalocean/getDatabaseCluster.go @@ -15,6 +15,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -39,6 +40,7 @@ import ( // } // // ``` +// func LookupDatabaseCluster(ctx *pulumi.Context, args *LookupDatabaseClusterArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseClusterResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDatabaseClusterResult diff --git a/sdk/go/digitalocean/getDatabaseConnectionPool.go b/sdk/go/digitalocean/getDatabaseConnectionPool.go index 2416f8b9..7bfa7dbe 100644 --- a/sdk/go/digitalocean/getDatabaseConnectionPool.go +++ b/sdk/go/digitalocean/getDatabaseConnectionPool.go @@ -15,6 +15,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -46,6 +47,7 @@ import ( // } // // ``` +// func LookupDatabaseConnectionPool(ctx *pulumi.Context, args *LookupDatabaseConnectionPoolArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseConnectionPoolResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDatabaseConnectionPoolResult diff --git a/sdk/go/digitalocean/getDatabaseReplica.go b/sdk/go/digitalocean/getDatabaseReplica.go index 956a5345..18a93ee7 100644 --- a/sdk/go/digitalocean/getDatabaseReplica.go +++ b/sdk/go/digitalocean/getDatabaseReplica.go @@ -15,6 +15,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -46,6 +47,7 @@ import ( // } // // ``` +// func LookupDatabaseReplica(ctx *pulumi.Context, args *LookupDatabaseReplicaArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseReplicaResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDatabaseReplicaResult diff --git a/sdk/go/digitalocean/getDatabaseUser.go b/sdk/go/digitalocean/getDatabaseUser.go index d0f3f333..2bad95e7 100644 --- a/sdk/go/digitalocean/getDatabaseUser.go +++ b/sdk/go/digitalocean/getDatabaseUser.go @@ -15,6 +15,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -46,6 +47,7 @@ import ( // } // // ``` +// func LookupDatabaseUser(ctx *pulumi.Context, args *LookupDatabaseUserArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseUserResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDatabaseUserResult diff --git a/sdk/go/digitalocean/getDomain.go b/sdk/go/digitalocean/getDomain.go index 9e9c7591..1f985995 100644 --- a/sdk/go/digitalocean/getDomain.go +++ b/sdk/go/digitalocean/getDomain.go @@ -18,6 +18,37 @@ import ( // // An error is triggered if the provided domain name is not managed with your // DigitalOcean account. +// +// ## Example Usage +// +// Get the zone file for a domain: +// +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := digitalocean.LookupDomain(ctx, &digitalocean.LookupDomainArgs{ +// Name: "example.com", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("domainOutput", example.ZoneFile) +// return nil +// }) +// } +// +// ``` +// func LookupDomain(ctx *pulumi.Context, args *LookupDomainArgs, opts ...pulumi.InvokeOption) (*LookupDomainResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDomainResult diff --git a/sdk/go/digitalocean/getDomains.go b/sdk/go/digitalocean/getDomains.go index 20f90a6c..540e57f2 100644 --- a/sdk/go/digitalocean/getDomains.go +++ b/sdk/go/digitalocean/getDomains.go @@ -25,6 +25,7 @@ import ( // Use the `filter` block with a `key` string and `values` list to filter domains. (This example // also uses the regular expression `matchBy` mode in order to match domains by suffix.) // +// // ```go // package main // @@ -56,6 +57,7 @@ import ( // } // // ``` +// func GetDomains(ctx *pulumi.Context, args *GetDomainsArgs, opts ...pulumi.InvokeOption) (*GetDomainsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetDomainsResult diff --git a/sdk/go/digitalocean/getDroplet.go b/sdk/go/digitalocean/getDroplet.go index acff3fcd..0a2f6317 100644 --- a/sdk/go/digitalocean/getDroplet.go +++ b/sdk/go/digitalocean/getDroplet.go @@ -23,6 +23,7 @@ import ( // // Get the Droplet by name: // +// // ```go // package main // @@ -47,9 +48,11 @@ import ( // } // // ``` +// // // Get the Droplet by tag: // +// // ```go // package main // @@ -73,9 +76,11 @@ import ( // } // // ``` +// // // Get the Droplet by ID: // +// // ```go // package main // @@ -99,6 +104,7 @@ import ( // } // // ``` +// func LookupDroplet(ctx *pulumi.Context, args *LookupDropletArgs, opts ...pulumi.InvokeOption) (*LookupDropletResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDropletResult diff --git a/sdk/go/digitalocean/getDropletSnapshot.go b/sdk/go/digitalocean/getDropletSnapshot.go index 77c84741..2c6bbd48 100644 --- a/sdk/go/digitalocean/getDropletSnapshot.go +++ b/sdk/go/digitalocean/getDropletSnapshot.go @@ -19,6 +19,7 @@ import ( // // Get the Droplet snapshot: // +// // ```go // package main // @@ -44,9 +45,11 @@ import ( // } // // ``` +// // // Create image from snapshot: // +// // ```go // package main // @@ -80,6 +83,7 @@ import ( // } // // ``` +// func LookupDropletSnapshot(ctx *pulumi.Context, args *LookupDropletSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupDropletSnapshotResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDropletSnapshotResult diff --git a/sdk/go/digitalocean/getDroplets.go b/sdk/go/digitalocean/getDroplets.go index f757f4df..fd2b088c 100644 --- a/sdk/go/digitalocean/getDroplets.go +++ b/sdk/go/digitalocean/getDroplets.go @@ -26,6 +26,7 @@ import ( // // For example to find all Droplets with size `s-1vcpu-1gb`: // +// // ```go // package main // @@ -56,9 +57,11 @@ import ( // } // // ``` +// // // You can filter on multiple fields and sort the results as well: // +// // ```go // package main // @@ -101,6 +104,7 @@ import ( // } // // ``` +// func GetDroplets(ctx *pulumi.Context, args *GetDropletsArgs, opts ...pulumi.InvokeOption) (*GetDropletsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetDropletsResult diff --git a/sdk/go/digitalocean/getFirewall.go b/sdk/go/digitalocean/getFirewall.go index a4fb0096..3597b231 100644 --- a/sdk/go/digitalocean/getFirewall.go +++ b/sdk/go/digitalocean/getFirewall.go @@ -17,6 +17,7 @@ import ( // // Get the firewall: // +// // ```go // package main // @@ -41,6 +42,7 @@ import ( // } // // ``` +// func LookupFirewall(ctx *pulumi.Context, args *LookupFirewallArgs, opts ...pulumi.InvokeOption) (*LookupFirewallResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupFirewallResult diff --git a/sdk/go/digitalocean/getFloatingIp.go b/sdk/go/digitalocean/getFloatingIp.go index 939874d2..07b8168a 100644 --- a/sdk/go/digitalocean/getFloatingIp.go +++ b/sdk/go/digitalocean/getFloatingIp.go @@ -24,6 +24,7 @@ import ( // // Get the floating IP: // +// // ```go // package main // @@ -51,6 +52,7 @@ import ( // } // // ``` +// func LookupFloatingIp(ctx *pulumi.Context, args *LookupFloatingIpArgs, opts ...pulumi.InvokeOption) (*LookupFloatingIpResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupFloatingIpResult diff --git a/sdk/go/digitalocean/getImage.go b/sdk/go/digitalocean/getImage.go index d4ea9561..3e01ab65 100644 --- a/sdk/go/digitalocean/getImage.go +++ b/sdk/go/digitalocean/getImage.go @@ -22,6 +22,7 @@ import ( // // Get the data about a snapshot: // +// // ```go // package main // @@ -45,9 +46,11 @@ import ( // } // // ``` +// // // Reuse the data about a snapshot to create a Droplet: // +// // ```go // package main // @@ -79,9 +82,11 @@ import ( // } // // ``` +// // // Get the data about an official image: // +// // ```go // package main // @@ -105,6 +110,7 @@ import ( // } // // ``` +// func GetImage(ctx *pulumi.Context, args *GetImageArgs, opts ...pulumi.InvokeOption) (*GetImageResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetImageResult diff --git a/sdk/go/digitalocean/getImages.go b/sdk/go/digitalocean/getImages.go index ac03718b..90342374 100644 --- a/sdk/go/digitalocean/getImages.go +++ b/sdk/go/digitalocean/getImages.go @@ -27,6 +27,7 @@ import ( // // For example to find all Ubuntu images: // +// // ```go // package main // @@ -57,9 +58,11 @@ import ( // } // // ``` +// // // You can filter on multiple fields and sort the results as well: // +// // ```go // package main // @@ -102,6 +105,7 @@ import ( // } // // ``` +// func GetImages(ctx *pulumi.Context, args *GetImagesArgs, opts ...pulumi.InvokeOption) (*GetImagesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetImagesResult diff --git a/sdk/go/digitalocean/getKubernetesVersions.go b/sdk/go/digitalocean/getKubernetesVersions.go index abd7fab5..82bcc6a6 100644 --- a/sdk/go/digitalocean/getKubernetesVersions.go +++ b/sdk/go/digitalocean/getKubernetesVersions.go @@ -14,8 +14,10 @@ import ( // Provides access to the available DigitalOcean Kubernetes Service versions. // // ## Example Usage +// // ### Output a list of all available versions // +// // ```go // package main // @@ -38,8 +40,11 @@ import ( // } // // ``` +// +// // ### Create a Kubernetes cluster using the most recent version available // +// // ```go // package main // @@ -73,8 +78,11 @@ import ( // } // // ``` +// +// // ### Pin a Kubernetes cluster to a specific minor version // +// // ```go // package main // @@ -110,6 +118,7 @@ import ( // } // // ``` +// func GetKubernetesVersions(ctx *pulumi.Context, args *GetKubernetesVersionsArgs, opts ...pulumi.InvokeOption) (*GetKubernetesVersionsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetKubernetesVersionsResult diff --git a/sdk/go/digitalocean/getLoadBalancer.go b/sdk/go/digitalocean/getLoadBalancer.go index 1125a19c..b722fb13 100644 --- a/sdk/go/digitalocean/getLoadBalancer.go +++ b/sdk/go/digitalocean/getLoadBalancer.go @@ -22,6 +22,7 @@ import ( // // Get the load balancer by name: // +// // ```go // package main // @@ -46,9 +47,11 @@ import ( // } // // ``` +// // // Get the load balancer by ID: // +// // ```go // package main // @@ -72,6 +75,7 @@ import ( // } // // ``` +// func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupLoadBalancerResult diff --git a/sdk/go/digitalocean/getProject.go b/sdk/go/digitalocean/getProject.go index ab1feea2..dd01fc2f 100644 --- a/sdk/go/digitalocean/getProject.go +++ b/sdk/go/digitalocean/getProject.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -43,6 +44,7 @@ import ( // } // // ``` +// func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupProjectResult diff --git a/sdk/go/digitalocean/getProjects.go b/sdk/go/digitalocean/getProjects.go index ea1a079c..3480082c 100644 --- a/sdk/go/digitalocean/getProjects.go +++ b/sdk/go/digitalocean/getProjects.go @@ -25,6 +25,7 @@ import ( // // For example to find all staging environment projects: // +// // ```go // package main // @@ -55,9 +56,11 @@ import ( // } // // ``` +// // // You can filter on multiple fields and sort the results as well: // +// // ```go // package main // @@ -100,6 +103,7 @@ import ( // } // // ``` +// func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetProjectsResult diff --git a/sdk/go/digitalocean/getRecord.go b/sdk/go/digitalocean/getRecord.go index e96d4e6c..96a4f4c3 100644 --- a/sdk/go/digitalocean/getRecord.go +++ b/sdk/go/digitalocean/getRecord.go @@ -17,6 +17,39 @@ import ( // // An error is triggered if the provided domain name or record are not managed with // your DigitalOcean account. +// +// ## Example Usage +// +// Get data from a DNS record: +// +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := digitalocean.GetRecord(ctx, &digitalocean.GetRecordArgs{ +// Domain: "example.com", +// Name: "test", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("recordType", example.Type) +// ctx.Export("recordTtl", example.Ttl) +// return nil +// }) +// } +// +// ``` +// func GetRecord(ctx *pulumi.Context, args *GetRecordArgs, opts ...pulumi.InvokeOption) (*GetRecordResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetRecordResult diff --git a/sdk/go/digitalocean/getRegion.go b/sdk/go/digitalocean/getRegion.go index d3c03d0a..aee79dfe 100644 --- a/sdk/go/digitalocean/getRegion.go +++ b/sdk/go/digitalocean/getRegion.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -40,6 +41,7 @@ import ( // } // // ``` +// func GetRegion(ctx *pulumi.Context, args *GetRegionArgs, opts ...pulumi.InvokeOption) (*GetRegionResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetRegionResult diff --git a/sdk/go/digitalocean/getRegions.go b/sdk/go/digitalocean/getRegions.go index c9816df7..7cd1fb9e 100644 --- a/sdk/go/digitalocean/getRegions.go +++ b/sdk/go/digitalocean/getRegions.go @@ -23,6 +23,7 @@ import ( // // For example to find all available regions: // +// // ```go // package main // @@ -53,9 +54,11 @@ import ( // } // // ``` +// // // You can filter on multiple fields and sort the results as well: // +// // ```go // package main // @@ -98,6 +101,7 @@ import ( // } // // ``` +// func GetRegions(ctx *pulumi.Context, args *GetRegionsArgs, opts ...pulumi.InvokeOption) (*GetRegionsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetRegionsResult diff --git a/sdk/go/digitalocean/getReservedIp.go b/sdk/go/digitalocean/getReservedIp.go index 88aa2fa9..86c54468 100644 --- a/sdk/go/digitalocean/getReservedIp.go +++ b/sdk/go/digitalocean/getReservedIp.go @@ -15,6 +15,7 @@ import ( // // Get the reserved IP: // +// // ```go // package main // @@ -42,6 +43,7 @@ import ( // } // // ``` +// func LookupReservedIp(ctx *pulumi.Context, args *LookupReservedIpArgs, opts ...pulumi.InvokeOption) (*LookupReservedIpResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupReservedIpResult diff --git a/sdk/go/digitalocean/getSpacesBucket.go b/sdk/go/digitalocean/getSpacesBucket.go index 7f49d1fe..1b798df7 100644 --- a/sdk/go/digitalocean/getSpacesBucket.go +++ b/sdk/go/digitalocean/getSpacesBucket.go @@ -18,6 +18,7 @@ import ( // // Get the bucket by name: // +// // ```go // package main // @@ -43,6 +44,7 @@ import ( // } // // ``` +// func LookupSpacesBucket(ctx *pulumi.Context, args *LookupSpacesBucketArgs, opts ...pulumi.InvokeOption) (*LookupSpacesBucketResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupSpacesBucketResult diff --git a/sdk/go/digitalocean/getSpacesBucketObject.go b/sdk/go/digitalocean/getSpacesBucketObject.go index a67309e2..d7bfbc34 100644 --- a/sdk/go/digitalocean/getSpacesBucketObject.go +++ b/sdk/go/digitalocean/getSpacesBucketObject.go @@ -23,6 +23,7 @@ import ( // The following example retrieves a text object (which must have a `Content-Type` // value starting with `text/`) and uses it as the `userData` for a Droplet: // +// // ```go // package main // @@ -57,6 +58,7 @@ import ( // } // // ``` +// func LookupSpacesBucketObject(ctx *pulumi.Context, args *LookupSpacesBucketObjectArgs, opts ...pulumi.InvokeOption) (*LookupSpacesBucketObjectResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupSpacesBucketObjectResult diff --git a/sdk/go/digitalocean/getSpacesBuckets.go b/sdk/go/digitalocean/getSpacesBuckets.go index 1a04722e..4702ed5a 100644 --- a/sdk/go/digitalocean/getSpacesBuckets.go +++ b/sdk/go/digitalocean/getSpacesBuckets.go @@ -23,6 +23,7 @@ import ( // // Get all buckets in a region: // +// // ```go // package main // @@ -53,8 +54,10 @@ import ( // } // // ``` +// // You can sort the results as well: // +// // ```go // package main // @@ -91,6 +94,7 @@ import ( // } // // ``` +// func GetSpacesBuckets(ctx *pulumi.Context, args *GetSpacesBucketsArgs, opts ...pulumi.InvokeOption) (*GetSpacesBucketsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetSpacesBucketsResult diff --git a/sdk/go/digitalocean/getSshKey.go b/sdk/go/digitalocean/getSshKey.go index f50851d0..b963e80d 100644 --- a/sdk/go/digitalocean/getSshKey.go +++ b/sdk/go/digitalocean/getSshKey.go @@ -22,6 +22,7 @@ import ( // // Get the ssh key: // +// // ```go // package main // @@ -56,6 +57,7 @@ import ( // } // // ``` +// func LookupSshKey(ctx *pulumi.Context, args *LookupSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupSshKeyResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupSshKeyResult diff --git a/sdk/go/digitalocean/getSshKeys.go b/sdk/go/digitalocean/getSshKeys.go index d82cca79..edce0611 100644 --- a/sdk/go/digitalocean/getSshKeys.go +++ b/sdk/go/digitalocean/getSshKeys.go @@ -23,6 +23,7 @@ import ( // // For example, to find all SSH keys: // +// // ```go // package main // @@ -51,9 +52,11 @@ import ( // } // // ``` +// // // Or to find ones matching specific values: // +// // ```go // package main // @@ -85,6 +88,7 @@ import ( // } // // ``` +// func GetSshKeys(ctx *pulumi.Context, args *GetSshKeysArgs, opts ...pulumi.InvokeOption) (*GetSshKeysResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetSshKeysResult diff --git a/sdk/go/digitalocean/getTag.go b/sdk/go/digitalocean/getTag.go index 8a3566e7..8bd69b07 100644 --- a/sdk/go/digitalocean/getTag.go +++ b/sdk/go/digitalocean/getTag.go @@ -21,6 +21,7 @@ import ( // // Get the tag: // +// // ```go // package main // @@ -55,6 +56,7 @@ import ( // } // // ``` +// func LookupTag(ctx *pulumi.Context, args *LookupTagArgs, opts ...pulumi.InvokeOption) (*LookupTagResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupTagResult diff --git a/sdk/go/digitalocean/getTags.go b/sdk/go/digitalocean/getTags.go index e45100f0..3c104f24 100644 --- a/sdk/go/digitalocean/getTags.go +++ b/sdk/go/digitalocean/getTags.go @@ -17,6 +17,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -46,6 +47,7 @@ import ( // } // // ``` +// func GetTags(ctx *pulumi.Context, args *GetTagsArgs, opts ...pulumi.InvokeOption) (*GetTagsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetTagsResult diff --git a/sdk/go/digitalocean/getVolume.go b/sdk/go/digitalocean/getVolume.go index 7a0b9757..3de5d984 100644 --- a/sdk/go/digitalocean/getVolume.go +++ b/sdk/go/digitalocean/getVolume.go @@ -22,6 +22,7 @@ import ( // // Get the volume: // +// // ```go // package main // @@ -46,9 +47,11 @@ import ( // } // // ``` +// // // Reuse the data about a volume to attach it to a Droplet: // +// // ```go // package main // @@ -88,6 +91,7 @@ import ( // } // // ``` +// func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupVolumeResult diff --git a/sdk/go/digitalocean/getVolumeSnapshot.go b/sdk/go/digitalocean/getVolumeSnapshot.go index 0cddb4f7..2225473e 100644 --- a/sdk/go/digitalocean/getVolumeSnapshot.go +++ b/sdk/go/digitalocean/getVolumeSnapshot.go @@ -19,6 +19,7 @@ import ( // // Get the volume snapshot: // +// // ```go // package main // @@ -44,9 +45,11 @@ import ( // } // // ``` +// // // Reuse the data about a volume snapshot to create a new volume based on it: // +// // ```go // package main // @@ -80,6 +83,7 @@ import ( // } // // ``` +// func LookupVolumeSnapshot(ctx *pulumi.Context, args *LookupVolumeSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupVolumeSnapshotResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupVolumeSnapshotResult diff --git a/sdk/go/digitalocean/getVpc.go b/sdk/go/digitalocean/getVpc.go index 9340d70a..6c3bdb52 100644 --- a/sdk/go/digitalocean/getVpc.go +++ b/sdk/go/digitalocean/getVpc.go @@ -21,8 +21,10 @@ import ( // return that that region's default VPC. // // ## Example Usage +// // ### VPC By Name // +// // ```go // package main // @@ -46,9 +48,11 @@ import ( // } // // ``` +// // // Reuse the data about a VPC to assign a Droplet to it: // +// // ```go // package main // @@ -81,6 +85,7 @@ import ( // } // // ``` +// func LookupVpc(ctx *pulumi.Context, args *LookupVpcArgs, opts ...pulumi.InvokeOption) (*LookupVpcResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupVpcResult diff --git a/sdk/go/digitalocean/kubernetesCluster.go b/sdk/go/digitalocean/kubernetesCluster.go index adeee66d..3f8f25d3 100644 --- a/sdk/go/digitalocean/kubernetesCluster.go +++ b/sdk/go/digitalocean/kubernetesCluster.go @@ -14,25 +14,25 @@ import ( // ## Import // -// Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with +// # Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with // -// the `terraform:default-node-pool` tag. The provider will automatically add this tag if +// the `terraform:default-node-pool` tag. The provider will automatically add this tag if // -// the cluster only has a single node pool. Clusters with more than one node pool, however, will require +// the cluster only has a single node pool. Clusters with more than one node pool, however, will require // -// that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be +// that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be // -// the default node pool. +// the default node pool. // -// Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. +// Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. // // ```sh // $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af // ``` // -// Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` +// Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` // -// resources, e.g. +// resources, e.g. // // ```sh // $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8 diff --git a/sdk/go/digitalocean/kubernetesNodePool.go b/sdk/go/digitalocean/kubernetesNodePool.go index 7c492aad..a0d836d8 100644 --- a/sdk/go/digitalocean/kubernetesNodePool.go +++ b/sdk/go/digitalocean/kubernetesNodePool.go @@ -15,8 +15,10 @@ import ( // Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `KubernetesCluster` resource, this resource can be used to add additional ones to a cluster. // // ## Example Usage +// // ### Basic Example // +// // ```go // package main // @@ -68,11 +70,14 @@ import ( // } // // ``` +// +// // ### Autoscaling Example // // Node pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/). // For example: // +// // ```go // package main // @@ -100,24 +105,25 @@ import ( // } // // ``` +// // // ## Import // -// If you are importing an existing Kubernetes cluster with a single node pool, just +// # If you are importing an existing Kubernetes cluster with a single node pool, just // -// import the cluster. Additional node pools can be imported by using their `id`, e.g. +// import the cluster. Additional node pools can be imported by using their `id`, e.g. // // ```sh // $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8 // ``` // -// Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an +// Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an // -// existing cluster. The provider will refuse to import the node pool in that case because the node pool +// existing cluster. The provider will refuse to import the node pool in that case because the node pool // -// is managed by the `digitalocean_kubernetes_cluster` resource and not by this +// is managed by the `digitalocean_kubernetes_cluster` resource and not by this // -// `digitalocean_kubernetes_node_pool` resource. +// `digitalocean_kubernetes_node_pool` resource. type KubernetesNodePool struct { pulumi.CustomResourceState diff --git a/sdk/go/digitalocean/loadBalancer.go b/sdk/go/digitalocean/loadBalancer.go index 0863d001..c01103ec 100644 --- a/sdk/go/digitalocean/loadBalancer.go +++ b/sdk/go/digitalocean/loadBalancer.go @@ -17,6 +17,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -63,6 +64,7 @@ import ( // } // // ``` +// // // When managing certificates attached to the load balancer, make sure to add the `createBeforeDestroy` // lifecycle property in order to ensure the certificate is correctly updated when changed. The order of @@ -70,6 +72,7 @@ import ( // `Delete old certificate`. When doing so, you must also change the name of the certificate, // as there cannot be multiple certificates with the same name in an account. // +// // ```go // package main // @@ -124,6 +127,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/monitorAlert.go b/sdk/go/digitalocean/monitorAlert.go index 1e3aa6d8..08d9d0ef 100644 --- a/sdk/go/digitalocean/monitorAlert.go +++ b/sdk/go/digitalocean/monitorAlert.go @@ -61,7 +61,7 @@ type MonitorAlert struct { Type pulumi.StringOutput `pulumi:"type"` // The uuid of the alert. Uuid pulumi.StringOutput `pulumi:"uuid"` - // The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + // The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. // DigitalOcean will show the correct unit in the web panel. Value pulumi.Float64Output `pulumi:"value"` // The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. @@ -148,7 +148,7 @@ type monitorAlertState struct { Type *string `pulumi:"type"` // The uuid of the alert. Uuid *string `pulumi:"uuid"` - // The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + // The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. // DigitalOcean will show the correct unit in the web panel. Value *float64 `pulumi:"value"` // The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. @@ -188,7 +188,7 @@ type MonitorAlertState struct { Type pulumi.StringPtrInput // The uuid of the alert. Uuid pulumi.StringPtrInput - // The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + // The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. // DigitalOcean will show the correct unit in the web panel. Value pulumi.Float64PtrInput // The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. @@ -230,7 +230,7 @@ type monitorAlertArgs struct { // `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or // `v1/dbaas/alerts/disk_utilization_alerts`. Type string `pulumi:"type"` - // The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + // The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. // DigitalOcean will show the correct unit in the web panel. Value float64 `pulumi:"value"` // The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. @@ -269,7 +269,7 @@ type MonitorAlertArgs struct { // `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or // `v1/dbaas/alerts/disk_utilization_alerts`. Type pulumi.StringInput - // The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + // The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. // DigitalOcean will show the correct unit in the web panel. Value pulumi.Float64Input // The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. @@ -419,7 +419,7 @@ func (o MonitorAlertOutput) Uuid() pulumi.StringOutput { return o.ApplyT(func(v *MonitorAlert) pulumi.StringOutput { return v.Uuid }).(pulumi.StringOutput) } -// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. +// The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. // DigitalOcean will show the correct unit in the web panel. func (o MonitorAlertOutput) Value() pulumi.Float64Output { return o.ApplyT(func(v *MonitorAlert) pulumi.Float64Output { return v.Value }).(pulumi.Float64Output) diff --git a/sdk/go/digitalocean/project.go b/sdk/go/digitalocean/project.go index eac11562..3c9c1da1 100644 --- a/sdk/go/digitalocean/project.go +++ b/sdk/go/digitalocean/project.go @@ -34,6 +34,7 @@ import ( // // The following example demonstrates the creation of an empty project: // +// // ```go // package main // @@ -59,9 +60,11 @@ import ( // } // // ``` +// // // The following example demonstrates the creation of a project with a Droplet resource: // +// // ```go // package main // @@ -98,6 +101,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/projectResources.go b/sdk/go/digitalocean/projectResources.go index 165d42c8..4625323c 100644 --- a/sdk/go/digitalocean/projectResources.go +++ b/sdk/go/digitalocean/projectResources.go @@ -30,6 +30,7 @@ import ( // // The following example assigns a droplet to a Project managed outside of the provider: // +// // ```go // package main // @@ -70,6 +71,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/reservedIp.go b/sdk/go/digitalocean/reservedIp.go index 27e6355d..3ecc3426 100644 --- a/sdk/go/digitalocean/reservedIp.go +++ b/sdk/go/digitalocean/reservedIp.go @@ -18,6 +18,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -52,6 +53,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/reservedIpAssignment.go b/sdk/go/digitalocean/reservedIpAssignment.go index 0ec34d9b..b4890b62 100644 --- a/sdk/go/digitalocean/reservedIpAssignment.go +++ b/sdk/go/digitalocean/reservedIpAssignment.go @@ -18,6 +18,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -58,12 +59,13 @@ import ( // } // // ``` +// // // ## Import // -// Reserved IP assignments can be imported using the reserved IP itself and the `id` of +// # Reserved IP assignments can be imported using the reserved IP itself and the `id` of // -// the Droplet joined with a comma. For example: +// the Droplet joined with a comma. For example: // // ```sh // $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/go/digitalocean/spacesBucket.go b/sdk/go/digitalocean/spacesBucket.go index 780f4b51..d20ecddd 100644 --- a/sdk/go/digitalocean/spacesBucket.go +++ b/sdk/go/digitalocean/spacesBucket.go @@ -25,6 +25,7 @@ import ( // access ID and secret you generate via the DigitalOcean control panel. For // example: // +// // ```go // package main // @@ -46,12 +47,15 @@ import ( // } // // ``` +// // // For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) // // ## Example Usage +// // ### Create a New Bucket // +// // ```go // package main // @@ -75,8 +79,11 @@ import ( // } // // ``` +// +// // ### Create a New Bucket With CORS Rules // +// // ```go // package main // @@ -128,6 +135,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/spacesBucketCorsConfiguration.go b/sdk/go/digitalocean/spacesBucketCorsConfiguration.go index 02b5472c..da979a37 100644 --- a/sdk/go/digitalocean/spacesBucketCorsConfiguration.go +++ b/sdk/go/digitalocean/spacesBucketCorsConfiguration.go @@ -13,8 +13,10 @@ import ( ) // ## Example Usage +// // ### Create a Key in a Spaces Bucket // +// // ```go // package main // @@ -63,6 +65,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/spacesBucketObject.go b/sdk/go/digitalocean/spacesBucketObject.go index e4a0462c..44b69b56 100644 --- a/sdk/go/digitalocean/spacesBucketObject.go +++ b/sdk/go/digitalocean/spacesBucketObject.go @@ -28,6 +28,7 @@ import ( // access ID and secret you generate via the DigitalOcean control panel. For // example: // +// // ```go // package main // @@ -49,12 +50,15 @@ import ( // } // // ``` +// // // For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) // // ## Example Usage +// // ### Create a Key in a Spaces Bucket // +// // ```go // package main // @@ -88,6 +92,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/spacesBucketPolicy.go b/sdk/go/digitalocean/spacesBucketPolicy.go index 4ed901ea..2aea0a85 100644 --- a/sdk/go/digitalocean/spacesBucketPolicy.go +++ b/sdk/go/digitalocean/spacesBucketPolicy.go @@ -13,8 +13,10 @@ import ( ) // ## Example Usage +// // ### Limiting access to specific IP addresses // +// // ```go // package main // @@ -78,6 +80,7 @@ import ( // } // // ``` +// // // !> **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket. // diff --git a/sdk/go/digitalocean/sshKey.go b/sdk/go/digitalocean/sshKey.go index 357ffeaa..7af34b1c 100644 --- a/sdk/go/digitalocean/sshKey.go +++ b/sdk/go/digitalocean/sshKey.go @@ -19,6 +19,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -65,6 +66,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/tag.go b/sdk/go/digitalocean/tag.go index 8726c86b..3b1b63f6 100644 --- a/sdk/go/digitalocean/tag.go +++ b/sdk/go/digitalocean/tag.go @@ -18,6 +18,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -52,6 +53,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/volume.go b/sdk/go/digitalocean/volume.go index 65989d96..2a50ad00 100644 --- a/sdk/go/digitalocean/volume.go +++ b/sdk/go/digitalocean/volume.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -57,9 +58,11 @@ import ( // } // // ``` +// // // You can also create a volume from an existing snapshot. // +// // ```go // package main // @@ -91,6 +94,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/volumeAttachment.go b/sdk/go/digitalocean/volumeAttachment.go index f6e6237e..9e548d92 100644 --- a/sdk/go/digitalocean/volumeAttachment.go +++ b/sdk/go/digitalocean/volumeAttachment.go @@ -18,6 +18,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -59,6 +60,7 @@ import ( // } // // ``` +// type VolumeAttachment struct { pulumi.CustomResourceState diff --git a/sdk/go/digitalocean/volumeSnapshot.go b/sdk/go/digitalocean/volumeSnapshot.go index fb8f1390..2a1e19cf 100644 --- a/sdk/go/digitalocean/volumeSnapshot.go +++ b/sdk/go/digitalocean/volumeSnapshot.go @@ -16,6 +16,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -47,6 +48,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/go/digitalocean/vpc.go b/sdk/go/digitalocean/vpc.go index ab0a7400..e9fd8ed3 100644 --- a/sdk/go/digitalocean/vpc.go +++ b/sdk/go/digitalocean/vpc.go @@ -19,6 +19,7 @@ import ( // // ## Example Usage // +// // ```go // package main // @@ -43,12 +44,15 @@ import ( // } // // ``` +// +// // ### Resource Assignment // // `Droplet`, `KubernetesCluster`, // `digitaloceanLoadBalancer`, and `DatabaseCluster` resources // may be assigned to a VPC by referencing its `id`. For example: // +// // ```go // package main // @@ -81,6 +85,7 @@ import ( // } // // ``` +// // // ## Import // diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/App.java b/sdk/java/src/main/java/com/pulumi/digitalocean/App.java index 2b4f398c..de27dd90 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/App.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/App.java @@ -21,7 +21,10 @@ * ## Example Usage * * To create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components. + * * ### Basic Example + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -64,7 +67,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Static Site Example + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -106,8 +113,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Multiple Components Example * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -180,6 +190,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java index 68eec175..b4876573 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Cdn.java @@ -19,7 +19,10 @@ * Provides a DigitalOcean CDN Endpoint resource for use with Spaces. * * ## Example Usage + * * ### Basic Example + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -56,7 +59,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Custom Sub-Domain Example + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -101,6 +108,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java index 48357a56..1328d4d2 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Certificate.java @@ -24,7 +24,10 @@ * Let's Encrypt. * * ## Example Usage + * * ### Custom Certificate + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -56,7 +59,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Let's Encrypt Certificate + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -86,10 +93,14 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Use with Other Resources * * Both custom and Let's Encrypt certificates can be used with other resources * including the `digitalocean.LoadBalancer` and `digitalocean.Cdn` resources. + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -134,6 +145,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java index d936b3a1..0b916003 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistry.java @@ -19,6 +19,8 @@ * a secure, private location to store your containers for rapid deployment. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -47,6 +49,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java index fbb4c5bb..7666beb6 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/ContainerRegistryDockerCredentials.java @@ -23,9 +23,12 @@ * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -54,9 +57,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Docker Provider Example * * Use the `endpoint` and `docker_credentials` with the Docker provider: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -91,6 +98,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * */ @ResourceType(type="digitalocean:index/containerRegistryDockerCredentials:ContainerRegistryDockerCredentials") diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java b/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java index 063eb5b5..b82ad9e3 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/CustomImage.java @@ -32,6 +32,8 @@ * Image documentation for [additional requirements](https://www.digitalocean.com/docs/images/custom-images/#image-requirements). * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -70,6 +72,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * */ @ResourceType(type="digitalocean:index/customImage:CustomImage") diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java index 6146d731..8b233faf 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseCluster.java @@ -22,7 +22,9 @@ * Provides a DigitalOcean database cluster resource. * * ## Example Usage + * * ### Create a new PostgreSQL database cluster + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -55,7 +57,10 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new MySQL database cluster + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -88,7 +93,10 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new Redis database cluster + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -121,7 +129,10 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new Kafka database cluster + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -154,7 +165,10 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new MongoDB database cluster + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -187,7 +201,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ## Create a new database cluster based on a backup of an existing cluster. + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -237,6 +255,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java index 7e80916d..e1dc85ab 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseConnectionPool.java @@ -20,7 +20,9 @@ * Provides a DigitalOcean database connection pool resource. * * ## Example Usage + * * ### Create a new PostgreSQL database connection pool + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -63,12 +65,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * Database connection pools can be imported using the `id` of the source database cluster * - * and the `name` of the connection pool joined with a comma. For example: + * and the `name` of the connection pool joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01 diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java index 95d75b86..6d322bf5 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseDb.java @@ -17,7 +17,9 @@ * Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster. * * ## Example Usage + * * ### Create a new PostgreSQL database + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -56,12 +58,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * Database can be imported using the `id` of the source database cluster * - * and the `name` of the database joined with a comma. For example: + * and the `name` of the database joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java index 81d433bc..91121b40 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseFirewall.java @@ -21,7 +21,10 @@ * specific Droplets, Kubernetes clusters, or IP addresses. * * ## Example Usage + * * ### Create a new database firewall allowing multiple IP addresses + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -70,7 +73,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new database firewall allowing a Droplet + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -122,7 +129,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new database firewall for a database replica + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -174,12 +185,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * Database firewalls can be imported using the `id` of the target database cluster * - * For example: + * For example: * * ```sh * $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54 diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java index e00a27a6..f9596453 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseKafkaTopic.java @@ -22,6 +22,10 @@ * * ## Example Usage * + * ### Create a new Kafka topic + * <!--Start PulumiCodeChooser --> + * <!--End PulumiCodeChooser --> + * * ## Import * * Topics can be imported using the `id` of the source cluster and the `name` of the topic joined with a comma. For example: diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java index b2337e92..8bde6810 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseMysqlConfig.java @@ -23,6 +23,8 @@ * > **Note** MySQL configurations are only removed from state when destroyed. The remote configuration is not unset. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -63,6 +65,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java index dd856fdd..53ca76e6 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseRedisConfig.java @@ -22,6 +22,8 @@ * > **Note** Redis configurations are only removed from state when destroyed. The remote configuration is not unset. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -63,6 +65,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java index 76df5a33..1bcdec3f 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseReplica.java @@ -20,7 +20,9 @@ * Provides a DigitalOcean database replica resource. * * ## Example Usage + * * ### Create a new PostgreSQL database replica + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -73,12 +75,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * Database replicas can be imported using the `id` of the source database cluster * - * and the `name` of the replica joined with a comma. For example: + * and the `name` of the replica joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java index 6721fbcb..7257d170 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DatabaseUser.java @@ -22,7 +22,9 @@ * > **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually. * * ## Example Usage + * * ### Create a new PostgreSQL database user + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -61,7 +63,10 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new user for a PostgreSQL database replica + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -108,7 +113,10 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a new user for a Kafka database cluster + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -169,12 +177,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * Database user can be imported using the `id` of the source database cluster * - * and the `name` of the user joined with a comma. For example: + * and the `name` of the user joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java index de9d49cb..138701e3 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DigitaloceanFunctions.java @@ -136,6 +136,8 @@ public final class DigitaloceanFunctions { * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -161,6 +163,7 @@ public final class DigitaloceanFunctions { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getAccount() { @@ -172,6 +175,8 @@ public static Output getAccount() { * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -197,6 +202,7 @@ public static Output getAccount() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAccountPlain() { @@ -208,6 +214,8 @@ public static CompletableFuture getAccountPlain() { * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -233,6 +241,7 @@ public static CompletableFuture getAccountPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getAccount(InvokeArgs args) { @@ -244,6 +253,8 @@ public static Output getAccount(InvokeArgs args) { * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -269,6 +280,7 @@ public static Output getAccount(InvokeArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAccountPlain(InvokeArgs args) { @@ -280,6 +292,8 @@ public static CompletableFuture getAccountPlain(InvokeArgs arg * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -305,6 +319,7 @@ public static CompletableFuture getAccountPlain(InvokeArgs arg * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getAccount(InvokeArgs args, InvokeOptions options) { @@ -316,6 +331,8 @@ public static Output getAccount(InvokeArgs args, InvokeOptions * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -341,6 +358,7 @@ public static Output getAccount(InvokeArgs args, InvokeOptions * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAccountPlain(InvokeArgs args, InvokeOptions options) { @@ -352,6 +370,8 @@ public static CompletableFuture getAccountPlain(InvokeArgs arg * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -381,6 +401,7 @@ public static CompletableFuture getAccountPlain(InvokeArgs arg * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getApp(GetAppArgs args) { @@ -392,6 +413,8 @@ public static Output getApp(GetAppArgs args) { * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -421,6 +444,7 @@ public static Output getApp(GetAppArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAppPlain(GetAppPlainArgs args) { @@ -432,6 +456,8 @@ public static CompletableFuture getAppPlain(GetAppPlainArgs args) * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -461,6 +487,7 @@ public static CompletableFuture getAppPlain(GetAppPlainArgs args) * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getApp(GetAppArgs args, InvokeOptions options) { @@ -472,6 +499,8 @@ public static Output getApp(GetAppArgs args, InvokeOptions options * ## Example Usage * * Get the account: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -501,6 +530,7 @@ public static Output getApp(GetAppArgs args, InvokeOptions options * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAppPlain(GetAppPlainArgs args, InvokeOptions options) { @@ -517,6 +547,8 @@ public static CompletableFuture getAppPlain(GetAppPlainArgs args, * ## Example Usage * * Get the certificate: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -545,6 +577,7 @@ public static CompletableFuture getAppPlain(GetAppPlainArgs args, * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getCertificate(GetCertificateArgs args) { @@ -561,6 +594,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * Get the certificate: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -589,6 +624,7 @@ public static Output getCertificate(GetCertificateArgs arg * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getCertificatePlain(GetCertificatePlainArgs args) { @@ -605,6 +641,8 @@ public static CompletableFuture getCertificatePlain(GetCer * ## Example Usage * * Get the certificate: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -633,6 +671,7 @@ public static CompletableFuture getCertificatePlain(GetCer * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getCertificate(GetCertificateArgs args, InvokeOptions options) { @@ -649,6 +688,8 @@ public static Output getCertificate(GetCertificateArgs arg * ## Example Usage * * Get the certificate: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -677,6 +718,7 @@ public static Output getCertificate(GetCertificateArgs arg * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getCertificatePlain(GetCertificatePlainArgs args, InvokeOptions options) { @@ -691,9 +733,12 @@ public static CompletableFuture getCertificatePlain(GetCer * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -722,6 +767,7 @@ public static CompletableFuture getCertificatePlain(GetCer * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getContainerRegistry(GetContainerRegistryArgs args) { @@ -736,9 +782,12 @@ public static Output getContainerRegistry(GetContain * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -767,6 +816,7 @@ public static Output getContainerRegistry(GetContain * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getContainerRegistryPlain(GetContainerRegistryPlainArgs args) { @@ -781,9 +831,12 @@ public static CompletableFuture getContainerRegistry * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -812,6 +865,7 @@ public static CompletableFuture getContainerRegistry * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getContainerRegistry(GetContainerRegistryArgs args, InvokeOptions options) { @@ -826,9 +880,12 @@ public static Output getContainerRegistry(GetContain * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -857,6 +914,7 @@ public static Output getContainerRegistry(GetContain * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getContainerRegistryPlain(GetContainerRegistryPlainArgs args, InvokeOptions options) { @@ -866,6 +924,8 @@ public static CompletableFuture getContainerRegistry * Provides the CA certificate for a DigitalOcean database. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -895,6 +955,7 @@ public static CompletableFuture getContainerRegistry * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseCa(GetDatabaseCaArgs args) { @@ -904,6 +965,8 @@ public static Output getDatabaseCa(GetDatabaseCaArgs args) * Provides the CA certificate for a DigitalOcean database. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -933,6 +996,7 @@ public static Output getDatabaseCa(GetDatabaseCaArgs args) * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseCaPlain(GetDatabaseCaPlainArgs args) { @@ -942,6 +1006,8 @@ public static CompletableFuture getDatabaseCaPlain(GetDatab * Provides the CA certificate for a DigitalOcean database. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -971,6 +1037,7 @@ public static CompletableFuture getDatabaseCaPlain(GetDatab * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseCa(GetDatabaseCaArgs args, InvokeOptions options) { @@ -980,6 +1047,8 @@ public static Output getDatabaseCa(GetDatabaseCaArgs args, * Provides the CA certificate for a DigitalOcean database. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1009,6 +1078,7 @@ public static Output getDatabaseCa(GetDatabaseCaArgs args, * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseCaPlain(GetDatabaseCaPlainArgs args, InvokeOptions options) { @@ -1018,6 +1088,8 @@ public static CompletableFuture getDatabaseCaPlain(GetDatab * Provides information on a DigitalOcean database cluster resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1047,6 +1119,7 @@ public static CompletableFuture getDatabaseCaPlain(GetDatab * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseCluster(GetDatabaseClusterArgs args) { @@ -1056,6 +1129,8 @@ public static Output getDatabaseCluster(GetDatabaseClu * Provides information on a DigitalOcean database cluster resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1085,6 +1160,7 @@ public static Output getDatabaseCluster(GetDatabaseClu * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseClusterPlain(GetDatabaseClusterPlainArgs args) { @@ -1094,6 +1170,8 @@ public static CompletableFuture getDatabaseClusterPlai * Provides information on a DigitalOcean database cluster resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1123,6 +1201,7 @@ public static CompletableFuture getDatabaseClusterPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseCluster(GetDatabaseClusterArgs args, InvokeOptions options) { @@ -1132,6 +1211,8 @@ public static Output getDatabaseCluster(GetDatabaseClu * Provides information on a DigitalOcean database cluster resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1161,6 +1242,7 @@ public static Output getDatabaseCluster(GetDatabaseClu * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseClusterPlain(GetDatabaseClusterPlainArgs args, InvokeOptions options) { @@ -1170,6 +1252,8 @@ public static CompletableFuture getDatabaseClusterPlai * Provides information on a DigitalOcean PostgreSQL database connection pool. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1205,6 +1289,7 @@ public static CompletableFuture getDatabaseClusterPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs args) { @@ -1214,6 +1299,8 @@ public static Output getDatabaseConnectionPool( * Provides information on a DigitalOcean PostgreSQL database connection pool. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1249,6 +1336,7 @@ public static Output getDatabaseConnectionPool( * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseConnectionPoolPlain(GetDatabaseConnectionPoolPlainArgs args) { @@ -1258,6 +1346,8 @@ public static CompletableFuture getDatabaseConn * Provides information on a DigitalOcean PostgreSQL database connection pool. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1293,6 +1383,7 @@ public static CompletableFuture getDatabaseConn * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseConnectionPool(GetDatabaseConnectionPoolArgs args, InvokeOptions options) { @@ -1302,6 +1393,8 @@ public static Output getDatabaseConnectionPool( * Provides information on a DigitalOcean PostgreSQL database connection pool. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1337,6 +1430,7 @@ public static Output getDatabaseConnectionPool( * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseConnectionPoolPlain(GetDatabaseConnectionPoolPlainArgs args, InvokeOptions options) { @@ -1346,6 +1440,8 @@ public static CompletableFuture getDatabaseConn * Provides information on a DigitalOcean database replica. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1381,6 +1477,7 @@ public static CompletableFuture getDatabaseConn * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseReplica(GetDatabaseReplicaArgs args) { @@ -1390,6 +1487,8 @@ public static Output getDatabaseReplica(GetDatabaseRep * Provides information on a DigitalOcean database replica. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1425,6 +1524,7 @@ public static Output getDatabaseReplica(GetDatabaseRep * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseReplicaPlain(GetDatabaseReplicaPlainArgs args) { @@ -1434,6 +1534,8 @@ public static CompletableFuture getDatabaseReplicaPlai * Provides information on a DigitalOcean database replica. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1469,6 +1571,7 @@ public static CompletableFuture getDatabaseReplicaPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseReplica(GetDatabaseReplicaArgs args, InvokeOptions options) { @@ -1478,6 +1581,8 @@ public static Output getDatabaseReplica(GetDatabaseRep * Provides information on a DigitalOcean database replica. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1513,6 +1618,7 @@ public static Output getDatabaseReplica(GetDatabaseRep * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseReplicaPlain(GetDatabaseReplicaPlainArgs args, InvokeOptions options) { @@ -1522,6 +1628,8 @@ public static CompletableFuture getDatabaseReplicaPlai * Provides information on a DigitalOcean database user resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1557,6 +1665,7 @@ public static CompletableFuture getDatabaseReplicaPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseUser(GetDatabaseUserArgs args) { @@ -1566,6 +1675,8 @@ public static Output getDatabaseUser(GetDatabaseUserArgs * Provides information on a DigitalOcean database user resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1601,6 +1712,7 @@ public static Output getDatabaseUser(GetDatabaseUserArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseUserPlain(GetDatabaseUserPlainArgs args) { @@ -1610,6 +1722,8 @@ public static CompletableFuture getDatabaseUserPlain(GetD * Provides information on a DigitalOcean database user resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1645,6 +1759,7 @@ public static CompletableFuture getDatabaseUserPlain(GetD * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDatabaseUser(GetDatabaseUserArgs args, InvokeOptions options) { @@ -1654,6 +1769,8 @@ public static Output getDatabaseUser(GetDatabaseUserArgs * Provides information on a DigitalOcean database user resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1689,6 +1806,7 @@ public static Output getDatabaseUser(GetDatabaseUserArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatabaseUserPlain(GetDatabaseUserPlainArgs args, InvokeOptions options) { @@ -1703,6 +1821,42 @@ public static CompletableFuture getDatabaseUserPlain(GetD * An error is triggered if the provided domain name is not managed with your * DigitalOcean account. * + * ## Example Usage + * + * Get the zone file for a domain: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetDomainArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() + * .name("example.com") + * .build()); + * + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static Output getDomain(GetDomainArgs args) { return getDomain(args, InvokeOptions.Empty); @@ -1716,6 +1870,42 @@ public static Output getDomain(GetDomainArgs args) { * An error is triggered if the provided domain name is not managed with your * DigitalOcean account. * + * ## Example Usage + * + * Get the zone file for a domain: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetDomainArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() + * .name("example.com") + * .build()); + * + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static CompletableFuture getDomainPlain(GetDomainPlainArgs args) { return getDomainPlain(args, InvokeOptions.Empty); @@ -1729,6 +1919,42 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * An error is triggered if the provided domain name is not managed with your * DigitalOcean account. * + * ## Example Usage + * + * Get the zone file for a domain: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetDomainArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() + * .name("example.com") + * .build()); + * + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static Output getDomain(GetDomainArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("digitalocean:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); @@ -1742,6 +1968,42 @@ public static Output getDomain(GetDomainArgs args, InvokeOption * An error is triggered if the provided domain name is not managed with your * DigitalOcean account. * + * ## Example Usage + * + * Get the zone file for a domain: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetDomainArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getDomain(GetDomainArgs.builder() + * .name("example.com") + * .build()); + * + * ctx.export("domainOutput", example.applyValue(getDomainResult -> getDomainResult.zoneFile())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static CompletableFuture getDomainPlain(GetDomainPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("digitalocean:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); @@ -1760,6 +2022,8 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `match_by` mode in order to match domains by suffix.) + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1792,6 +2056,7 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDomains() { @@ -1811,6 +2076,8 @@ public static Output getDomains() { * * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `match_by` mode in order to match domains by suffix.) + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1843,6 +2110,7 @@ public static Output getDomains() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDomainsPlain() { @@ -1862,6 +2130,8 @@ public static CompletableFuture getDomainsPlain() { * * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `match_by` mode in order to match domains by suffix.) + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1894,6 +2164,7 @@ public static CompletableFuture getDomainsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDomains(GetDomainsArgs args) { @@ -1913,6 +2184,8 @@ public static Output getDomains(GetDomainsArgs args) { * * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `match_by` mode in order to match domains by suffix.) + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1945,6 +2218,7 @@ public static Output getDomains(GetDomainsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDomainsPlain(GetDomainsPlainArgs args) { @@ -1964,6 +2238,8 @@ public static CompletableFuture getDomainsPlain(GetDomainsPlai * * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `match_by` mode in order to match domains by suffix.) + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -1996,6 +2272,7 @@ public static CompletableFuture getDomainsPlain(GetDomainsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDomains(GetDomainsArgs args, InvokeOptions options) { @@ -2015,6 +2292,8 @@ public static Output getDomains(GetDomainsArgs args, InvokeOpt * * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `match_by` mode in order to match domains by suffix.) + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2047,6 +2326,7 @@ public static Output getDomains(GetDomainsArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDomainsPlain(GetDomainsPlainArgs args, InvokeOptions options) { @@ -2064,6 +2344,8 @@ public static CompletableFuture getDomainsPlain(GetDomainsPlai * ## Example Usage * * Get the Droplet by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2093,8 +2375,11 @@ public static CompletableFuture getDomainsPlain(GetDomainsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2123,8 +2408,11 @@ public static CompletableFuture getDomainsPlain(GetDomainsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2153,6 +2441,7 @@ public static CompletableFuture getDomainsPlain(GetDomainsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDroplet() { @@ -2170,6 +2459,8 @@ public static Output getDroplet() { * ## Example Usage * * Get the Droplet by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2199,8 +2490,11 @@ public static Output getDroplet() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2229,8 +2523,11 @@ public static Output getDroplet() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2259,6 +2556,7 @@ public static Output getDroplet() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletPlain() { @@ -2276,6 +2574,8 @@ public static CompletableFuture getDropletPlain() { * ## Example Usage * * Get the Droplet by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2305,8 +2605,11 @@ public static CompletableFuture getDropletPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2335,8 +2638,11 @@ public static CompletableFuture getDropletPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2365,6 +2671,7 @@ public static CompletableFuture getDropletPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDroplet(GetDropletArgs args) { @@ -2382,6 +2689,8 @@ public static Output getDroplet(GetDropletArgs args) { * ## Example Usage * * Get the Droplet by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2411,8 +2720,11 @@ public static Output getDroplet(GetDropletArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2441,8 +2753,11 @@ public static Output getDroplet(GetDropletArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2471,6 +2786,7 @@ public static Output getDroplet(GetDropletArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletPlain(GetDropletPlainArgs args) { @@ -2488,6 +2804,8 @@ public static CompletableFuture getDropletPlain(GetDropletPlai * ## Example Usage * * Get the Droplet by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2517,8 +2835,11 @@ public static CompletableFuture getDropletPlain(GetDropletPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2547,8 +2868,11 @@ public static CompletableFuture getDropletPlain(GetDropletPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2577,6 +2901,7 @@ public static CompletableFuture getDropletPlain(GetDropletPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDroplet(GetDropletArgs args, InvokeOptions options) { @@ -2594,6 +2919,8 @@ public static Output getDroplet(GetDropletArgs args, InvokeOpt * ## Example Usage * * Get the Droplet by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2623,8 +2950,11 @@ public static Output getDroplet(GetDropletArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2653,8 +2983,11 @@ public static Output getDroplet(GetDropletArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the Droplet by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2683,6 +3016,7 @@ public static Output getDroplet(GetDropletArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletPlain(GetDropletPlainArgs args, InvokeOptions options) { @@ -2696,6 +3030,8 @@ public static CompletableFuture getDropletPlain(GetDropletPlai * ## Example Usage * * Get the Droplet snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2726,8 +3062,11 @@ public static CompletableFuture getDropletPlain(GetDropletPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Create image from snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2766,6 +3105,7 @@ public static CompletableFuture getDropletPlain(GetDropletPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDropletSnapshot() { @@ -2779,6 +3119,8 @@ public static Output getDropletSnapshot() { * ## Example Usage * * Get the Droplet snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2809,8 +3151,11 @@ public static Output getDropletSnapshot() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Create image from snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2849,6 +3194,7 @@ public static Output getDropletSnapshot() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletSnapshotPlain() { @@ -2862,6 +3208,8 @@ public static CompletableFuture getDropletSnapshotPlai * ## Example Usage * * Get the Droplet snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2892,8 +3240,11 @@ public static CompletableFuture getDropletSnapshotPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Create image from snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2932,6 +3283,7 @@ public static CompletableFuture getDropletSnapshotPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDropletSnapshot(GetDropletSnapshotArgs args) { @@ -2945,6 +3297,8 @@ public static Output getDropletSnapshot(GetDropletSnap * ## Example Usage * * Get the Droplet snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -2975,8 +3329,11 @@ public static Output getDropletSnapshot(GetDropletSnap * } * } * ``` + * <!--End PulumiCodeChooser --> * * Create image from snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3015,6 +3372,7 @@ public static Output getDropletSnapshot(GetDropletSnap * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletSnapshotPlain(GetDropletSnapshotPlainArgs args) { @@ -3028,6 +3386,8 @@ public static CompletableFuture getDropletSnapshotPlai * ## Example Usage * * Get the Droplet snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3058,8 +3418,11 @@ public static CompletableFuture getDropletSnapshotPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Create image from snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3098,6 +3461,7 @@ public static CompletableFuture getDropletSnapshotPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDropletSnapshot(GetDropletSnapshotArgs args, InvokeOptions options) { @@ -3111,6 +3475,8 @@ public static Output getDropletSnapshot(GetDropletSnap * ## Example Usage * * Get the Droplet snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3141,8 +3507,11 @@ public static Output getDropletSnapshot(GetDropletSnap * } * } * ``` + * <!--End PulumiCodeChooser --> * * Create image from snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3181,6 +3550,7 @@ public static Output getDropletSnapshot(GetDropletSnap * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletSnapshotPlain(GetDropletSnapshotPlainArgs args, InvokeOptions options) { @@ -3201,6 +3571,8 @@ public static CompletableFuture getDropletSnapshotPlai * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Droplets with size `s-1vcpu-1gb`: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3232,8 +3604,11 @@ public static CompletableFuture getDropletSnapshotPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3274,6 +3649,7 @@ public static CompletableFuture getDropletSnapshotPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDroplets() { @@ -3294,6 +3670,8 @@ public static Output getDroplets() { * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Droplets with size `s-1vcpu-1gb`: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3325,8 +3703,11 @@ public static Output getDroplets() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3367,6 +3748,7 @@ public static Output getDroplets() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletsPlain() { @@ -3387,6 +3769,8 @@ public static CompletableFuture getDropletsPlain() { * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Droplets with size `s-1vcpu-1gb`: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3418,8 +3802,11 @@ public static CompletableFuture getDropletsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3460,6 +3847,7 @@ public static CompletableFuture getDropletsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDroplets(GetDropletsArgs args) { @@ -3480,6 +3868,8 @@ public static Output getDroplets(GetDropletsArgs args) { * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Droplets with size `s-1vcpu-1gb`: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3511,8 +3901,11 @@ public static Output getDroplets(GetDropletsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3553,6 +3946,7 @@ public static Output getDroplets(GetDropletsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletsPlain(GetDropletsPlainArgs args) { @@ -3573,6 +3967,8 @@ public static CompletableFuture getDropletsPlain(GetDropletsP * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Droplets with size `s-1vcpu-1gb`: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3604,8 +4000,11 @@ public static CompletableFuture getDropletsPlain(GetDropletsP * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3646,6 +4045,7 @@ public static CompletableFuture getDropletsPlain(GetDropletsP * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getDroplets(GetDropletsArgs args, InvokeOptions options) { @@ -3666,6 +4066,8 @@ public static Output getDroplets(GetDropletsArgs args, Invoke * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Droplets with size `s-1vcpu-1gb`: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3697,8 +4099,11 @@ public static Output getDroplets(GetDropletsArgs args, Invoke * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3739,6 +4144,7 @@ public static Output getDroplets(GetDropletsArgs args, Invoke * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDropletsPlain(GetDropletsPlainArgs args, InvokeOptions options) { @@ -3750,6 +4156,8 @@ public static CompletableFuture getDropletsPlain(GetDropletsP * ## Example Usage * * Get the firewall: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3779,6 +4187,7 @@ public static CompletableFuture getDropletsPlain(GetDropletsP * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getFirewall(GetFirewallArgs args) { @@ -3790,6 +4199,8 @@ public static Output getFirewall(GetFirewallArgs args) { * ## Example Usage * * Get the firewall: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3819,6 +4230,7 @@ public static Output getFirewall(GetFirewallArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getFirewallPlain(GetFirewallPlainArgs args) { @@ -3830,6 +4242,8 @@ public static CompletableFuture getFirewallPlain(GetFirewallP * ## Example Usage * * Get the firewall: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3859,6 +4273,7 @@ public static CompletableFuture getFirewallPlain(GetFirewallP * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getFirewall(GetFirewallArgs args, InvokeOptions options) { @@ -3870,6 +4285,8 @@ public static Output getFirewall(GetFirewallArgs args, Invoke * ## Example Usage * * Get the firewall: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3899,6 +4316,7 @@ public static Output getFirewall(GetFirewallArgs args, Invoke * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getFirewallPlain(GetFirewallPlainArgs args, InvokeOptions options) { @@ -3917,6 +4335,8 @@ public static CompletableFuture getFirewallPlain(GetFirewallP * ## Example Usage * * Get the floating IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3948,6 +4368,7 @@ public static CompletableFuture getFirewallPlain(GetFirewallP * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getFloatingIp(GetFloatingIpArgs args) { @@ -3966,6 +4387,8 @@ public static Output getFloatingIp(GetFloatingIpArgs args) * ## Example Usage * * Get the floating IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -3997,6 +4420,7 @@ public static Output getFloatingIp(GetFloatingIpArgs args) * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getFloatingIpPlain(GetFloatingIpPlainArgs args) { @@ -4015,6 +4439,8 @@ public static CompletableFuture getFloatingIpPlain(GetFloat * ## Example Usage * * Get the floating IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4046,6 +4472,7 @@ public static CompletableFuture getFloatingIpPlain(GetFloat * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getFloatingIp(GetFloatingIpArgs args, InvokeOptions options) { @@ -4064,6 +4491,8 @@ public static Output getFloatingIp(GetFloatingIpArgs args, * ## Example Usage * * Get the floating IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4095,6 +4524,7 @@ public static Output getFloatingIp(GetFloatingIpArgs args, * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getFloatingIpPlain(GetFloatingIpPlainArgs args, InvokeOptions options) { @@ -4111,6 +4541,8 @@ public static CompletableFuture getFloatingIpPlain(GetFloat * ## Example Usage * * Get the data about a snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4139,8 +4571,11 @@ public static CompletableFuture getFloatingIpPlain(GetFloat * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4177,8 +4612,11 @@ public static CompletableFuture getFloatingIpPlain(GetFloat * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the data about an official image: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4207,6 +4645,7 @@ public static CompletableFuture getFloatingIpPlain(GetFloat * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getImage() { @@ -4223,6 +4662,8 @@ public static Output getImage() { * ## Example Usage * * Get the data about a snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4251,8 +4692,11 @@ public static Output getImage() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4289,8 +4733,11 @@ public static Output getImage() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the data about an official image: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4319,6 +4766,7 @@ public static Output getImage() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getImagePlain() { @@ -4335,6 +4783,8 @@ public static CompletableFuture getImagePlain() { * ## Example Usage * * Get the data about a snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4363,8 +4813,11 @@ public static CompletableFuture getImagePlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4401,8 +4854,11 @@ public static CompletableFuture getImagePlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the data about an official image: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4431,6 +4887,7 @@ public static CompletableFuture getImagePlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getImage(GetImageArgs args) { @@ -4447,6 +4904,8 @@ public static Output getImage(GetImageArgs args) { * ## Example Usage * * Get the data about a snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4475,8 +4934,11 @@ public static Output getImage(GetImageArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4513,8 +4975,11 @@ public static Output getImage(GetImageArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the data about an official image: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4543,6 +5008,7 @@ public static Output getImage(GetImageArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getImagePlain(GetImagePlainArgs args) { @@ -4559,6 +5025,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * ## Example Usage * * Get the data about a snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4587,8 +5055,11 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4625,8 +5096,11 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the data about an official image: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4655,6 +5129,7 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getImage(GetImageArgs args, InvokeOptions options) { @@ -4671,6 +5146,8 @@ public static Output getImage(GetImageArgs args, InvokeOptions o * ## Example Usage * * Get the data about a snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4699,8 +5176,11 @@ public static Output getImage(GetImageArgs args, InvokeOptions o * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a snapshot to create a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4737,8 +5217,11 @@ public static Output getImage(GetImageArgs args, InvokeOptions o * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the data about an official image: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4767,6 +5250,7 @@ public static Output getImage(GetImageArgs args, InvokeOptions o * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getImagePlain(GetImagePlainArgs args, InvokeOptions options) { @@ -4788,6 +5272,8 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Ubuntu images: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4819,8 +5305,11 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4861,6 +5350,7 @@ public static CompletableFuture getImagePlain(GetImagePlainArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getImages() { @@ -4882,6 +5372,8 @@ public static Output getImages() { * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Ubuntu images: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4913,8 +5405,11 @@ public static Output getImages() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -4955,6 +5450,7 @@ public static Output getImages() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getImagesPlain() { @@ -4976,6 +5472,8 @@ public static CompletableFuture getImagesPlain() { * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Ubuntu images: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5007,8 +5505,11 @@ public static CompletableFuture getImagesPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5049,6 +5550,7 @@ public static CompletableFuture getImagesPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getImages(GetImagesArgs args) { @@ -5070,6 +5572,8 @@ public static Output getImages(GetImagesArgs args) { * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Ubuntu images: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5101,8 +5605,11 @@ public static Output getImages(GetImagesArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5143,6 +5650,7 @@ public static Output getImages(GetImagesArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getImagesPlain(GetImagesPlainArgs args) { @@ -5164,6 +5672,8 @@ public static CompletableFuture getImagesPlain(GetImagesPlainAr * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Ubuntu images: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5195,8 +5705,11 @@ public static CompletableFuture getImagesPlain(GetImagesPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5237,6 +5750,7 @@ public static CompletableFuture getImagesPlain(GetImagesPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getImages(GetImagesArgs args, InvokeOptions options) { @@ -5258,6 +5772,8 @@ public static Output getImages(GetImagesArgs args, InvokeOption * Use the `filter` block with a `key` string and `values` list to filter images. * * For example to find all Ubuntu images: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5289,8 +5805,11 @@ public static Output getImages(GetImagesArgs args, InvokeOption * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5331,6 +5850,7 @@ public static Output getImages(GetImagesArgs args, InvokeOption * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getImagesPlain(GetImagesPlainArgs args, InvokeOptions options) { @@ -5368,7 +5888,10 @@ public static CompletableFuture getKubernetesCluster * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5396,7 +5919,11 @@ public static CompletableFuture getKubernetesCluster * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a Kubernetes cluster using the most recent version available + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5436,7 +5963,11 @@ public static CompletableFuture getKubernetesCluster * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Pin a Kubernetes cluster to a specific minor version + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5478,6 +6009,7 @@ public static CompletableFuture getKubernetesCluster * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getKubernetesVersions() { @@ -5487,7 +6019,10 @@ public static Output getKubernetesVersions() { * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5515,7 +6050,11 @@ public static Output getKubernetesVersions() { * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a Kubernetes cluster using the most recent version available + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5555,7 +6094,11 @@ public static Output getKubernetesVersions() { * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Pin a Kubernetes cluster to a specific minor version + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5597,6 +6140,7 @@ public static Output getKubernetesVersions() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getKubernetesVersionsPlain() { @@ -5606,7 +6150,10 @@ public static CompletableFuture getKubernetesVersio * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5634,7 +6181,11 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a Kubernetes cluster using the most recent version available + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5674,7 +6225,11 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Pin a Kubernetes cluster to a specific minor version + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5716,6 +6271,7 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getKubernetesVersions(GetKubernetesVersionsArgs args) { @@ -5725,7 +6281,10 @@ public static Output getKubernetesVersions(GetKuber * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5753,7 +6312,11 @@ public static Output getKubernetesVersions(GetKuber * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a Kubernetes cluster using the most recent version available + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5793,7 +6356,11 @@ public static Output getKubernetesVersions(GetKuber * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Pin a Kubernetes cluster to a specific minor version + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5835,6 +6402,7 @@ public static Output getKubernetesVersions(GetKuber * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getKubernetesVersionsPlain(GetKubernetesVersionsPlainArgs args) { @@ -5844,7 +6412,10 @@ public static CompletableFuture getKubernetesVersio * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5872,7 +6443,11 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a Kubernetes cluster using the most recent version available + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5912,7 +6487,11 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Pin a Kubernetes cluster to a specific minor version + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5954,6 +6533,7 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getKubernetesVersions(GetKubernetesVersionsArgs args, InvokeOptions options) { @@ -5963,7 +6543,10 @@ public static Output getKubernetesVersions(GetKuber * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -5991,7 +6574,11 @@ public static Output getKubernetesVersions(GetKuber * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a Kubernetes cluster using the most recent version available + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6031,7 +6618,11 @@ public static Output getKubernetesVersions(GetKuber * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Pin a Kubernetes cluster to a specific minor version + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6073,6 +6664,7 @@ public static Output getKubernetesVersions(GetKuber * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getKubernetesVersionsPlain(GetKubernetesVersionsPlainArgs args, InvokeOptions options) { @@ -6089,6 +6681,8 @@ public static CompletableFuture getKubernetesVersio * ## Example Usage * * Get the load balancer by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6118,8 +6712,11 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the load balancer by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6148,6 +6745,7 @@ public static CompletableFuture getKubernetesVersio * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getLoadBalancer() { @@ -6164,6 +6762,8 @@ public static Output getLoadBalancer() { * ## Example Usage * * Get the load balancer by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6193,8 +6793,11 @@ public static Output getLoadBalancer() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the load balancer by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6223,6 +6826,7 @@ public static Output getLoadBalancer() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getLoadBalancerPlain() { @@ -6239,6 +6843,8 @@ public static CompletableFuture getLoadBalancerPlain() { * ## Example Usage * * Get the load balancer by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6268,8 +6874,11 @@ public static CompletableFuture getLoadBalancerPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the load balancer by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6298,6 +6907,7 @@ public static CompletableFuture getLoadBalancerPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getLoadBalancer(GetLoadBalancerArgs args) { @@ -6314,6 +6924,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * Get the load balancer by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6343,8 +6955,11 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the load balancer by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6373,6 +6988,7 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getLoadBalancerPlain(GetLoadBalancerPlainArgs args) { @@ -6389,6 +7005,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * ## Example Usage * * Get the load balancer by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6418,8 +7036,11 @@ public static CompletableFuture getLoadBalancerPlain(GetL * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the load balancer by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6448,6 +7069,7 @@ public static CompletableFuture getLoadBalancerPlain(GetL * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getLoadBalancer(GetLoadBalancerArgs args, InvokeOptions options) { @@ -6464,6 +7086,8 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * ## Example Usage * * Get the load balancer by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6493,8 +7117,11 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * * Get the load balancer by ID: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6523,6 +7150,7 @@ public static Output getLoadBalancer(GetLoadBalancerArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getLoadBalancerPlain(GetLoadBalancerPlainArgs args, InvokeOptions options) { @@ -6533,6 +7161,8 @@ public static CompletableFuture getLoadBalancerPlain(GetL * then this data source returns the default project. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6563,6 +7193,7 @@ public static CompletableFuture getLoadBalancerPlain(GetL * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getProject() { @@ -6573,6 +7204,8 @@ public static Output getProject() { * then this data source returns the default project. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6603,6 +7236,7 @@ public static Output getProject() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getProjectPlain() { @@ -6613,6 +7247,8 @@ public static CompletableFuture getProjectPlain() { * then this data source returns the default project. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6643,6 +7279,7 @@ public static CompletableFuture getProjectPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getProject(GetProjectArgs args) { @@ -6653,6 +7290,8 @@ public static Output getProject(GetProjectArgs args) { * then this data source returns the default project. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6683,6 +7322,7 @@ public static Output getProject(GetProjectArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getProjectPlain(GetProjectPlainArgs args) { @@ -6693,6 +7333,8 @@ public static CompletableFuture getProjectPlain(GetProjectPlai * then this data source returns the default project. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6723,6 +7365,7 @@ public static CompletableFuture getProjectPlain(GetProjectPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getProject(GetProjectArgs args, InvokeOptions options) { @@ -6733,6 +7376,8 @@ public static Output getProject(GetProjectArgs args, InvokeOpt * then this data source returns the default project. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6763,6 +7408,7 @@ public static Output getProject(GetProjectArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getProjectPlain(GetProjectPlainArgs args, InvokeOptions options) { @@ -6782,6 +7428,8 @@ public static CompletableFuture getProjectPlain(GetProjectPlai * Use the `filter` block with a `key` string and `values` list to filter projects. * * For example to find all staging environment projects: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6813,8 +7461,11 @@ public static CompletableFuture getProjectPlain(GetProjectPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6855,6 +7506,7 @@ public static CompletableFuture getProjectPlain(GetProjectPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getProjects() { @@ -6874,6 +7526,8 @@ public static Output getProjects() { * Use the `filter` block with a `key` string and `values` list to filter projects. * * For example to find all staging environment projects: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6905,8 +7559,11 @@ public static Output getProjects() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6947,6 +7604,7 @@ public static Output getProjects() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getProjectsPlain() { @@ -6966,6 +7624,8 @@ public static CompletableFuture getProjectsPlain() { * Use the `filter` block with a `key` string and `values` list to filter projects. * * For example to find all staging environment projects: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -6997,8 +7657,11 @@ public static CompletableFuture getProjectsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7039,6 +7702,7 @@ public static CompletableFuture getProjectsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getProjects(GetProjectsArgs args) { @@ -7058,6 +7722,8 @@ public static Output getProjects(GetProjectsArgs args) { * Use the `filter` block with a `key` string and `values` list to filter projects. * * For example to find all staging environment projects: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7089,8 +7755,11 @@ public static Output getProjects(GetProjectsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7131,6 +7800,7 @@ public static Output getProjects(GetProjectsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getProjectsPlain(GetProjectsPlainArgs args) { @@ -7150,6 +7820,8 @@ public static CompletableFuture getProjectsPlain(GetProjectsP * Use the `filter` block with a `key` string and `values` list to filter projects. * * For example to find all staging environment projects: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7181,8 +7853,11 @@ public static CompletableFuture getProjectsPlain(GetProjectsP * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7223,6 +7898,7 @@ public static CompletableFuture getProjectsPlain(GetProjectsP * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getProjects(GetProjectsArgs args, InvokeOptions options) { @@ -7242,6 +7918,8 @@ public static Output getProjects(GetProjectsArgs args, Invoke * Use the `filter` block with a `key` string and `values` list to filter projects. * * For example to find all staging environment projects: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7273,8 +7951,11 @@ public static Output getProjects(GetProjectsArgs args, Invoke * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7315,6 +7996,7 @@ public static Output getProjects(GetProjectsArgs args, Invoke * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getProjectsPlain(GetProjectsPlainArgs args, InvokeOptions options) { @@ -7328,6 +8010,44 @@ public static CompletableFuture getProjectsPlain(GetProjectsP * An error is triggered if the provided domain name or record are not managed with * your DigitalOcean account. * + * ## Example Usage + * + * Get data from a DNS record: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetRecordArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() + * .domain("example.com") + * .name("test") + * .build()); + * + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static Output getRecord(GetRecordArgs args) { return getRecord(args, InvokeOptions.Empty); @@ -7340,6 +8060,44 @@ public static Output getRecord(GetRecordArgs args) { * An error is triggered if the provided domain name or record are not managed with * your DigitalOcean account. * + * ## Example Usage + * + * Get data from a DNS record: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetRecordArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() + * .domain("example.com") + * .name("test") + * .build()); + * + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static CompletableFuture getRecordPlain(GetRecordPlainArgs args) { return getRecordPlain(args, InvokeOptions.Empty); @@ -7352,6 +8110,44 @@ public static CompletableFuture getRecordPlain(GetRecordPlainAr * An error is triggered if the provided domain name or record are not managed with * your DigitalOcean account. * + * ## Example Usage + * + * Get data from a DNS record: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetRecordArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() + * .domain("example.com") + * .name("test") + * .build()); + * + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static Output getRecord(GetRecordArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("digitalocean:index/getRecord:getRecord", TypeShape.of(GetRecordResult.class), args, Utilities.withVersion(options)); @@ -7364,6 +8160,44 @@ public static Output getRecord(GetRecordArgs args, InvokeOption * An error is triggered if the provided domain name or record are not managed with * your DigitalOcean account. * + * ## Example Usage + * + * Get data from a DNS record: + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.digitalocean.DigitaloceanFunctions; + * import com.pulumi.digitalocean.inputs.GetRecordArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = DigitaloceanFunctions.getRecord(GetRecordArgs.builder() + * .domain("example.com") + * .name("test") + * .build()); + * + * ctx.export("recordType", example.applyValue(getRecordResult -> getRecordResult.type())); + * ctx.export("recordTtl", example.applyValue(getRecordResult -> getRecordResult.ttl())); + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * */ public static CompletableFuture getRecordPlain(GetRecordPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("digitalocean:index/getRecord:getRecord", TypeShape.of(GetRecordResult.class), args, Utilities.withVersion(options)); @@ -7405,6 +8239,8 @@ public static CompletableFuture getRecordsPlain(GetRecordsPlai * what Droplet sizes and features are supported within a region. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7434,6 +8270,7 @@ public static CompletableFuture getRecordsPlain(GetRecordsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getRegion(GetRegionArgs args) { @@ -7444,6 +8281,8 @@ public static Output getRegion(GetRegionArgs args) { * what Droplet sizes and features are supported within a region. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7473,6 +8312,7 @@ public static Output getRegion(GetRegionArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getRegionPlain(GetRegionPlainArgs args) { @@ -7483,6 +8323,8 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr * what Droplet sizes and features are supported within a region. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7512,6 +8354,7 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getRegion(GetRegionArgs args, InvokeOptions options) { @@ -7522,6 +8365,8 @@ public static Output getRegion(GetRegionArgs args, InvokeOption * what Droplet sizes and features are supported within a region. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7551,6 +8396,7 @@ public static Output getRegion(GetRegionArgs args, InvokeOption * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getRegionPlain(GetRegionPlainArgs args, InvokeOptions options) { @@ -7568,6 +8414,8 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr * Use the `filter` block with a `key` string and `values` list to filter regions. * * For example to find all available regions: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7599,8 +8447,11 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7641,6 +8492,7 @@ public static CompletableFuture getRegionPlain(GetRegionPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getRegions() { @@ -7658,6 +8510,8 @@ public static Output getRegions() { * Use the `filter` block with a `key` string and `values` list to filter regions. * * For example to find all available regions: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7689,8 +8543,11 @@ public static Output getRegions() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7731,6 +8588,7 @@ public static Output getRegions() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getRegionsPlain() { @@ -7748,6 +8606,8 @@ public static CompletableFuture getRegionsPlain() { * Use the `filter` block with a `key` string and `values` list to filter regions. * * For example to find all available regions: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7779,8 +8639,11 @@ public static CompletableFuture getRegionsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7821,6 +8684,7 @@ public static CompletableFuture getRegionsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getRegions(GetRegionsArgs args) { @@ -7838,6 +8702,8 @@ public static Output getRegions(GetRegionsArgs args) { * Use the `filter` block with a `key` string and `values` list to filter regions. * * For example to find all available regions: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7869,8 +8735,11 @@ public static Output getRegions(GetRegionsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7911,6 +8780,7 @@ public static Output getRegions(GetRegionsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getRegionsPlain(GetRegionsPlainArgs args) { @@ -7928,6 +8798,8 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai * Use the `filter` block with a `key` string and `values` list to filter regions. * * For example to find all available regions: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -7959,8 +8831,11 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8001,6 +8876,7 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getRegions(GetRegionsArgs args, InvokeOptions options) { @@ -8018,6 +8894,8 @@ public static Output getRegions(GetRegionsArgs args, InvokeOpt * Use the `filter` block with a `key` string and `values` list to filter regions. * * For example to find all available regions: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8049,8 +8927,11 @@ public static Output getRegions(GetRegionsArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can filter on multiple fields and sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8091,6 +8972,7 @@ public static Output getRegions(GetRegionsArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getRegionsPlain(GetRegionsPlainArgs args, InvokeOptions options) { @@ -8100,6 +8982,8 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai * ## Example Usage * * Get the reserved IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8131,6 +9015,7 @@ public static CompletableFuture getRegionsPlain(GetRegionsPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getReservedIp(GetReservedIpArgs args) { @@ -8140,6 +9025,8 @@ public static Output getReservedIp(GetReservedIpArgs args) * ## Example Usage * * Get the reserved IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8171,6 +9058,7 @@ public static Output getReservedIp(GetReservedIpArgs args) * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getReservedIpPlain(GetReservedIpPlainArgs args) { @@ -8180,6 +9068,8 @@ public static CompletableFuture getReservedIpPlain(GetReser * ## Example Usage * * Get the reserved IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8211,6 +9101,7 @@ public static CompletableFuture getReservedIpPlain(GetReser * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getReservedIp(GetReservedIpArgs args, InvokeOptions options) { @@ -8220,6 +9111,8 @@ public static Output getReservedIp(GetReservedIpArgs args, * ## Example Usage * * Get the reserved IP: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8251,6 +9144,7 @@ public static Output getReservedIp(GetReservedIpArgs args, * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getReservedIpPlain(GetReservedIpPlainArgs args, InvokeOptions options) { @@ -8317,6 +9211,8 @@ public static CompletableFuture getSizesPlain(GetSizesPlainArgs * ## Example Usage * * Get the bucket by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8347,6 +9243,7 @@ public static CompletableFuture getSizesPlain(GetSizesPlainArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSpacesBucket(GetSpacesBucketArgs args) { @@ -8359,6 +9256,8 @@ public static Output getSpacesBucket(GetSpacesBucketArgs * ## Example Usage * * Get the bucket by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8389,6 +9288,7 @@ public static Output getSpacesBucket(GetSpacesBucketArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpacesBucketPlain(GetSpacesBucketPlainArgs args) { @@ -8401,6 +9301,8 @@ public static CompletableFuture getSpacesBucketPlain(GetS * ## Example Usage * * Get the bucket by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8431,6 +9333,7 @@ public static CompletableFuture getSpacesBucketPlain(GetS * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSpacesBucket(GetSpacesBucketArgs args, InvokeOptions options) { @@ -8443,6 +9346,8 @@ public static Output getSpacesBucket(GetSpacesBucketArgs * ## Example Usage * * Get the bucket by name: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8473,6 +9378,7 @@ public static Output getSpacesBucket(GetSpacesBucketArgs * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpacesBucketPlain(GetSpacesBucketPlainArgs args, InvokeOptions options) { @@ -8490,6 +9396,8 @@ public static CompletableFuture getSpacesBucketPlain(GetS * * The following example retrieves a text object (which must have a `Content-Type` * value starting with `text/`) and uses it as the `user_data` for a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8529,6 +9437,7 @@ public static CompletableFuture getSpacesBucketPlain(GetS * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSpacesBucketObject(GetSpacesBucketObjectArgs args) { @@ -8546,6 +9455,8 @@ public static Output getSpacesBucketObject(GetSpace * * The following example retrieves a text object (which must have a `Content-Type` * value starting with `text/`) and uses it as the `user_data` for a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8585,6 +9496,7 @@ public static Output getSpacesBucketObject(GetSpace * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpacesBucketObjectPlain(GetSpacesBucketObjectPlainArgs args) { @@ -8602,6 +9514,8 @@ public static CompletableFuture getSpacesBucketObje * * The following example retrieves a text object (which must have a `Content-Type` * value starting with `text/`) and uses it as the `user_data` for a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8641,6 +9555,7 @@ public static CompletableFuture getSpacesBucketObje * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSpacesBucketObject(GetSpacesBucketObjectArgs args, InvokeOptions options) { @@ -8658,6 +9573,8 @@ public static Output getSpacesBucketObject(GetSpace * * The following example retrieves a text object (which must have a `Content-Type` * value starting with `text/`) and uses it as the `user_data` for a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8697,6 +9614,7 @@ public static Output getSpacesBucketObject(GetSpace * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpacesBucketObjectPlain(GetSpacesBucketObjectPlainArgs args, InvokeOptions options) { @@ -8750,6 +9668,8 @@ public static CompletableFuture getSpacesBucketObj * Use the `filter` block with a `key` string and `values` list to filter buckets. * * Get all buckets in a region: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8781,7 +9701,10 @@ public static CompletableFuture getSpacesBucketObj * } * } * ``` + * <!--End PulumiCodeChooser --> * You can sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8817,6 +9740,7 @@ public static CompletableFuture getSpacesBucketObj * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSpacesBuckets() { @@ -8834,6 +9758,8 @@ public static Output getSpacesBuckets() { * Use the `filter` block with a `key` string and `values` list to filter buckets. * * Get all buckets in a region: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8865,7 +9791,10 @@ public static Output getSpacesBuckets() { * } * } * ``` + * <!--End PulumiCodeChooser --> * You can sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8901,6 +9830,7 @@ public static Output getSpacesBuckets() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpacesBucketsPlain() { @@ -8918,6 +9848,8 @@ public static CompletableFuture getSpacesBucketsPlain() * Use the `filter` block with a `key` string and `values` list to filter buckets. * * Get all buckets in a region: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8949,7 +9881,10 @@ public static CompletableFuture getSpacesBucketsPlain() * } * } * ``` + * <!--End PulumiCodeChooser --> * You can sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -8985,6 +9920,7 @@ public static CompletableFuture getSpacesBucketsPlain() * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSpacesBuckets(GetSpacesBucketsArgs args) { @@ -9002,6 +9938,8 @@ public static Output getSpacesBuckets(GetSpacesBucketsAr * Use the `filter` block with a `key` string and `values` list to filter buckets. * * Get all buckets in a region: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9033,7 +9971,10 @@ public static Output getSpacesBuckets(GetSpacesBucketsAr * } * } * ``` + * <!--End PulumiCodeChooser --> * You can sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9069,6 +10010,7 @@ public static Output getSpacesBuckets(GetSpacesBucketsAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpacesBucketsPlain(GetSpacesBucketsPlainArgs args) { @@ -9086,6 +10028,8 @@ public static CompletableFuture getSpacesBucketsPlain(Ge * Use the `filter` block with a `key` string and `values` list to filter buckets. * * Get all buckets in a region: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9117,7 +10061,10 @@ public static CompletableFuture getSpacesBucketsPlain(Ge * } * } * ``` + * <!--End PulumiCodeChooser --> * You can sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9153,6 +10100,7 @@ public static CompletableFuture getSpacesBucketsPlain(Ge * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSpacesBuckets(GetSpacesBucketsArgs args, InvokeOptions options) { @@ -9170,6 +10118,8 @@ public static Output getSpacesBuckets(GetSpacesBucketsAr * Use the `filter` block with a `key` string and `values` list to filter buckets. * * Get all buckets in a region: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9201,7 +10151,10 @@ public static Output getSpacesBuckets(GetSpacesBucketsAr * } * } * ``` + * <!--End PulumiCodeChooser --> * You can sort the results as well: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9237,6 +10190,7 @@ public static Output getSpacesBuckets(GetSpacesBucketsAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpacesBucketsPlain(GetSpacesBucketsPlainArgs args, InvokeOptions options) { @@ -9253,6 +10207,8 @@ public static CompletableFuture getSpacesBucketsPlain(Ge * ## Example Usage * * Get the ssh key: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9290,6 +10246,7 @@ public static CompletableFuture getSpacesBucketsPlain(Ge * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSshKey(GetSshKeyArgs args) { @@ -9306,6 +10263,8 @@ public static Output getSshKey(GetSshKeyArgs args) { * ## Example Usage * * Get the ssh key: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9343,6 +10302,7 @@ public static Output getSshKey(GetSshKeyArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSshKeyPlain(GetSshKeyPlainArgs args) { @@ -9359,6 +10319,8 @@ public static CompletableFuture getSshKeyPlain(GetSshKeyPlainAr * ## Example Usage * * Get the ssh key: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9396,6 +10358,7 @@ public static CompletableFuture getSshKeyPlain(GetSshKeyPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSshKey(GetSshKeyArgs args, InvokeOptions options) { @@ -9412,6 +10375,8 @@ public static Output getSshKey(GetSshKeyArgs args, InvokeOption * ## Example Usage * * Get the ssh key: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9449,6 +10414,7 @@ public static Output getSshKey(GetSshKeyArgs args, InvokeOption * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSshKeyPlain(GetSshKeyPlainArgs args, InvokeOptions options) { @@ -9466,6 +10432,8 @@ public static CompletableFuture getSshKeyPlain(GetSshKeyPlainAr * ## Example Usage * * For example, to find all SSH keys: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9497,8 +10465,11 @@ public static CompletableFuture getSshKeyPlain(GetSshKeyPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9532,6 +10503,7 @@ public static CompletableFuture getSshKeyPlain(GetSshKeyPlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSshKeys() { @@ -9549,6 +10521,8 @@ public static Output getSshKeys() { * ## Example Usage * * For example, to find all SSH keys: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9580,8 +10554,11 @@ public static Output getSshKeys() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9615,6 +10592,7 @@ public static Output getSshKeys() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSshKeysPlain() { @@ -9632,6 +10610,8 @@ public static CompletableFuture getSshKeysPlain() { * ## Example Usage * * For example, to find all SSH keys: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9663,8 +10643,11 @@ public static CompletableFuture getSshKeysPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9698,6 +10681,7 @@ public static CompletableFuture getSshKeysPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSshKeys(GetSshKeysArgs args) { @@ -9715,6 +10699,8 @@ public static Output getSshKeys(GetSshKeysArgs args) { * ## Example Usage * * For example, to find all SSH keys: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9746,8 +10732,11 @@ public static Output getSshKeys(GetSshKeysArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9781,6 +10770,7 @@ public static Output getSshKeys(GetSshKeysArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSshKeysPlain(GetSshKeysPlainArgs args) { @@ -9798,6 +10788,8 @@ public static CompletableFuture getSshKeysPlain(GetSshKeysPlai * ## Example Usage * * For example, to find all SSH keys: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9829,8 +10821,11 @@ public static CompletableFuture getSshKeysPlain(GetSshKeysPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9864,6 +10859,7 @@ public static CompletableFuture getSshKeysPlain(GetSshKeysPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getSshKeys(GetSshKeysArgs args, InvokeOptions options) { @@ -9881,6 +10877,8 @@ public static Output getSshKeys(GetSshKeysArgs args, InvokeOpt * ## Example Usage * * For example, to find all SSH keys: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9912,8 +10910,11 @@ public static Output getSshKeys(GetSshKeysArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * * Or to find ones matching specific values: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9947,6 +10948,7 @@ public static Output getSshKeys(GetSshKeysArgs args, InvokeOpt * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSshKeysPlain(GetSshKeysPlainArgs args, InvokeOptions options) { @@ -9962,6 +10964,8 @@ public static CompletableFuture getSshKeysPlain(GetSshKeysPlai * ## Example Usage * * Get the tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -9999,6 +11003,7 @@ public static CompletableFuture getSshKeysPlain(GetSshKeysPlai * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getTag(GetTagArgs args) { @@ -10014,6 +11019,8 @@ public static Output getTag(GetTagArgs args) { * ## Example Usage * * Get the tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10051,6 +11058,7 @@ public static Output getTag(GetTagArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getTagPlain(GetTagPlainArgs args) { @@ -10066,6 +11074,8 @@ public static CompletableFuture getTagPlain(GetTagPlainArgs args) * ## Example Usage * * Get the tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10103,6 +11113,7 @@ public static CompletableFuture getTagPlain(GetTagPlainArgs args) * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getTag(GetTagArgs args, InvokeOptions options) { @@ -10118,6 +11129,8 @@ public static Output getTag(GetTagArgs args, InvokeOptions options * ## Example Usage * * Get the tag: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10155,6 +11168,7 @@ public static Output getTag(GetTagArgs args, InvokeOptions options * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getTagPlain(GetTagPlainArgs args, InvokeOptions options) { @@ -10166,6 +11180,8 @@ public static CompletableFuture getTagPlain(GetTagPlainArgs args, * returned. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10198,6 +11214,7 @@ public static CompletableFuture getTagPlain(GetTagPlainArgs args, * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getTags() { @@ -10209,6 +11226,8 @@ public static Output getTags() { * returned. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10241,6 +11260,7 @@ public static Output getTags() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getTagsPlain() { @@ -10252,6 +11272,8 @@ public static CompletableFuture getTagsPlain() { * returned. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10284,6 +11306,7 @@ public static CompletableFuture getTagsPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getTags(GetTagsArgs args) { @@ -10295,6 +11318,8 @@ public static Output getTags(GetTagsArgs args) { * returned. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10327,6 +11352,7 @@ public static Output getTags(GetTagsArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getTagsPlain(GetTagsPlainArgs args) { @@ -10338,6 +11364,8 @@ public static CompletableFuture getTagsPlain(GetTagsPlainArgs arg * returned. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10370,6 +11398,7 @@ public static CompletableFuture getTagsPlain(GetTagsPlainArgs arg * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getTags(GetTagsArgs args, InvokeOptions options) { @@ -10381,6 +11410,8 @@ public static Output getTags(GetTagsArgs args, InvokeOptions opti * returned. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10413,6 +11444,7 @@ public static Output getTags(GetTagsArgs args, InvokeOptions opti * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getTagsPlain(GetTagsPlainArgs args, InvokeOptions options) { @@ -10429,6 +11461,8 @@ public static CompletableFuture getTagsPlain(GetTagsPlainArgs arg * ## Example Usage * * Get the volume: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10458,8 +11492,11 @@ public static CompletableFuture getTagsPlain(GetTagsPlainArgs arg * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10504,6 +11541,7 @@ public static CompletableFuture getTagsPlain(GetTagsPlainArgs arg * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVolume(GetVolumeArgs args) { @@ -10520,6 +11558,8 @@ public static Output getVolume(GetVolumeArgs args) { * ## Example Usage * * Get the volume: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10549,8 +11589,11 @@ public static Output getVolume(GetVolumeArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10595,6 +11638,7 @@ public static Output getVolume(GetVolumeArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVolumePlain(GetVolumePlainArgs args) { @@ -10611,6 +11655,8 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr * ## Example Usage * * Get the volume: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10640,8 +11686,11 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10686,6 +11735,7 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVolume(GetVolumeArgs args, InvokeOptions options) { @@ -10702,6 +11752,8 @@ public static Output getVolume(GetVolumeArgs args, InvokeOption * ## Example Usage * * Get the volume: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10731,8 +11783,11 @@ public static Output getVolume(GetVolumeArgs args, InvokeOption * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume to attach it to a Droplet: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10777,6 +11832,7 @@ public static Output getVolume(GetVolumeArgs args, InvokeOption * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVolumePlain(GetVolumePlainArgs args, InvokeOptions options) { @@ -10790,6 +11846,8 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr * ## Example Usage * * Get the volume snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10820,8 +11878,11 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10860,6 +11921,7 @@ public static CompletableFuture getVolumePlain(GetVolumePlainAr * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVolumeSnapshot() { @@ -10873,6 +11935,8 @@ public static Output getVolumeSnapshot() { * ## Example Usage * * Get the volume snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10903,8 +11967,11 @@ public static Output getVolumeSnapshot() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10943,6 +12010,7 @@ public static Output getVolumeSnapshot() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVolumeSnapshotPlain() { @@ -10956,6 +12024,8 @@ public static CompletableFuture getVolumeSnapshotPlain( * ## Example Usage * * Get the volume snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -10986,8 +12056,11 @@ public static CompletableFuture getVolumeSnapshotPlain( * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11026,6 +12099,7 @@ public static CompletableFuture getVolumeSnapshotPlain( * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVolumeSnapshot(GetVolumeSnapshotArgs args) { @@ -11039,6 +12113,8 @@ public static Output getVolumeSnapshot(GetVolumeSnapsho * ## Example Usage * * Get the volume snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11069,8 +12145,11 @@ public static Output getVolumeSnapshot(GetVolumeSnapsho * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11109,6 +12188,7 @@ public static Output getVolumeSnapshot(GetVolumeSnapsho * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVolumeSnapshotPlain(GetVolumeSnapshotPlainArgs args) { @@ -11122,6 +12202,8 @@ public static CompletableFuture getVolumeSnapshotPlain( * ## Example Usage * * Get the volume snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11152,8 +12234,11 @@ public static CompletableFuture getVolumeSnapshotPlain( * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11192,6 +12277,7 @@ public static CompletableFuture getVolumeSnapshotPlain( * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVolumeSnapshot(GetVolumeSnapshotArgs args, InvokeOptions options) { @@ -11205,6 +12291,8 @@ public static Output getVolumeSnapshot(GetVolumeSnapsho * ## Example Usage * * Get the volume snapshot: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11235,8 +12323,11 @@ public static Output getVolumeSnapshot(GetVolumeSnapsho * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a volume snapshot to create a new volume based on it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11275,6 +12366,7 @@ public static Output getVolumeSnapshot(GetVolumeSnapsho * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVolumeSnapshotPlain(GetVolumeSnapshotPlainArgs args, InvokeOptions options) { @@ -11291,7 +12383,10 @@ public static CompletableFuture getVolumeSnapshotPlain( * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11320,8 +12415,11 @@ public static CompletableFuture getVolumeSnapshotPlain( * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11359,6 +12457,7 @@ public static CompletableFuture getVolumeSnapshotPlain( * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVpc() { @@ -11375,7 +12474,10 @@ public static Output getVpc() { * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11404,8 +12506,11 @@ public static Output getVpc() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11443,6 +12548,7 @@ public static Output getVpc() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVpcPlain() { @@ -11459,7 +12565,10 @@ public static CompletableFuture getVpcPlain() { * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11488,8 +12597,11 @@ public static CompletableFuture getVpcPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11527,6 +12639,7 @@ public static CompletableFuture getVpcPlain() { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVpc(GetVpcArgs args) { @@ -11543,7 +12656,10 @@ public static Output getVpc(GetVpcArgs args) { * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11572,8 +12688,11 @@ public static Output getVpc(GetVpcArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11611,6 +12730,7 @@ public static Output getVpc(GetVpcArgs args) { * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args) { @@ -11627,7 +12747,10 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args) * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11656,8 +12779,11 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args) * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11695,6 +12821,7 @@ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args) * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static Output getVpc(GetVpcArgs args, InvokeOptions options) { @@ -11711,7 +12838,10 @@ public static Output getVpc(GetVpcArgs args, InvokeOptions options * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11740,8 +12870,11 @@ public static Output getVpc(GetVpcArgs args, InvokeOptions options * } * } * ``` + * <!--End PulumiCodeChooser --> * * Reuse the data about a VPC to assign a Droplet to it: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -11779,6 +12912,7 @@ public static Output getVpc(GetVpcArgs args, InvokeOptions options * } * } * ``` + * <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVpcPlain(GetVpcPlainArgs args, InvokeOptions options) { diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java index 754af0c8..896d125d 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DnsRecord.java @@ -19,6 +19,8 @@ * Provides a DigitalOcean DNS record resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -64,6 +66,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * @@ -73,9 +76,7 @@ * $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678 * ``` * - * ~> - * - * You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list <domain.name>` + * ~> You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list <domain.name>` * */ @ResourceType(type="digitalocean:index/dnsRecord:DnsRecord") diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Domain.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Domain.java index 6c4ae314..6eb60200 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Domain.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Domain.java @@ -19,6 +19,8 @@ * Provides a DigitalOcean domain resource. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -48,6 +50,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Droplet.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Droplet.java index 45264a8e..bb47b8f4 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Droplet.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Droplet.java @@ -23,6 +23,8 @@ * modify, and delete Droplets. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -53,6 +55,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/DropletSnapshot.java b/sdk/java/src/main/java/com/pulumi/digitalocean/DropletSnapshot.java index 740976df..0c780c1e 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/DropletSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/DropletSnapshot.java @@ -20,6 +20,8 @@ * Provides a resource which can be used to create a snapshot from an existing DigitalOcean Droplet. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -62,6 +64,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Firewall.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Firewall.java index e6cf1bef..a2a4f2f5 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Firewall.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Firewall.java @@ -24,6 +24,8 @@ * modify, and delete Firewalls. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -111,6 +113,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIp.java b/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIp.java index 5392d8ce..7e82cb70 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIp.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIp.java @@ -23,6 +23,8 @@ * > **NOTE:** Floating IPs can be assigned to a Droplet either directly on the `digitalocean.FloatingIp` resource by setting a `droplet_id` or using the `digitalocean.FloatingIpAssignment` resource, but the two cannot be used together. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -62,6 +64,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIpAssignment.java b/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIpAssignment.java index 4fad2f75..76f75660 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIpAssignment.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/FloatingIpAssignment.java @@ -22,6 +22,8 @@ * Droplet. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -67,12 +69,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * Floating IP assignments can be imported using the Floating IP itself and the `id` of * - * the Droplet joined with a comma. For example: + * the Droplet joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesCluster.java b/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesCluster.java index f0e3027a..12568a4f 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesCluster.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesCluster.java @@ -24,23 +24,23 @@ * * Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with * - * the `terraform:default-node-pool` tag. The provider will automatically add this tag if + * the `terraform:default-node-pool` tag. The provider will automatically add this tag if * - * the cluster only has a single node pool. Clusters with more than one node pool, however, will require + * the cluster only has a single node pool. Clusters with more than one node pool, however, will require * - * that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be + * that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be * - * the default node pool. + * the default node pool. * - * Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. + * Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. * * ```sh * $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af * ``` * - * Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` + * Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` * - * resources, e.g. + * resources, e.g. * * ```sh * $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8 diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesNodePool.java b/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesNodePool.java index de07ddd8..6cd68476 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesNodePool.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/KubernetesNodePool.java @@ -24,7 +24,10 @@ * Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `digitalocean.KubernetesCluster` resource, this resource can be used to add additional ones to a cluster. * * ## Example Usage + * * ### Basic Example + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -79,10 +82,14 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Autoscaling Example * * Node pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/). * For example: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -115,24 +122,25 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * If you are importing an existing Kubernetes cluster with a single node pool, just * - * import the cluster. Additional node pools can be imported by using their `id`, e.g. + * import the cluster. Additional node pools can be imported by using their `id`, e.g. * * ```sh * $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8 * ``` * - * Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an + * Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an * - * existing cluster. The provider will refuse to import the node pool in that case because the node pool + * existing cluster. The provider will refuse to import the node pool in that case because the node pool * - * is managed by the `digitalocean_kubernetes_cluster` resource and not by this + * is managed by the `digitalocean_kubernetes_cluster` resource and not by this * - * `digitalocean_kubernetes_node_pool` resource. + * `digitalocean_kubernetes_node_pool` resource. * */ @ResourceType(type="digitalocean:index/kubernetesNodePool:KubernetesNodePool") diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/LoadBalancer.java b/sdk/java/src/main/java/com/pulumi/digitalocean/LoadBalancer.java index 3024009f..9e42982d 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/LoadBalancer.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/LoadBalancer.java @@ -26,6 +26,8 @@ * modify, and delete Load Balancers. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -75,12 +77,15 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * When managing certificates attached to the load balancer, make sure to add the `create_before_destroy` * lifecycle property in order to ensure the certificate is correctly updated when changed. The order of * operations will then be: `Create new certificate` > `Update loadbalancer with new certificate` -> * `Delete old certificate`. When doing so, you must also change the name of the certificate, * as there cannot be multiple certificates with the same name in an account. + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -138,6 +143,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlert.java b/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlert.java index 89508ae7..ff91ede9 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlert.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlert.java @@ -182,7 +182,7 @@ public Output uuid() { return this.uuid; } /** - * The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * */ @@ -190,7 +190,7 @@ public Output uuid() { private Output value; /** - * @return The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * @return The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * */ diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlertArgs.java b/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlertArgs.java index 66af2070..7c315fad 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlertArgs.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/MonitorAlertArgs.java @@ -158,7 +158,7 @@ public Output type() { } /** - * The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * */ @@ -166,7 +166,7 @@ public Output type() { private Output value; /** - * @return The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * @return The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * */ @@ -421,7 +421,7 @@ public Builder type(String type) { } /** - * @param value The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * @param value The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * * @return builder @@ -433,7 +433,7 @@ public Builder value(Output value) { } /** - * @param value The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * @param value The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Project.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Project.java index e72b3cdf..87c00a2a 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Project.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Project.java @@ -40,6 +40,8 @@ * ## Example Usage * * The following example demonstrates the creation of an empty project: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -70,8 +72,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * The following example demonstrates the creation of a project with a Droplet resource: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -111,6 +116,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/ProjectResources.java b/sdk/java/src/main/java/com/pulumi/digitalocean/ProjectResources.java index 41c24d79..9f5b625f 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/ProjectResources.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/ProjectResources.java @@ -32,6 +32,8 @@ * ## Example Usage * * The following example assigns a droplet to a Project managed outside of the provider: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -75,6 +77,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIp.java b/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIp.java index 65694261..657cd69f 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIp.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIp.java @@ -21,6 +21,8 @@ * > **NOTE:** Reserved IPs can be assigned to a Droplet either directly on the `digitalocean.ReservedIp` resource by setting a `droplet_id` or using the `digitalocean.ReservedIpAssignment` resource, but the two cannot be used together. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -60,6 +62,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIpAssignment.java b/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIpAssignment.java index 7af1c141..f334257c 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIpAssignment.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/ReservedIpAssignment.java @@ -20,6 +20,8 @@ * Droplet. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -65,12 +67,13 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * * Reserved IP assignments can be imported using the reserved IP itself and the `id` of * - * the Droplet joined with a comma. For example: + * the Droplet joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucket.java b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucket.java index f5181298..6c313d12 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucket.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucket.java @@ -33,6 +33,8 @@ * the provider's `spaces_access_id` and `spaces_secret_key` arguments to the * access ID and secret you generate via the DigitalOcean control panel. For * example: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -58,11 +60,15 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) * * ## Example Usage + * * ### Create a New Bucket + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -91,7 +97,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Create a New Bucket With CORS Rules + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -137,6 +147,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketCorsConfiguration.java b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketCorsConfiguration.java index 486ff61a..5d3a495f 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketCorsConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketCorsConfiguration.java @@ -17,7 +17,10 @@ /** * ## Example Usage + * * ### Create a Key in a Spaces Bucket + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -63,6 +66,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketObject.java b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketObject.java index 9311510b..911c9dfe 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketObject.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketObject.java @@ -32,6 +32,8 @@ * the provider's `spaces_access_id` and `spaces_secret_key` arguments to the * access ID and secret you generate via the DigitalOcean control panel. For * example: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -57,11 +59,15 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) * * ## Example Usage + * * ### Create a Key in a Spaces Bucket + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -100,6 +106,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketPolicy.java b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketPolicy.java index 7243363a..47467b17 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/SpacesBucketPolicy.java @@ -15,7 +15,10 @@ /** * ## Example Usage + * * ### Limiting access to specific IP addresses + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -75,6 +78,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * !> **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket. * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/SshKey.java b/sdk/java/src/main/java/com/pulumi/digitalocean/SshKey.java index 5e83e27f..1fd2892a 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/SshKey.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/SshKey.java @@ -20,6 +20,8 @@ * fingerprint. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -57,6 +59,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Tag.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Tag.java index d8d9e529..8e5f1b5e 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Tag.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Tag.java @@ -21,6 +21,8 @@ * configuration via their ID or name. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -55,6 +57,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Volume.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Volume.java index 777461dd..e6f71bb4 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Volume.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Volume.java @@ -20,6 +20,8 @@ * Provides a DigitalOcean Block Storage volume which can be attached to a Droplet in order to provide expanded storage. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -66,8 +68,11 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * You can also create a volume from an existing snapshot. + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -104,6 +109,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeAttachment.java b/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeAttachment.java index a2c081ba..c678dacc 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeAttachment.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeAttachment.java @@ -20,6 +20,8 @@ * > **NOTE:** Volumes can be attached either directly on the `digitalocean.Droplet` resource, or using the `digitalocean.VolumeAttachment` resource - but the two cannot be used together. If both are used against the same Droplet, the volume attachments will constantly drift. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -66,6 +68,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * */ @ResourceType(type="digitalocean:index/volumeAttachment:VolumeAttachment") diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeSnapshot.java b/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeSnapshot.java index 5e984c8d..b5ba4fcf 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeSnapshot.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/VolumeSnapshot.java @@ -21,6 +21,8 @@ * Provides a DigitalOcean Volume Snapshot which can be used to create a snapshot from an existing volume. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -57,6 +59,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/Vpc.java b/sdk/java/src/main/java/com/pulumi/digitalocean/Vpc.java index a76b89ea..9c8e1647 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/Vpc.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/Vpc.java @@ -22,6 +22,8 @@ * other in full isolation, using private IP addresses. * * ## Example Usage + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -51,11 +53,15 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> + * * ### Resource Assignment * * `digitalocean.Droplet`, `digitalocean.KubernetesCluster`, * `digitalocean_load_balancer`, and `digitalocean.DatabaseCluster` resources * may be assigned to a VPC by referencing its `id`. For example: + * + * <!--Start PulumiCodeChooser --> * ```java * package generated_program; * @@ -93,6 +99,7 @@ * } * } * ``` + * <!--End PulumiCodeChooser --> * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/MonitorAlertState.java b/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/MonitorAlertState.java index 71ba8ec6..2e774160 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/MonitorAlertState.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/MonitorAlertState.java @@ -172,7 +172,7 @@ public Optional> uuid() { } /** - * The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * */ @@ -180,7 +180,7 @@ public Optional> uuid() { private @Nullable Output value; /** - * @return The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * @return The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * */ @@ -457,7 +457,7 @@ public Builder uuid(String uuid) { } /** - * @param value The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * @param value The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * * @return builder @@ -469,7 +469,7 @@ public Builder value(@Nullable Output value) { } /** - * @param value The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * @param value The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. * * @return builder diff --git a/sdk/nodejs/app.ts b/sdk/nodejs/app.ts index 485e29a0..3252f56a 100644 --- a/sdk/nodejs/app.ts +++ b/sdk/nodejs/app.ts @@ -13,8 +13,10 @@ import * as utilities from "./utilities"; * ## Example Usage * * To create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components. + * * ### Basic Example * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -34,8 +36,11 @@ import * as utilities from "./utilities"; * }], * }}); * ``` + * + * * ### Static Site Example * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -54,6 +59,7 @@ import * as utilities from "./utilities"; * }], * }}); * ``` + * * * ## Import * diff --git a/sdk/nodejs/cdn.ts b/sdk/nodejs/cdn.ts index e54e0ded..0008c704 100644 --- a/sdk/nodejs/cdn.ts +++ b/sdk/nodejs/cdn.ts @@ -8,8 +8,10 @@ import * as utilities from "./utilities"; * Provides a DigitalOcean CDN Endpoint resource for use with Spaces. * * ## Example Usage + * * ### Basic Example * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -23,8 +25,11 @@ import * as utilities from "./utilities"; * const mycdn = new digitalocean.Cdn("mycdn", {origin: mybucket.bucketDomainName}); * export const fqdn = mycdn.endpoint; * ``` + * + * * ### Custom Sub-Domain Example * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -46,6 +51,7 @@ import * as utilities from "./utilities"; * certificateName: cert.name, * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/certificate.ts b/sdk/nodejs/certificate.ts index 913cd124..f859bdad 100644 --- a/sdk/nodejs/certificate.ts +++ b/sdk/nodejs/certificate.ts @@ -16,8 +16,10 @@ import * as utilities from "./utilities"; * Let's Encrypt. * * ## Example Usage + * * ### Custom Certificate * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -30,8 +32,11 @@ import * as utilities from "./utilities"; * certificateChain: fs.readFileSync("/Users/myuser/certs/fullchain.pem", "utf8"), * }); * ``` + * + * * ### Let's Encrypt Certificate * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -41,11 +46,14 @@ import * as utilities from "./utilities"; * type: "lets_encrypt", * }); * ``` + * + * * ### Use with Other Resources * * Both custom and Let's Encrypt certificates can be used with other resources * including the `digitalocean.LoadBalancer` and `digitalocean.Cdn` resources. * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -67,6 +75,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/containerRegistry.ts b/sdk/nodejs/containerRegistry.ts index 9b1499ce..91fc3dc0 100644 --- a/sdk/nodejs/containerRegistry.ts +++ b/sdk/nodejs/containerRegistry.ts @@ -10,6 +10,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -17,6 +18,7 @@ import * as utilities from "./utilities"; * // Create a new container registry * const foobar = new digitalocean.ContainerRegistry("foobar", {subscriptionTierSlug: "starter"}); * ``` + * * * ## Import * diff --git a/sdk/nodejs/containerRegistryDockerCredentials.ts b/sdk/nodejs/containerRegistryDockerCredentials.ts index 869b4c8c..8860d5de 100644 --- a/sdk/nodejs/containerRegistryDockerCredentials.ts +++ b/sdk/nodejs/containerRegistryDockerCredentials.ts @@ -10,20 +10,25 @@ import * as utilities from "./utilities"; * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const example = new digitalocean.ContainerRegistryDockerCredentials("example", {registryName: "example"}); * ``` + * + * * ### Docker Provider Example * * Use the `endpoint` and `dockerCredentials` with the Docker provider: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -33,6 +38,7 @@ import * as utilities from "./utilities"; * }); * const exampleContainerRegistryDockerCredentials = new digitalocean.ContainerRegistryDockerCredentials("exampleContainerRegistryDockerCredentials", {registryName: "example"}); * ``` + * */ export class ContainerRegistryDockerCredentials extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/customImage.ts b/sdk/nodejs/customImage.ts index f8f58209..52d4f84a 100644 --- a/sdk/nodejs/customImage.ts +++ b/sdk/nodejs/customImage.ts @@ -19,6 +19,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -34,6 +35,7 @@ import * as utilities from "./utilities"; * sshKeys: ["12345"], * }); * ``` + * */ export class CustomImage extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/databaseCluster.ts b/sdk/nodejs/databaseCluster.ts index 5f6efbd6..a2da7681 100644 --- a/sdk/nodejs/databaseCluster.ts +++ b/sdk/nodejs/databaseCluster.ts @@ -11,7 +11,9 @@ import * as utilities from "./utilities"; * Provides a DigitalOcean database cluster resource. * * ## Example Usage + * * ### Create a new PostgreSQL database cluster + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -24,7 +26,10 @@ import * as utilities from "./utilities"; * version: "15", * }); * ``` + * + * * ### Create a new MySQL database cluster + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -37,7 +42,10 @@ import * as utilities from "./utilities"; * version: "8", * }); * ``` + * + * * ### Create a new Redis database cluster + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -50,7 +58,10 @@ import * as utilities from "./utilities"; * version: "7", * }); * ``` + * + * * ### Create a new Kafka database cluster + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -63,7 +74,10 @@ import * as utilities from "./utilities"; * version: "3.5", * }); * ``` + * + * * ### Create a new MongoDB database cluster + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -76,8 +90,11 @@ import * as utilities from "./utilities"; * version: "6", * }); * ``` + * + * * ## Create a new database cluster based on a backup of an existing cluster. * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -104,6 +121,7 @@ import * as utilities from "./utilities"; * dependsOn: [doby], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/databaseConnectionPool.ts b/sdk/nodejs/databaseConnectionPool.ts index 18266771..6b2ce41b 100644 --- a/sdk/nodejs/databaseConnectionPool.ts +++ b/sdk/nodejs/databaseConnectionPool.ts @@ -8,7 +8,9 @@ import * as utilities from "./utilities"; * Provides a DigitalOcean database connection pool resource. * * ## Example Usage + * * ### Create a new PostgreSQL database connection pool + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -28,12 +30,13 @@ import * as utilities from "./utilities"; * user: "doadmin", * }); * ``` + * * * ## Import * * Database connection pools can be imported using the `id` of the source database cluster * - * and the `name` of the connection pool joined with a comma. For example: + * and the `name` of the connection pool joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01 diff --git a/sdk/nodejs/databaseDb.ts b/sdk/nodejs/databaseDb.ts index 74d81756..5cf81f60 100644 --- a/sdk/nodejs/databaseDb.ts +++ b/sdk/nodejs/databaseDb.ts @@ -8,7 +8,9 @@ import * as utilities from "./utilities"; * Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster. * * ## Example Usage + * * ### Create a new PostgreSQL database + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -22,12 +24,13 @@ import * as utilities from "./utilities"; * }); * const database_example = new digitalocean.DatabaseDb("database-example", {clusterId: postgres_example.id}); * ``` + * * * ## Import * * Database can be imported using the `id` of the source database cluster * - * and the `name` of the database joined with a comma. For example: + * and the `name` of the database joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/nodejs/databaseFirewall.ts b/sdk/nodejs/databaseFirewall.ts index 971d28a7..9e2495da 100644 --- a/sdk/nodejs/databaseFirewall.ts +++ b/sdk/nodejs/databaseFirewall.ts @@ -13,8 +13,10 @@ import * as utilities from "./utilities"; * specific Droplets, Kubernetes clusters, or IP addresses. * * ## Example Usage + * * ### Create a new database firewall allowing multiple IP addresses * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -40,8 +42,11 @@ import * as utilities from "./utilities"; * ], * }); * ``` + * + * * ### Create a new database firewall allowing a Droplet * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -66,8 +71,11 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * + * * ### Create a new database firewall for a database replica * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -93,12 +101,13 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * ## Import * * Database firewalls can be imported using the `id` of the target database cluster * - * For example: + * For example: * * ```sh * $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54 diff --git a/sdk/nodejs/databaseKafkaTopic.ts b/sdk/nodejs/databaseKafkaTopic.ts index 08ea0ca4..0747ccd1 100644 --- a/sdk/nodejs/databaseKafkaTopic.ts +++ b/sdk/nodejs/databaseKafkaTopic.ts @@ -11,7 +11,9 @@ import * as utilities from "./utilities"; * Provides a DigitalOcean Kafka topic for Kafka clusters. * * ## Example Usage + * * ### Create a new Kafka topic + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -55,6 +57,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/databaseMysqlConfig.ts b/sdk/nodejs/databaseMysqlConfig.ts index e5fb41b5..9d18b859 100644 --- a/sdk/nodejs/databaseMysqlConfig.ts +++ b/sdk/nodejs/databaseMysqlConfig.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -29,6 +30,7 @@ import * as utilities from "./utilities"; * defaultTimeZone: "UTC", * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/databaseRedisConfig.ts b/sdk/nodejs/databaseRedisConfig.ts index 2e464a54..e5e15c2a 100644 --- a/sdk/nodejs/databaseRedisConfig.ts +++ b/sdk/nodejs/databaseRedisConfig.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -30,6 +31,7 @@ import * as utilities from "./utilities"; * timeout: 90, * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/databaseReplica.ts b/sdk/nodejs/databaseReplica.ts index 475839fc..8ac0ad77 100644 --- a/sdk/nodejs/databaseReplica.ts +++ b/sdk/nodejs/databaseReplica.ts @@ -11,7 +11,9 @@ import * as utilities from "./utilities"; * Provides a DigitalOcean database replica resource. * * ## Example Usage + * * ### Create a new PostgreSQL database replica + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -38,12 +40,13 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * ## Import * * Database replicas can be imported using the `id` of the source database cluster * - * and the `name` of the replica joined with a comma. For example: + * and the `name` of the replica joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica diff --git a/sdk/nodejs/databaseUser.ts b/sdk/nodejs/databaseUser.ts index b0a11a7d..bd39ac68 100644 --- a/sdk/nodejs/databaseUser.ts +++ b/sdk/nodejs/databaseUser.ts @@ -13,7 +13,9 @@ import * as utilities from "./utilities"; * > **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually. * * ## Example Usage + * * ### Create a new PostgreSQL database user + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -27,7 +29,10 @@ import * as utilities from "./utilities"; * }); * const user_example = new digitalocean.DatabaseUser("user-example", {clusterId: postgres_example.id}); * ``` + * + * * ### Create a new user for a PostgreSQL database replica + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -46,7 +51,10 @@ import * as utilities from "./utilities"; * }); * const user_example = new digitalocean.DatabaseUser("user-example", {clusterId: replica_example.uuid}); * ``` + * + * * ### Create a new user for a Kafka database cluster + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -79,12 +87,13 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * ## Import * * Database user can be imported using the `id` of the source database cluster * - * and the `name` of the user joined with a comma. For example: + * and the `name` of the user joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/nodejs/dnsRecord.ts b/sdk/nodejs/dnsRecord.ts index b6aae7b0..84ef9f9f 100644 --- a/sdk/nodejs/dnsRecord.ts +++ b/sdk/nodejs/dnsRecord.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -33,6 +34,7 @@ import * as utilities from "./utilities"; * export const wwwFqdn = www.fqdn; * export const mxFqdn = mx.fqdn; * ``` + * * * ## Import * @@ -42,9 +44,7 @@ import * as utilities from "./utilities"; * $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678 * ``` * - * ~> - * - * You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` + * ~> You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` */ export class DnsRecord extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/domain.ts b/sdk/nodejs/domain.ts index a1f26aa1..500f5805 100644 --- a/sdk/nodejs/domain.ts +++ b/sdk/nodejs/domain.ts @@ -9,6 +9,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -19,6 +20,7 @@ import * as utilities from "./utilities"; * ipAddress: digitalocean_droplet.foo.ipv4_address, * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/droplet.ts b/sdk/nodejs/droplet.ts index eeb9052f..bfa2a8a3 100644 --- a/sdk/nodejs/droplet.ts +++ b/sdk/nodejs/droplet.ts @@ -13,6 +13,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -24,6 +25,7 @@ import * as utilities from "./utilities"; * size: "s-1vcpu-1gb", * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/dropletSnapshot.ts b/sdk/nodejs/dropletSnapshot.ts index 733acb95..86f24cf6 100644 --- a/sdk/nodejs/dropletSnapshot.ts +++ b/sdk/nodejs/dropletSnapshot.ts @@ -9,6 +9,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -25,6 +26,7 @@ import * as utilities from "./utilities"; * size: "s-2vcpu-4gb", * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/firewall.ts b/sdk/nodejs/firewall.ts index 74b22d61..28b660c7 100644 --- a/sdk/nodejs/firewall.ts +++ b/sdk/nodejs/firewall.ts @@ -13,6 +13,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -84,6 +85,7 @@ import * as utilities from "./utilities"; * ], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/floatingIp.ts b/sdk/nodejs/floatingIp.ts index 6eb3fe85..c3610b62 100644 --- a/sdk/nodejs/floatingIp.ts +++ b/sdk/nodejs/floatingIp.ts @@ -13,6 +13,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -29,6 +30,7 @@ import * as utilities from "./utilities"; * region: foobarDroplet.region, * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/floatingIpAssignment.ts b/sdk/nodejs/floatingIpAssignment.ts index 81115879..b99c2ef4 100644 --- a/sdk/nodejs/floatingIpAssignment.ts +++ b/sdk/nodejs/floatingIpAssignment.ts @@ -13,6 +13,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -30,12 +31,13 @@ import * as utilities from "./utilities"; * dropletId: foobarDroplet.id, * }); * ``` + * * * ## Import * * Floating IP assignments can be imported using the Floating IP itself and the `id` of * - * the Droplet joined with a comma. For example: + * the Droplet joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/nodejs/getAccount.ts b/sdk/nodejs/getAccount.ts index f859d041..4b44bd31 100644 --- a/sdk/nodejs/getAccount.ts +++ b/sdk/nodejs/getAccount.ts @@ -11,12 +11,14 @@ import * as utilities from "./utilities"; * * Get the account: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const example = digitalocean.getAccount({}); * ``` + * */ export function getAccount(opts?: pulumi.InvokeOptions): Promise { @@ -69,12 +71,14 @@ export interface GetAccountResult { * * Get the account: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const example = digitalocean.getAccount({}); * ``` + * */ export function getAccountOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getAccount(opts)) diff --git a/sdk/nodejs/getApp.ts b/sdk/nodejs/getApp.ts index 329b3ad7..f0c13e14 100644 --- a/sdk/nodejs/getApp.ts +++ b/sdk/nodejs/getApp.ts @@ -14,6 +14,7 @@ import * as utilities from "./utilities"; * * Get the account: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -23,6 +24,7 @@ import * as utilities from "./utilities"; * }); * export const defaultIngress = example.then(example => example.defaultIngress); * ``` + * */ export function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise { @@ -91,6 +93,7 @@ export interface GetAppResult { * * Get the account: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -100,6 +103,7 @@ export interface GetAppResult { * }); * export const defaultIngress = example.then(example => example.defaultIngress); * ``` + * */ export function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getApp(a, opts)) diff --git a/sdk/nodejs/getCertificate.ts b/sdk/nodejs/getCertificate.ts index 1eee3598..c92a986d 100644 --- a/sdk/nodejs/getCertificate.ts +++ b/sdk/nodejs/getCertificate.ts @@ -16,6 +16,7 @@ import * as utilities from "./utilities"; * * Get the certificate: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -24,6 +25,7 @@ import * as utilities from "./utilities"; * name: "example", * }); * ``` + * */ export function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise { @@ -89,6 +91,7 @@ export interface GetCertificateResult { * * Get the certificate: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -97,6 +100,7 @@ export interface GetCertificateResult { * name: "example", * }); * ``` + * */ export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getCertificate(a, opts)) diff --git a/sdk/nodejs/getContainerRegistry.ts b/sdk/nodejs/getContainerRegistry.ts index 79a2c1a1..b1557745 100644 --- a/sdk/nodejs/getContainerRegistry.ts +++ b/sdk/nodejs/getContainerRegistry.ts @@ -13,10 +13,12 @@ import * as utilities from "./utilities"; * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -25,6 +27,7 @@ import * as utilities from "./utilities"; * name: "example", * }); * ``` + * */ export function getContainerRegistry(args: GetContainerRegistryArgs, opts?: pulumi.InvokeOptions): Promise { @@ -90,10 +93,12 @@ export interface GetContainerRegistryResult { * An error is triggered if the provided container registry name does not exist. * * ## Example Usage + * * ### Basic Example * * Get the container registry: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -102,6 +107,7 @@ export interface GetContainerRegistryResult { * name: "example", * }); * ``` + * */ export function getContainerRegistryOutput(args: GetContainerRegistryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getContainerRegistry(a, opts)) diff --git a/sdk/nodejs/getDatabaseCa.ts b/sdk/nodejs/getDatabaseCa.ts index 5c7b60f2..a3807cda 100644 --- a/sdk/nodejs/getDatabaseCa.ts +++ b/sdk/nodejs/getDatabaseCa.ts @@ -9,6 +9,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -18,6 +19,7 @@ import * as utilities from "./utilities"; * }); * export const caOutput = ca.then(ca => ca.certificate); * ``` + * */ export function getDatabaseCa(args: GetDatabaseCaArgs, opts?: pulumi.InvokeOptions): Promise { @@ -56,6 +58,7 @@ export interface GetDatabaseCaResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -65,6 +68,7 @@ export interface GetDatabaseCaResult { * }); * export const caOutput = ca.then(ca => ca.certificate); * ``` + * */ export function getDatabaseCaOutput(args: GetDatabaseCaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDatabaseCa(a, opts)) diff --git a/sdk/nodejs/getDatabaseCluster.ts b/sdk/nodejs/getDatabaseCluster.ts index 954f74be..e1ceeaa9 100644 --- a/sdk/nodejs/getDatabaseCluster.ts +++ b/sdk/nodejs/getDatabaseCluster.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -21,6 +22,7 @@ import * as utilities from "./utilities"; * }); * export const databaseOutput = example.then(example => example.uri); * ``` + * */ export function getDatabaseCluster(args: GetDatabaseClusterArgs, opts?: pulumi.InvokeOptions): Promise { @@ -127,6 +129,7 @@ export interface GetDatabaseClusterResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -136,6 +139,7 @@ export interface GetDatabaseClusterResult { * }); * export const databaseOutput = example.then(example => example.uri); * ``` + * */ export function getDatabaseClusterOutput(args: GetDatabaseClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDatabaseCluster(a, opts)) diff --git a/sdk/nodejs/getDatabaseConnectionPool.ts b/sdk/nodejs/getDatabaseConnectionPool.ts index bb2e6fe2..e4c1349c 100644 --- a/sdk/nodejs/getDatabaseConnectionPool.ts +++ b/sdk/nodejs/getDatabaseConnectionPool.ts @@ -9,6 +9,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -22,6 +23,7 @@ import * as utilities from "./utilities"; * })); * export const connectionPoolUriOutput = read_only.then(read_only => read_only.uri); * ``` + * */ export function getDatabaseConnectionPool(args: GetDatabaseConnectionPoolArgs, opts?: pulumi.InvokeOptions): Promise { @@ -102,6 +104,7 @@ export interface GetDatabaseConnectionPoolResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -115,6 +118,7 @@ export interface GetDatabaseConnectionPoolResult { * })); * export const connectionPoolUriOutput = read_only.then(read_only => read_only.uri); * ``` + * */ export function getDatabaseConnectionPoolOutput(args: GetDatabaseConnectionPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDatabaseConnectionPool(a, opts)) diff --git a/sdk/nodejs/getDatabaseReplica.ts b/sdk/nodejs/getDatabaseReplica.ts index 248330c1..4b305915 100644 --- a/sdk/nodejs/getDatabaseReplica.ts +++ b/sdk/nodejs/getDatabaseReplica.ts @@ -9,6 +9,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -22,6 +23,7 @@ import * as utilities from "./utilities"; * })); * export const replicaOutput = read_only.then(read_only => read_only.uri); * ``` + * */ export function getDatabaseReplica(args: GetDatabaseReplicaArgs, opts?: pulumi.InvokeOptions): Promise { @@ -110,6 +112,7 @@ export interface GetDatabaseReplicaResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -123,6 +126,7 @@ export interface GetDatabaseReplicaResult { * })); * export const replicaOutput = read_only.then(read_only => read_only.uri); * ``` + * */ export function getDatabaseReplicaOutput(args: GetDatabaseReplicaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDatabaseReplica(a, opts)) diff --git a/sdk/nodejs/getDatabaseUser.ts b/sdk/nodejs/getDatabaseUser.ts index 0eb42bc2..3ac13876 100644 --- a/sdk/nodejs/getDatabaseUser.ts +++ b/sdk/nodejs/getDatabaseUser.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -25,6 +26,7 @@ import * as utilities from "./utilities"; * })); * export const databaseUserPassword = example.then(example => example.password); * ``` + * */ export function getDatabaseUser(args: GetDatabaseUserArgs, opts?: pulumi.InvokeOptions): Promise { @@ -86,6 +88,7 @@ export interface GetDatabaseUserResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -99,6 +102,7 @@ export interface GetDatabaseUserResult { * })); * export const databaseUserPassword = example.then(example => example.password); * ``` + * */ export function getDatabaseUserOutput(args: GetDatabaseUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDatabaseUser(a, opts)) diff --git a/sdk/nodejs/getDomain.ts b/sdk/nodejs/getDomain.ts index 28f230c9..3a491175 100644 --- a/sdk/nodejs/getDomain.ts +++ b/sdk/nodejs/getDomain.ts @@ -12,6 +12,22 @@ import * as utilities from "./utilities"; * * An error is triggered if the provided domain name is not managed with your * DigitalOcean account. + * + * ## Example Usage + * + * Get the zone file for a domain: + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as digitalocean from "@pulumi/digitalocean"; + * + * const example = digitalocean.getDomain({ + * name: "example.com", + * }); + * export const domainOutput = example.then(example => example.zoneFile); + * ``` + * */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { @@ -61,6 +77,22 @@ export interface GetDomainResult { * * An error is triggered if the provided domain name is not managed with your * DigitalOcean account. + * + * ## Example Usage + * + * Get the zone file for a domain: + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as digitalocean from "@pulumi/digitalocean"; + * + * const example = digitalocean.getDomain({ + * name: "example.com", + * }); + * export const domainOutput = example.then(example => example.zoneFile); + * ``` + * */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDomain(a, opts)) diff --git a/sdk/nodejs/getDomains.ts b/sdk/nodejs/getDomains.ts index 127bd844..7737471d 100644 --- a/sdk/nodejs/getDomains.ts +++ b/sdk/nodejs/getDomains.ts @@ -22,6 +22,7 @@ import * as utilities from "./utilities"; * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `matchBy` mode in order to match domains by suffix.) * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -34,6 +35,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * */ export function getDomains(args?: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -91,6 +93,7 @@ export interface GetDomainsResult { * Use the `filter` block with a `key` string and `values` list to filter domains. (This example * also uses the regular expression `matchBy` mode in order to match domains by suffix.) * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -103,6 +106,7 @@ export interface GetDomainsResult { * }], * }); * ``` + * */ export function getDomainsOutput(args?: GetDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDomains(a, opts)) diff --git a/sdk/nodejs/getDroplet.ts b/sdk/nodejs/getDroplet.ts index 0ecd5ff2..0f30f454 100644 --- a/sdk/nodejs/getDroplet.ts +++ b/sdk/nodejs/getDroplet.ts @@ -17,6 +17,7 @@ import * as utilities from "./utilities"; * * Get the Droplet by name: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -26,9 +27,11 @@ import * as utilities from "./utilities"; * }); * export const dropletOutput = example.then(example => example.ipv4Address); * ``` + * * * Get the Droplet by tag: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -37,9 +40,11 @@ import * as utilities from "./utilities"; * tag: "web", * }); * ``` + * * * Get the Droplet by ID: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -48,6 +53,7 @@ import * as utilities from "./utilities"; * id: digitalocean_kubernetes_cluster.example.node_pool[0].nodes[0].droplet_id, * }); * ``` + * */ export function getDroplet(args?: GetDropletArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -191,6 +197,7 @@ export interface GetDropletResult { * * Get the Droplet by name: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -200,9 +207,11 @@ export interface GetDropletResult { * }); * export const dropletOutput = example.then(example => example.ipv4Address); * ``` + * * * Get the Droplet by tag: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -211,9 +220,11 @@ export interface GetDropletResult { * tag: "web", * }); * ``` + * * * Get the Droplet by ID: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -222,6 +233,7 @@ export interface GetDropletResult { * id: digitalocean_kubernetes_cluster.example.node_pool[0].nodes[0].droplet_id, * }); * ``` + * */ export function getDropletOutput(args?: GetDropletOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDroplet(a, opts)) diff --git a/sdk/nodejs/getDropletSnapshot.ts b/sdk/nodejs/getDropletSnapshot.ts index e0d2cb42..cf841418 100644 --- a/sdk/nodejs/getDropletSnapshot.ts +++ b/sdk/nodejs/getDropletSnapshot.ts @@ -13,6 +13,7 @@ import * as utilities from "./utilities"; * * Get the Droplet snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -23,9 +24,11 @@ import * as utilities from "./utilities"; * region: "nyc3", * }); * ``` + * * * Create image from snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -41,6 +44,7 @@ import * as utilities from "./utilities"; * size: "s-2vcpu-4gb", * }); * ``` + * */ export function getDropletSnapshot(args?: GetDropletSnapshotArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -122,6 +126,7 @@ export interface GetDropletSnapshotResult { * * Get the Droplet snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -132,9 +137,11 @@ export interface GetDropletSnapshotResult { * region: "nyc3", * }); * ``` + * * * Create image from snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -150,6 +157,7 @@ export interface GetDropletSnapshotResult { * size: "s-2vcpu-4gb", * }); * ``` + * */ export function getDropletSnapshotOutput(args?: GetDropletSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDropletSnapshot(a, opts)) diff --git a/sdk/nodejs/getDroplets.ts b/sdk/nodejs/getDroplets.ts index 7d7eb584..e3970912 100644 --- a/sdk/nodejs/getDroplets.ts +++ b/sdk/nodejs/getDroplets.ts @@ -23,6 +23,7 @@ import * as utilities from "./utilities"; * * For example to find all Droplets with size `s-1vcpu-1gb`: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -34,9 +35,11 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -58,6 +61,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * */ export function getDroplets(args?: GetDropletsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -116,6 +120,7 @@ export interface GetDropletsResult { * * For example to find all Droplets with size `s-1vcpu-1gb`: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -127,9 +132,11 @@ export interface GetDropletsResult { * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -151,6 +158,7 @@ export interface GetDropletsResult { * }], * }); * ``` + * */ export function getDropletsOutput(args?: GetDropletsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDroplets(a, opts)) diff --git a/sdk/nodejs/getFirewall.ts b/sdk/nodejs/getFirewall.ts index babd15c8..871fa2ee 100644 --- a/sdk/nodejs/getFirewall.ts +++ b/sdk/nodejs/getFirewall.ts @@ -14,6 +14,7 @@ import * as utilities from "./utilities"; * * Get the firewall: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -23,6 +24,7 @@ import * as utilities from "./utilities"; * }); * export const exampleFirewallName = example.then(example => example.name); * ``` + * */ export function getFirewall(args: GetFirewallArgs, opts?: pulumi.InvokeOptions): Promise { @@ -107,6 +109,7 @@ export interface GetFirewallResult { * * Get the firewall: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -116,6 +119,7 @@ export interface GetFirewallResult { * }); * export const exampleFirewallName = example.then(example => example.name); * ``` + * */ export function getFirewallOutput(args: GetFirewallOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getFirewall(a, opts)) diff --git a/sdk/nodejs/getFloatingIp.ts b/sdk/nodejs/getFloatingIp.ts index 221c82e9..c58bcf4a 100644 --- a/sdk/nodejs/getFloatingIp.ts +++ b/sdk/nodejs/getFloatingIp.ts @@ -18,6 +18,7 @@ import * as utilities from "./utilities"; * * Get the floating IP: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -29,6 +30,7 @@ import * as utilities from "./utilities"; * }); * export const fipOutput = example.then(example => example.dropletId); * ``` + * */ export function getFloatingIp(args: GetFloatingIpArgs, opts?: pulumi.InvokeOptions): Promise { @@ -84,6 +86,7 @@ export interface GetFloatingIpResult { * * Get the floating IP: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -95,6 +98,7 @@ export interface GetFloatingIpResult { * }); * export const fipOutput = example.then(example => example.dropletId); * ``` + * */ export function getFloatingIpOutput(args: GetFloatingIpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getFloatingIp(a, opts)) diff --git a/sdk/nodejs/getImage.ts b/sdk/nodejs/getImage.ts index ab9b8d73..7f0612ec 100644 --- a/sdk/nodejs/getImage.ts +++ b/sdk/nodejs/getImage.ts @@ -16,6 +16,7 @@ import * as utilities from "./utilities"; * * Get the data about a snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -24,9 +25,11 @@ import * as utilities from "./utilities"; * name: "example-1.0.0", * }); * ``` + * * * Reuse the data about a snapshot to create a Droplet: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -40,9 +43,11 @@ import * as utilities from "./utilities"; * size: "s-1vcpu-1gb", * }); * ``` + * * * Get the data about an official image: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -51,6 +56,7 @@ import * as utilities from "./utilities"; * slug: "ubuntu-18-04-x64", * }); * ``` + * */ export function getImage(args?: GetImageArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -165,6 +171,7 @@ export interface GetImageResult { * * Get the data about a snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -173,9 +180,11 @@ export interface GetImageResult { * name: "example-1.0.0", * }); * ``` + * * * Reuse the data about a snapshot to create a Droplet: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -189,9 +198,11 @@ export interface GetImageResult { * size: "s-1vcpu-1gb", * }); * ``` + * * * Get the data about an official image: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -200,6 +211,7 @@ export interface GetImageResult { * slug: "ubuntu-18-04-x64", * }); * ``` + * */ export function getImageOutput(args?: GetImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getImage(a, opts)) diff --git a/sdk/nodejs/getImages.ts b/sdk/nodejs/getImages.ts index 80e6ffd9..b5a015eb 100644 --- a/sdk/nodejs/getImages.ts +++ b/sdk/nodejs/getImages.ts @@ -24,6 +24,7 @@ import * as utilities from "./utilities"; * * For example to find all Ubuntu images: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -35,9 +36,11 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -59,6 +62,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * */ export function getImages(args?: GetImagesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -118,6 +122,7 @@ export interface GetImagesResult { * * For example to find all Ubuntu images: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -129,9 +134,11 @@ export interface GetImagesResult { * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -153,6 +160,7 @@ export interface GetImagesResult { * }], * }); * ``` + * */ export function getImagesOutput(args?: GetImagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getImages(a, opts)) diff --git a/sdk/nodejs/getKubernetesVersions.ts b/sdk/nodejs/getKubernetesVersions.ts index 31c626f5..ab1425f2 100644 --- a/sdk/nodejs/getKubernetesVersions.ts +++ b/sdk/nodejs/getKubernetesVersions.ts @@ -8,8 +8,10 @@ import * as utilities from "./utilities"; * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -21,8 +23,11 @@ import * as utilities from "./utilities"; * }; * } * ``` + * + * * ### Create a Kubernetes cluster using the most recent version available * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -38,8 +43,11 @@ import * as utilities from "./utilities"; * }, * }); * ``` + * + * * ### Pin a Kubernetes cluster to a specific minor version * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -57,6 +65,7 @@ import * as utilities from "./utilities"; * }, * }); * ``` + * */ export function getKubernetesVersions(args?: GetKubernetesVersionsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -99,8 +108,10 @@ export interface GetKubernetesVersionsResult { * Provides access to the available DigitalOcean Kubernetes Service versions. * * ## Example Usage + * * ### Output a list of all available versions * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -112,8 +123,11 @@ export interface GetKubernetesVersionsResult { * }; * } * ``` + * + * * ### Create a Kubernetes cluster using the most recent version available * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -129,8 +143,11 @@ export interface GetKubernetesVersionsResult { * }, * }); * ``` + * + * * ### Pin a Kubernetes cluster to a specific minor version * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -148,6 +165,7 @@ export interface GetKubernetesVersionsResult { * }, * }); * ``` + * */ export function getKubernetesVersionsOutput(args?: GetKubernetesVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getKubernetesVersions(a, opts)) diff --git a/sdk/nodejs/getLoadBalancer.ts b/sdk/nodejs/getLoadBalancer.ts index 0b356501..bdcd9781 100644 --- a/sdk/nodejs/getLoadBalancer.ts +++ b/sdk/nodejs/getLoadBalancer.ts @@ -19,6 +19,7 @@ import * as utilities from "./utilities"; * * Get the load balancer by name: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -28,9 +29,11 @@ import * as utilities from "./utilities"; * }); * export const lbOutput = example.then(example => example.ip); * ``` + * * * Get the load balancer by ID: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -39,6 +42,7 @@ import * as utilities from "./utilities"; * id: "loadbalancer_id", * }); * ``` + * */ export function getLoadBalancer(args?: GetLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -106,6 +110,7 @@ export interface GetLoadBalancerResult { * * Get the load balancer by name: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -115,9 +120,11 @@ export interface GetLoadBalancerResult { * }); * export const lbOutput = example.then(example => example.ip); * ``` + * * * Get the load balancer by ID: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -126,6 +133,7 @@ export interface GetLoadBalancerResult { * id: "loadbalancer_id", * }); * ``` + * */ export function getLoadBalancerOutput(args?: GetLoadBalancerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getLoadBalancer(a, opts)) diff --git a/sdk/nodejs/getProject.ts b/sdk/nodejs/getProject.ts index d656d1bf..b35fcd4a 100644 --- a/sdk/nodejs/getProject.ts +++ b/sdk/nodejs/getProject.ts @@ -10,6 +10,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -19,6 +20,7 @@ import * as utilities from "./utilities"; * name: "My Staging Project", * }); * ``` + * */ export function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -91,6 +93,7 @@ export interface GetProjectResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -100,6 +103,7 @@ export interface GetProjectResult { * name: "My Staging Project", * }); * ``` + * */ export function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getProject(a, opts)) diff --git a/sdk/nodejs/getProjects.ts b/sdk/nodejs/getProjects.ts index 75779490..eb53507f 100644 --- a/sdk/nodejs/getProjects.ts +++ b/sdk/nodejs/getProjects.ts @@ -22,6 +22,7 @@ import * as utilities from "./utilities"; * * For example to find all staging environment projects: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -33,9 +34,11 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -57,6 +60,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * */ export function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -115,6 +119,7 @@ export interface GetProjectsResult { * * For example to find all staging environment projects: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -126,9 +131,11 @@ export interface GetProjectsResult { * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -150,6 +157,7 @@ export interface GetProjectsResult { * }], * }); * ``` + * */ export function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getProjects(a, opts)) diff --git a/sdk/nodejs/getRecord.ts b/sdk/nodejs/getRecord.ts index 62670ae7..4a343ade 100644 --- a/sdk/nodejs/getRecord.ts +++ b/sdk/nodejs/getRecord.ts @@ -11,6 +11,24 @@ import * as utilities from "./utilities"; * * An error is triggered if the provided domain name or record are not managed with * your DigitalOcean account. + * + * ## Example Usage + * + * Get data from a DNS record: + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as digitalocean from "@pulumi/digitalocean"; + * + * const example = digitalocean.getRecord({ + * domain: "example.com", + * name: "test", + * }); + * export const recordType = example.then(example => example.type); + * export const recordTtl = example.then(example => example.ttl); + * ``` + * */ export function getRecord(args: GetRecordArgs, opts?: pulumi.InvokeOptions): Promise { @@ -85,6 +103,24 @@ export interface GetRecordResult { * * An error is triggered if the provided domain name or record are not managed with * your DigitalOcean account. + * + * ## Example Usage + * + * Get data from a DNS record: + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as digitalocean from "@pulumi/digitalocean"; + * + * const example = digitalocean.getRecord({ + * domain: "example.com", + * name: "test", + * }); + * export const recordType = example.then(example => example.type); + * export const recordTtl = example.then(example => example.ttl); + * ``` + * */ export function getRecordOutput(args: GetRecordOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getRecord(a, opts)) diff --git a/sdk/nodejs/getRegion.ts b/sdk/nodejs/getRegion.ts index 561c9354..c30afe23 100644 --- a/sdk/nodejs/getRegion.ts +++ b/sdk/nodejs/getRegion.ts @@ -10,6 +10,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -19,6 +20,7 @@ import * as utilities from "./utilities"; * }); * export const regionName = sfo2.then(sfo2 => sfo2.name); * ``` + * */ export function getRegion(args: GetRegionArgs, opts?: pulumi.InvokeOptions): Promise { @@ -73,6 +75,7 @@ export interface GetRegionResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -82,6 +85,7 @@ export interface GetRegionResult { * }); * export const regionName = sfo2.then(sfo2 => sfo2.name); * ``` + * */ export function getRegionOutput(args: GetRegionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getRegion(a, opts)) diff --git a/sdk/nodejs/getRegions.ts b/sdk/nodejs/getRegions.ts index d667319b..40207d55 100644 --- a/sdk/nodejs/getRegions.ts +++ b/sdk/nodejs/getRegions.ts @@ -20,6 +20,7 @@ import * as utilities from "./utilities"; * * For example to find all available regions: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -31,9 +32,11 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -55,6 +58,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * */ export function getRegions(args?: GetRegionsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -110,6 +114,7 @@ export interface GetRegionsResult { * * For example to find all available regions: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -121,9 +126,11 @@ export interface GetRegionsResult { * }], * }); * ``` + * * * You can filter on multiple fields and sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -145,6 +152,7 @@ export interface GetRegionsResult { * }], * }); * ``` + * */ export function getRegionsOutput(args?: GetRegionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getRegions(a, opts)) diff --git a/sdk/nodejs/getReservedIp.ts b/sdk/nodejs/getReservedIp.ts index 417f33b2..72f6aa41 100644 --- a/sdk/nodejs/getReservedIp.ts +++ b/sdk/nodejs/getReservedIp.ts @@ -9,6 +9,7 @@ import * as utilities from "./utilities"; * * Get the reserved IP: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -20,6 +21,7 @@ import * as utilities from "./utilities"; * }); * export const fipOutput = example.then(example => example.dropletId); * ``` + * */ export function getReservedIp(args: GetReservedIpArgs, opts?: pulumi.InvokeOptions): Promise { @@ -66,6 +68,7 @@ export interface GetReservedIpResult { * * Get the reserved IP: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -77,6 +80,7 @@ export interface GetReservedIpResult { * }); * export const fipOutput = example.then(example => example.dropletId); * ``` + * */ export function getReservedIpOutput(args: GetReservedIpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getReservedIp(a, opts)) diff --git a/sdk/nodejs/getSpacesBucket.ts b/sdk/nodejs/getSpacesBucket.ts index ca4db39d..f2c527f3 100644 --- a/sdk/nodejs/getSpacesBucket.ts +++ b/sdk/nodejs/getSpacesBucket.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * Get the bucket by name: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -22,6 +23,7 @@ import * as utilities from "./utilities"; * }); * export const bucketDomainName = example.then(example => example.bucketDomainName); * ``` + * */ export function getSpacesBucket(args: GetSpacesBucketArgs, opts?: pulumi.InvokeOptions): Promise { @@ -83,6 +85,7 @@ export interface GetSpacesBucketResult { * * Get the bucket by name: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -93,6 +96,7 @@ export interface GetSpacesBucketResult { * }); * export const bucketDomainName = example.then(example => example.bucketDomainName); * ``` + * */ export function getSpacesBucketOutput(args: GetSpacesBucketOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getSpacesBucket(a, opts)) diff --git a/sdk/nodejs/getSpacesBucketObject.ts b/sdk/nodejs/getSpacesBucketObject.ts index 60d683c2..10c23365 100644 --- a/sdk/nodejs/getSpacesBucketObject.ts +++ b/sdk/nodejs/getSpacesBucketObject.ts @@ -17,6 +17,7 @@ import * as utilities from "./utilities"; * The following example retrieves a text object (which must have a `Content-Type` * value starting with `text/`) and uses it as the `userData` for a Droplet: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -33,6 +34,7 @@ import * as utilities from "./utilities"; * userData: bootstrapScript.then(bootstrapScript => bootstrapScript.body), * }); * ``` + * */ export function getSpacesBucketObject(args: GetSpacesBucketObjectArgs, opts?: pulumi.InvokeOptions): Promise { @@ -151,6 +153,7 @@ export interface GetSpacesBucketObjectResult { * The following example retrieves a text object (which must have a `Content-Type` * value starting with `text/`) and uses it as the `userData` for a Droplet: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -167,6 +170,7 @@ export interface GetSpacesBucketObjectResult { * userData: bootstrapScript.then(bootstrapScript => bootstrapScript.body), * }); * ``` + * */ export function getSpacesBucketObjectOutput(args: GetSpacesBucketObjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getSpacesBucketObject(a, opts)) diff --git a/sdk/nodejs/getSpacesBuckets.ts b/sdk/nodejs/getSpacesBuckets.ts index a259a6ef..2a065c7c 100644 --- a/sdk/nodejs/getSpacesBuckets.ts +++ b/sdk/nodejs/getSpacesBuckets.ts @@ -20,6 +20,7 @@ import * as utilities from "./utilities"; * * Get all buckets in a region: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -31,8 +32,10 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * You can sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -48,6 +51,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * */ export function getSpacesBuckets(args?: GetSpacesBucketsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -103,6 +107,7 @@ export interface GetSpacesBucketsResult { * * Get all buckets in a region: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -114,8 +119,10 @@ export interface GetSpacesBucketsResult { * }], * }); * ``` + * * You can sort the results as well: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -131,6 +138,7 @@ export interface GetSpacesBucketsResult { * }], * }); * ``` + * */ export function getSpacesBucketsOutput(args?: GetSpacesBucketsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getSpacesBuckets(a, opts)) diff --git a/sdk/nodejs/getSshKey.ts b/sdk/nodejs/getSshKey.ts index 3023350a..36acd4cc 100644 --- a/sdk/nodejs/getSshKey.ts +++ b/sdk/nodejs/getSshKey.ts @@ -16,6 +16,7 @@ import * as utilities from "./utilities"; * * Get the ssh key: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -30,6 +31,7 @@ import * as utilities from "./utilities"; * sshKeys: [exampleSshKey.then(exampleSshKey => exampleSshKey.id)], * }); * ``` + * */ export function getSshKey(args: GetSshKeyArgs, opts?: pulumi.InvokeOptions): Promise { @@ -79,6 +81,7 @@ export interface GetSshKeyResult { * * Get the ssh key: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -93,6 +96,7 @@ export interface GetSshKeyResult { * sshKeys: [exampleSshKey.then(exampleSshKey => exampleSshKey.id)], * }); * ``` + * */ export function getSshKeyOutput(args: GetSshKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getSshKey(a, opts)) diff --git a/sdk/nodejs/getSshKeys.ts b/sdk/nodejs/getSshKeys.ts index 3afc9eb0..fd693742 100644 --- a/sdk/nodejs/getSshKeys.ts +++ b/sdk/nodejs/getSshKeys.ts @@ -20,6 +20,7 @@ import * as utilities from "./utilities"; * * For example, to find all SSH keys: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -31,9 +32,11 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * Or to find ones matching specific values: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -48,6 +51,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * */ export function getSshKeys(args?: GetSshKeysArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -103,6 +107,7 @@ export interface GetSshKeysResult { * * For example, to find all SSH keys: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -114,9 +119,11 @@ export interface GetSshKeysResult { * }], * }); * ``` + * * * Or to find ones matching specific values: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -131,6 +138,7 @@ export interface GetSshKeysResult { * }], * }); * ``` + * */ export function getSshKeysOutput(args?: GetSshKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getSshKeys(a, opts)) diff --git a/sdk/nodejs/getTag.ts b/sdk/nodejs/getTag.ts index 4c93c318..04e0c8c7 100644 --- a/sdk/nodejs/getTag.ts +++ b/sdk/nodejs/getTag.ts @@ -15,6 +15,7 @@ import * as utilities from "./utilities"; * * Get the tag: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -29,6 +30,7 @@ import * as utilities from "./utilities"; * tags: [exampleTag.then(exampleTag => exampleTag.name)], * }); * ``` + * */ export function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise { @@ -93,6 +95,7 @@ export interface GetTagResult { * * Get the tag: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -107,6 +110,7 @@ export interface GetTagResult { * tags: [exampleTag.then(exampleTag => exampleTag.name)], * }); * ``` + * */ export function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getTag(a, opts)) diff --git a/sdk/nodejs/getTags.ts b/sdk/nodejs/getTags.ts index afde8634..858a6655 100644 --- a/sdk/nodejs/getTags.ts +++ b/sdk/nodejs/getTags.ts @@ -14,6 +14,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -26,6 +27,7 @@ import * as utilities from "./utilities"; * }); * export const sortedTags = list.then(list => list.tags); * ``` + * */ export function getTags(args?: GetTagsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -72,6 +74,7 @@ export interface GetTagsResult { * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -84,6 +87,7 @@ export interface GetTagsResult { * }); * export const sortedTags = list.then(list => list.tags); * ``` + * */ export function getTagsOutput(args?: GetTagsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getTags(a, opts)) diff --git a/sdk/nodejs/getVolume.ts b/sdk/nodejs/getVolume.ts index 5a32dfb8..16d50895 100644 --- a/sdk/nodejs/getVolume.ts +++ b/sdk/nodejs/getVolume.ts @@ -16,6 +16,7 @@ import * as utilities from "./utilities"; * * Get the volume: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -25,9 +26,11 @@ import * as utilities from "./utilities"; * region: "nyc3", * }); * ``` + * * * Reuse the data about a volume to attach it to a Droplet: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -46,6 +49,7 @@ import * as utilities from "./utilities"; * volumeId: exampleVolume.then(exampleVolume => exampleVolume.id), * }); * ``` + * */ export function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise { @@ -126,6 +130,7 @@ export interface GetVolumeResult { * * Get the volume: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -135,9 +140,11 @@ export interface GetVolumeResult { * region: "nyc3", * }); * ``` + * * * Reuse the data about a volume to attach it to a Droplet: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -156,6 +163,7 @@ export interface GetVolumeResult { * volumeId: exampleVolume.then(exampleVolume => exampleVolume.id), * }); * ``` + * */ export function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getVolume(a, opts)) diff --git a/sdk/nodejs/getVolumeSnapshot.ts b/sdk/nodejs/getVolumeSnapshot.ts index dd42a78e..08640bee 100644 --- a/sdk/nodejs/getVolumeSnapshot.ts +++ b/sdk/nodejs/getVolumeSnapshot.ts @@ -13,6 +13,7 @@ import * as utilities from "./utilities"; * * Get the volume snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -23,9 +24,11 @@ import * as utilities from "./utilities"; * region: "nyc3", * }); * ``` + * * * Reuse the data about a volume snapshot to create a new volume based on it: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -41,6 +44,7 @@ import * as utilities from "./utilities"; * snapshotId: snapshot.then(snapshot => snapshot.id), * }); * ``` + * */ export function getVolumeSnapshot(args?: GetVolumeSnapshotArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -126,6 +130,7 @@ export interface GetVolumeSnapshotResult { * * Get the volume snapshot: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -136,9 +141,11 @@ export interface GetVolumeSnapshotResult { * region: "nyc3", * }); * ``` + * * * Reuse the data about a volume snapshot to create a new volume based on it: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -154,6 +161,7 @@ export interface GetVolumeSnapshotResult { * snapshotId: snapshot.then(snapshot => snapshot.id), * }); * ``` + * */ export function getVolumeSnapshotOutput(args?: GetVolumeSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getVolumeSnapshot(a, opts)) diff --git a/sdk/nodejs/getVpc.ts b/sdk/nodejs/getVpc.ts index f12e5aa0..9ec2dd3f 100644 --- a/sdk/nodejs/getVpc.ts +++ b/sdk/nodejs/getVpc.ts @@ -15,8 +15,10 @@ import * as utilities from "./utilities"; * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -25,9 +27,11 @@ import * as utilities from "./utilities"; * name: "example-network", * }); * ``` + * * * Reuse the data about a VPC to assign a Droplet to it: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -42,6 +46,7 @@ import * as utilities from "./utilities"; * vpcUuid: exampleVpc.then(exampleVpc => exampleVpc.id), * }); * ``` + * */ export function getVpc(args?: GetVpcArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -120,8 +125,10 @@ export interface GetVpcResult { * return that that region's default VPC. * * ## Example Usage + * * ### VPC By Name * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -130,9 +137,11 @@ export interface GetVpcResult { * name: "example-network", * }); * ``` + * * * Reuse the data about a VPC to assign a Droplet to it: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -147,6 +156,7 @@ export interface GetVpcResult { * vpcUuid: exampleVpc.then(exampleVpc => exampleVpc.id), * }); * ``` + * */ export function getVpcOutput(args?: GetVpcOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getVpc(a, opts)) diff --git a/sdk/nodejs/kubernetesCluster.ts b/sdk/nodejs/kubernetesCluster.ts index 9a5221a3..bae3e8f3 100644 --- a/sdk/nodejs/kubernetesCluster.ts +++ b/sdk/nodejs/kubernetesCluster.ts @@ -12,23 +12,23 @@ import * as utilities from "./utilities"; * * Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with * - * the `terraform:default-node-pool` tag. The provider will automatically add this tag if + * the `terraform:default-node-pool` tag. The provider will automatically add this tag if * - * the cluster only has a single node pool. Clusters with more than one node pool, however, will require + * the cluster only has a single node pool. Clusters with more than one node pool, however, will require * - * that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be + * that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be * - * the default node pool. + * the default node pool. * - * Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. + * Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. * * ```sh * $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af * ``` * - * Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` + * Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` * - * resources, e.g. + * resources, e.g. * * ```sh * $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8 diff --git a/sdk/nodejs/kubernetesNodePool.ts b/sdk/nodejs/kubernetesNodePool.ts index c84ec246..88b27d40 100644 --- a/sdk/nodejs/kubernetesNodePool.ts +++ b/sdk/nodejs/kubernetesNodePool.ts @@ -11,8 +11,10 @@ import * as utilities from "./utilities"; * Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `digitalocean.KubernetesCluster` resource, this resource can be used to add additional ones to a cluster. * * ## Example Usage + * * ### Basic Example * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -42,11 +44,14 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * + * * ### Autoscaling Example * * Node pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/). * For example: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -59,24 +64,25 @@ import * as utilities from "./utilities"; * maxNodes: 5, * }); * ``` + * * * ## Import * * If you are importing an existing Kubernetes cluster with a single node pool, just * - * import the cluster. Additional node pools can be imported by using their `id`, e.g. + * import the cluster. Additional node pools can be imported by using their `id`, e.g. * * ```sh * $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8 * ``` * - * Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an + * Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an * - * existing cluster. The provider will refuse to import the node pool in that case because the node pool + * existing cluster. The provider will refuse to import the node pool in that case because the node pool * - * is managed by the `digitalocean_kubernetes_cluster` resource and not by this + * is managed by the `digitalocean_kubernetes_cluster` resource and not by this * - * `digitalocean_kubernetes_node_pool` resource. + * `digitalocean_kubernetes_node_pool` resource. */ export class KubernetesNodePool extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/loadBalancer.ts b/sdk/nodejs/loadBalancer.ts index dbf045e9..54962f4f 100644 --- a/sdk/nodejs/loadBalancer.ts +++ b/sdk/nodejs/loadBalancer.ts @@ -13,6 +13,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -37,6 +38,7 @@ import * as utilities from "./utilities"; * dropletIds: [web.id], * }); * ``` + * * * When managing certificates attached to the load balancer, make sure to add the `createBeforeDestroy` * lifecycle property in order to ensure the certificate is correctly updated when changed. The order of @@ -44,6 +46,7 @@ import * as utilities from "./utilities"; * `Delete old certificate`. When doing so, you must also change the name of the certificate, * as there cannot be multiple certificates with the same name in an account. * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -73,6 +76,7 @@ import * as utilities from "./utilities"; * dropletIds: [web.id], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/monitorAlert.ts b/sdk/nodejs/monitorAlert.ts index beae2022..a03254c4 100644 --- a/sdk/nodejs/monitorAlert.ts +++ b/sdk/nodejs/monitorAlert.ts @@ -100,7 +100,7 @@ export class MonitorAlert extends pulumi.CustomResource { */ public /*out*/ readonly uuid!: pulumi.Output; /** - * The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. */ public readonly value!: pulumi.Output; @@ -221,7 +221,7 @@ export interface MonitorAlertState { */ uuid?: pulumi.Input; /** - * The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. */ value?: pulumi.Input; @@ -280,7 +280,7 @@ export interface MonitorAlertArgs { */ type: pulumi.Input; /** - * The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + * The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. * DigitalOcean will show the correct unit in the web panel. */ value: pulumi.Input; diff --git a/sdk/nodejs/project.ts b/sdk/nodejs/project.ts index 6c9bf74a..93b75d02 100644 --- a/sdk/nodejs/project.ts +++ b/sdk/nodejs/project.ts @@ -28,6 +28,7 @@ import * as utilities from "./utilities"; * * The following example demonstrates the creation of an empty project: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -38,9 +39,11 @@ import * as utilities from "./utilities"; * purpose: "Web Application", * }); * ``` + * * * The following example demonstrates the creation of a project with a Droplet resource: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -57,6 +60,7 @@ import * as utilities from "./utilities"; * resources: [foobar.dropletUrn], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/projectResources.ts b/sdk/nodejs/projectResources.ts index 1c3dd4ac..27419d24 100644 --- a/sdk/nodejs/projectResources.ts +++ b/sdk/nodejs/projectResources.ts @@ -23,6 +23,7 @@ import * as utilities from "./utilities"; * * The following example assigns a droplet to a Project managed outside of the provider: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -40,6 +41,7 @@ import * as utilities from "./utilities"; * resources: [foobar.dropletUrn], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/reservedIp.ts b/sdk/nodejs/reservedIp.ts index d0c0c1d3..ec8251d4 100644 --- a/sdk/nodejs/reservedIp.ts +++ b/sdk/nodejs/reservedIp.ts @@ -11,6 +11,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -27,6 +28,7 @@ import * as utilities from "./utilities"; * region: exampleDroplet.region, * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/reservedIpAssignment.ts b/sdk/nodejs/reservedIpAssignment.ts index b34ca32e..bf5cd4c6 100644 --- a/sdk/nodejs/reservedIpAssignment.ts +++ b/sdk/nodejs/reservedIpAssignment.ts @@ -11,6 +11,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -28,12 +29,13 @@ import * as utilities from "./utilities"; * dropletId: exampleDroplet.id, * }); * ``` + * * * ## Import * * Reserved IP assignments can be imported using the reserved IP itself and the `id` of * - * the Droplet joined with a comma. For example: + * the Droplet joined with a comma. For example: * * ```sh * $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/nodejs/spacesBucket.ts b/sdk/nodejs/spacesBucket.ts index d3e6478d..21434210 100644 --- a/sdk/nodejs/spacesBucket.ts +++ b/sdk/nodejs/spacesBucket.ts @@ -22,6 +22,7 @@ import * as utilities from "./utilities"; * access ID and secret you generate via the DigitalOcean control panel. For * example: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -29,20 +30,26 @@ import * as utilities from "./utilities"; * const static_assets = new digitalocean.SpacesBucket("static-assets", {}); * // ... * ``` + * * * For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) * * ## Example Usage + * * ### Create a New Bucket * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const foobar = new digitalocean.SpacesBucket("foobar", {region: "nyc3"}); * ``` + * + * * ### Create a New Bucket With CORS Rules * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -69,6 +76,7 @@ import * as utilities from "./utilities"; * region: "nyc3", * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/spacesBucketCorsConfiguration.ts b/sdk/nodejs/spacesBucketCorsConfiguration.ts index f3d26b5f..6c06adcf 100644 --- a/sdk/nodejs/spacesBucketCorsConfiguration.ts +++ b/sdk/nodejs/spacesBucketCorsConfiguration.ts @@ -9,8 +9,10 @@ import * as utilities from "./utilities"; /** * ## Example Usage + * * ### Create a Key in a Spaces Bucket * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -31,6 +33,7 @@ import * as utilities from "./utilities"; * }], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/spacesBucketObject.ts b/sdk/nodejs/spacesBucketObject.ts index 498873ed..ab1106fc 100644 --- a/sdk/nodejs/spacesBucketObject.ts +++ b/sdk/nodejs/spacesBucketObject.ts @@ -21,6 +21,7 @@ import * as utilities from "./utilities"; * access ID and secret you generate via the DigitalOcean control panel. For * example: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -28,12 +29,15 @@ import * as utilities from "./utilities"; * const static_assets = new digitalocean.SpacesBucket("static-assets", {}); * // ... * ``` + * * * For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) * * ## Example Usage + * * ### Create a Key in a Spaces Bucket * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -47,6 +51,7 @@ import * as utilities from "./utilities"; * contentType: "text/html", * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/spacesBucketPolicy.ts b/sdk/nodejs/spacesBucketPolicy.ts index 07206c4b..7c1253dc 100644 --- a/sdk/nodejs/spacesBucketPolicy.ts +++ b/sdk/nodejs/spacesBucketPolicy.ts @@ -6,8 +6,10 @@ import * as utilities from "./utilities"; /** * ## Example Usage + * * ### Limiting access to specific IP addresses * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -36,6 +38,7 @@ import * as utilities from "./utilities"; * }), * }); * ``` + * * * !> **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket. * diff --git a/sdk/nodejs/sshKey.ts b/sdk/nodejs/sshKey.ts index 8dc9047d..8b314cab 100644 --- a/sdk/nodejs/sshKey.ts +++ b/sdk/nodejs/sshKey.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -27,6 +28,7 @@ import * as utilities from "./utilities"; * sshKeys: [_default.fingerprint], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/tag.ts b/sdk/nodejs/tag.ts index 7ec7d28d..62dff73c 100644 --- a/sdk/nodejs/tag.ts +++ b/sdk/nodejs/tag.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -26,6 +27,7 @@ import * as utilities from "./utilities"; * tags: [foobar.id], * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/volume.ts b/sdk/nodejs/volume.ts index bea32e74..14d28dcb 100644 --- a/sdk/nodejs/volume.ts +++ b/sdk/nodejs/volume.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -32,9 +33,11 @@ import * as utilities from "./utilities"; * volumeId: foobarVolume.id, * }); * ``` + * * * You can also create a volume from an existing snapshot. * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -48,6 +51,7 @@ import * as utilities from "./utilities"; * snapshotId: foobarVolumeSnapshot.then(foobarVolumeSnapshot => foobarVolumeSnapshot.id), * }); * ``` + * * * ## Import * diff --git a/sdk/nodejs/volumeAttachment.ts b/sdk/nodejs/volumeAttachment.ts index fa45dab7..fde6f6d7 100644 --- a/sdk/nodejs/volumeAttachment.ts +++ b/sdk/nodejs/volumeAttachment.ts @@ -11,6 +11,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -31,6 +32,7 @@ import * as utilities from "./utilities"; * volumeId: foobarVolume.id, * }); * ``` + * */ export class VolumeAttachment extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/volumeSnapshot.ts b/sdk/nodejs/volumeSnapshot.ts index 6101cf59..34b54a29 100644 --- a/sdk/nodejs/volumeSnapshot.ts +++ b/sdk/nodejs/volumeSnapshot.ts @@ -9,6 +9,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -20,6 +21,7 @@ import * as utilities from "./utilities"; * }); * const foobarVolumeSnapshot = new digitalocean.VolumeSnapshot("foobarVolumeSnapshot", {volumeId: foobarVolume.id}); * ``` + * * * ## Import * diff --git a/sdk/nodejs/vpc.ts b/sdk/nodejs/vpc.ts index eb405305..59d3df7c 100644 --- a/sdk/nodejs/vpc.ts +++ b/sdk/nodejs/vpc.ts @@ -12,6 +12,7 @@ import * as utilities from "./utilities"; * * ## Example Usage * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -21,12 +22,15 @@ import * as utilities from "./utilities"; * region: "nyc3", * }); * ``` + * + * * ### Resource Assignment * * `digitalocean.Droplet`, `digitalocean.KubernetesCluster`, * `digitaloceanLoadBalancer`, and `digitalocean.DatabaseCluster` resources * may be assigned to a VPC by referencing its `id`. For example: * + * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; @@ -39,6 +43,7 @@ import * as utilities from "./utilities"; * vpcUuid: exampleVpc.id, * }); * ``` + * * * ## Import * diff --git a/sdk/python/pulumi_digitalocean/app.py b/sdk/python/pulumi_digitalocean/app.py index 292f2fd1..816a123d 100644 --- a/sdk/python/pulumi_digitalocean/app.py +++ b/sdk/python/pulumi_digitalocean/app.py @@ -219,8 +219,10 @@ def __init__(__self__, ## Example Usage To create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components. + ### Basic Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -240,8 +242,11 @@ def __init__(__self__, )], )) ``` + + ### Static Site Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -260,6 +265,7 @@ def __init__(__self__, )], )) ``` + ## Import @@ -290,8 +296,10 @@ def __init__(__self__, ## Example Usage To create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components. + ### Basic Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -311,8 +319,11 @@ def __init__(__self__, )], )) ``` + + ### Static Site Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -331,6 +342,7 @@ def __init__(__self__, )], )) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/cdn.py b/sdk/python/pulumi_digitalocean/cdn.py index cdae6e02..178b8864 100644 --- a/sdk/python/pulumi_digitalocean/cdn.py +++ b/sdk/python/pulumi_digitalocean/cdn.py @@ -245,8 +245,10 @@ def __init__(__self__, Provides a DigitalOcean CDN Endpoint resource for use with Spaces. ## Example Usage + ### Basic Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -259,8 +261,11 @@ def __init__(__self__, mycdn = digitalocean.Cdn("mycdn", origin=mybucket.bucket_domain_name) pulumi.export("fqdn", mycdn.endpoint) ``` + + ### Custom Sub-Domain Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -279,6 +284,7 @@ def __init__(__self__, custom_domain="static.example.com", certificate_name=cert.name) ``` + ## Import @@ -306,8 +312,10 @@ def __init__(__self__, Provides a DigitalOcean CDN Endpoint resource for use with Spaces. ## Example Usage + ### Basic Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -320,8 +328,11 @@ def __init__(__self__, mycdn = digitalocean.Cdn("mycdn", origin=mybucket.bucket_domain_name) pulumi.export("fqdn", mycdn.endpoint) ``` + + ### Custom Sub-Domain Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -340,6 +351,7 @@ def __init__(__self__, custom_domain="static.example.com", certificate_name=cert.name) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/certificate.py b/sdk/python/pulumi_digitalocean/certificate.py index 92c0a4f9..0a366c37 100644 --- a/sdk/python/pulumi_digitalocean/certificate.py +++ b/sdk/python/pulumi_digitalocean/certificate.py @@ -329,8 +329,10 @@ def __init__(__self__, Let's Encrypt. ## Example Usage + ### Custom Certificate + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -341,8 +343,11 @@ def __init__(__self__, leaf_certificate=(lambda path: open(path).read())("/Users/myuser/certs/cert.pem"), certificate_chain=(lambda path: open(path).read())("/Users/myuser/certs/fullchain.pem")) ``` + + ### Let's Encrypt Certificate + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -351,11 +356,14 @@ def __init__(__self__, domains=["example.com"], type="lets_encrypt") ``` + + ### Use with Other Resources Both custom and Let's Encrypt certificates can be used with other resources including the `LoadBalancer` and `Cdn` resources. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -375,6 +383,7 @@ def __init__(__self__, certificate_name=cert.name, )]) ``` + ## Import @@ -415,8 +424,10 @@ def __init__(__self__, Let's Encrypt. ## Example Usage + ### Custom Certificate + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -427,8 +438,11 @@ def __init__(__self__, leaf_certificate=(lambda path: open(path).read())("/Users/myuser/certs/cert.pem"), certificate_chain=(lambda path: open(path).read())("/Users/myuser/certs/fullchain.pem")) ``` + + ### Let's Encrypt Certificate + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -437,11 +451,14 @@ def __init__(__self__, domains=["example.com"], type="lets_encrypt") ``` + + ### Use with Other Resources Both custom and Let's Encrypt certificates can be used with other resources including the `LoadBalancer` and `Cdn` resources. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -461,6 +478,7 @@ def __init__(__self__, certificate_name=cert.name, )]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/container_registry.py b/sdk/python/pulumi_digitalocean/container_registry.py index c1f6d3d0..7bd7ea0f 100644 --- a/sdk/python/pulumi_digitalocean/container_registry.py +++ b/sdk/python/pulumi_digitalocean/container_registry.py @@ -201,6 +201,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -208,6 +209,7 @@ def __init__(__self__, # Create a new container registry foobar = digitalocean.ContainerRegistry("foobar", subscription_tier_slug="starter") ``` + ## Import @@ -235,6 +237,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -242,6 +245,7 @@ def __init__(__self__, # Create a new container registry foobar = digitalocean.ContainerRegistry("foobar", subscription_tier_slug="starter") ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py b/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py index f717d5b3..75860372 100644 --- a/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py +++ b/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py @@ -169,20 +169,25 @@ def __init__(__self__, An error is triggered if the provided container registry name does not exist. ## Example Usage + ### Basic Example Get the container registry: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.ContainerRegistryDockerCredentials("example", registry_name="example") ``` + + ### Docker Provider Example Use the `endpoint` and `docker_credentials` with the Docker provider: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -190,6 +195,7 @@ def __init__(__self__, example_container_registry = digitalocean.get_container_registry(name="example") example_container_registry_docker_credentials = digitalocean.ContainerRegistryDockerCredentials("exampleContainerRegistryDockerCredentials", registry_name="example") ``` + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -209,20 +215,25 @@ def __init__(__self__, An error is triggered if the provided container registry name does not exist. ## Example Usage + ### Basic Example Get the container registry: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.ContainerRegistryDockerCredentials("example", registry_name="example") ``` + + ### Docker Provider Example Use the `endpoint` and `docker_credentials` with the Docker provider: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -230,6 +241,7 @@ def __init__(__self__, example_container_registry = digitalocean.get_container_registry(name="example") example_container_registry_docker_credentials = digitalocean.ContainerRegistryDockerCredentials("exampleContainerRegistryDockerCredentials", registry_name="example") ``` + :param str resource_name: The name of the resource. :param ContainerRegistryDockerCredentialsArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_digitalocean/custom_image.py b/sdk/python/pulumi_digitalocean/custom_image.py index 0f75a818..2e67419e 100644 --- a/sdk/python/pulumi_digitalocean/custom_image.py +++ b/sdk/python/pulumi_digitalocean/custom_image.py @@ -372,6 +372,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -385,6 +386,7 @@ def __init__(__self__, size="s-1vcpu-1gb", ssh_keys=["12345"]) ``` + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -416,6 +418,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -429,6 +432,7 @@ def __init__(__self__, size="s-1vcpu-1gb", ssh_keys=["12345"]) ``` + :param str resource_name: The name of the resource. :param CustomImageArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_digitalocean/database_cluster.py b/sdk/python/pulumi_digitalocean/database_cluster.py index 773173ec..91ae734b 100644 --- a/sdk/python/pulumi_digitalocean/database_cluster.py +++ b/sdk/python/pulumi_digitalocean/database_cluster.py @@ -646,7 +646,9 @@ def __init__(__self__, Provides a DigitalOcean database cluster resource. ## Example Usage + ### Create a new PostgreSQL database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -658,7 +660,10 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="15") ``` + + ### Create a new MySQL database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -670,7 +675,10 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="8") ``` + + ### Create a new Redis database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -682,7 +690,10 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="7") ``` + + ### Create a new Kafka database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -694,7 +705,10 @@ def __init__(__self__, size="db-s-2vcpu-2gb", version="3.5") ``` + + ### Create a new MongoDB database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -706,8 +720,11 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="6") ``` + + ## Create a new database cluster based on a backup of an existing cluster. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -731,6 +748,7 @@ def __init__(__self__, ), opts=pulumi.ResourceOptions(depends_on=[doby])) ``` + ## Import @@ -768,7 +786,9 @@ def __init__(__self__, Provides a DigitalOcean database cluster resource. ## Example Usage + ### Create a new PostgreSQL database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -780,7 +800,10 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="15") ``` + + ### Create a new MySQL database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -792,7 +815,10 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="8") ``` + + ### Create a new Redis database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -804,7 +830,10 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="7") ``` + + ### Create a new Kafka database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -816,7 +845,10 @@ def __init__(__self__, size="db-s-2vcpu-2gb", version="3.5") ``` + + ### Create a new MongoDB database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -828,8 +860,11 @@ def __init__(__self__, size="db-s-1vcpu-1gb", version="6") ``` + + ## Create a new database cluster based on a backup of an existing cluster. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -853,6 +888,7 @@ def __init__(__self__, ), opts=pulumi.ResourceOptions(depends_on=[doby])) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/database_connection_pool.py b/sdk/python/pulumi_digitalocean/database_connection_pool.py index a7a8d850..df5d3882 100644 --- a/sdk/python/pulumi_digitalocean/database_connection_pool.py +++ b/sdk/python/pulumi_digitalocean/database_connection_pool.py @@ -327,7 +327,9 @@ def __init__(__self__, Provides a DigitalOcean database connection pool resource. ## Example Usage + ### Create a new PostgreSQL database connection pool + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -345,12 +347,13 @@ def __init__(__self__, db_name="defaultdb", user="doadmin") ``` + ## Import Database connection pools can be imported using the `id` of the source database cluster - and the `name` of the connection pool joined with a comma. For example: + and the `name` of the connection pool joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01 @@ -375,7 +378,9 @@ def __init__(__self__, Provides a DigitalOcean database connection pool resource. ## Example Usage + ### Create a new PostgreSQL database connection pool + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -393,12 +398,13 @@ def __init__(__self__, db_name="defaultdb", user="doadmin") ``` + ## Import Database connection pools can be imported using the `id` of the source database cluster - and the `name` of the connection pool joined with a comma. For example: + and the `name` of the connection pool joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01 diff --git a/sdk/python/pulumi_digitalocean/database_db.py b/sdk/python/pulumi_digitalocean/database_db.py index 5c5f1a0d..6fba111a 100644 --- a/sdk/python/pulumi_digitalocean/database_db.py +++ b/sdk/python/pulumi_digitalocean/database_db.py @@ -102,7 +102,9 @@ def __init__(__self__, Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster. ## Example Usage + ### Create a new PostgreSQL database + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -115,12 +117,13 @@ def __init__(__self__, node_count=1) database_example = digitalocean.DatabaseDb("database-example", cluster_id=postgres_example.id) ``` + ## Import Database can be imported using the `id` of the source database cluster - and the `name` of the database joined with a comma. For example: + and the `name` of the database joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar @@ -141,7 +144,9 @@ def __init__(__self__, Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster. ## Example Usage + ### Create a new PostgreSQL database + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -154,12 +159,13 @@ def __init__(__self__, node_count=1) database_example = digitalocean.DatabaseDb("database-example", cluster_id=postgres_example.id) ``` + ## Import Database can be imported using the `id` of the source database cluster - and the `name` of the database joined with a comma. For example: + and the `name` of the database joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/python/pulumi_digitalocean/database_firewall.py b/sdk/python/pulumi_digitalocean/database_firewall.py index 089d5179..61167cff 100644 --- a/sdk/python/pulumi_digitalocean/database_firewall.py +++ b/sdk/python/pulumi_digitalocean/database_firewall.py @@ -105,8 +105,10 @@ def __init__(__self__, specific Droplets, Kubernetes clusters, or IP addresses. ## Example Usage + ### Create a new database firewall allowing multiple IP addresses + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -130,8 +132,11 @@ def __init__(__self__, ), ]) ``` + + ### Create a new database firewall allowing a Droplet + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -153,8 +158,11 @@ def __init__(__self__, value=web.id, )]) ``` + + ### Create a new database firewall for a database replica + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -177,12 +185,13 @@ def __init__(__self__, value="192.168.1.1", )]) ``` + ## Import Database firewalls can be imported using the `id` of the target database cluster - For example: + For example: ```sh $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54 @@ -205,8 +214,10 @@ def __init__(__self__, specific Droplets, Kubernetes clusters, or IP addresses. ## Example Usage + ### Create a new database firewall allowing multiple IP addresses + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -230,8 +241,11 @@ def __init__(__self__, ), ]) ``` + + ### Create a new database firewall allowing a Droplet + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -253,8 +267,11 @@ def __init__(__self__, value=web.id, )]) ``` + + ### Create a new database firewall for a database replica + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -277,12 +294,13 @@ def __init__(__self__, value="192.168.1.1", )]) ``` + ## Import Database firewalls can be imported using the `id` of the target database cluster - For example: + For example: ```sh $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54 diff --git a/sdk/python/pulumi_digitalocean/database_kafka_topic.py b/sdk/python/pulumi_digitalocean/database_kafka_topic.py index 066c3635..e3187d5c 100644 --- a/sdk/python/pulumi_digitalocean/database_kafka_topic.py +++ b/sdk/python/pulumi_digitalocean/database_kafka_topic.py @@ -223,7 +223,9 @@ def __init__(__self__, Provides a DigitalOcean Kafka topic for Kafka clusters. ## Example Usage + ### Create a new Kafka topic + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -265,6 +267,7 @@ def __init__(__self__, segment_ms="604800000", )]) ``` + ## Import @@ -293,7 +296,9 @@ def __init__(__self__, Provides a DigitalOcean Kafka topic for Kafka clusters. ## Example Usage + ### Create a new Kafka topic + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -335,6 +340,7 @@ def __init__(__self__, segment_ms="604800000", )]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/database_mysql_config.py b/sdk/python/pulumi_digitalocean/database_mysql_config.py index 544012f6..e3e89347 100644 --- a/sdk/python/pulumi_digitalocean/database_mysql_config.py +++ b/sdk/python/pulumi_digitalocean/database_mysql_config.py @@ -964,6 +964,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -979,6 +980,7 @@ def __init__(__self__, connect_timeout=10, default_time_zone="UTC") ``` + ## Import @@ -1033,6 +1035,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -1048,6 +1051,7 @@ def __init__(__self__, connect_timeout=10, default_time_zone="UTC") ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/database_redis_config.py b/sdk/python/pulumi_digitalocean/database_redis_config.py index ac46b5d2..83578b06 100644 --- a/sdk/python/pulumi_digitalocean/database_redis_config.py +++ b/sdk/python/pulumi_digitalocean/database_redis_config.py @@ -436,6 +436,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -452,6 +453,7 @@ def __init__(__self__, notify_keyspace_events="KEA", timeout=90) ``` + ## Import @@ -490,6 +492,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -506,6 +509,7 @@ def __init__(__self__, notify_keyspace_events="KEA", timeout=90) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/database_replica.py b/sdk/python/pulumi_digitalocean/database_replica.py index 8f5ee0d4..b2c1f24b 100644 --- a/sdk/python/pulumi_digitalocean/database_replica.py +++ b/sdk/python/pulumi_digitalocean/database_replica.py @@ -404,7 +404,9 @@ def __init__(__self__, Provides a DigitalOcean database replica resource. ## Example Usage + ### Create a new PostgreSQL database replica + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -428,12 +430,13 @@ def __init__(__self__, value="192.168.1.1", )]) ``` + ## Import Database replicas can be imported using the `id` of the source database cluster - and the `name` of the replica joined with a comma. For example: + and the `name` of the replica joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica @@ -458,7 +461,9 @@ def __init__(__self__, Provides a DigitalOcean database replica resource. ## Example Usage + ### Create a new PostgreSQL database replica + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -482,12 +487,13 @@ def __init__(__self__, value="192.168.1.1", )]) ``` + ## Import Database replicas can be imported using the `id` of the source database cluster - and the `name` of the replica joined with a comma. For example: + and the `name` of the replica joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica diff --git a/sdk/python/pulumi_digitalocean/database_user.py b/sdk/python/pulumi_digitalocean/database_user.py index 4257f37e..0e40fd25 100644 --- a/sdk/python/pulumi_digitalocean/database_user.py +++ b/sdk/python/pulumi_digitalocean/database_user.py @@ -240,7 +240,9 @@ def __init__(__self__, > **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually. ## Example Usage + ### Create a new PostgreSQL database user + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -253,7 +255,10 @@ def __init__(__self__, node_count=1) user_example = digitalocean.DatabaseUser("user-example", cluster_id=postgres_example.id) ``` + + ### Create a new user for a PostgreSQL database replica + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -270,7 +275,10 @@ def __init__(__self__, region="nyc1") user_example = digitalocean.DatabaseUser("user-example", cluster_id=replica_example.uuid) ``` + + ### Create a new user for a Kafka database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -301,12 +309,13 @@ def __init__(__self__, ], )]) ``` + ## Import Database user can be imported using the `id` of the source database cluster - and the `name` of the user joined with a comma. For example: + and the `name` of the user joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar @@ -332,7 +341,9 @@ def __init__(__self__, > **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually. ## Example Usage + ### Create a new PostgreSQL database user + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -345,7 +356,10 @@ def __init__(__self__, node_count=1) user_example = digitalocean.DatabaseUser("user-example", cluster_id=postgres_example.id) ``` + + ### Create a new user for a PostgreSQL database replica + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -362,7 +376,10 @@ def __init__(__self__, region="nyc1") user_example = digitalocean.DatabaseUser("user-example", cluster_id=replica_example.uuid) ``` + + ### Create a new user for a Kafka database cluster + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -393,12 +410,13 @@ def __init__(__self__, ], )]) ``` + ## Import Database user can be imported using the `id` of the source database cluster - and the `name` of the user joined with a comma. For example: + and the `name` of the user joined with a comma. For example: ```sh $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar diff --git a/sdk/python/pulumi_digitalocean/dns_record.py b/sdk/python/pulumi_digitalocean/dns_record.py index d0620b67..a1dcff23 100644 --- a/sdk/python/pulumi_digitalocean/dns_record.py +++ b/sdk/python/pulumi_digitalocean/dns_record.py @@ -382,6 +382,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -401,6 +402,7 @@ def __init__(__self__, pulumi.export("wwwFqdn", www.fqdn) pulumi.export("mxFqdn", mx.fqdn) ``` + ## Import @@ -410,9 +412,7 @@ def __init__(__self__, $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678 ``` - ~> - - You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` + ~> You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -438,6 +438,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -457,6 +458,7 @@ def __init__(__self__, pulumi.export("wwwFqdn", www.fqdn) pulumi.export("mxFqdn", mx.fqdn) ``` + ## Import @@ -466,9 +468,7 @@ def __init__(__self__, $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678 ``` - ~> - - You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` + ~> You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list ` :param str resource_name: The name of the resource. :param DnsRecordArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_digitalocean/domain.py b/sdk/python/pulumi_digitalocean/domain.py index 58d871b6..6eb2ee16 100644 --- a/sdk/python/pulumi_digitalocean/domain.py +++ b/sdk/python/pulumi_digitalocean/domain.py @@ -139,6 +139,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -148,6 +149,7 @@ def __init__(__self__, name="example.com", ip_address=digitalocean_droplet["foo"]["ipv4_address"]) ``` + ## Import @@ -174,6 +176,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -183,6 +186,7 @@ def __init__(__self__, name="example.com", ip_address=digitalocean_droplet["foo"]["ipv4_address"]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/droplet.py b/sdk/python/pulumi_digitalocean/droplet.py index 99bd4c97..ff51c3bf 100644 --- a/sdk/python/pulumi_digitalocean/droplet.py +++ b/sdk/python/pulumi_digitalocean/droplet.py @@ -871,6 +871,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -881,6 +882,7 @@ def __init__(__self__, region="nyc2", size="s-1vcpu-1gb") ``` + ## Import @@ -945,6 +947,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -955,6 +958,7 @@ def __init__(__self__, region="nyc2", size="s-1vcpu-1gb") ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/droplet_snapshot.py b/sdk/python/pulumi_digitalocean/droplet_snapshot.py index 884e82c9..f89a91d4 100644 --- a/sdk/python/pulumi_digitalocean/droplet_snapshot.py +++ b/sdk/python/pulumi_digitalocean/droplet_snapshot.py @@ -167,6 +167,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -181,6 +182,7 @@ def __init__(__self__, region="nyc3", size="s-2vcpu-4gb") ``` + ## Import @@ -206,6 +208,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -220,6 +223,7 @@ def __init__(__self__, region="nyc3", size="s-2vcpu-4gb") ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/firewall.py b/sdk/python/pulumi_digitalocean/firewall.py index 1bfa450f..9cc86efb 100644 --- a/sdk/python/pulumi_digitalocean/firewall.py +++ b/sdk/python/pulumi_digitalocean/firewall.py @@ -276,6 +276,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -345,6 +346,7 @@ def __init__(__self__, ), ]) ``` + ## Import @@ -377,6 +379,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -446,6 +449,7 @@ def __init__(__self__, ), ]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/floating_ip.py b/sdk/python/pulumi_digitalocean/floating_ip.py index 5dffc8ae..ec72ff7c 100644 --- a/sdk/python/pulumi_digitalocean/floating_ip.py +++ b/sdk/python/pulumi_digitalocean/floating_ip.py @@ -156,6 +156,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -170,6 +171,7 @@ def __init__(__self__, droplet_id=foobar_droplet.id, region=foobar_droplet.region) ``` + ## Import @@ -200,6 +202,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -214,6 +217,7 @@ def __init__(__self__, droplet_id=foobar_droplet.id, region=foobar_droplet.region) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/floating_ip_assignment.py b/sdk/python/pulumi_digitalocean/floating_ip_assignment.py index cbbef375..0d643cea 100644 --- a/sdk/python/pulumi_digitalocean/floating_ip_assignment.py +++ b/sdk/python/pulumi_digitalocean/floating_ip_assignment.py @@ -106,6 +106,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -121,12 +122,13 @@ def __init__(__self__, ip_address=foobar_floating_ip.ip_address, droplet_id=foobar_droplet.id) ``` + ## Import Floating IP assignments can be imported using the Floating IP itself and the `id` of - the Droplet joined with a comma. For example: + the Droplet joined with a comma. For example: ```sh $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456 @@ -152,6 +154,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -167,12 +170,13 @@ def __init__(__self__, ip_address=foobar_floating_ip.ip_address, droplet_id=foobar_droplet.id) ``` + ## Import Floating IP assignments can be imported using the Floating IP itself and the `id` of - the Droplet joined with a comma. For example: + the Droplet joined with a comma. For example: ```sh $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/python/pulumi_digitalocean/get_account.py b/sdk/python/pulumi_digitalocean/get_account.py index fddc0a15..83ceaad5 100644 --- a/sdk/python/pulumi_digitalocean/get_account.py +++ b/sdk/python/pulumi_digitalocean/get_account.py @@ -136,12 +136,14 @@ def get_account(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAcco Get the account: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_account() ``` + """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -167,11 +169,13 @@ def get_account_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Ou Get the account: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_account() ``` + """ ... diff --git a/sdk/python/pulumi_digitalocean/get_app.py b/sdk/python/pulumi_digitalocean/get_app.py index 53a508cb..1171db9a 100644 --- a/sdk/python/pulumi_digitalocean/get_app.py +++ b/sdk/python/pulumi_digitalocean/get_app.py @@ -159,6 +159,7 @@ def get_app(app_id: Optional[str] = None, Get the account: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -166,6 +167,7 @@ def get_app(app_id: Optional[str] = None, example = digitalocean.get_app(app_id="e665d18d-7b56-44a9-92ce-31979174d544") pulumi.export("defaultIngress", example.default_ingress) ``` + :param str app_id: The ID of the app to retrieve information about. @@ -198,6 +200,7 @@ def get_app_output(app_id: Optional[pulumi.Input[str]] = None, Get the account: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -205,6 +208,7 @@ def get_app_output(app_id: Optional[pulumi.Input[str]] = None, example = digitalocean.get_app(app_id="e665d18d-7b56-44a9-92ce-31979174d544") pulumi.export("defaultIngress", example.default_ingress) ``` + :param str app_id: The ID of the app to retrieve information about. diff --git a/sdk/python/pulumi_digitalocean/get_certificate.py b/sdk/python/pulumi_digitalocean/get_certificate.py index 8cbe34f7..73471720 100644 --- a/sdk/python/pulumi_digitalocean/get_certificate.py +++ b/sdk/python/pulumi_digitalocean/get_certificate.py @@ -139,12 +139,14 @@ def get_certificate(name: Optional[str] = None, Get the certificate: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_certificate(name="example") ``` + :param str name: The name of certificate. @@ -180,12 +182,14 @@ def get_certificate_output(name: Optional[pulumi.Input[str]] = None, Get the certificate: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_certificate(name="example") ``` + :param str name: The name of certificate. diff --git a/sdk/python/pulumi_digitalocean/get_container_registry.py b/sdk/python/pulumi_digitalocean/get_container_registry.py index 92a371e7..6a2e7127 100644 --- a/sdk/python/pulumi_digitalocean/get_container_registry.py +++ b/sdk/python/pulumi_digitalocean/get_container_registry.py @@ -139,16 +139,19 @@ def get_container_registry(name: Optional[str] = None, An error is triggered if the provided container registry name does not exist. ## Example Usage + ### Basic Example Get the container registry: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_container_registry(name="example") ``` + :param str name: The name of the container registry. @@ -181,16 +184,19 @@ def get_container_registry_output(name: Optional[pulumi.Input[str]] = None, An error is triggered if the provided container registry name does not exist. ## Example Usage + ### Basic Example Get the container registry: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_container_registry(name="example") ``` + :param str name: The name of the container registry. diff --git a/sdk/python/pulumi_digitalocean/get_database_ca.py b/sdk/python/pulumi_digitalocean/get_database_ca.py index fa2a577b..2e19d4e6 100644 --- a/sdk/python/pulumi_digitalocean/get_database_ca.py +++ b/sdk/python/pulumi_digitalocean/get_database_ca.py @@ -72,6 +72,7 @@ def get_database_ca(cluster_id: Optional[str] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -79,6 +80,7 @@ def get_database_ca(cluster_id: Optional[str] = None, ca = digitalocean.get_database_ca(cluster_id="aaa-bbb-ccc-ddd") pulumi.export("caOutput", ca.certificate) ``` + :param str cluster_id: The ID of the source database cluster. @@ -102,6 +104,7 @@ def get_database_ca_output(cluster_id: Optional[pulumi.Input[str]] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -109,6 +112,7 @@ def get_database_ca_output(cluster_id: Optional[pulumi.Input[str]] = None, ca = digitalocean.get_database_ca(cluster_id="aaa-bbb-ccc-ddd") pulumi.export("caOutput", ca.certificate) ``` + :param str cluster_id: The ID of the source database cluster. diff --git a/sdk/python/pulumi_digitalocean/get_database_cluster.py b/sdk/python/pulumi_digitalocean/get_database_cluster.py index 08e4e540..42b5ed9f 100644 --- a/sdk/python/pulumi_digitalocean/get_database_cluster.py +++ b/sdk/python/pulumi_digitalocean/get_database_cluster.py @@ -284,6 +284,7 @@ def get_database_cluster(name: Optional[str] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -291,6 +292,7 @@ def get_database_cluster(name: Optional[str] = None, example = digitalocean.get_database_cluster(name="example-cluster") pulumi.export("databaseOutput", example.uri) ``` + :param str name: The name of the database cluster. @@ -334,6 +336,7 @@ def get_database_cluster_output(name: Optional[pulumi.Input[str]] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -341,6 +344,7 @@ def get_database_cluster_output(name: Optional[pulumi.Input[str]] = None, example = digitalocean.get_database_cluster(name="example-cluster") pulumi.export("databaseOutput", example.uri) ``` + :param str name: The name of the database cluster. diff --git a/sdk/python/pulumi_digitalocean/get_database_connection_pool.py b/sdk/python/pulumi_digitalocean/get_database_connection_pool.py index 248f47cf..7ce4fda0 100644 --- a/sdk/python/pulumi_digitalocean/get_database_connection_pool.py +++ b/sdk/python/pulumi_digitalocean/get_database_connection_pool.py @@ -190,6 +190,7 @@ def get_database_connection_pool(cluster_id: Optional[str] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -199,6 +200,7 @@ def get_database_connection_pool(cluster_id: Optional[str] = None, name="pool-01") pulumi.export("connectionPoolUriOutput", read_only.uri) ``` + :param str cluster_id: The ID of the original source database cluster. @@ -235,6 +237,7 @@ def get_database_connection_pool_output(cluster_id: Optional[pulumi.Input[str]] ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -244,6 +247,7 @@ def get_database_connection_pool_output(cluster_id: Optional[pulumi.Input[str]] name="pool-01") pulumi.export("connectionPoolUriOutput", read_only.uri) ``` + :param str cluster_id: The ID of the original source database cluster. diff --git a/sdk/python/pulumi_digitalocean/get_database_replica.py b/sdk/python/pulumi_digitalocean/get_database_replica.py index 133f85a3..5b22539b 100644 --- a/sdk/python/pulumi_digitalocean/get_database_replica.py +++ b/sdk/python/pulumi_digitalocean/get_database_replica.py @@ -218,6 +218,7 @@ def get_database_replica(cluster_id: Optional[str] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -227,6 +228,7 @@ def get_database_replica(cluster_id: Optional[str] = None, name="terra-test-ro") pulumi.export("replicaOutput", read_only.uri) ``` + :param str cluster_id: The ID of the original source database cluster. @@ -269,6 +271,7 @@ def get_database_replica_output(cluster_id: Optional[pulumi.Input[str]] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -278,6 +281,7 @@ def get_database_replica_output(cluster_id: Optional[pulumi.Input[str]] = None, name="terra-test-ro") pulumi.export("replicaOutput", read_only.uri) ``` + :param str cluster_id: The ID of the original source database cluster. diff --git a/sdk/python/pulumi_digitalocean/get_database_user.py b/sdk/python/pulumi_digitalocean/get_database_user.py index 8706e643..6aed48a4 100644 --- a/sdk/python/pulumi_digitalocean/get_database_user.py +++ b/sdk/python/pulumi_digitalocean/get_database_user.py @@ -140,6 +140,7 @@ def get_database_user(cluster_id: Optional[str] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -149,6 +150,7 @@ def get_database_user(cluster_id: Optional[str] = None, name="example-user") pulumi.export("databaseUserPassword", example.password) ``` + :param str cluster_id: The ID of the database cluster. @@ -181,6 +183,7 @@ def get_database_user_output(cluster_id: Optional[pulumi.Input[str]] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -190,6 +193,7 @@ def get_database_user_output(cluster_id: Optional[pulumi.Input[str]] = None, name="example-user") pulumi.export("databaseUserPassword", example.password) ``` + :param str cluster_id: The ID of the database cluster. diff --git a/sdk/python/pulumi_digitalocean/get_domain.py b/sdk/python/pulumi_digitalocean/get_domain.py index 14dc28f5..9cca70ce 100644 --- a/sdk/python/pulumi_digitalocean/get_domain.py +++ b/sdk/python/pulumi_digitalocean/get_domain.py @@ -100,6 +100,20 @@ def get_domain(name: Optional[str] = None, An error is triggered if the provided domain name is not managed with your DigitalOcean account. + ## Example Usage + + Get the zone file for a domain: + + + ```python + import pulumi + import pulumi_digitalocean as digitalocean + + example = digitalocean.get_domain(name="example.com") + pulumi.export("domainOutput", example.zone_file) + ``` + + :param str name: The name of the domain. """ @@ -128,6 +142,20 @@ def get_domain_output(name: Optional[pulumi.Input[str]] = None, An error is triggered if the provided domain name is not managed with your DigitalOcean account. + ## Example Usage + + Get the zone file for a domain: + + + ```python + import pulumi + import pulumi_digitalocean as digitalocean + + example = digitalocean.get_domain(name="example.com") + pulumi.export("domainOutput", example.zone_file) + ``` + + :param str name: The name of the domain. """ diff --git a/sdk/python/pulumi_digitalocean/get_domains.py b/sdk/python/pulumi_digitalocean/get_domains.py index 538eddfb..39038eaa 100644 --- a/sdk/python/pulumi_digitalocean/get_domains.py +++ b/sdk/python/pulumi_digitalocean/get_domains.py @@ -94,6 +94,7 @@ def get_domains(filters: Optional[Sequence[pulumi.InputType['GetDomainsFilterArg Use the `filter` block with a `key` string and `values` list to filter domains. (This example also uses the regular expression `match_by` mode in order to match domains by suffix.) + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -104,6 +105,7 @@ def get_domains(filters: Optional[Sequence[pulumi.InputType['GetDomainsFilterArg values=["example\\\\.com$"], )]) ``` + :param Sequence[pulumi.InputType['GetDomainsFilterArgs']] filters: Filter the results. @@ -143,6 +145,7 @@ def get_domains_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.I Use the `filter` block with a `key` string and `values` list to filter domains. (This example also uses the regular expression `match_by` mode in order to match domains by suffix.) + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -153,6 +156,7 @@ def get_domains_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.I values=["example\\\\.com$"], )]) ``` + :param Sequence[pulumi.InputType['GetDomainsFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_droplet.py b/sdk/python/pulumi_digitalocean/get_droplet.py index 3664e5d9..559405f6 100644 --- a/sdk/python/pulumi_digitalocean/get_droplet.py +++ b/sdk/python/pulumi_digitalocean/get_droplet.py @@ -352,6 +352,7 @@ def get_droplet(id: Optional[int] = None, Get the Droplet by name: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -359,24 +360,29 @@ def get_droplet(id: Optional[int] = None, example = digitalocean.get_droplet(name="web") pulumi.export("dropletOutput", example.ipv4_address) ``` + Get the Droplet by tag: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_droplet(tag="web") ``` + Get the Droplet by ID: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_droplet(id=digitalocean_kubernetes_cluster["example"]["node_pool"][0]["nodes"][0]["droplet_id"]) ``` + :param int id: The ID of the Droplet @@ -437,6 +443,7 @@ def get_droplet_output(id: Optional[pulumi.Input[Optional[int]]] = None, Get the Droplet by name: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -444,24 +451,29 @@ def get_droplet_output(id: Optional[pulumi.Input[Optional[int]]] = None, example = digitalocean.get_droplet(name="web") pulumi.export("dropletOutput", example.ipv4_address) ``` + Get the Droplet by tag: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_droplet(tag="web") ``` + Get the Droplet by ID: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_droplet(id=digitalocean_kubernetes_cluster["example"]["node_pool"][0]["nodes"][0]["droplet_id"]) ``` + :param int id: The ID of the Droplet diff --git a/sdk/python/pulumi_digitalocean/get_droplet_snapshot.py b/sdk/python/pulumi_digitalocean/get_droplet_snapshot.py index 2d4729df..e692e25e 100644 --- a/sdk/python/pulumi_digitalocean/get_droplet_snapshot.py +++ b/sdk/python/pulumi_digitalocean/get_droplet_snapshot.py @@ -154,6 +154,7 @@ def get_droplet_snapshot(most_recent: Optional[bool] = None, Get the Droplet snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -162,9 +163,11 @@ def get_droplet_snapshot(most_recent: Optional[bool] = None, name_regex="^web", region="nyc3") ``` + Create image from snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -177,6 +180,7 @@ def get_droplet_snapshot(most_recent: Optional[bool] = None, region="nyc3", size="s-2vcpu-4gb") ``` + :param bool most_recent: If more than one result is returned, use the most recent Droplet snapshot. @@ -224,6 +228,7 @@ def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool Get the Droplet snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -232,9 +237,11 @@ def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool name_regex="^web", region="nyc3") ``` + Create image from snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -247,6 +254,7 @@ def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool region="nyc3", size="s-2vcpu-4gb") ``` + :param bool most_recent: If more than one result is returned, use the most recent Droplet snapshot. diff --git a/sdk/python/pulumi_digitalocean/get_droplets.py b/sdk/python/pulumi_digitalocean/get_droplets.py index 3c590374..d408fd14 100644 --- a/sdk/python/pulumi_digitalocean/get_droplets.py +++ b/sdk/python/pulumi_digitalocean/get_droplets.py @@ -95,6 +95,7 @@ def get_droplets(filters: Optional[Sequence[pulumi.InputType['GetDropletsFilterA For example to find all Droplets with size `s-1vcpu-1gb`: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -104,9 +105,11 @@ def get_droplets(filters: Optional[Sequence[pulumi.InputType['GetDropletsFilterA values=["s-1vcpu-1gb"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -126,6 +129,7 @@ def get_droplets(filters: Optional[Sequence[pulumi.InputType['GetDropletsFilterA key="created_at", )]) ``` + :param Sequence[pulumi.InputType['GetDropletsFilterArgs']] filters: Filter the results. @@ -166,6 +170,7 @@ def get_droplets_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. For example to find all Droplets with size `s-1vcpu-1gb`: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -175,9 +180,11 @@ def get_droplets_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. values=["s-1vcpu-1gb"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -197,6 +204,7 @@ def get_droplets_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. key="created_at", )]) ``` + :param Sequence[pulumi.InputType['GetDropletsFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_firewall.py b/sdk/python/pulumi_digitalocean/get_firewall.py index 52e2f993..218894a2 100644 --- a/sdk/python/pulumi_digitalocean/get_firewall.py +++ b/sdk/python/pulumi_digitalocean/get_firewall.py @@ -164,6 +164,7 @@ def get_firewall(droplet_ids: Optional[Sequence[int]] = None, Get the firewall: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -171,6 +172,7 @@ def get_firewall(droplet_ids: Optional[Sequence[int]] = None, example = digitalocean.get_firewall(firewall_id="1df48973-6eef-4214-854f-fa7726e7e583") pulumi.export("exampleFirewallName", example.name) ``` + :param Sequence[int] droplet_ids: The list of the IDs of the Droplets assigned to @@ -215,6 +217,7 @@ def get_firewall_output(droplet_ids: Optional[pulumi.Input[Optional[Sequence[int Get the firewall: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -222,6 +225,7 @@ def get_firewall_output(droplet_ids: Optional[pulumi.Input[Optional[Sequence[int example = digitalocean.get_firewall(firewall_id="1df48973-6eef-4214-854f-fa7726e7e583") pulumi.export("exampleFirewallName", example.name) ``` + :param Sequence[int] droplet_ids: The list of the IDs of the Droplets assigned to diff --git a/sdk/python/pulumi_digitalocean/get_floating_ip.py b/sdk/python/pulumi_digitalocean/get_floating_ip.py index 7279a87a..e911dd27 100644 --- a/sdk/python/pulumi_digitalocean/get_floating_ip.py +++ b/sdk/python/pulumi_digitalocean/get_floating_ip.py @@ -105,6 +105,7 @@ def get_floating_ip(ip_address: Optional[str] = None, Get the floating IP: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -114,6 +115,7 @@ def get_floating_ip(ip_address: Optional[str] = None, example = digitalocean.get_floating_ip(ip_address=public_ip) pulumi.export("fipOutput", example.droplet_id) ``` + :param str ip_address: The allocated IP address of the specific floating IP to retrieve. @@ -148,6 +150,7 @@ def get_floating_ip_output(ip_address: Optional[pulumi.Input[str]] = None, Get the floating IP: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -157,6 +160,7 @@ def get_floating_ip_output(ip_address: Optional[pulumi.Input[str]] = None, example = digitalocean.get_floating_ip(ip_address=public_ip) pulumi.export("fipOutput", example.droplet_id) ``` + :param str ip_address: The allocated IP address of the specific floating IP to retrieve. diff --git a/sdk/python/pulumi_digitalocean/get_image.py b/sdk/python/pulumi_digitalocean/get_image.py index acf86717..baa71449 100644 --- a/sdk/python/pulumi_digitalocean/get_image.py +++ b/sdk/python/pulumi_digitalocean/get_image.py @@ -237,15 +237,18 @@ def get_image(id: Optional[int] = None, Get the data about a snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean example1 = digitalocean.get_image(name="example-1.0.0") ``` + Reuse the data about a snapshot to create a Droplet: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -256,15 +259,18 @@ def get_image(id: Optional[int] = None, region="nyc2", size="s-1vcpu-1gb") ``` + Get the data about an official image: + ```python import pulumi import pulumi_digitalocean as digitalocean example2 = digitalocean.get_image(slug="ubuntu-18-04-x64") ``` + :param int id: The id of the image @@ -319,15 +325,18 @@ def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None, Get the data about a snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean example1 = digitalocean.get_image(name="example-1.0.0") ``` + Reuse the data about a snapshot to create a Droplet: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -338,15 +347,18 @@ def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None, region="nyc2", size="s-1vcpu-1gb") ``` + Get the data about an official image: + ```python import pulumi import pulumi_digitalocean as digitalocean example2 = digitalocean.get_image(slug="ubuntu-18-04-x64") ``` + :param int id: The id of the image diff --git a/sdk/python/pulumi_digitalocean/get_images.py b/sdk/python/pulumi_digitalocean/get_images.py index ff5be026..da2fe2f1 100644 --- a/sdk/python/pulumi_digitalocean/get_images.py +++ b/sdk/python/pulumi_digitalocean/get_images.py @@ -96,6 +96,7 @@ def get_images(filters: Optional[Sequence[pulumi.InputType['GetImagesFilterArgs' For example to find all Ubuntu images: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -105,9 +106,11 @@ def get_images(filters: Optional[Sequence[pulumi.InputType['GetImagesFilterArgs' values=["Ubuntu"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -127,6 +130,7 @@ def get_images(filters: Optional[Sequence[pulumi.InputType['GetImagesFilterArgs' key="created", )]) ``` + :param Sequence[pulumi.InputType['GetImagesFilterArgs']] filters: Filter the results. @@ -168,6 +172,7 @@ def get_images_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.In For example to find all Ubuntu images: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -177,9 +182,11 @@ def get_images_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.In values=["Ubuntu"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -199,6 +206,7 @@ def get_images_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.In key="created", )]) ``` + :param Sequence[pulumi.InputType['GetImagesFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_kubernetes_versions.py b/sdk/python/pulumi_digitalocean/get_kubernetes_versions.py index 6b7e04f0..19b96da2 100644 --- a/sdk/python/pulumi_digitalocean/get_kubernetes_versions.py +++ b/sdk/python/pulumi_digitalocean/get_kubernetes_versions.py @@ -83,8 +83,10 @@ def get_kubernetes_versions(version_prefix: Optional[str] = None, Provides access to the available DigitalOcean Kubernetes Service versions. ## Example Usage + ### Output a list of all available versions + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -92,8 +94,11 @@ def get_kubernetes_versions(version_prefix: Optional[str] = None, example = digitalocean.get_kubernetes_versions() pulumi.export("k8s-versions", example.valid_versions) ``` + + ### Create a Kubernetes cluster using the most recent version available + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -108,8 +113,11 @@ def get_kubernetes_versions(version_prefix: Optional[str] = None, node_count=3, )) ``` + + ### Pin a Kubernetes cluster to a specific minor version + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -124,6 +132,7 @@ def get_kubernetes_versions(version_prefix: Optional[str] = None, node_count=3, )) ``` + :param str version_prefix: If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases. @@ -147,8 +156,10 @@ def get_kubernetes_versions_output(version_prefix: Optional[pulumi.Input[Optiona Provides access to the available DigitalOcean Kubernetes Service versions. ## Example Usage + ### Output a list of all available versions + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -156,8 +167,11 @@ def get_kubernetes_versions_output(version_prefix: Optional[pulumi.Input[Optiona example = digitalocean.get_kubernetes_versions() pulumi.export("k8s-versions", example.valid_versions) ``` + + ### Create a Kubernetes cluster using the most recent version available + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -172,8 +186,11 @@ def get_kubernetes_versions_output(version_prefix: Optional[pulumi.Input[Optiona node_count=3, )) ``` + + ### Pin a Kubernetes cluster to a specific minor version + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -188,6 +205,7 @@ def get_kubernetes_versions_output(version_prefix: Optional[pulumi.Input[Optiona node_count=3, )) ``` + :param str version_prefix: If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases. diff --git a/sdk/python/pulumi_digitalocean/get_load_balancer.py b/sdk/python/pulumi_digitalocean/get_load_balancer.py index 55249655..67aa6b72 100644 --- a/sdk/python/pulumi_digitalocean/get_load_balancer.py +++ b/sdk/python/pulumi_digitalocean/get_load_balancer.py @@ -256,6 +256,7 @@ def get_load_balancer(id: Optional[str] = None, Get the load balancer by name: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -263,15 +264,18 @@ def get_load_balancer(id: Optional[str] = None, example = digitalocean.get_load_balancer(name="app") pulumi.export("lbOutput", example.ip) ``` + Get the load balancer by ID: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_load_balancer(id="loadbalancer_id") ``` + :param str id: The ID of load balancer. @@ -327,6 +331,7 @@ def get_load_balancer_output(id: Optional[pulumi.Input[Optional[str]]] = None, Get the load balancer by name: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -334,15 +339,18 @@ def get_load_balancer_output(id: Optional[pulumi.Input[Optional[str]]] = None, example = digitalocean.get_load_balancer(name="app") pulumi.export("lbOutput", example.ip) ``` + Get the load balancer by ID: + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_load_balancer(id="loadbalancer_id") ``` + :param str id: The ID of load balancer. diff --git a/sdk/python/pulumi_digitalocean/get_project.py b/sdk/python/pulumi_digitalocean/get_project.py index c2004600..2162cb69 100644 --- a/sdk/python/pulumi_digitalocean/get_project.py +++ b/sdk/python/pulumi_digitalocean/get_project.py @@ -164,6 +164,7 @@ def get_project(id: Optional[str] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -171,6 +172,7 @@ def get_project(id: Optional[str] = None, default = digitalocean.get_project() staging = digitalocean.get_project(name="My Staging Project") ``` + :param str id: the ID of the project to retrieve @@ -207,6 +209,7 @@ def get_project_output(id: Optional[pulumi.Input[Optional[str]]] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -214,6 +217,7 @@ def get_project_output(id: Optional[pulumi.Input[Optional[str]]] = None, default = digitalocean.get_project() staging = digitalocean.get_project(name="My Staging Project") ``` + :param str id: the ID of the project to retrieve diff --git a/sdk/python/pulumi_digitalocean/get_projects.py b/sdk/python/pulumi_digitalocean/get_projects.py index 6b799d80..df91caa8 100644 --- a/sdk/python/pulumi_digitalocean/get_projects.py +++ b/sdk/python/pulumi_digitalocean/get_projects.py @@ -95,6 +95,7 @@ def get_projects(filters: Optional[Sequence[pulumi.InputType['GetProjectsFilterA For example to find all staging environment projects: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -104,9 +105,11 @@ def get_projects(filters: Optional[Sequence[pulumi.InputType['GetProjectsFilterA values=["Staging"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -126,6 +129,7 @@ def get_projects(filters: Optional[Sequence[pulumi.InputType['GetProjectsFilterA key="name", )]) ``` + :param Sequence[pulumi.InputType['GetProjectsFilterArgs']] filters: Filter the results. @@ -165,6 +169,7 @@ def get_projects_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. For example to find all staging environment projects: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -174,9 +179,11 @@ def get_projects_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. values=["Staging"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -196,6 +203,7 @@ def get_projects_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. key="name", )]) ``` + :param Sequence[pulumi.InputType['GetProjectsFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_record.py b/sdk/python/pulumi_digitalocean/get_record.py index 63f979d9..1da6aad3 100644 --- a/sdk/python/pulumi_digitalocean/get_record.py +++ b/sdk/python/pulumi_digitalocean/get_record.py @@ -169,6 +169,22 @@ def get_record(domain: Optional[str] = None, An error is triggered if the provided domain name or record are not managed with your DigitalOcean account. + ## Example Usage + + Get data from a DNS record: + + + ```python + import pulumi + import pulumi_digitalocean as digitalocean + + example = digitalocean.get_record(domain="example.com", + name="test") + pulumi.export("recordType", example.type) + pulumi.export("recordTtl", example.ttl) + ``` + + :param str domain: The domain name of the record. :param str name: The name of the record. @@ -205,6 +221,22 @@ def get_record_output(domain: Optional[pulumi.Input[str]] = None, An error is triggered if the provided domain name or record are not managed with your DigitalOcean account. + ## Example Usage + + Get data from a DNS record: + + + ```python + import pulumi + import pulumi_digitalocean as digitalocean + + example = digitalocean.get_record(domain="example.com", + name="test") + pulumi.export("recordType", example.type) + pulumi.export("recordTtl", example.ttl) + ``` + + :param str domain: The domain name of the record. :param str name: The name of the record. diff --git a/sdk/python/pulumi_digitalocean/get_region.py b/sdk/python/pulumi_digitalocean/get_region.py index c0153ede..dd8c500a 100644 --- a/sdk/python/pulumi_digitalocean/get_region.py +++ b/sdk/python/pulumi_digitalocean/get_region.py @@ -112,6 +112,7 @@ def get_region(slug: Optional[str] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -119,6 +120,7 @@ def get_region(slug: Optional[str] = None, sfo2 = digitalocean.get_region(slug="sfo2") pulumi.export("regionName", sfo2.name) ``` + :param str slug: A human-readable string that is used as a unique identifier for each region. @@ -146,6 +148,7 @@ def get_region_output(slug: Optional[pulumi.Input[str]] = None, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -153,6 +156,7 @@ def get_region_output(slug: Optional[pulumi.Input[str]] = None, sfo2 = digitalocean.get_region(slug="sfo2") pulumi.export("regionName", sfo2.name) ``` + :param str slug: A human-readable string that is used as a unique identifier for each region. diff --git a/sdk/python/pulumi_digitalocean/get_regions.py b/sdk/python/pulumi_digitalocean/get_regions.py index eb0a544c..163a2c4f 100644 --- a/sdk/python/pulumi_digitalocean/get_regions.py +++ b/sdk/python/pulumi_digitalocean/get_regions.py @@ -92,6 +92,7 @@ def get_regions(filters: Optional[Sequence[pulumi.InputType['GetRegionsFilterArg For example to find all available regions: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -101,9 +102,11 @@ def get_regions(filters: Optional[Sequence[pulumi.InputType['GetRegionsFilterArg values=["true"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -123,6 +126,7 @@ def get_regions(filters: Optional[Sequence[pulumi.InputType['GetRegionsFilterArg key="name", )]) ``` + :param Sequence[pulumi.InputType['GetRegionsFilterArgs']] filters: Filter the results. @@ -160,6 +164,7 @@ def get_regions_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.I For example to find all available regions: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -169,9 +174,11 @@ def get_regions_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.I values=["true"], )]) ``` + You can filter on multiple fields and sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -191,6 +198,7 @@ def get_regions_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.I key="name", )]) ``` + :param Sequence[pulumi.InputType['GetRegionsFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_reserved_ip.py b/sdk/python/pulumi_digitalocean/get_reserved_ip.py index d13b55d1..c057bb87 100644 --- a/sdk/python/pulumi_digitalocean/get_reserved_ip.py +++ b/sdk/python/pulumi_digitalocean/get_reserved_ip.py @@ -96,6 +96,7 @@ def get_reserved_ip(ip_address: Optional[str] = None, Get the reserved IP: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -105,6 +106,7 @@ def get_reserved_ip(ip_address: Optional[str] = None, example = digitalocean.get_reserved_ip(ip_address=public_ip) pulumi.export("fipOutput", example.droplet_id) ``` + :param str ip_address: The allocated IP address of the specific reserved IP to retrieve. @@ -130,6 +132,7 @@ def get_reserved_ip_output(ip_address: Optional[pulumi.Input[str]] = None, Get the reserved IP: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -139,6 +142,7 @@ def get_reserved_ip_output(ip_address: Optional[pulumi.Input[str]] = None, example = digitalocean.get_reserved_ip(ip_address=public_ip) pulumi.export("fipOutput", example.droplet_id) ``` + :param str ip_address: The allocated IP address of the specific reserved IP to retrieve. diff --git a/sdk/python/pulumi_digitalocean/get_spaces_bucket.py b/sdk/python/pulumi_digitalocean/get_spaces_bucket.py index e75530cf..e7e34152 100644 --- a/sdk/python/pulumi_digitalocean/get_spaces_bucket.py +++ b/sdk/python/pulumi_digitalocean/get_spaces_bucket.py @@ -115,6 +115,7 @@ def get_spaces_bucket(name: Optional[str] = None, Get the bucket by name: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -123,6 +124,7 @@ def get_spaces_bucket(name: Optional[str] = None, region="nyc3") pulumi.export("bucketDomainName", example.bucket_domain_name) ``` + :param str name: The name of the Spaces bucket. @@ -155,6 +157,7 @@ def get_spaces_bucket_output(name: Optional[pulumi.Input[str]] = None, Get the bucket by name: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -163,6 +166,7 @@ def get_spaces_bucket_output(name: Optional[pulumi.Input[str]] = None, region="nyc3") pulumi.export("bucketDomainName", example.bucket_domain_name) ``` + :param str name: The name of the Spaces bucket. diff --git a/sdk/python/pulumi_digitalocean/get_spaces_bucket_object.py b/sdk/python/pulumi_digitalocean/get_spaces_bucket_object.py index f516836e..89c198c9 100644 --- a/sdk/python/pulumi_digitalocean/get_spaces_bucket_object.py +++ b/sdk/python/pulumi_digitalocean/get_spaces_bucket_object.py @@ -267,6 +267,7 @@ def get_spaces_bucket_object(bucket: Optional[str] = None, The following example retrieves a text object (which must have a `Content-Type` value starting with `text/`) and uses it as the `user_data` for a Droplet: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -280,6 +281,7 @@ def get_spaces_bucket_object(bucket: Optional[str] = None, size="s-1vcpu-1gb", user_data=bootstrap_script.body) ``` + :param str bucket: The name of the bucket to read the object from. @@ -338,6 +340,7 @@ def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[str]] = None, The following example retrieves a text object (which must have a `Content-Type` value starting with `text/`) and uses it as the `user_data` for a Droplet: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -351,6 +354,7 @@ def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[str]] = None, size="s-1vcpu-1gb", user_data=bootstrap_script.body) ``` + :param str bucket: The name of the bucket to read the object from. diff --git a/sdk/python/pulumi_digitalocean/get_spaces_buckets.py b/sdk/python/pulumi_digitalocean/get_spaces_buckets.py index 8172aab4..b88b8ab5 100644 --- a/sdk/python/pulumi_digitalocean/get_spaces_buckets.py +++ b/sdk/python/pulumi_digitalocean/get_spaces_buckets.py @@ -92,6 +92,7 @@ def get_spaces_buckets(filters: Optional[Sequence[pulumi.InputType['GetSpacesBuc Get all buckets in a region: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -101,8 +102,10 @@ def get_spaces_buckets(filters: Optional[Sequence[pulumi.InputType['GetSpacesBuc values=["nyc3"], )]) ``` + You can sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -116,6 +119,7 @@ def get_spaces_buckets(filters: Optional[Sequence[pulumi.InputType['GetSpacesBuc key="name", )]) ``` + :param Sequence[pulumi.InputType['GetSpacesBucketsFilterArgs']] filters: Filter the results. @@ -153,6 +157,7 @@ def get_spaces_buckets_output(filters: Optional[pulumi.Input[Optional[Sequence[p Get all buckets in a region: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -162,8 +167,10 @@ def get_spaces_buckets_output(filters: Optional[pulumi.Input[Optional[Sequence[p values=["nyc3"], )]) ``` + You can sort the results as well: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -177,6 +184,7 @@ def get_spaces_buckets_output(filters: Optional[pulumi.Input[Optional[Sequence[p key="name", )]) ``` + :param Sequence[pulumi.InputType['GetSpacesBucketsFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_ssh_key.py b/sdk/python/pulumi_digitalocean/get_ssh_key.py index 67af05df..4118aa26 100644 --- a/sdk/python/pulumi_digitalocean/get_ssh_key.py +++ b/sdk/python/pulumi_digitalocean/get_ssh_key.py @@ -91,6 +91,7 @@ def get_ssh_key(name: Optional[str] = None, Get the ssh key: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -102,6 +103,7 @@ def get_ssh_key(name: Optional[str] = None, size="s-1vcpu-1gb", ssh_keys=[example_ssh_key.id]) ``` + :param str name: The name of the ssh key. @@ -133,6 +135,7 @@ def get_ssh_key_output(name: Optional[pulumi.Input[str]] = None, Get the ssh key: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -144,6 +147,7 @@ def get_ssh_key_output(name: Optional[pulumi.Input[str]] = None, size="s-1vcpu-1gb", ssh_keys=[example_ssh_key.id]) ``` + :param str name: The name of the ssh key. diff --git a/sdk/python/pulumi_digitalocean/get_ssh_keys.py b/sdk/python/pulumi_digitalocean/get_ssh_keys.py index 101254c5..16051247 100644 --- a/sdk/python/pulumi_digitalocean/get_ssh_keys.py +++ b/sdk/python/pulumi_digitalocean/get_ssh_keys.py @@ -92,6 +92,7 @@ def get_ssh_keys(filters: Optional[Sequence[pulumi.InputType['GetSshKeysFilterAr For example, to find all SSH keys: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -101,9 +102,11 @@ def get_ssh_keys(filters: Optional[Sequence[pulumi.InputType['GetSshKeysFilterAr key="name", )]) ``` + Or to find ones matching specific values: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -116,6 +119,7 @@ def get_ssh_keys(filters: Optional[Sequence[pulumi.InputType['GetSshKeysFilterAr ], )]) ``` + :param Sequence[pulumi.InputType['GetSshKeysFilterArgs']] filters: Filter the results. @@ -153,6 +157,7 @@ def get_ssh_keys_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. For example, to find all SSH keys: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -162,9 +167,11 @@ def get_ssh_keys_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. key="name", )]) ``` + Or to find ones matching specific values: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -177,6 +184,7 @@ def get_ssh_keys_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi. ], )]) ``` + :param Sequence[pulumi.InputType['GetSshKeysFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_tag.py b/sdk/python/pulumi_digitalocean/get_tag.py index d23cdb68..44a714a3 100644 --- a/sdk/python/pulumi_digitalocean/get_tag.py +++ b/sdk/python/pulumi_digitalocean/get_tag.py @@ -138,6 +138,7 @@ def get_tag(name: Optional[str] = None, Get the tag: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -149,6 +150,7 @@ def get_tag(name: Optional[str] = None, size="s-1vcpu-1gb", tags=[example_tag.name]) ``` + :param str name: The name of the tag. @@ -183,6 +185,7 @@ def get_tag_output(name: Optional[pulumi.Input[str]] = None, Get the tag: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -194,6 +197,7 @@ def get_tag_output(name: Optional[pulumi.Input[str]] = None, size="s-1vcpu-1gb", tags=[example_tag.name]) ``` + :param str name: The name of the tag. diff --git a/sdk/python/pulumi_digitalocean/get_tags.py b/sdk/python/pulumi_digitalocean/get_tags.py index 2db2f275..756cb2ce 100644 --- a/sdk/python/pulumi_digitalocean/get_tags.py +++ b/sdk/python/pulumi_digitalocean/get_tags.py @@ -83,6 +83,7 @@ def get_tags(filters: Optional[Sequence[pulumi.InputType['GetTagsFilterArgs']]] ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -93,6 +94,7 @@ def get_tags(filters: Optional[Sequence[pulumi.InputType['GetTagsFilterArgs']]] )]) pulumi.export("sortedTags", list.tags) ``` + :param Sequence[pulumi.InputType['GetTagsFilterArgs']] filters: Filter the results. @@ -124,6 +126,7 @@ def get_tags_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.Inpu ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -134,6 +137,7 @@ def get_tags_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.Inpu )]) pulumi.export("sortedTags", list.tags) ``` + :param Sequence[pulumi.InputType['GetTagsFilterArgs']] filters: Filter the results. diff --git a/sdk/python/pulumi_digitalocean/get_volume.py b/sdk/python/pulumi_digitalocean/get_volume.py index 823309a1..73f3503e 100644 --- a/sdk/python/pulumi_digitalocean/get_volume.py +++ b/sdk/python/pulumi_digitalocean/get_volume.py @@ -162,6 +162,7 @@ def get_volume(description: Optional[str] = None, Get the volume: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -169,9 +170,11 @@ def get_volume(description: Optional[str] = None, example = digitalocean.get_volume(name="app-data", region="nyc3") ``` + Reuse the data about a volume to attach it to a Droplet: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -186,6 +189,7 @@ def get_volume(description: Optional[str] = None, droplet_id=example_droplet.id, volume_id=example_volume.id) ``` + :param str description: Text describing a block storage volume. @@ -229,6 +233,7 @@ def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None, Get the volume: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -236,9 +241,11 @@ def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None, example = digitalocean.get_volume(name="app-data", region="nyc3") ``` + Reuse the data about a volume to attach it to a Droplet: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -253,6 +260,7 @@ def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None, droplet_id=example_droplet.id, volume_id=example_volume.id) ``` + :param str description: Text describing a block storage volume. diff --git a/sdk/python/pulumi_digitalocean/get_volume_snapshot.py b/sdk/python/pulumi_digitalocean/get_volume_snapshot.py index 57dddeef..b98732fd 100644 --- a/sdk/python/pulumi_digitalocean/get_volume_snapshot.py +++ b/sdk/python/pulumi_digitalocean/get_volume_snapshot.py @@ -166,6 +166,7 @@ def get_volume_snapshot(most_recent: Optional[bool] = None, Get the volume snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -174,9 +175,11 @@ def get_volume_snapshot(most_recent: Optional[bool] = None, name_regex="^web", region="nyc3") ``` + Reuse the data about a volume snapshot to create a new volume based on it: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -189,6 +192,7 @@ def get_volume_snapshot(most_recent: Optional[bool] = None, size=100, snapshot_id=snapshot.id) ``` + :param bool most_recent: If more than one result is returned, use the most recent volume snapshot. @@ -237,6 +241,7 @@ def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool] Get the volume snapshot: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -245,9 +250,11 @@ def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool] name_regex="^web", region="nyc3") ``` + Reuse the data about a volume snapshot to create a new volume based on it: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -260,6 +267,7 @@ def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool] size=100, snapshot_id=snapshot.id) ``` + :param bool most_recent: If more than one result is returned, use the most recent volume snapshot. diff --git a/sdk/python/pulumi_digitalocean/get_vpc.py b/sdk/python/pulumi_digitalocean/get_vpc.py index 06a08364..20cc60a8 100644 --- a/sdk/python/pulumi_digitalocean/get_vpc.py +++ b/sdk/python/pulumi_digitalocean/get_vpc.py @@ -143,17 +143,21 @@ def get_vpc(id: Optional[str] = None, return that that region's default VPC. ## Example Usage + ### VPC By Name + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_vpc(name="example-network") ``` + Reuse the data about a VPC to assign a Droplet to it: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -165,6 +169,7 @@ def get_vpc(id: Optional[str] = None, region="nyc3", vpc_uuid=example_vpc.id) ``` + :param str id: The unique identifier of an existing VPC. @@ -205,17 +210,21 @@ def get_vpc_output(id: Optional[pulumi.Input[Optional[str]]] = None, return that that region's default VPC. ## Example Usage + ### VPC By Name + ```python import pulumi import pulumi_digitalocean as digitalocean example = digitalocean.get_vpc(name="example-network") ``` + Reuse the data about a VPC to assign a Droplet to it: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -227,6 +236,7 @@ def get_vpc_output(id: Optional[pulumi.Input[Optional[str]]] = None, region="nyc3", vpc_uuid=example_vpc.id) ``` + :param str id: The unique identifier of an existing VPC. diff --git a/sdk/python/pulumi_digitalocean/kubernetes_cluster.py b/sdk/python/pulumi_digitalocean/kubernetes_cluster.py index b007063e..c062f781 100644 --- a/sdk/python/pulumi_digitalocean/kubernetes_cluster.py +++ b/sdk/python/pulumi_digitalocean/kubernetes_cluster.py @@ -582,23 +582,23 @@ def __init__(__self__, Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with - the `terraform:default-node-pool` tag. The provider will automatically add this tag if + the `terraform:default-node-pool` tag. The provider will automatically add this tag if - the cluster only has a single node pool. Clusters with more than one node pool, however, will require + the cluster only has a single node pool. Clusters with more than one node pool, however, will require - that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be + that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be - the default node pool. + the default node pool. - Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. + Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. ```sh $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af ``` - Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` + Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` - resources, e.g. + resources, e.g. ```sh $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8 @@ -632,23 +632,23 @@ def __init__(__self__, Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with - the `terraform:default-node-pool` tag. The provider will automatically add this tag if + the `terraform:default-node-pool` tag. The provider will automatically add this tag if - the cluster only has a single node pool. Clusters with more than one node pool, however, will require + the cluster only has a single node pool. Clusters with more than one node pool, however, will require - that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be + that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be - the default node pool. + the default node pool. - Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. + Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g. ```sh $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af ``` - Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` + Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` - resources, e.g. + resources, e.g. ```sh $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8 diff --git a/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py b/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py index 60c0e91b..6ecc20fd 100644 --- a/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py +++ b/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py @@ -408,8 +408,10 @@ def __init__(__self__, Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `KubernetesCluster` resource, this resource can be used to add additional ones to a cluster. ## Example Usage + ### Basic Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -437,11 +439,14 @@ def __init__(__self__, effect="NoSchedule", )]) ``` + + ### Autoscaling Example Node pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/). For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -453,24 +458,25 @@ def __init__(__self__, min_nodes=1, max_nodes=5) ``` + ## Import If you are importing an existing Kubernetes cluster with a single node pool, just - import the cluster. Additional node pools can be imported by using their `id`, e.g. + import the cluster. Additional node pools can be imported by using their `id`, e.g. ```sh $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8 ``` - Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an + Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an - existing cluster. The provider will refuse to import the node pool in that case because the node pool + existing cluster. The provider will refuse to import the node pool in that case because the node pool - is managed by the `digitalocean_kubernetes_cluster` resource and not by this + is managed by the `digitalocean_kubernetes_cluster` resource and not by this - `digitalocean_kubernetes_node_pool` resource. + `digitalocean_kubernetes_node_pool` resource. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -497,8 +503,10 @@ def __init__(__self__, Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `KubernetesCluster` resource, this resource can be used to add additional ones to a cluster. ## Example Usage + ### Basic Example + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -526,11 +534,14 @@ def __init__(__self__, effect="NoSchedule", )]) ``` + + ### Autoscaling Example Node pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/). For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -542,24 +553,25 @@ def __init__(__self__, min_nodes=1, max_nodes=5) ``` + ## Import If you are importing an existing Kubernetes cluster with a single node pool, just - import the cluster. Additional node pools can be imported by using their `id`, e.g. + import the cluster. Additional node pools can be imported by using their `id`, e.g. ```sh $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8 ``` - Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an + Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an - existing cluster. The provider will refuse to import the node pool in that case because the node pool + existing cluster. The provider will refuse to import the node pool in that case because the node pool - is managed by the `digitalocean_kubernetes_cluster` resource and not by this + is managed by the `digitalocean_kubernetes_cluster` resource and not by this - `digitalocean_kubernetes_node_pool` resource. + `digitalocean_kubernetes_node_pool` resource. :param str resource_name: The name of the resource. :param KubernetesNodePoolArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_digitalocean/load_balancer.py b/sdk/python/pulumi_digitalocean/load_balancer.py index 58fc2e8a..235e8b68 100644 --- a/sdk/python/pulumi_digitalocean/load_balancer.py +++ b/sdk/python/pulumi_digitalocean/load_balancer.py @@ -748,6 +748,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -770,6 +771,7 @@ def __init__(__self__, ), droplet_ids=[web.id]) ``` + When managing certificates attached to the load balancer, make sure to add the `create_before_destroy` lifecycle property in order to ensure the certificate is correctly updated when changed. The order of @@ -777,6 +779,7 @@ def __init__(__self__, `Delete old certificate`. When doing so, you must also change the name of the certificate, as there cannot be multiple certificates with the same name in an account. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -803,6 +806,7 @@ def __init__(__self__, ), droplet_ids=[web.id]) ``` + ## Import @@ -855,6 +859,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -877,6 +882,7 @@ def __init__(__self__, ), droplet_ids=[web.id]) ``` + When managing certificates attached to the load balancer, make sure to add the `create_before_destroy` lifecycle property in order to ensure the certificate is correctly updated when changed. The order of @@ -884,6 +890,7 @@ def __init__(__self__, `Delete old certificate`. When doing so, you must also change the name of the certificate, as there cannot be multiple certificates with the same name in an account. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -910,6 +917,7 @@ def __init__(__self__, ), droplet_ids=[web.id]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/monitor_alert.py b/sdk/python/pulumi_digitalocean/monitor_alert.py index b5334071..8444ccb2 100644 --- a/sdk/python/pulumi_digitalocean/monitor_alert.py +++ b/sdk/python/pulumi_digitalocean/monitor_alert.py @@ -47,7 +47,7 @@ def __init__(__self__, *, `v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`, `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or `v1/dbaas/alerts/disk_utilization_alerts`. - :param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + :param pulumi.Input[float] value: The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel. :param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. :param pulumi.Input[bool] enabled: The status of the alert. @@ -135,7 +135,7 @@ def type(self, value: pulumi.Input[str]): @pulumi.getter def value(self) -> pulumi.Input[float]: """ - The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel. """ return pulumi.get(self, "value") @@ -232,7 +232,7 @@ def __init__(__self__, *, `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or `v1/dbaas/alerts/disk_utilization_alerts`. :param pulumi.Input[str] uuid: The uuid of the alert. - :param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + :param pulumi.Input[float] value: The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel. :param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. """ @@ -373,7 +373,7 @@ def uuid(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def value(self) -> Optional[pulumi.Input[float]]: """ - The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel. """ return pulumi.get(self, "value") @@ -451,7 +451,7 @@ def __init__(__self__, `v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`, `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or `v1/dbaas/alerts/disk_utilization_alerts`. - :param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + :param pulumi.Input[float] value: The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel. :param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. """ @@ -583,7 +583,7 @@ def get(resource_name: str, `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or `v1/dbaas/alerts/disk_utilization_alerts`. :param pulumi.Input[str] uuid: The uuid of the alert. - :param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + :param pulumi.Input[float] value: The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel. :param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`. """ @@ -687,7 +687,7 @@ def uuid(self) -> pulumi.Output[str]: @pulumi.getter def value(self) -> pulumi.Output[float]: """ - The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. + The value to start alerting at, e.g., 90%!o(MISSING)r 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel. """ return pulumi.get(self, "value") diff --git a/sdk/python/pulumi_digitalocean/project.py b/sdk/python/pulumi_digitalocean/project.py index 21f83d39..e1b44d47 100644 --- a/sdk/python/pulumi_digitalocean/project.py +++ b/sdk/python/pulumi_digitalocean/project.py @@ -319,6 +319,7 @@ def __init__(__self__, The following example demonstrates the creation of an empty project: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -328,9 +329,11 @@ def __init__(__self__, environment="Development", purpose="Web Application") ``` + The following example demonstrates the creation of a project with a Droplet resource: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -345,6 +348,7 @@ def __init__(__self__, environment="Development", resources=[foobar.droplet_urn]) ``` + ## Import @@ -393,6 +397,7 @@ def __init__(__self__, The following example demonstrates the creation of an empty project: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -402,9 +407,11 @@ def __init__(__self__, environment="Development", purpose="Web Application") ``` + The following example demonstrates the creation of a project with a Droplet resource: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -419,6 +426,7 @@ def __init__(__self__, environment="Development", resources=[foobar.droplet_urn]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/project_resources.py b/sdk/python/pulumi_digitalocean/project_resources.py index ed5f7a39..b79d08a5 100644 --- a/sdk/python/pulumi_digitalocean/project_resources.py +++ b/sdk/python/pulumi_digitalocean/project_resources.py @@ -116,6 +116,7 @@ def __init__(__self__, The following example assigns a droplet to a Project managed outside of the provider: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -129,6 +130,7 @@ def __init__(__self__, project=playground.id, resources=[foobar.droplet_urn]) ``` + ## Import @@ -164,6 +166,7 @@ def __init__(__self__, The following example assigns a droplet to a Project managed outside of the provider: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -177,6 +180,7 @@ def __init__(__self__, project=playground.id, resources=[foobar.droplet_urn]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/reserved_ip.py b/sdk/python/pulumi_digitalocean/reserved_ip.py index 9b2d1174..fcf6f9ad 100644 --- a/sdk/python/pulumi_digitalocean/reserved_ip.py +++ b/sdk/python/pulumi_digitalocean/reserved_ip.py @@ -154,6 +154,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -168,6 +169,7 @@ def __init__(__self__, droplet_id=example_droplet.id, region=example_droplet.region) ``` + ## Import @@ -196,6 +198,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -210,6 +213,7 @@ def __init__(__self__, droplet_id=example_droplet.id, region=example_droplet.region) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/reserved_ip_assignment.py b/sdk/python/pulumi_digitalocean/reserved_ip_assignment.py index 9b786fc9..9437285e 100644 --- a/sdk/python/pulumi_digitalocean/reserved_ip_assignment.py +++ b/sdk/python/pulumi_digitalocean/reserved_ip_assignment.py @@ -104,6 +104,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -119,12 +120,13 @@ def __init__(__self__, ip_address=example_reserved_ip.ip_address, droplet_id=example_droplet.id) ``` + ## Import Reserved IP assignments can be imported using the reserved IP itself and the `id` of - the Droplet joined with a comma. For example: + the Droplet joined with a comma. For example: ```sh $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456 @@ -148,6 +150,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -163,12 +166,13 @@ def __init__(__self__, ip_address=example_reserved_ip.ip_address, droplet_id=example_droplet.id) ``` + ## Import Reserved IP assignments can be imported using the reserved IP itself and the `id` of - the Droplet joined with a comma. For example: + the Droplet joined with a comma. For example: ```sh $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456 diff --git a/sdk/python/pulumi_digitalocean/spaces_bucket.py b/sdk/python/pulumi_digitalocean/spaces_bucket.py index b545b7ab..99e25a6f 100644 --- a/sdk/python/pulumi_digitalocean/spaces_bucket.py +++ b/sdk/python/pulumi_digitalocean/spaces_bucket.py @@ -342,6 +342,7 @@ def __init__(__self__, access ID and secret you generate via the DigitalOcean control panel. For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -349,20 +350,26 @@ def __init__(__self__, static_assets = digitalocean.SpacesBucket("static-assets") # ... ``` + For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) ## Example Usage + ### Create a New Bucket + ```python import pulumi import pulumi_digitalocean as digitalocean foobar = digitalocean.SpacesBucket("foobar", region="nyc3") ``` + + ### Create a New Bucket With CORS Rules + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -388,6 +395,7 @@ def __init__(__self__, ], region="nyc3") ``` + ## Import @@ -428,6 +436,7 @@ def __init__(__self__, access ID and secret you generate via the DigitalOcean control panel. For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -435,20 +444,26 @@ def __init__(__self__, static_assets = digitalocean.SpacesBucket("static-assets") # ... ``` + For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) ## Example Usage + ### Create a New Bucket + ```python import pulumi import pulumi_digitalocean as digitalocean foobar = digitalocean.SpacesBucket("foobar", region="nyc3") ``` + + ### Create a New Bucket With CORS Rules + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -474,6 +489,7 @@ def __init__(__self__, ], region="nyc3") ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/spaces_bucket_cors_configuration.py b/sdk/python/pulumi_digitalocean/spaces_bucket_cors_configuration.py index b9a8d1ab..6aed0d71 100644 --- a/sdk/python/pulumi_digitalocean/spaces_bucket_cors_configuration.py +++ b/sdk/python/pulumi_digitalocean/spaces_bucket_cors_configuration.py @@ -133,8 +133,10 @@ def __init__(__self__, __props__=None): """ ## Example Usage + ### Create a Key in a Spaces Bucket + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -154,6 +156,7 @@ def __init__(__self__, max_age_seconds=3000, )]) ``` + ## Import @@ -177,8 +180,10 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ ## Example Usage + ### Create a Key in a Spaces Bucket + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -198,6 +203,7 @@ def __init__(__self__, max_age_seconds=3000, )]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/spaces_bucket_object.py b/sdk/python/pulumi_digitalocean/spaces_bucket_object.py index 610326cb..b4a6d185 100644 --- a/sdk/python/pulumi_digitalocean/spaces_bucket_object.py +++ b/sdk/python/pulumi_digitalocean/spaces_bucket_object.py @@ -611,6 +611,7 @@ def __init__(__self__, access ID and secret you generate via the DigitalOcean control panel. For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -618,12 +619,15 @@ def __init__(__self__, static_assets = digitalocean.SpacesBucket("static-assets") # ... ``` + For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) ## Example Usage + ### Create a Key in a Spaces Bucket + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -636,6 +640,7 @@ def __init__(__self__, content="

This page is empty.

", content_type="text/html") ``` + ## Import @@ -688,6 +693,7 @@ def __init__(__self__, access ID and secret you generate via the DigitalOcean control panel. For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -695,12 +701,15 @@ def __init__(__self__, static_assets = digitalocean.SpacesBucket("static-assets") # ... ``` + For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces) ## Example Usage + ### Create a Key in a Spaces Bucket + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -713,6 +722,7 @@ def __init__(__self__, content="

This page is empty.

", content_type="text/html") ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/spaces_bucket_policy.py b/sdk/python/pulumi_digitalocean/spaces_bucket_policy.py index bf250992..f9298f5c 100644 --- a/sdk/python/pulumi_digitalocean/spaces_bucket_policy.py +++ b/sdk/python/pulumi_digitalocean/spaces_bucket_policy.py @@ -131,8 +131,10 @@ def __init__(__self__, __props__=None): """ ## Example Usage + ### Limiting access to specific IP addresses + ```python import pulumi import json @@ -161,6 +163,7 @@ def __init__(__self__, }], })) ``` + !> **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket. @@ -186,8 +189,10 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None): """ ## Example Usage + ### Limiting access to specific IP addresses + ```python import pulumi import json @@ -216,6 +221,7 @@ def __init__(__self__, }], })) ``` + !> **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket. diff --git a/sdk/python/pulumi_digitalocean/ssh_key.py b/sdk/python/pulumi_digitalocean/ssh_key.py index 90d83509..2589efec 100644 --- a/sdk/python/pulumi_digitalocean/ssh_key.py +++ b/sdk/python/pulumi_digitalocean/ssh_key.py @@ -126,6 +126,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -139,6 +140,7 @@ def __init__(__self__, size="s-1vcpu-1gb", ssh_keys=[default.fingerprint]) ``` + ## Import @@ -168,6 +170,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -181,6 +184,7 @@ def __init__(__self__, size="s-1vcpu-1gb", ssh_keys=[default.fingerprint]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/tag.py b/sdk/python/pulumi_digitalocean/tag.py index 071c4eae..ce6897eb 100644 --- a/sdk/python/pulumi_digitalocean/tag.py +++ b/sdk/python/pulumi_digitalocean/tag.py @@ -170,6 +170,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -183,6 +184,7 @@ def __init__(__self__, size="s-1vcpu-1gb", tags=[foobar.id]) ``` + ## Import @@ -210,6 +212,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -223,6 +226,7 @@ def __init__(__self__, size="s-1vcpu-1gb", tags=[foobar.id]) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/volume.py b/sdk/python/pulumi_digitalocean/volume.py index 543d5776..0033b370 100644 --- a/sdk/python/pulumi_digitalocean/volume.py +++ b/sdk/python/pulumi_digitalocean/volume.py @@ -394,6 +394,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -411,9 +412,11 @@ def __init__(__self__, droplet_id=foobar_droplet.id, volume_id=foobar_volume.id) ``` + You can also create a volume from an existing snapshot. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -424,6 +427,7 @@ def __init__(__self__, size=foobar_volume_snapshot.min_disk_size, snapshot_id=foobar_volume_snapshot.id) ``` + ## Import @@ -456,6 +460,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -473,9 +478,11 @@ def __init__(__self__, droplet_id=foobar_droplet.id, volume_id=foobar_volume.id) ``` + You can also create a volume from an existing snapshot. + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -486,6 +493,7 @@ def __init__(__self__, size=foobar_volume_snapshot.min_disk_size, snapshot_id=foobar_volume_snapshot.id) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/volume_attachment.py b/sdk/python/pulumi_digitalocean/volume_attachment.py index 2bda7653..be9e5bd7 100644 --- a/sdk/python/pulumi_digitalocean/volume_attachment.py +++ b/sdk/python/pulumi_digitalocean/volume_attachment.py @@ -104,6 +104,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -121,6 +122,7 @@ def __init__(__self__, droplet_id=foobar_droplet.id, volume_id=foobar_volume.id) ``` + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -140,6 +142,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -157,6 +160,7 @@ def __init__(__self__, droplet_id=foobar_droplet.id, volume_id=foobar_volume.id) ``` + :param str resource_name: The name of the resource. :param VolumeAttachmentArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_digitalocean/volume_snapshot.py b/sdk/python/pulumi_digitalocean/volume_snapshot.py index e297ed14..b40ef2c3 100644 --- a/sdk/python/pulumi_digitalocean/volume_snapshot.py +++ b/sdk/python/pulumi_digitalocean/volume_snapshot.py @@ -200,6 +200,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -210,6 +211,7 @@ def __init__(__self__, description="an example volume") foobar_volume_snapshot = digitalocean.VolumeSnapshot("foobarVolumeSnapshot", volume_id=foobar_volume.id) ``` + ## Import @@ -236,6 +238,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -246,6 +249,7 @@ def __init__(__self__, description="an example volume") foobar_volume_snapshot = digitalocean.VolumeSnapshot("foobarVolumeSnapshot", volume_id=foobar_volume.id) ``` + ## Import diff --git a/sdk/python/pulumi_digitalocean/vpc.py b/sdk/python/pulumi_digitalocean/vpc.py index e28da794..524df92d 100644 --- a/sdk/python/pulumi_digitalocean/vpc.py +++ b/sdk/python/pulumi_digitalocean/vpc.py @@ -220,6 +220,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -228,12 +229,15 @@ def __init__(__self__, ip_range="10.10.10.0/24", region="nyc3") ``` + + ### Resource Assignment `Droplet`, `KubernetesCluster`, `digitalocean_load_balancer`, and `DatabaseCluster` resources may be assigned to a VPC by referencing its `id`. For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -245,6 +249,7 @@ def __init__(__self__, region="nyc3", vpc_uuid=example_vpc.id) ``` + ## Import @@ -275,6 +280,7 @@ def __init__(__self__, ## Example Usage + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -283,12 +289,15 @@ def __init__(__self__, ip_range="10.10.10.0/24", region="nyc3") ``` + + ### Resource Assignment `Droplet`, `KubernetesCluster`, `digitalocean_load_balancer`, and `DatabaseCluster` resources may be assigned to a VPC by referencing its `id`. For example: + ```python import pulumi import pulumi_digitalocean as digitalocean @@ -300,6 +309,7 @@ def __init__(__self__, region="nyc3", vpc_uuid=example_vpc.id) ``` + ## Import