diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 0548fb4e..7092c7c4 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.14.0 \ No newline at end of file +0.15.0 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index 81613662..da2208f6 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-mongodbatlas/examples/v2 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.128.0 +require github.com/pulumi/pulumi/pkg/v3 v3.129.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,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.9.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.128.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.129.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect @@ -154,14 +154,14 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.37.0 // indirect - golang.org/x/crypto v0.24.0 // indirect + golang.org/x/crypto v0.25.0 // indirect golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.26.0 // indirect + golang.org/x/net v0.27.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.21.0 // indirect - golang.org/x/term v0.21.0 // indirect + golang.org/x/sys v0.22.0 // indirect + golang.org/x/term v0.22.0 // indirect golang.org/x/text v0.16.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.22.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 01fb8a55..d9d59af9 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -342,10 +342,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.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.128.0 h1:K3qtJYjHg4DkA7LxknY/MoQZ+QHdHQDh/k2njjmjHXM= -github.com/pulumi/pulumi/pkg/v3 v3.128.0/go.mod h1:/spoJXy/mqQ8fBLgXBEbUrAnL7pHdfXOviIo5fZROEY= -github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= -github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= +github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= +github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= +github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/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= @@ -439,8 +439,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= -golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= +golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= @@ -476,8 +476,8 @@ golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= -golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= +golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= @@ -518,8 +518,8 @@ golang.org/x/sys v0.8.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/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= -golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= +golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= @@ -529,8 +529,8 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= -golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= +golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= +golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= diff --git a/provider/cmd/pulumi-resource-mongodbatlas/schema.json b/provider/cmd/pulumi-resource-mongodbatlas/schema.json index f76dfd26..6970d155 100644 --- a/provider/cmd/pulumi-resource-mongodbatlas/schema.json +++ b/provider/cmd/pulumi-resource-mongodbatlas/schema.json @@ -1530,7 +1530,7 @@ "featureId": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" } }, "featureType": { @@ -6713,13 +6713,13 @@ "awsPrivateLink": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" } }, "awsPrivateLinkSrv": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" } }, "private": { @@ -7397,13 +7397,13 @@ "awsPrivateLink": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" } }, "awsPrivateLinkSrv": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" } }, "private": { @@ -17303,7 +17303,7 @@ "customZoneMapping": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.\n" }, @@ -17373,7 +17373,7 @@ "customZoneMapping": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.\n" }, @@ -23190,7 +23190,7 @@ } }, "mongodbatlas:index/getCloudBackupSnapshotRestoreJobs:getCloudBackupSnapshotRestoreJobs": { - "description": "## # Data Source: mongodbatlas.getCloudBackupSnapshotRestoreJobs\n\n`mongodbatlas.getCloudBackupSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.\n\n## Example Usage\n\nFirst create a snapshot of the desired cluster. Then request that snapshot be restored in an automated fashion to the designated cluster and project.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot(\"test\", {\n projectId: \"5cf5a45a9ccf6400e60981b6\",\n clusterName: \"MyCluster\",\n description: \"MyDescription\",\n retentionInDays: 1,\n});\nconst testCloudBackupSnapshotRestoreJob = new mongodbatlas.CloudBackupSnapshotRestoreJob(\"test\", {\n projectId: \"5cf5a45a9ccf6400e60981b6\",\n clusterName: \"MyCluster\",\n snapshotId: testCloudBackupSnapshot.id,\n deliveryTypeConfig: {\n automated: true,\n targetClusterName: \"MyCluster\",\n targetProjectId: \"5cf5a45a9ccf6400e60981b6\",\n },\n});\nconst test = pulumi.all([testCloudBackupSnapshotRestoreJob.projectId, testCloudBackupSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) =\u003e mongodbatlas.getCloudBackupSnapshotRestoreJobsOutput({\n projectId: projectId,\n clusterName: clusterName,\n pageNum: 1,\n itemsPerPage: 5,\n}));\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_cloud_backup_snapshot = mongodbatlas.CloudBackupSnapshot(\"test\",\n project_id=\"5cf5a45a9ccf6400e60981b6\",\n cluster_name=\"MyCluster\",\n description=\"MyDescription\",\n retention_in_days=1)\ntest_cloud_backup_snapshot_restore_job = mongodbatlas.CloudBackupSnapshotRestoreJob(\"test\",\n project_id=\"5cf5a45a9ccf6400e60981b6\",\n cluster_name=\"MyCluster\",\n snapshot_id=test_cloud_backup_snapshot.id,\n delivery_type_config={\n \"automated\": True,\n \"target_cluster_name\": \"MyCluster\",\n \"target_project_id\": \"5cf5a45a9ccf6400e60981b6\",\n })\ntest = pulumi.Output.all(test_cloud_backup_snapshot_restore_job.project_id, test_cloud_backup_snapshot_restore_job.cluster_name).apply(lambda project_id, cluster_name: mongodbatlas.get_cloud_backup_snapshot_restore_jobs_output(project_id=project_id,\n cluster_name=cluster_name,\n page_num=1,\n items_per_page=5))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Mongodbatlas = Pulumi.Mongodbatlas;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCloudBackupSnapshot = new Mongodbatlas.CloudBackupSnapshot(\"test\", new()\n {\n ProjectId = \"5cf5a45a9ccf6400e60981b6\",\n ClusterName = \"MyCluster\",\n Description = \"MyDescription\",\n RetentionInDays = 1,\n });\n\n var testCloudBackupSnapshotRestoreJob = new Mongodbatlas.CloudBackupSnapshotRestoreJob(\"test\", new()\n {\n ProjectId = \"5cf5a45a9ccf6400e60981b6\",\n ClusterName = \"MyCluster\",\n SnapshotId = testCloudBackupSnapshot.Id,\n DeliveryTypeConfig = new Mongodbatlas.Inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs\n {\n Automated = true,\n TargetClusterName = \"MyCluster\",\n TargetProjectId = \"5cf5a45a9ccf6400e60981b6\",\n },\n });\n\n var test = Mongodbatlas.GetCloudBackupSnapshotRestoreJobs.Invoke(new()\n {\n ProjectId = testCloudBackupSnapshotRestoreJob.ProjectId,\n ClusterName = testCloudBackupSnapshotRestoreJob.ClusterName,\n PageNum = 1,\n ItemsPerPage = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestCloudBackupSnapshot, err := mongodbatlas.NewCloudBackupSnapshot(ctx, \"test\", \u0026mongodbatlas.CloudBackupSnapshotArgs{\n\t\t\tProjectId: pulumi.String(\"5cf5a45a9ccf6400e60981b6\"),\n\t\t\tClusterName: pulumi.String(\"MyCluster\"),\n\t\t\tDescription: pulumi.String(\"MyDescription\"),\n\t\t\tRetentionInDays: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestCloudBackupSnapshotRestoreJob, err := mongodbatlas.NewCloudBackupSnapshotRestoreJob(ctx, \"test\", \u0026mongodbatlas.CloudBackupSnapshotRestoreJobArgs{\n\t\t\tProjectId: pulumi.String(\"5cf5a45a9ccf6400e60981b6\"),\n\t\t\tClusterName: pulumi.String(\"MyCluster\"),\n\t\t\tSnapshotId: testCloudBackupSnapshot.ID(),\n\t\t\tDeliveryTypeConfig: \u0026mongodbatlas.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs{\n\t\t\t\tAutomated: pulumi.Bool(true),\n\t\t\t\tTargetClusterName: pulumi.String(\"MyCluster\"),\n\t\t\t\tTargetProjectId: pulumi.String(\"5cf5a45a9ccf6400e60981b6\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = pulumi.All(testCloudBackupSnapshotRestoreJob.ProjectId, testCloudBackupSnapshotRestoreJob.ClusterName).ApplyT(func(_args []interface{}) (mongodbatlas.GetCloudBackupSnapshotRestoreJobsResult, error) {\n\t\t\tprojectId := _args[0].(string)\n\t\t\tclusterName := _args[1].(string)\n\t\t\treturn mongodbatlas.GetCloudBackupSnapshotRestoreJobsResult(interface{}(mongodbatlas.LookupCloudBackupSnapshotRestoreJobsOutput(ctx, mongodbatlas.GetCloudBackupSnapshotRestoreJobsOutputArgs{\n\t\t\t\tProjectId: projectId,\n\t\t\t\tClusterName: clusterName,\n\t\t\t\tPageNum: 1,\n\t\t\t\tItemsPerPage: 5,\n\t\t\t}, nil))), nil\n\t\t}).(mongodbatlas.GetCloudBackupSnapshotRestoreJobsResultOutput)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshot;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshotArgs;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshotRestoreJob;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshotRestoreJobArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetCloudBackupSnapshotRestoreJobsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic 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 testCloudBackupSnapshot = new CloudBackupSnapshot(\"testCloudBackupSnapshot\", CloudBackupSnapshotArgs.builder()\n .projectId(\"5cf5a45a9ccf6400e60981b6\")\n .clusterName(\"MyCluster\")\n .description(\"MyDescription\")\n .retentionInDays(1)\n .build());\n\n var testCloudBackupSnapshotRestoreJob = new CloudBackupSnapshotRestoreJob(\"testCloudBackupSnapshotRestoreJob\", CloudBackupSnapshotRestoreJobArgs.builder()\n .projectId(\"5cf5a45a9ccf6400e60981b6\")\n .clusterName(\"MyCluster\")\n .snapshotId(testCloudBackupSnapshot.id())\n .deliveryTypeConfig(CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs.builder()\n .automated(true)\n .targetClusterName(\"MyCluster\")\n .targetProjectId(\"5cf5a45a9ccf6400e60981b6\")\n .build())\n .build());\n\n final var test = MongodbatlasFunctions.getCloudBackupSnapshotRestoreJobs(GetCloudBackupSnapshotRestoreJobsArgs.builder()\n .projectId(testCloudBackupSnapshotRestoreJob.projectId())\n .clusterName(testCloudBackupSnapshotRestoreJob.clusterName())\n .pageNum(1)\n .itemsPerPage(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCloudBackupSnapshot:\n type: mongodbatlas:CloudBackupSnapshot\n name: test\n properties:\n projectId: 5cf5a45a9ccf6400e60981b6\n clusterName: MyCluster\n description: MyDescription\n retentionInDays: 1\n testCloudBackupSnapshotRestoreJob:\n type: mongodbatlas:CloudBackupSnapshotRestoreJob\n name: test\n properties:\n projectId: 5cf5a45a9ccf6400e60981b6\n clusterName: MyCluster\n snapshotId: ${testCloudBackupSnapshot.id}\n deliveryTypeConfig:\n automated: true\n targetClusterName: MyCluster\n targetProjectId: 5cf5a45a9ccf6400e60981b6\nvariables:\n test:\n fn::invoke:\n Function: mongodbatlas:getCloudBackupSnapshotRestoreJobs\n Arguments:\n projectId: ${testCloudBackupSnapshotRestoreJob.projectId}\n clusterName: ${testCloudBackupSnapshotRestoreJob.clusterName}\n pageNum: 1\n itemsPerPage: 5\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "## # Data Source: mongodbatlas.getCloudBackupSnapshotRestoreJobs\n\n`mongodbatlas.getCloudBackupSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.\n\n## Example Usage\n\nFirst create a snapshot of the desired cluster. Then request that snapshot be restored in an automated fashion to the designated cluster and project.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot(\"test\", {\n projectId: \"5cf5a45a9ccf6400e60981b6\",\n clusterName: \"MyCluster\",\n description: \"MyDescription\",\n retentionInDays: 1,\n});\nconst testCloudBackupSnapshotRestoreJob = new mongodbatlas.CloudBackupSnapshotRestoreJob(\"test\", {\n projectId: \"5cf5a45a9ccf6400e60981b6\",\n clusterName: \"MyCluster\",\n snapshotId: testCloudBackupSnapshot.id,\n deliveryTypeConfig: {\n automated: true,\n targetClusterName: \"MyCluster\",\n targetProjectId: \"5cf5a45a9ccf6400e60981b6\",\n },\n});\nconst test = pulumi.all([testCloudBackupSnapshotRestoreJob.projectId, testCloudBackupSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) =\u003e mongodbatlas.getCloudBackupSnapshotRestoreJobsOutput({\n projectId: projectId,\n clusterName: clusterName,\n pageNum: 1,\n itemsPerPage: 5,\n}));\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_cloud_backup_snapshot = mongodbatlas.CloudBackupSnapshot(\"test\",\n project_id=\"5cf5a45a9ccf6400e60981b6\",\n cluster_name=\"MyCluster\",\n description=\"MyDescription\",\n retention_in_days=1)\ntest_cloud_backup_snapshot_restore_job = mongodbatlas.CloudBackupSnapshotRestoreJob(\"test\",\n project_id=\"5cf5a45a9ccf6400e60981b6\",\n cluster_name=\"MyCluster\",\n snapshot_id=test_cloud_backup_snapshot.id,\n delivery_type_config={\n \"automated\": True,\n \"target_cluster_name\": \"MyCluster\",\n \"target_project_id\": \"5cf5a45a9ccf6400e60981b6\",\n })\ntest = pulumi.Output.all(\n project_id=test_cloud_backup_snapshot_restore_job.project_id,\n cluster_name=test_cloud_backup_snapshot_restore_job.cluster_name\n).apply(lambda resolved_outputs: mongodbatlas.get_cloud_backup_snapshot_restore_jobs_output(project_id=resolved_outputs['project_id'],\n cluster_name=resolved_outputs['cluster_name'],\n page_num=1,\n items_per_page=5))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Mongodbatlas = Pulumi.Mongodbatlas;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCloudBackupSnapshot = new Mongodbatlas.CloudBackupSnapshot(\"test\", new()\n {\n ProjectId = \"5cf5a45a9ccf6400e60981b6\",\n ClusterName = \"MyCluster\",\n Description = \"MyDescription\",\n RetentionInDays = 1,\n });\n\n var testCloudBackupSnapshotRestoreJob = new Mongodbatlas.CloudBackupSnapshotRestoreJob(\"test\", new()\n {\n ProjectId = \"5cf5a45a9ccf6400e60981b6\",\n ClusterName = \"MyCluster\",\n SnapshotId = testCloudBackupSnapshot.Id,\n DeliveryTypeConfig = new Mongodbatlas.Inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs\n {\n Automated = true,\n TargetClusterName = \"MyCluster\",\n TargetProjectId = \"5cf5a45a9ccf6400e60981b6\",\n },\n });\n\n var test = Mongodbatlas.GetCloudBackupSnapshotRestoreJobs.Invoke(new()\n {\n ProjectId = testCloudBackupSnapshotRestoreJob.ProjectId,\n ClusterName = testCloudBackupSnapshotRestoreJob.ClusterName,\n PageNum = 1,\n ItemsPerPage = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestCloudBackupSnapshot, err := mongodbatlas.NewCloudBackupSnapshot(ctx, \"test\", \u0026mongodbatlas.CloudBackupSnapshotArgs{\n\t\t\tProjectId: pulumi.String(\"5cf5a45a9ccf6400e60981b6\"),\n\t\t\tClusterName: pulumi.String(\"MyCluster\"),\n\t\t\tDescription: pulumi.String(\"MyDescription\"),\n\t\t\tRetentionInDays: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestCloudBackupSnapshotRestoreJob, err := mongodbatlas.NewCloudBackupSnapshotRestoreJob(ctx, \"test\", \u0026mongodbatlas.CloudBackupSnapshotRestoreJobArgs{\n\t\t\tProjectId: pulumi.String(\"5cf5a45a9ccf6400e60981b6\"),\n\t\t\tClusterName: pulumi.String(\"MyCluster\"),\n\t\t\tSnapshotId: testCloudBackupSnapshot.ID(),\n\t\t\tDeliveryTypeConfig: \u0026mongodbatlas.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs{\n\t\t\t\tAutomated: pulumi.Bool(true),\n\t\t\t\tTargetClusterName: pulumi.String(\"MyCluster\"),\n\t\t\t\tTargetProjectId: pulumi.String(\"5cf5a45a9ccf6400e60981b6\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = pulumi.All(testCloudBackupSnapshotRestoreJob.ProjectId, testCloudBackupSnapshotRestoreJob.ClusterName).ApplyT(func(_args []interface{}) (mongodbatlas.GetCloudBackupSnapshotRestoreJobsResult, error) {\n\t\t\tprojectId := _args[0].(string)\n\t\t\tclusterName := _args[1].(string)\n\t\t\treturn mongodbatlas.GetCloudBackupSnapshotRestoreJobsResult(interface{}(mongodbatlas.LookupCloudBackupSnapshotRestoreJobsOutput(ctx, mongodbatlas.GetCloudBackupSnapshotRestoreJobsOutputArgs{\n\t\t\t\tProjectId: projectId,\n\t\t\t\tClusterName: clusterName,\n\t\t\t\tPageNum: 1,\n\t\t\t\tItemsPerPage: 5,\n\t\t\t}, nil))), nil\n\t\t}).(mongodbatlas.GetCloudBackupSnapshotRestoreJobsResultOutput)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshot;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshotArgs;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshotRestoreJob;\nimport com.pulumi.mongodbatlas.CloudBackupSnapshotRestoreJobArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetCloudBackupSnapshotRestoreJobsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic 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 testCloudBackupSnapshot = new CloudBackupSnapshot(\"testCloudBackupSnapshot\", CloudBackupSnapshotArgs.builder()\n .projectId(\"5cf5a45a9ccf6400e60981b6\")\n .clusterName(\"MyCluster\")\n .description(\"MyDescription\")\n .retentionInDays(1)\n .build());\n\n var testCloudBackupSnapshotRestoreJob = new CloudBackupSnapshotRestoreJob(\"testCloudBackupSnapshotRestoreJob\", CloudBackupSnapshotRestoreJobArgs.builder()\n .projectId(\"5cf5a45a9ccf6400e60981b6\")\n .clusterName(\"MyCluster\")\n .snapshotId(testCloudBackupSnapshot.id())\n .deliveryTypeConfig(CloudBackupSnapshotRestoreJobDeliveryTypeConfigArgs.builder()\n .automated(true)\n .targetClusterName(\"MyCluster\")\n .targetProjectId(\"5cf5a45a9ccf6400e60981b6\")\n .build())\n .build());\n\n final var test = MongodbatlasFunctions.getCloudBackupSnapshotRestoreJobs(GetCloudBackupSnapshotRestoreJobsArgs.builder()\n .projectId(testCloudBackupSnapshotRestoreJob.projectId())\n .clusterName(testCloudBackupSnapshotRestoreJob.clusterName())\n .pageNum(1)\n .itemsPerPage(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCloudBackupSnapshot:\n type: mongodbatlas:CloudBackupSnapshot\n name: test\n properties:\n projectId: 5cf5a45a9ccf6400e60981b6\n clusterName: MyCluster\n description: MyDescription\n retentionInDays: 1\n testCloudBackupSnapshotRestoreJob:\n type: mongodbatlas:CloudBackupSnapshotRestoreJob\n name: test\n properties:\n projectId: 5cf5a45a9ccf6400e60981b6\n clusterName: MyCluster\n snapshotId: ${testCloudBackupSnapshot.id}\n deliveryTypeConfig:\n automated: true\n targetClusterName: MyCluster\n targetProjectId: 5cf5a45a9ccf6400e60981b6\nvariables:\n test:\n fn::invoke:\n Function: mongodbatlas:getCloudBackupSnapshotRestoreJobs\n Arguments:\n projectId: ${testCloudBackupSnapshotRestoreJob.projectId}\n clusterName: ${testCloudBackupSnapshotRestoreJob.clusterName}\n pageNum: 1\n itemsPerPage: 5\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getCloudBackupSnapshotRestoreJobs.\n", "properties": { @@ -25433,7 +25433,7 @@ }, "customZoneMapping": { "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.\n", "type": "object" @@ -25782,7 +25782,7 @@ } }, "mongodbatlas:index/getNetworkContainers:getNetworkContainers": { - "description": "## # Data Source: mongodbatlas.getNetworkContainers\n\n`mongodbatlas.getNetworkContainers` describes all Network Peering Containers. The data source requires your Project ID.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.\n\n\n## Example Usage\n\n### Basic Example.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testNetworkContainer = new mongodbatlas.NetworkContainer(\"test\", {\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n atlasCidrBlock: \"10.8.0.0/21\",\n providerName: \"AWS\",\n regionName: \"US_EAST_1\",\n});\nconst test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) =\u003e mongodbatlas.getNetworkContainersOutput({\n projectId: projectId,\n providerName: providerName,\n}));\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_network_container = mongodbatlas.NetworkContainer(\"test\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n atlas_cidr_block=\"10.8.0.0/21\",\n provider_name=\"AWS\",\n region_name=\"US_EAST_1\")\ntest = pulumi.Output.all(test_network_container.project_id, test_network_container.provider_name).apply(lambda project_id, provider_name: mongodbatlas.get_network_containers_output(project_id=project_id,\n provider_name=provider_name))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Mongodbatlas = Pulumi.Mongodbatlas;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testNetworkContainer = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProviderName = \"AWS\",\n RegionName = \"US_EAST_1\",\n });\n\n var test = Mongodbatlas.GetNetworkContainers.Invoke(new()\n {\n ProjectId = testNetworkContainer.ProjectId,\n ProviderName = testNetworkContainer.ProviderName,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestNetworkContainer, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t\tRegionName: pulumi.String(\"US_EAST_1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = pulumi.All(testNetworkContainer.ProjectId, testNetworkContainer.ProviderName).ApplyT(func(_args []interface{}) (mongodbatlas.GetNetworkContainersResult, error) {\n\t\t\tprojectId := _args[0].(string)\n\t\t\tproviderName := _args[1].(*string)\n\t\t\treturn mongodbatlas.GetNetworkContainersResult(interface{}(mongodbatlas.LookupNetworkContainersOutput(ctx, mongodbatlas.GetNetworkContainersOutputArgs{\n\t\t\t\tProjectId: projectId,\n\t\t\t\tProviderName: providerName,\n\t\t\t}, nil))), nil\n\t\t}).(mongodbatlas.GetNetworkContainersResultOutput)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.NetworkContainer;\nimport com.pulumi.mongodbatlas.NetworkContainerArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetNetworkContainersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic 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 testNetworkContainer = new NetworkContainer(\"testNetworkContainer\", NetworkContainerArgs.builder()\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .atlasCidrBlock(\"10.8.0.0/21\")\n .providerName(\"AWS\")\n .regionName(\"US_EAST_1\")\n .build());\n\n final var test = MongodbatlasFunctions.getNetworkContainers(GetNetworkContainersArgs.builder()\n .projectId(testNetworkContainer.projectId())\n .providerName(testNetworkContainer.providerName())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testNetworkContainer:\n type: mongodbatlas:NetworkContainer\n name: test\n properties:\n projectId: \u003cYOUR-PROJECT-ID\u003e\n atlasCidrBlock: 10.8.0.0/21\n providerName: AWS\n regionName: US_EAST_1\nvariables:\n test:\n fn::invoke:\n Function: mongodbatlas:getNetworkContainers\n Arguments:\n projectId: ${testNetworkContainer.projectId}\n providerName: ${testNetworkContainer.providerName}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "## # Data Source: mongodbatlas.getNetworkContainers\n\n`mongodbatlas.getNetworkContainers` describes all Network Peering Containers. The data source requires your Project ID.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.\n\n\n## Example Usage\n\n### Basic Example.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testNetworkContainer = new mongodbatlas.NetworkContainer(\"test\", {\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n atlasCidrBlock: \"10.8.0.0/21\",\n providerName: \"AWS\",\n regionName: \"US_EAST_1\",\n});\nconst test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) =\u003e mongodbatlas.getNetworkContainersOutput({\n projectId: projectId,\n providerName: providerName,\n}));\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_network_container = mongodbatlas.NetworkContainer(\"test\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n atlas_cidr_block=\"10.8.0.0/21\",\n provider_name=\"AWS\",\n region_name=\"US_EAST_1\")\ntest = pulumi.Output.all(\n project_id=test_network_container.project_id,\n provider_name=test_network_container.provider_name\n).apply(lambda resolved_outputs: mongodbatlas.get_network_containers_output(project_id=resolved_outputs['project_id'],\n provider_name=resolved_outputs['provider_name']))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Mongodbatlas = Pulumi.Mongodbatlas;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testNetworkContainer = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProviderName = \"AWS\",\n RegionName = \"US_EAST_1\",\n });\n\n var test = Mongodbatlas.GetNetworkContainers.Invoke(new()\n {\n ProjectId = testNetworkContainer.ProjectId,\n ProviderName = testNetworkContainer.ProviderName,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestNetworkContainer, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t\tRegionName: pulumi.String(\"US_EAST_1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = pulumi.All(testNetworkContainer.ProjectId, testNetworkContainer.ProviderName).ApplyT(func(_args []interface{}) (mongodbatlas.GetNetworkContainersResult, error) {\n\t\t\tprojectId := _args[0].(string)\n\t\t\tproviderName := _args[1].(*string)\n\t\t\treturn mongodbatlas.GetNetworkContainersResult(interface{}(mongodbatlas.LookupNetworkContainersOutput(ctx, mongodbatlas.GetNetworkContainersOutputArgs{\n\t\t\t\tProjectId: projectId,\n\t\t\t\tProviderName: providerName,\n\t\t\t}, nil))), nil\n\t\t}).(mongodbatlas.GetNetworkContainersResultOutput)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.NetworkContainer;\nimport com.pulumi.mongodbatlas.NetworkContainerArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetNetworkContainersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic 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 testNetworkContainer = new NetworkContainer(\"testNetworkContainer\", NetworkContainerArgs.builder()\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .atlasCidrBlock(\"10.8.0.0/21\")\n .providerName(\"AWS\")\n .regionName(\"US_EAST_1\")\n .build());\n\n final var test = MongodbatlasFunctions.getNetworkContainers(GetNetworkContainersArgs.builder()\n .projectId(testNetworkContainer.projectId())\n .providerName(testNetworkContainer.providerName())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testNetworkContainer:\n type: mongodbatlas:NetworkContainer\n name: test\n properties:\n projectId: \u003cYOUR-PROJECT-ID\u003e\n atlasCidrBlock: 10.8.0.0/21\n providerName: AWS\n regionName: US_EAST_1\nvariables:\n test:\n fn::invoke:\n Function: mongodbatlas:getNetworkContainers\n Arguments:\n projectId: ${testNetworkContainer.projectId}\n providerName: ${testNetworkContainer.providerName}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getNetworkContainers.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 8789fc6e..66b71717 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -10,9 +10,9 @@ replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraf require ( github.com/mongodb/terraform-provider-mongodbatlas/shim v0.0.0 - github.com/pulumi/pulumi-terraform-bridge/pf v0.42.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0 - github.com/pulumi/pulumi/sdk/v3 v3.128.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.42.1 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 + github.com/pulumi/pulumi/sdk/v3 v3.129.0 ) require ( @@ -179,10 +179,10 @@ require ( github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.11.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.14.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.9.1 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.128.0 // indirect + github.com/pulumi/pulumi-yaml v1.9.2 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.129.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect @@ -201,6 +201,7 @@ require ( github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/testify v1.9.0 // indirect + github.com/teekennedy/goldmark-markdown v0.3.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect @@ -232,7 +233,7 @@ require ( golang.org/x/crypto v0.25.0 // indirect golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.26.0 // indirect + golang.org/x/net v0.27.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect golang.org/x/sys v0.22.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 12940f1f..9921ad61 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1964,20 +1964,20 @@ github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+Sob github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2pHgxQ8= github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.11.0 h1:Jw9gBvyfmfOMq/EkYDm9+zGPxsDAA8jfeMpHmtZ+1oA= -github.com/pulumi/pulumi-java/pkg v0.11.0/go.mod h1:sXAk25P47AQVQL6ilAbFmRNgZykC7og/+87ihnqzFTc= -github.com/pulumi/pulumi-terraform-bridge/pf v0.42.0 h1:+nuhPROS9Dl8EatzGqtYxmXipAGBTDD7ICowpGMFxf8= -github.com/pulumi/pulumi-terraform-bridge/pf v0.42.0/go.mod h1:aK6RyeNLjmEHeMuwAbDgUXlAD8BTv+rK3HCs02JopSw= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0 h1:Om0Yw07/5dVABB2ou8+XBCmbp9TUUtDZJEh2B5jPGgI= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0/go.mod h1:EWGqRo+ogMPty23b6rVUajgJXUDSNXU+WqcZTPlzyEI= +github.com/pulumi/pulumi-java/pkg v0.14.0 h1:CKL7lLF81Fq6VRhA5TNFsSMnHraTNCUzIhqCzYX8Wzk= +github.com/pulumi/pulumi-java/pkg v0.14.0/go.mod h1:VybuJMWJtJc9ZNbt1kcYH4TbpocMx9mEi7YWL2Co99c= +github.com/pulumi/pulumi-terraform-bridge/pf v0.42.1 h1:IMn3MmvoO66iptcU5kBdun60PqwNJBJ20A4hD3AqkDE= +github.com/pulumi/pulumi-terraform-bridge/pf v0.42.1/go.mod h1:SXxx1PJNNdGoD4/CxELgy0F46uzcTbDkz63DJsjIRXE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 h1:FLQknb6r3r/uaj1XLbouFF88eF1Fk0h4JOVS9kHKDRY= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1/go.mod h1:JAxygKR/XGW6zIv6iOP6sHAYjZ7OCtqU7j6Od1lUk38= 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.9.1 h1:JPeI80M23SPactxgnCFS1casZlSr7ZhAXwSx4H55QQ4= -github.com/pulumi/pulumi-yaml v1.9.1/go.mod h1:OH0R34yJxA5u6zjYBN4JXcWoEvfkRoOVWi6viu8buoA= -github.com/pulumi/pulumi/pkg/v3 v3.128.0 h1:K3qtJYjHg4DkA7LxknY/MoQZ+QHdHQDh/k2njjmjHXM= -github.com/pulumi/pulumi/pkg/v3 v3.128.0/go.mod h1:/spoJXy/mqQ8fBLgXBEbUrAnL7pHdfXOviIo5fZROEY= -github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= -github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi-yaml v1.9.2 h1:BCUuRPA1USmFXrExiHRU8yJ+OiphLYnroPxKRgGCJrs= +github.com/pulumi/pulumi-yaml v1.9.2/go.mod h1:sIh/Oa/NLRGTojevh8D2/cPDPvo2j9iXegVDQIKKfw4= +github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= +github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= +github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= +github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/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= @@ -1986,6 +1986,8 @@ github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10 h1: github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10/go.mod h1:H+8tjs9TjV2w57QFVSMBQacf8k/E1XwLXGCARgViC6A= 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/rhysd/go-fakeio v1.0.0 h1:+TjiKCOs32dONY7DaoVz/VPOdvRkPfBkEyUDIpM8FQY= +github.com/rhysd/go-fakeio v1.0.0/go.mod h1:joYxF906trVwp2JLrE4jlN7A0z6wrz8O6o1UjarbFzE= 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= @@ -2064,6 +2066,8 @@ github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/teekennedy/goldmark-markdown v0.3.0 h1:ik9/biVGCwGWFg8dQ3KVm2pQ/wiiG0whYiUcz9xH0W8= +github.com/teekennedy/goldmark-markdown v0.3.0/go.mod h1:kMhDz8La77A9UHvJGsxejd0QUflN9sS+QXCqnhmxmNo= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -2348,8 +2352,8 @@ 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/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= -golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= +golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= diff --git a/sdk/dotnet/GetGlobalClusterConfig.cs b/sdk/dotnet/GetGlobalClusterConfig.cs index 5fb95b7c..9b8e2306 100644 --- a/sdk/dotnet/GetGlobalClusterConfig.cs +++ b/sdk/dotnet/GetGlobalClusterConfig.cs @@ -355,7 +355,7 @@ public sealed class GetGlobalClusterConfigResult /// /// A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. /// - public readonly ImmutableDictionary CustomZoneMapping; + public readonly ImmutableDictionary CustomZoneMapping; /// /// The provider-assigned unique ID for this managed resource. /// @@ -370,7 +370,7 @@ public sealed class GetGlobalClusterConfigResult private GetGlobalClusterConfigResult( string clusterName, - ImmutableDictionary customZoneMapping, + ImmutableDictionary customZoneMapping, string id, diff --git a/sdk/dotnet/GlobalClusterConfig.cs b/sdk/dotnet/GlobalClusterConfig.cs index 406908d3..f6a37c40 100644 --- a/sdk/dotnet/GlobalClusterConfig.cs +++ b/sdk/dotnet/GlobalClusterConfig.cs @@ -129,7 +129,7 @@ public partial class GlobalClusterConfig : global::Pulumi.CustomResource /// A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. /// [Output("customZoneMapping")] - public Output> CustomZoneMapping { get; private set; } = null!; + public Output> CustomZoneMapping { get; private set; } = null!; /// /// Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. @@ -246,14 +246,14 @@ public sealed class GlobalClusterConfigState : global::Pulumi.ResourceArgs public Input? ClusterName { get; set; } [Input("customZoneMapping")] - private InputMap? _customZoneMapping; + private InputMap? _customZoneMapping; /// /// A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. /// - public InputMap CustomZoneMapping + public InputMap CustomZoneMapping { - get => _customZoneMapping ?? (_customZoneMapping = new InputMap()); + get => _customZoneMapping ?? (_customZoneMapping = new InputMap()); set => _customZoneMapping = value; } diff --git a/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.cs b/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.cs index 4b39ae2a..b19450f9 100644 --- a/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.cs +++ b/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.cs @@ -13,10 +13,10 @@ namespace Pulumi.Mongodbatlas.Inputs public sealed class CloudProviderAccessAuthorizationFeatureUsageArgs : global::Pulumi.ResourceArgs { [Input("featureId")] - private InputMap? _featureId; - public InputMap FeatureId + private InputMap? _featureId; + public InputMap FeatureId { - get => _featureId ?? (_featureId = new InputMap()); + get => _featureId ?? (_featureId = new InputMap()); set => _featureId = value; } diff --git a/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageGetArgs.cs b/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageGetArgs.cs index 47035ab2..028eebbb 100644 --- a/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudProviderAccessAuthorizationFeatureUsageGetArgs.cs @@ -13,10 +13,10 @@ namespace Pulumi.Mongodbatlas.Inputs public sealed class CloudProviderAccessAuthorizationFeatureUsageGetArgs : global::Pulumi.ResourceArgs { [Input("featureId")] - private InputMap? _featureId; - public InputMap FeatureId + private InputMap? _featureId; + public InputMap FeatureId { - get => _featureId ?? (_featureId = new InputMap()); + get => _featureId ?? (_featureId = new InputMap()); set => _featureId = value; } diff --git a/sdk/dotnet/Outputs/CloudProviderAccessAuthorizationFeatureUsage.cs b/sdk/dotnet/Outputs/CloudProviderAccessAuthorizationFeatureUsage.cs index e1e1b495..c069fcdf 100644 --- a/sdk/dotnet/Outputs/CloudProviderAccessAuthorizationFeatureUsage.cs +++ b/sdk/dotnet/Outputs/CloudProviderAccessAuthorizationFeatureUsage.cs @@ -13,12 +13,12 @@ namespace Pulumi.Mongodbatlas.Outputs [OutputType] public sealed class CloudProviderAccessAuthorizationFeatureUsage { - public readonly ImmutableDictionary? FeatureId; + public readonly ImmutableDictionary? FeatureId; public readonly string? FeatureType; [OutputConstructor] private CloudProviderAccessAuthorizationFeatureUsage( - ImmutableDictionary? featureId, + ImmutableDictionary? featureId, string? featureType) { diff --git a/sdk/dotnet/Outputs/GetClusterConnectionStringResult.cs b/sdk/dotnet/Outputs/GetClusterConnectionStringResult.cs index f6f2459e..b4b89e74 100644 --- a/sdk/dotnet/Outputs/GetClusterConnectionStringResult.cs +++ b/sdk/dotnet/Outputs/GetClusterConnectionStringResult.cs @@ -13,8 +13,8 @@ namespace Pulumi.Mongodbatlas.Outputs [OutputType] public sealed class GetClusterConnectionStringResult { - public readonly ImmutableDictionary AwsPrivateLink; - public readonly ImmutableDictionary AwsPrivateLinkSrv; + public readonly ImmutableDictionary AwsPrivateLink; + public readonly ImmutableDictionary AwsPrivateLinkSrv; /// /// [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. /// @@ -43,9 +43,9 @@ public sealed class GetClusterConnectionStringResult [OutputConstructor] private GetClusterConnectionStringResult( - ImmutableDictionary awsPrivateLink, + ImmutableDictionary awsPrivateLink, - ImmutableDictionary awsPrivateLinkSrv, + ImmutableDictionary awsPrivateLinkSrv, string @private, diff --git a/sdk/dotnet/Outputs/GetClustersResultConnectionStringResult.cs b/sdk/dotnet/Outputs/GetClustersResultConnectionStringResult.cs index c69a8328..152c3b37 100644 --- a/sdk/dotnet/Outputs/GetClustersResultConnectionStringResult.cs +++ b/sdk/dotnet/Outputs/GetClustersResultConnectionStringResult.cs @@ -13,8 +13,8 @@ namespace Pulumi.Mongodbatlas.Outputs [OutputType] public sealed class GetClustersResultConnectionStringResult { - public readonly ImmutableDictionary AwsPrivateLink; - public readonly ImmutableDictionary AwsPrivateLinkSrv; + public readonly ImmutableDictionary AwsPrivateLink; + public readonly ImmutableDictionary AwsPrivateLinkSrv; /// /// [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. /// @@ -43,9 +43,9 @@ public sealed class GetClustersResultConnectionStringResult [OutputConstructor] private GetClustersResultConnectionStringResult( - ImmutableDictionary awsPrivateLink, + ImmutableDictionary awsPrivateLink, - ImmutableDictionary awsPrivateLinkSrv, + ImmutableDictionary awsPrivateLinkSrv, string @private, diff --git a/sdk/go.mod b/sdk/go.mod index 474de9ba..38afc00e 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.128.0 + github.com/pulumi/pulumi/sdk/v3 v3.129.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 2543199c..07e28f48 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,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.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= -github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= +github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/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/mongodbatlas/getGlobalClusterConfig.go b/sdk/go/mongodbatlas/getGlobalClusterConfig.go index 9038b0e1..cd6b90b3 100644 --- a/sdk/go/mongodbatlas/getGlobalClusterConfig.go +++ b/sdk/go/mongodbatlas/getGlobalClusterConfig.go @@ -151,7 +151,7 @@ type LookupGlobalClusterConfigArgs struct { type LookupGlobalClusterConfigResult struct { ClusterName string `pulumi:"clusterName"` // A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. - CustomZoneMapping map[string]interface{} `pulumi:"customZoneMapping"` + CustomZoneMapping map[string]string `pulumi:"customZoneMapping"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details. @@ -206,8 +206,8 @@ func (o LookupGlobalClusterConfigResultOutput) ClusterName() pulumi.StringOutput } // A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. -func (o LookupGlobalClusterConfigResultOutput) CustomZoneMapping() pulumi.MapOutput { - return o.ApplyT(func(v LookupGlobalClusterConfigResult) map[string]interface{} { return v.CustomZoneMapping }).(pulumi.MapOutput) +func (o LookupGlobalClusterConfigResultOutput) CustomZoneMapping() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupGlobalClusterConfigResult) map[string]string { return v.CustomZoneMapping }).(pulumi.StringMapOutput) } // The provider-assigned unique ID for this managed resource. diff --git a/sdk/go/mongodbatlas/globalClusterConfig.go b/sdk/go/mongodbatlas/globalClusterConfig.go index af34ae63..b6a9fc66 100644 --- a/sdk/go/mongodbatlas/globalClusterConfig.go +++ b/sdk/go/mongodbatlas/globalClusterConfig.go @@ -119,7 +119,7 @@ type GlobalClusterConfig struct { // The name of the Global Cluster. ClusterName pulumi.StringOutput `pulumi:"clusterName"` // A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. - CustomZoneMapping pulumi.MapOutput `pulumi:"customZoneMapping"` + CustomZoneMapping pulumi.StringMapOutput `pulumi:"customZoneMapping"` // Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. CustomZoneMappings GlobalClusterConfigCustomZoneMappingArrayOutput `pulumi:"customZoneMappings"` // Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details. @@ -167,7 +167,7 @@ type globalClusterConfigState struct { // The name of the Global Cluster. ClusterName *string `pulumi:"clusterName"` // A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. - CustomZoneMapping map[string]interface{} `pulumi:"customZoneMapping"` + CustomZoneMapping map[string]string `pulumi:"customZoneMapping"` // Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. CustomZoneMappings []GlobalClusterConfigCustomZoneMapping `pulumi:"customZoneMappings"` // Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details. @@ -180,7 +180,7 @@ type GlobalClusterConfigState struct { // The name of the Global Cluster. ClusterName pulumi.StringPtrInput // A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. - CustomZoneMapping pulumi.MapInput + CustomZoneMapping pulumi.StringMapInput // Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. CustomZoneMappings GlobalClusterConfigCustomZoneMappingArrayInput // Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details. @@ -309,8 +309,8 @@ func (o GlobalClusterConfigOutput) ClusterName() pulumi.StringOutput { } // A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. -func (o GlobalClusterConfigOutput) CustomZoneMapping() pulumi.MapOutput { - return o.ApplyT(func(v *GlobalClusterConfig) pulumi.MapOutput { return v.CustomZoneMapping }).(pulumi.MapOutput) +func (o GlobalClusterConfigOutput) CustomZoneMapping() pulumi.StringMapOutput { + return o.ApplyT(func(v *GlobalClusterConfig) pulumi.StringMapOutput { return v.CustomZoneMapping }).(pulumi.StringMapOutput) } // Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. diff --git a/sdk/go/mongodbatlas/pulumiTypes.go b/sdk/go/mongodbatlas/pulumiTypes.go index ffc40f81..d00b1e68 100644 --- a/sdk/go/mongodbatlas/pulumiTypes.go +++ b/sdk/go/mongodbatlas/pulumiTypes.go @@ -6585,8 +6585,8 @@ func (o CloudProviderAccessAuthorizationAzurePtrOutput) TenantId() pulumi.String } type CloudProviderAccessAuthorizationFeatureUsage struct { - FeatureId map[string]interface{} `pulumi:"featureId"` - FeatureType *string `pulumi:"featureType"` + FeatureId map[string]string `pulumi:"featureId"` + FeatureType *string `pulumi:"featureType"` } // CloudProviderAccessAuthorizationFeatureUsageInput is an input type that accepts CloudProviderAccessAuthorizationFeatureUsageArgs and CloudProviderAccessAuthorizationFeatureUsageOutput values. @@ -6601,7 +6601,7 @@ type CloudProviderAccessAuthorizationFeatureUsageInput interface { } type CloudProviderAccessAuthorizationFeatureUsageArgs struct { - FeatureId pulumi.MapInput `pulumi:"featureId"` + FeatureId pulumi.StringMapInput `pulumi:"featureId"` FeatureType pulumi.StringPtrInput `pulumi:"featureType"` } @@ -6656,8 +6656,8 @@ func (o CloudProviderAccessAuthorizationFeatureUsageOutput) ToCloudProviderAcces return o } -func (o CloudProviderAccessAuthorizationFeatureUsageOutput) FeatureId() pulumi.MapOutput { - return o.ApplyT(func(v CloudProviderAccessAuthorizationFeatureUsage) map[string]interface{} { return v.FeatureId }).(pulumi.MapOutput) +func (o CloudProviderAccessAuthorizationFeatureUsageOutput) FeatureId() pulumi.StringMapOutput { + return o.ApplyT(func(v CloudProviderAccessAuthorizationFeatureUsage) map[string]string { return v.FeatureId }).(pulumi.StringMapOutput) } func (o CloudProviderAccessAuthorizationFeatureUsageOutput) FeatureType() pulumi.StringPtrOutput { @@ -28231,8 +28231,8 @@ func (o GetClusterBiConnectorConfigArrayOutput) Index(i pulumi.IntInput) GetClus } type GetClusterConnectionString struct { - AwsPrivateLink map[string]interface{} `pulumi:"awsPrivateLink"` - AwsPrivateLinkSrv map[string]interface{} `pulumi:"awsPrivateLinkSrv"` + AwsPrivateLink map[string]string `pulumi:"awsPrivateLink"` + AwsPrivateLinkSrv map[string]string `pulumi:"awsPrivateLinkSrv"` // [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. Private string `pulumi:"private"` PrivateEndpoints []GetClusterConnectionStringPrivateEndpoint `pulumi:"privateEndpoints"` @@ -28264,8 +28264,8 @@ type GetClusterConnectionStringInput interface { } type GetClusterConnectionStringArgs struct { - AwsPrivateLink pulumi.MapInput `pulumi:"awsPrivateLink"` - AwsPrivateLinkSrv pulumi.MapInput `pulumi:"awsPrivateLinkSrv"` + AwsPrivateLink pulumi.StringMapInput `pulumi:"awsPrivateLink"` + AwsPrivateLinkSrv pulumi.StringMapInput `pulumi:"awsPrivateLinkSrv"` // [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. Private pulumi.StringInput `pulumi:"private"` PrivateEndpoints GetClusterConnectionStringPrivateEndpointArrayInput `pulumi:"privateEndpoints"` @@ -28336,12 +28336,12 @@ func (o GetClusterConnectionStringOutput) ToGetClusterConnectionStringOutputWith return o } -func (o GetClusterConnectionStringOutput) AwsPrivateLink() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterConnectionString) map[string]interface{} { return v.AwsPrivateLink }).(pulumi.MapOutput) +func (o GetClusterConnectionStringOutput) AwsPrivateLink() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterConnectionString) map[string]string { return v.AwsPrivateLink }).(pulumi.StringMapOutput) } -func (o GetClusterConnectionStringOutput) AwsPrivateLinkSrv() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterConnectionString) map[string]interface{} { return v.AwsPrivateLinkSrv }).(pulumi.MapOutput) +func (o GetClusterConnectionStringOutput) AwsPrivateLinkSrv() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClusterConnectionString) map[string]string { return v.AwsPrivateLinkSrv }).(pulumi.StringMapOutput) } // [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. @@ -30363,8 +30363,8 @@ func (o GetClustersResultBiConnectorConfigArrayOutput) Index(i pulumi.IntInput) } type GetClustersResultConnectionString struct { - AwsPrivateLink map[string]interface{} `pulumi:"awsPrivateLink"` - AwsPrivateLinkSrv map[string]interface{} `pulumi:"awsPrivateLinkSrv"` + AwsPrivateLink map[string]string `pulumi:"awsPrivateLink"` + AwsPrivateLinkSrv map[string]string `pulumi:"awsPrivateLinkSrv"` // [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. Private string `pulumi:"private"` PrivateEndpoints []GetClustersResultConnectionStringPrivateEndpoint `pulumi:"privateEndpoints"` @@ -30396,8 +30396,8 @@ type GetClustersResultConnectionStringInput interface { } type GetClustersResultConnectionStringArgs struct { - AwsPrivateLink pulumi.MapInput `pulumi:"awsPrivateLink"` - AwsPrivateLinkSrv pulumi.MapInput `pulumi:"awsPrivateLinkSrv"` + AwsPrivateLink pulumi.StringMapInput `pulumi:"awsPrivateLink"` + AwsPrivateLinkSrv pulumi.StringMapInput `pulumi:"awsPrivateLinkSrv"` // [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. Private pulumi.StringInput `pulumi:"private"` PrivateEndpoints GetClustersResultConnectionStringPrivateEndpointArrayInput `pulumi:"privateEndpoints"` @@ -30468,12 +30468,12 @@ func (o GetClustersResultConnectionStringOutput) ToGetClustersResultConnectionSt return o } -func (o GetClustersResultConnectionStringOutput) AwsPrivateLink() pulumi.MapOutput { - return o.ApplyT(func(v GetClustersResultConnectionString) map[string]interface{} { return v.AwsPrivateLink }).(pulumi.MapOutput) +func (o GetClustersResultConnectionStringOutput) AwsPrivateLink() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClustersResultConnectionString) map[string]string { return v.AwsPrivateLink }).(pulumi.StringMapOutput) } -func (o GetClustersResultConnectionStringOutput) AwsPrivateLinkSrv() pulumi.MapOutput { - return o.ApplyT(func(v GetClustersResultConnectionString) map[string]interface{} { return v.AwsPrivateLinkSrv }).(pulumi.MapOutput) +func (o GetClustersResultConnectionStringOutput) AwsPrivateLinkSrv() pulumi.StringMapOutput { + return o.ApplyT(func(v GetClustersResultConnectionString) map[string]string { return v.AwsPrivateLinkSrv }).(pulumi.StringMapOutput) } // [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 3a845e4b..a715f518 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.14.0") + implementation("com.pulumi:pulumi:0.15.0") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/GlobalClusterConfig.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/GlobalClusterConfig.java index 987ed7fd..c2e8147a 100644 --- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/GlobalClusterConfig.java +++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/GlobalClusterConfig.java @@ -12,7 +12,6 @@ import com.pulumi.mongodbatlas.inputs.GlobalClusterConfigState; import com.pulumi.mongodbatlas.outputs.GlobalClusterConfigCustomZoneMapping; import com.pulumi.mongodbatlas.outputs.GlobalClusterConfigManagedNamespace; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Map; @@ -146,14 +145,14 @@ public Output clusterName() { * A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. * */ - @Export(name="customZoneMapping", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") - private Output> customZoneMapping; + @Export(name="customZoneMapping", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> customZoneMapping; /** * @return A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. * */ - public Output> customZoneMapping() { + public Output> customZoneMapping() { return this.customZoneMapping; } /** diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.java index c8b73d90..9f1704f1 100644 --- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.java +++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/CloudProviderAccessAuthorizationFeatureUsageArgs.java @@ -5,7 +5,6 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -18,9 +17,9 @@ public final class CloudProviderAccessAuthorizationFeatureUsageArgs extends com. public static final CloudProviderAccessAuthorizationFeatureUsageArgs Empty = new CloudProviderAccessAuthorizationFeatureUsageArgs(); @Import(name="featureId") - private @Nullable Output> featureId; + private @Nullable Output> featureId; - public Optional>> featureId() { + public Optional>> featureId() { return Optional.ofNullable(this.featureId); } @@ -56,12 +55,12 @@ public Builder(CloudProviderAccessAuthorizationFeatureUsageArgs defaults) { $ = new CloudProviderAccessAuthorizationFeatureUsageArgs(Objects.requireNonNull(defaults)); } - public Builder featureId(@Nullable Output> featureId) { + public Builder featureId(@Nullable Output> featureId) { $.featureId = featureId; return this; } - public Builder featureId(Map featureId) { + public Builder featureId(Map featureId) { return featureId(Output.of(featureId)); } diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/GlobalClusterConfigState.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/GlobalClusterConfigState.java index eb6ed203..da6b758c 100644 --- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/GlobalClusterConfigState.java +++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/inputs/GlobalClusterConfigState.java @@ -7,7 +7,6 @@ import com.pulumi.core.annotations.Import; import com.pulumi.mongodbatlas.inputs.GlobalClusterConfigCustomZoneMappingArgs; import com.pulumi.mongodbatlas.inputs.GlobalClusterConfigManagedNamespaceArgs; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Map; @@ -40,13 +39,13 @@ public Optional> clusterName() { * */ @Import(name="customZoneMapping") - private @Nullable Output> customZoneMapping; + private @Nullable Output> customZoneMapping; /** * @return A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. * */ - public Optional>> customZoneMapping() { + public Optional>> customZoneMapping() { return Optional.ofNullable(this.customZoneMapping); } @@ -150,7 +149,7 @@ public Builder clusterName(String clusterName) { * @return builder * */ - public Builder customZoneMapping(@Nullable Output> customZoneMapping) { + public Builder customZoneMapping(@Nullable Output> customZoneMapping) { $.customZoneMapping = customZoneMapping; return this; } @@ -161,7 +160,7 @@ public Builder customZoneMapping(@Nullable Output> customZone * @return builder * */ - public Builder customZoneMapping(Map customZoneMapping) { + public Builder customZoneMapping(Map customZoneMapping) { return customZoneMapping(Output.of(customZoneMapping)); } diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/CloudProviderAccessAuthorizationFeatureUsage.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/CloudProviderAccessAuthorizationFeatureUsage.java index b6707d7d..9a6608f0 100644 --- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/CloudProviderAccessAuthorizationFeatureUsage.java +++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/CloudProviderAccessAuthorizationFeatureUsage.java @@ -4,7 +4,6 @@ package com.pulumi.mongodbatlas.outputs; import com.pulumi.core.annotations.CustomType; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -13,11 +12,11 @@ @CustomType public final class CloudProviderAccessAuthorizationFeatureUsage { - private @Nullable Map featureId; + private @Nullable Map featureId; private @Nullable String featureType; private CloudProviderAccessAuthorizationFeatureUsage() {} - public Map featureId() { + public Map featureId() { return this.featureId == null ? Map.of() : this.featureId; } public Optional featureType() { @@ -33,7 +32,7 @@ public static Builder builder(CloudProviderAccessAuthorizationFeatureUsage defau } @CustomType.Builder public static final class Builder { - private @Nullable Map featureId; + private @Nullable Map featureId; private @Nullable String featureType; public Builder() {} public Builder(CloudProviderAccessAuthorizationFeatureUsage defaults) { @@ -43,7 +42,7 @@ public Builder(CloudProviderAccessAuthorizationFeatureUsage defaults) { } @CustomType.Setter - public Builder featureId(@Nullable Map featureId) { + public Builder featureId(@Nullable Map featureId) { this.featureId = featureId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClusterConnectionString.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClusterConnectionString.java index be4a4c4c..381f4b9b 100644 --- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClusterConnectionString.java +++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClusterConnectionString.java @@ -6,7 +6,6 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mongodbatlas.outputs.GetClusterConnectionStringPrivateEndpoint; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Map; @@ -14,8 +13,8 @@ @CustomType public final class GetClusterConnectionString { - private Map awsPrivateLink; - private Map awsPrivateLinkSrv; + private Map awsPrivateLink; + private Map awsPrivateLinkSrv; /** * @return [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. * @@ -47,10 +46,10 @@ public final class GetClusterConnectionString { private String standardSrv; private GetClusterConnectionString() {} - public Map awsPrivateLink() { + public Map awsPrivateLink() { return this.awsPrivateLink; } - public Map awsPrivateLinkSrv() { + public Map awsPrivateLinkSrv() { return this.awsPrivateLinkSrv; } /** @@ -102,8 +101,8 @@ public static Builder builder(GetClusterConnectionString defaults) { } @CustomType.Builder public static final class Builder { - private Map awsPrivateLink; - private Map awsPrivateLinkSrv; + private Map awsPrivateLink; + private Map awsPrivateLinkSrv; private String private_; private List privateEndpoints; private String privateSrv; @@ -122,7 +121,7 @@ public Builder(GetClusterConnectionString defaults) { } @CustomType.Setter - public Builder awsPrivateLink(Map awsPrivateLink) { + public Builder awsPrivateLink(Map awsPrivateLink) { if (awsPrivateLink == null) { throw new MissingRequiredPropertyException("GetClusterConnectionString", "awsPrivateLink"); } @@ -130,7 +129,7 @@ public Builder awsPrivateLink(Map awsPrivateLink) { return this; } @CustomType.Setter - public Builder awsPrivateLinkSrv(Map awsPrivateLinkSrv) { + public Builder awsPrivateLinkSrv(Map awsPrivateLinkSrv) { if (awsPrivateLinkSrv == null) { throw new MissingRequiredPropertyException("GetClusterConnectionString", "awsPrivateLinkSrv"); } diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClustersResultConnectionString.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClustersResultConnectionString.java index da83823b..fff30585 100644 --- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClustersResultConnectionString.java +++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetClustersResultConnectionString.java @@ -6,7 +6,6 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mongodbatlas.outputs.GetClustersResultConnectionStringPrivateEndpoint; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Map; @@ -14,8 +13,8 @@ @CustomType public final class GetClustersResultConnectionString { - private Map awsPrivateLink; - private Map awsPrivateLinkSrv; + private Map awsPrivateLink; + private Map awsPrivateLinkSrv; /** * @return [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. * @@ -47,10 +46,10 @@ public final class GetClustersResultConnectionString { private String standardSrv; private GetClustersResultConnectionString() {} - public Map awsPrivateLink() { + public Map awsPrivateLink() { return this.awsPrivateLink; } - public Map awsPrivateLinkSrv() { + public Map awsPrivateLinkSrv() { return this.awsPrivateLinkSrv; } /** @@ -102,8 +101,8 @@ public static Builder builder(GetClustersResultConnectionString defaults) { } @CustomType.Builder public static final class Builder { - private Map awsPrivateLink; - private Map awsPrivateLinkSrv; + private Map awsPrivateLink; + private Map awsPrivateLinkSrv; private String private_; private List privateEndpoints; private String privateSrv; @@ -122,7 +121,7 @@ public Builder(GetClustersResultConnectionString defaults) { } @CustomType.Setter - public Builder awsPrivateLink(Map awsPrivateLink) { + public Builder awsPrivateLink(Map awsPrivateLink) { if (awsPrivateLink == null) { throw new MissingRequiredPropertyException("GetClustersResultConnectionString", "awsPrivateLink"); } @@ -130,7 +129,7 @@ public Builder awsPrivateLink(Map awsPrivateLink) { return this; } @CustomType.Setter - public Builder awsPrivateLinkSrv(Map awsPrivateLinkSrv) { + public Builder awsPrivateLinkSrv(Map awsPrivateLinkSrv) { if (awsPrivateLinkSrv == null) { throw new MissingRequiredPropertyException("GetClustersResultConnectionString", "awsPrivateLinkSrv"); } diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetGlobalClusterConfigResult.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetGlobalClusterConfigResult.java index 958de722..f46f2d90 100644 --- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetGlobalClusterConfigResult.java +++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/outputs/GetGlobalClusterConfigResult.java @@ -6,7 +6,6 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.mongodbatlas.outputs.GetGlobalClusterConfigManagedNamespace; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Map; @@ -19,7 +18,7 @@ public final class GetGlobalClusterConfigResult { * @return A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. * */ - private Map customZoneMapping; + private Map customZoneMapping; /** * @return The provider-assigned unique ID for this managed resource. * @@ -40,7 +39,7 @@ public String clusterName() { * @return A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. * */ - public Map customZoneMapping() { + public Map customZoneMapping() { return this.customZoneMapping; } /** @@ -71,7 +70,7 @@ public static Builder builder(GetGlobalClusterConfigResult defaults) { @CustomType.Builder public static final class Builder { private String clusterName; - private Map customZoneMapping; + private Map customZoneMapping; private String id; private List managedNamespaces; private String projectId; @@ -94,7 +93,7 @@ public Builder clusterName(String clusterName) { return this; } @CustomType.Setter - public Builder customZoneMapping(Map customZoneMapping) { + public Builder customZoneMapping(Map customZoneMapping) { if (customZoneMapping == null) { throw new MissingRequiredPropertyException("GetGlobalClusterConfigResult", "customZoneMapping"); } diff --git a/sdk/nodejs/getGlobalClusterConfig.ts b/sdk/nodejs/getGlobalClusterConfig.ts index 78727458..1d9ffee6 100644 --- a/sdk/nodejs/getGlobalClusterConfig.ts +++ b/sdk/nodejs/getGlobalClusterConfig.ts @@ -128,7 +128,7 @@ export interface GetGlobalClusterConfigResult { /** * A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. */ - readonly customZoneMapping: {[key: string]: any}; + readonly customZoneMapping: {[key: string]: string}; /** * The provider-assigned unique ID for this managed resource. */ diff --git a/sdk/nodejs/globalClusterConfig.ts b/sdk/nodejs/globalClusterConfig.ts index 37eb255f..305565b6 100644 --- a/sdk/nodejs/globalClusterConfig.ts +++ b/sdk/nodejs/globalClusterConfig.ts @@ -118,7 +118,7 @@ export class GlobalClusterConfig extends pulumi.CustomResource { /** * A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. */ - public /*out*/ readonly customZoneMapping!: pulumi.Output<{[key: string]: any}>; + public /*out*/ readonly customZoneMapping!: pulumi.Output<{[key: string]: string}>; /** * Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. */ @@ -180,7 +180,7 @@ export interface GlobalClusterConfigState { /** * A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. */ - customZoneMapping?: pulumi.Input<{[key: string]: any}>; + customZoneMapping?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. */ diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 8d9ea62b..13b34ca2 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -882,7 +882,7 @@ export interface CloudProviderAccessAuthorizationAzure { } export interface CloudProviderAccessAuthorizationFeatureUsage { - featureId?: pulumi.Input<{[key: string]: any}>; + featureId?: pulumi.Input<{[key: string]: pulumi.Input}>; featureType?: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 0e60636c..75157702 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -882,7 +882,7 @@ export interface CloudProviderAccessAuthorizationAzure { } export interface CloudProviderAccessAuthorizationFeatureUsage { - featureId: {[key: string]: any}; + featureId: {[key: string]: string}; featureType: string; } @@ -3527,8 +3527,8 @@ export interface GetClusterBiConnectorConfig { } export interface GetClusterConnectionString { - awsPrivateLink: {[key: string]: any}; - awsPrivateLinkSrv: {[key: string]: any}; + awsPrivateLink: {[key: string]: string}; + awsPrivateLinkSrv: {[key: string]: string}; /** * [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. */ @@ -3918,8 +3918,8 @@ export interface GetClustersResultBiConnectorConfig { } export interface GetClustersResultConnectionString { - awsPrivateLink: {[key: string]: any}; - awsPrivateLinkSrv: {[key: string]: any}; + awsPrivateLink: {[key: string]: string}; + awsPrivateLinkSrv: {[key: string]: string}; /** * [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. */ diff --git a/sdk/python/pulumi_mongodbatlas/_inputs.py b/sdk/python/pulumi_mongodbatlas/_inputs.py index a6089737..1b1ccda8 100644 --- a/sdk/python/pulumi_mongodbatlas/_inputs.py +++ b/sdk/python/pulumi_mongodbatlas/_inputs.py @@ -3435,7 +3435,7 @@ def tenant_id(self, value: pulumi.Input[str]): @pulumi.input_type class CloudProviderAccessAuthorizationFeatureUsageArgs: def __init__(__self__, *, - feature_id: Optional[pulumi.Input[Mapping[str, Any]]] = None, + feature_id: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, feature_type: Optional[pulumi.Input[str]] = None): if feature_id is not None: pulumi.set(__self__, "feature_id", feature_id) @@ -3444,11 +3444,11 @@ def __init__(__self__, *, @property @pulumi.getter(name="featureId") - def feature_id(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def feature_id(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "feature_id") @feature_id.setter - def feature_id(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def feature_id(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "feature_id", value) @property diff --git a/sdk/python/pulumi_mongodbatlas/get_cloud_backup_snapshot_restore_jobs.py b/sdk/python/pulumi_mongodbatlas/get_cloud_backup_snapshot_restore_jobs.py index 39c37cc5..8c39b601 100644 --- a/sdk/python/pulumi_mongodbatlas/get_cloud_backup_snapshot_restore_jobs.py +++ b/sdk/python/pulumi_mongodbatlas/get_cloud_backup_snapshot_restore_jobs.py @@ -137,8 +137,11 @@ def get_cloud_backup_snapshot_restore_jobs(cluster_name: Optional[str] = None, "target_cluster_name": "MyCluster", "target_project_id": "5cf5a45a9ccf6400e60981b6", }) - test = pulumi.Output.all(test_cloud_backup_snapshot_restore_job.project_id, test_cloud_backup_snapshot_restore_job.cluster_name).apply(lambda project_id, cluster_name: mongodbatlas.get_cloud_backup_snapshot_restore_jobs_output(project_id=project_id, - cluster_name=cluster_name, + test = pulumi.Output.all( + project_id=test_cloud_backup_snapshot_restore_job.project_id, + cluster_name=test_cloud_backup_snapshot_restore_job.cluster_name + ).apply(lambda resolved_outputs: mongodbatlas.get_cloud_backup_snapshot_restore_jobs_output(project_id=resolved_outputs['project_id'], + cluster_name=resolved_outputs['cluster_name'], page_num=1, items_per_page=5)) ``` @@ -202,8 +205,11 @@ def get_cloud_backup_snapshot_restore_jobs_output(cluster_name: Optional[pulumi. "target_cluster_name": "MyCluster", "target_project_id": "5cf5a45a9ccf6400e60981b6", }) - test = pulumi.Output.all(test_cloud_backup_snapshot_restore_job.project_id, test_cloud_backup_snapshot_restore_job.cluster_name).apply(lambda project_id, cluster_name: mongodbatlas.get_cloud_backup_snapshot_restore_jobs_output(project_id=project_id, - cluster_name=cluster_name, + test = pulumi.Output.all( + project_id=test_cloud_backup_snapshot_restore_job.project_id, + cluster_name=test_cloud_backup_snapshot_restore_job.cluster_name + ).apply(lambda resolved_outputs: mongodbatlas.get_cloud_backup_snapshot_restore_jobs_output(project_id=resolved_outputs['project_id'], + cluster_name=resolved_outputs['cluster_name'], page_num=1, items_per_page=5)) ``` diff --git a/sdk/python/pulumi_mongodbatlas/get_global_cluster_config.py b/sdk/python/pulumi_mongodbatlas/get_global_cluster_config.py index ae90c9b8..20b8e756 100644 --- a/sdk/python/pulumi_mongodbatlas/get_global_cluster_config.py +++ b/sdk/python/pulumi_mongodbatlas/get_global_cluster_config.py @@ -47,7 +47,7 @@ def cluster_name(self) -> str: @property @pulumi.getter(name="customZoneMapping") - def custom_zone_mapping(self) -> Mapping[str, Any]: + def custom_zone_mapping(self) -> Mapping[str, str]: """ A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. """ diff --git a/sdk/python/pulumi_mongodbatlas/get_network_containers.py b/sdk/python/pulumi_mongodbatlas/get_network_containers.py index 0d9ccb19..73f48a01 100644 --- a/sdk/python/pulumi_mongodbatlas/get_network_containers.py +++ b/sdk/python/pulumi_mongodbatlas/get_network_containers.py @@ -101,8 +101,11 @@ def get_network_containers(project_id: Optional[str] = None, atlas_cidr_block="10.8.0.0/21", provider_name="AWS", region_name="US_EAST_1") - test = pulumi.Output.all(test_network_container.project_id, test_network_container.provider_name).apply(lambda project_id, provider_name: mongodbatlas.get_network_containers_output(project_id=project_id, - provider_name=provider_name)) + test = pulumi.Output.all( + project_id=test_network_container.project_id, + provider_name=test_network_container.provider_name + ).apply(lambda resolved_outputs: mongodbatlas.get_network_containers_output(project_id=resolved_outputs['project_id'], + provider_name=resolved_outputs['provider_name'])) ``` @@ -146,8 +149,11 @@ def get_network_containers_output(project_id: Optional[pulumi.Input[str]] = None atlas_cidr_block="10.8.0.0/21", provider_name="AWS", region_name="US_EAST_1") - test = pulumi.Output.all(test_network_container.project_id, test_network_container.provider_name).apply(lambda project_id, provider_name: mongodbatlas.get_network_containers_output(project_id=project_id, - provider_name=provider_name)) + test = pulumi.Output.all( + project_id=test_network_container.project_id, + provider_name=test_network_container.provider_name + ).apply(lambda resolved_outputs: mongodbatlas.get_network_containers_output(project_id=resolved_outputs['project_id'], + provider_name=resolved_outputs['provider_name'])) ``` diff --git a/sdk/python/pulumi_mongodbatlas/global_cluster_config.py b/sdk/python/pulumi_mongodbatlas/global_cluster_config.py index 66d66405..bdcd62ec 100644 --- a/sdk/python/pulumi_mongodbatlas/global_cluster_config.py +++ b/sdk/python/pulumi_mongodbatlas/global_cluster_config.py @@ -87,14 +87,14 @@ def managed_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ class _GlobalClusterConfigState: def __init__(__self__, *, cluster_name: Optional[pulumi.Input[str]] = None, - custom_zone_mapping: Optional[pulumi.Input[Mapping[str, Any]]] = None, + custom_zone_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, custom_zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['GlobalClusterConfigCustomZoneMappingArgs']]]] = None, managed_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input['GlobalClusterConfigManagedNamespaceArgs']]]] = None, project_id: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering GlobalClusterConfig resources. :param pulumi.Input[str] cluster_name: The name of the Global Cluster. - :param pulumi.Input[Mapping[str, Any]] custom_zone_mapping: A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_zone_mapping: A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. :param pulumi.Input[Sequence[pulumi.Input['GlobalClusterConfigCustomZoneMappingArgs']]] custom_zone_mappings: Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. :param pulumi.Input[Sequence[pulumi.Input['GlobalClusterConfigManagedNamespaceArgs']]] managed_namespaces: Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details. :param pulumi.Input[str] project_id: The unique ID for the project to create the database user. @@ -124,14 +124,14 @@ def cluster_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="customZoneMapping") - def custom_zone_mapping(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def custom_zone_mapping(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. """ return pulumi.get(self, "custom_zone_mapping") @custom_zone_mapping.setter - def custom_zone_mapping(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def custom_zone_mapping(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "custom_zone_mapping", value) @property @@ -392,7 +392,7 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, cluster_name: Optional[pulumi.Input[str]] = None, - custom_zone_mapping: Optional[pulumi.Input[Mapping[str, Any]]] = None, + custom_zone_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, custom_zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GlobalClusterConfigCustomZoneMappingArgs', 'GlobalClusterConfigCustomZoneMappingArgsDict']]]]] = None, managed_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GlobalClusterConfigManagedNamespaceArgs', 'GlobalClusterConfigManagedNamespaceArgsDict']]]]] = None, project_id: Optional[pulumi.Input[str]] = None) -> 'GlobalClusterConfig': @@ -404,7 +404,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] cluster_name: The name of the Global Cluster. - :param pulumi.Input[Mapping[str, Any]] custom_zone_mapping: A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_zone_mapping: A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. :param pulumi.Input[Sequence[pulumi.Input[Union['GlobalClusterConfigCustomZoneMappingArgs', 'GlobalClusterConfigCustomZoneMappingArgsDict']]]] custom_zone_mappings: Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details. :param pulumi.Input[Sequence[pulumi.Input[Union['GlobalClusterConfigManagedNamespaceArgs', 'GlobalClusterConfigManagedNamespaceArgsDict']]]] managed_namespaces: Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details. :param pulumi.Input[str] project_id: The unique ID for the project to create the database user. @@ -430,7 +430,7 @@ def cluster_name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="customZoneMapping") - def custom_zone_mapping(self) -> pulumi.Output[Mapping[str, Any]]: + def custom_zone_mapping(self) -> pulumi.Output[Mapping[str, str]]: """ A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty. """ diff --git a/sdk/python/pulumi_mongodbatlas/outputs.py b/sdk/python/pulumi_mongodbatlas/outputs.py index 80671f3b..2bd241c5 100644 --- a/sdk/python/pulumi_mongodbatlas/outputs.py +++ b/sdk/python/pulumi_mongodbatlas/outputs.py @@ -3712,7 +3712,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - feature_id: Optional[Mapping[str, Any]] = None, + feature_id: Optional[Mapping[str, str]] = None, feature_type: Optional[str] = None): if feature_id is not None: pulumi.set(__self__, "feature_id", feature_id) @@ -3721,7 +3721,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="featureId") - def feature_id(self) -> Optional[Mapping[str, Any]]: + def feature_id(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "feature_id") @property @@ -13574,8 +13574,8 @@ def read_preference(self) -> str: @pulumi.output_type class GetClusterConnectionStringResult(dict): def __init__(__self__, *, - aws_private_link: Mapping[str, Any], - aws_private_link_srv: Mapping[str, Any], + aws_private_link: Mapping[str, str], + aws_private_link_srv: Mapping[str, str], private: str, private_endpoints: Sequence['outputs.GetClusterConnectionStringPrivateEndpointResult'], private_srv: str, @@ -13605,12 +13605,12 @@ def __init__(__self__, *, @property @pulumi.getter(name="awsPrivateLink") - def aws_private_link(self) -> Mapping[str, Any]: + def aws_private_link(self) -> Mapping[str, str]: return pulumi.get(self, "aws_private_link") @property @pulumi.getter(name="awsPrivateLinkSrv") - def aws_private_link_srv(self) -> Mapping[str, Any]: + def aws_private_link_srv(self) -> Mapping[str, str]: return pulumi.get(self, "aws_private_link_srv") @property @@ -14702,8 +14702,8 @@ def read_preference(self) -> str: @pulumi.output_type class GetClustersResultConnectionStringResult(dict): def __init__(__self__, *, - aws_private_link: Mapping[str, Any], - aws_private_link_srv: Mapping[str, Any], + aws_private_link: Mapping[str, str], + aws_private_link_srv: Mapping[str, str], private: str, private_endpoints: Sequence['outputs.GetClustersResultConnectionStringPrivateEndpointResult'], private_srv: str, @@ -14733,12 +14733,12 @@ def __init__(__self__, *, @property @pulumi.getter(name="awsPrivateLink") - def aws_private_link(self) -> Mapping[str, Any]: + def aws_private_link(self) -> Mapping[str, str]: return pulumi.get(self, "aws_private_link") @property @pulumi.getter(name="awsPrivateLinkSrv") - def aws_private_link_srv(self) -> Mapping[str, Any]: + def aws_private_link_srv(self) -> Mapping[str, str]: return pulumi.get(self, "aws_private_link_srv") @property