diff --git a/provider/cmd/pulumi-resource-mongodbatlas/bridge-metadata.json b/provider/cmd/pulumi-resource-mongodbatlas/bridge-metadata.json
index 5661ca3b..7a326fb3 100644
--- a/provider/cmd/pulumi-resource-mongodbatlas/bridge-metadata.json
+++ b/provider/cmd/pulumi-resource-mongodbatlas/bridge-metadata.json
@@ -199,15 +199,6 @@
}
}
},
- "mongodbatlas_cloud_provider_access": {
- "current": "mongodbatlas:index/cloudProviderAccess:CloudProviderAccess",
- "majorVersion": 3,
- "fields": {
- "feature_usages": {
- "maxItemsOne": false
- }
- }
- },
"mongodbatlas_cloud_provider_access_authorization": {
"current": "mongodbatlas:index/cloudProviderAccessAuthorization:CloudProviderAccessAuthorization",
"majorVersion": 3,
@@ -505,6 +496,12 @@
"fields": {
"associated_domains": {
"maxItemsOne": false
+ },
+ "audience_claim": {
+ "maxItemsOne": false
+ },
+ "requested_scopes": {
+ "maxItemsOne": false
}
}
},
@@ -675,6 +672,27 @@
"current": "mongodbatlas:index/project:Project",
"majorVersion": 3,
"fields": {
+ "ip_addresses": {
+ "fields": {
+ "services": {
+ "fields": {
+ "clusters": {
+ "maxItemsOne": false,
+ "elem": {
+ "fields": {
+ "inbound": {
+ "maxItemsOne": false
+ },
+ "outbound": {
+ "maxItemsOne": false
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"limits": {
"maxItemsOne": false
},
@@ -1220,22 +1238,6 @@
}
}
},
- "mongodbatlas_cloud_provider_access": {
- "current": "mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess",
- "majorVersion": 3,
- "fields": {
- "aws_iam_roles": {
- "maxItemsOne": false,
- "elem": {
- "fields": {
- "feature_usages": {
- "maxItemsOne": false
- }
- }
- }
- }
- }
- },
"mongodbatlas_cloud_provider_access_setup": {
"current": "mongodbatlas:index/getCloudProviderAccessSetup:getCloudProviderAccessSetup",
"majorVersion": 3,
@@ -1834,6 +1836,9 @@
}
}
},
+ "audience_claim": {
+ "maxItemsOne": false
+ },
"pem_file_info": {
"maxItemsOne": false,
"elem": {
@@ -1843,6 +1848,9 @@
}
}
}
+ },
+ "requested_scopes": {
+ "maxItemsOne": false
}
}
},
@@ -1883,6 +1891,9 @@
}
}
},
+ "audience_claim": {
+ "maxItemsOne": false
+ },
"pem_file_info": {
"maxItemsOne": false,
"elem": {
@@ -1892,6 +1903,9 @@
}
}
}
+ },
+ "requested_scopes": {
+ "maxItemsOne": false
}
}
}
@@ -2199,6 +2213,27 @@
"current": "mongodbatlas:index/getProject:getProject",
"majorVersion": 3,
"fields": {
+ "ip_addresses": {
+ "fields": {
+ "services": {
+ "fields": {
+ "clusters": {
+ "maxItemsOne": false,
+ "elem": {
+ "fields": {
+ "inbound": {
+ "maxItemsOne": false
+ },
+ "outbound": {
+ "maxItemsOne": false
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"limits": {
"maxItemsOne": false
},
@@ -2274,6 +2309,27 @@
"maxItemsOne": false,
"elem": {
"fields": {
+ "ip_addresses": {
+ "fields": {
+ "services": {
+ "fields": {
+ "clusters": {
+ "maxItemsOne": false,
+ "elem": {
+ "fields": {
+ "inbound": {
+ "maxItemsOne": false
+ },
+ "outbound": {
+ "maxItemsOne": false
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"limits": {
"maxItemsOne": false
},
@@ -2444,6 +2500,13 @@
},
"auto-settings": {
"datasources": {
+ "mongodbatlas_backup_compliance_policy": {
+ "maxItemsOneOverrides": {
+ "on_demand_policy_item": true,
+ "policy_item_daily": true,
+ "policy_item_hourly": true
+ }
+ },
"mongodbatlas_x509_authentication_database_user": {
"renames": [
"mongodbatlas:index/get509AuthenticationDatabaseUser:get509AuthenticationDatabaseUser"
@@ -2464,7 +2527,6 @@
"mongodbatlas:index/cloudBackupSnapshotExportBucket:CloudBackupSnapshotExportBucket": 0,
"mongodbatlas:index/cloudBackupSnapshotExportJob:CloudBackupSnapshotExportJob": 0,
"mongodbatlas:index/cloudBackupSnapshotRestoreJob:CloudBackupSnapshotRestoreJob": 0,
- "mongodbatlas:index/cloudProviderAccess:CloudProviderAccess": 0,
"mongodbatlas:index/cloudProviderAccessAuthorization:CloudProviderAccessAuthorization": 0,
"mongodbatlas:index/cloudProviderAccessSetup:CloudProviderAccessSetup": 0,
"mongodbatlas:index/cluster:Cluster": 0,
@@ -2530,7 +2592,6 @@
"mongodbatlas:index/getCloudBackupSnapshotRestoreJob:getCloudBackupSnapshotRestoreJob": 0,
"mongodbatlas:index/getCloudBackupSnapshotRestoreJobs:getCloudBackupSnapshotRestoreJobs": 0,
"mongodbatlas:index/getCloudBackupSnapshots:getCloudBackupSnapshots": 0,
- "mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess": 0,
"mongodbatlas:index/getCloudProviderAccessSetup:getCloudProviderAccessSetup": 0,
"mongodbatlas:index/getCluster:getCluster": 0,
"mongodbatlas:index/getClusterOutageSimulation:getClusterOutageSimulation": 0,
@@ -2613,7 +2674,6 @@
"mongodbatlas:index/cloudBackupSnapshotExportBucket:CloudBackupSnapshotExportBucket": "mongodbatlas_cloud_backup_snapshot_export_bucket",
"mongodbatlas:index/cloudBackupSnapshotExportJob:CloudBackupSnapshotExportJob": "mongodbatlas_cloud_backup_snapshot_export_job",
"mongodbatlas:index/cloudBackupSnapshotRestoreJob:CloudBackupSnapshotRestoreJob": "mongodbatlas_cloud_backup_snapshot_restore_job",
- "mongodbatlas:index/cloudProviderAccess:CloudProviderAccess": "mongodbatlas_cloud_provider_access",
"mongodbatlas:index/cloudProviderAccessAuthorization:CloudProviderAccessAuthorization": "mongodbatlas_cloud_provider_access_authorization",
"mongodbatlas:index/cloudProviderAccessSetup:CloudProviderAccessSetup": "mongodbatlas_cloud_provider_access_setup",
"mongodbatlas:index/cluster:Cluster": "mongodbatlas_cluster",
@@ -2679,7 +2739,6 @@
"mongodbatlas:index/getCloudBackupSnapshotRestoreJob:getCloudBackupSnapshotRestoreJob": "mongodbatlas_cloud_backup_snapshot_restore_job",
"mongodbatlas:index/getCloudBackupSnapshotRestoreJobs:getCloudBackupSnapshotRestoreJobs": "mongodbatlas_cloud_backup_snapshot_restore_jobs",
"mongodbatlas:index/getCloudBackupSnapshots:getCloudBackupSnapshots": "mongodbatlas_cloud_backup_snapshots",
- "mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess": "mongodbatlas_cloud_provider_access",
"mongodbatlas:index/getCloudProviderAccessSetup:getCloudProviderAccessSetup": "mongodbatlas_cloud_provider_access_setup",
"mongodbatlas:index/getCluster:getCluster": "mongodbatlas_cluster",
"mongodbatlas:index/getClusterOutageSimulation:getClusterOutageSimulation": "mongodbatlas_cluster_outage_simulation",
@@ -2957,10 +3016,6 @@
"featureId": "feature_id",
"featureType": "feature_type"
},
- "mongodbatlas:index/CloudProviderAccessFeatureUsage:CloudProviderAccessFeatureUsage": {
- "featureId": "feature_id",
- "featureType": "feature_type"
- },
"mongodbatlas:index/CloudProviderAccessSetupAwsConfig:CloudProviderAccessSetupAwsConfig": {
"atlasAssumedRoleExternalId": "atlas_assumed_role_external_id",
"atlasAwsAccountArn": "atlas_aws_account_arn"
@@ -3187,6 +3242,11 @@
"projectId": "project_id",
"roleNames": "role_names"
},
+ "mongodbatlas:index/ProjectIpAddressesServicesCluster:ProjectIpAddressesServicesCluster": {
+ "clusterName": "cluster_name",
+ "inbounds": "inbound",
+ "outbounds": "outbound"
+ },
"mongodbatlas:index/ProjectLimit:ProjectLimit": {
"currentUsage": "current_usage",
"defaultLimit": "default_limit",
@@ -3347,17 +3407,6 @@
"snapshotId": "snapshot_id",
"snapshotRestoreJobId": "snapshot_restore_job_id"
},
- "mongodbatlas:index/cloudProviderAccess:CloudProviderAccess": {
- "atlasAssumedRoleExternalId": "atlas_assumed_role_external_id",
- "atlasAwsAccountArn": "atlas_aws_account_arn",
- "authorizedDate": "authorized_date",
- "createdDate": "created_date",
- "featureUsages": "feature_usages",
- "iamAssumedRoleArn": "iam_assumed_role_arn",
- "projectId": "project_id",
- "providerName": "provider_name",
- "roleId": "role_id"
- },
"mongodbatlas:index/cloudProviderAccessAuthorization:CloudProviderAccessAuthorization": {
"authorizedDate": "authorized_date",
"featureUsages": "feature_usages",
@@ -3490,13 +3539,19 @@
},
"mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider": {
"associatedDomains": "associated_domains",
+ "audienceClaims": "audience_claim",
+ "clientId": "client_id",
"federationSettingsId": "federation_settings_id",
+ "groupsClaim": "groups_claim",
+ "idpId": "idp_id",
"issuerUri": "issuer_uri",
"oktaIdpId": "okta_idp_id",
"requestBinding": "request_binding",
+ "requestedScopes": "requested_scopes",
"responseSignatureAlgorithm": "response_signature_algorithm",
"ssoDebugEnabled": "sso_debug_enabled",
- "ssoUrl": "sso_url"
+ "ssoUrl": "sso_url",
+ "userClaim": "user_claim"
},
"mongodbatlas:index/federatedSettingsOrgConfig:FederatedSettingsOrgConfig": {
"domainAllowLists": "domain_allow_list",
@@ -4123,24 +4178,6 @@
"cloudProvider": "cloud_provider",
"replicaSetName": "replica_set_name"
},
- "mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess": {
- "awsIamRoles": "aws_iam_roles",
- "projectId": "project_id"
- },
- "mongodbatlas:index/getCloudProviderAccessAwsIamRole:getCloudProviderAccessAwsIamRole": {
- "atlasAssumedRoleExternalId": "atlas_assumed_role_external_id",
- "atlasAwsAccountArn": "atlas_aws_account_arn",
- "authorizedDate": "authorized_date",
- "createdDate": "created_date",
- "featureUsages": "feature_usages",
- "iamAssumedRoleArn": "iam_assumed_role_arn",
- "providerName": "provider_name",
- "roleId": "role_id"
- },
- "mongodbatlas:index/getCloudProviderAccessAwsIamRoleFeatureUsage:getCloudProviderAccessAwsIamRoleFeatureUsage": {
- "featureId": "feature_id",
- "featureType": "feature_type"
- },
"mongodbatlas:index/getCloudProviderAccessSetup:getCloudProviderAccessSetup": {
"awsConfigs": "aws_config",
"azureConfigs": "azure_config",
@@ -4707,17 +4744,23 @@
"acsUrl": "acs_url",
"associatedDomains": "associated_domains",
"associatedOrgs": "associated_orgs",
+ "audienceClaims": "audience_claim",
"audienceUri": "audience_uri",
+ "clientId": "client_id",
"displayName": "display_name",
"federationSettingsId": "federation_settings_id",
+ "groupsClaim": "groups_claim",
"identityProviderId": "identity_provider_id",
+ "idpId": "idp_id",
"issuerUri": "issuer_uri",
"oktaIdpId": "okta_idp_id",
"pemFileInfos": "pem_file_info",
"requestBinding": "request_binding",
+ "requestedScopes": "requested_scopes",
"responseSignatureAlgorithm": "response_signature_algorithm",
"ssoDebugEnabled": "sso_debug_enabled",
- "ssoUrl": "sso_url"
+ "ssoUrl": "sso_url",
+ "userClaim": "user_claim"
},
"mongodbatlas:index/getFederatedSettingsIdentityProviderAssociatedOrg:getFederatedSettingsIdentityProviderAssociatedOrg": {
"domainAllowLists": "domain_allow_list",
@@ -4759,15 +4802,21 @@
"acsUrl": "acs_url",
"associatedDomains": "associated_domains",
"associatedOrgs": "associated_orgs",
+ "audienceClaims": "audience_claim",
"audienceUri": "audience_uri",
+ "clientId": "client_id",
"displayName": "display_name",
+ "groupsClaim": "groups_claim",
+ "idpId": "idp_id",
"issuerUri": "issuer_uri",
"oktaIdpId": "okta_idp_id",
"pemFileInfos": "pem_file_info",
"requestBinding": "request_binding",
+ "requestedScopes": "requested_scopes",
"responseSignatureAlgorithm": "response_signature_algorithm",
"ssoDebugEnabled": "sso_debug_enabled",
- "ssoUrl": "sso_url"
+ "ssoUrl": "sso_url",
+ "userClaim": "user_claim"
},
"mongodbatlas:index/getFederatedSettingsIdentityProvidersResultAssociatedOrg:getFederatedSettingsIdentityProvidersResultAssociatedOrg": {
"domainAllowLists": "domain_allow_list",
@@ -5078,8 +5127,11 @@
"teamsIds": "teams_ids"
},
"mongodbatlas:index/getOrganization:getOrganization": {
+ "apiAccessListRequired": "api_access_list_required",
"isDeleted": "is_deleted",
- "orgId": "org_id"
+ "multiFactorAuthRequired": "multi_factor_auth_required",
+ "orgId": "org_id",
+ "restrictEmployeeAccess": "restrict_employee_access"
},
"mongodbatlas:index/getOrganizations:getOrganizations": {
"includeDeletedOrgs": "include_deleted_orgs",
@@ -5088,7 +5140,10 @@
"totalCount": "total_count"
},
"mongodbatlas:index/getOrganizationsResult:getOrganizationsResult": {
- "isDeleted": "is_deleted"
+ "apiAccessListRequired": "api_access_list_required",
+ "isDeleted": "is_deleted",
+ "multiFactorAuthRequired": "multi_factor_auth_required",
+ "restrictEmployeeAccess": "restrict_employee_access"
},
"mongodbatlas:index/getPrivateEndpointRegionalMode:getPrivateEndpointRegionalMode": {
"projectId": "project_id"
@@ -5165,6 +5220,7 @@
},
"mongodbatlas:index/getProject:getProject": {
"clusterCount": "cluster_count",
+ "ipAddresses": "ip_addresses",
"isCollectDatabaseSpecificsStatisticsEnabled": "is_collect_database_specifics_statistics_enabled",
"isDataExplorerEnabled": "is_data_explorer_enabled",
"isExtendedStorageSizesEnabled": "is_extended_storage_sizes_enabled",
@@ -5214,6 +5270,11 @@
"ipAddress": "ip_address",
"projectId": "project_id"
},
+ "mongodbatlas:index/getProjectIpAddressesServicesCluster:getProjectIpAddressesServicesCluster": {
+ "clusterName": "cluster_name",
+ "inbounds": "inbound",
+ "outbounds": "outbound"
+ },
"mongodbatlas:index/getProjectLimit:getProjectLimit": {
"currentUsage": "current_usage",
"defaultLimit": "default_limit",
@@ -5230,6 +5291,7 @@
},
"mongodbatlas:index/getProjectsResult:getProjectsResult": {
"clusterCount": "cluster_count",
+ "ipAddresses": "ip_addresses",
"isCollectDatabaseSpecificsStatisticsEnabled": "is_collect_database_specifics_statistics_enabled",
"isDataExplorerEnabled": "is_data_explorer_enabled",
"isExtendedStorageSizesEnabled": "is_extended_storage_sizes_enabled",
@@ -5240,6 +5302,11 @@
"projectId": "project_id",
"regionUsageRestrictions": "region_usage_restrictions"
},
+ "mongodbatlas:index/getProjectsResultIpAddressesServicesCluster:getProjectsResultIpAddressesServicesCluster": {
+ "clusterName": "cluster_name",
+ "inbounds": "inbound",
+ "outbounds": "outbound"
+ },
"mongodbatlas:index/getProjectsResultLimit:getProjectsResultLimit": {
"currentUsage": "current_usage",
"defaultLimit": "default_limit",
@@ -5276,8 +5343,6 @@
"mongodbatlas:index/getSearchIndexes:getSearchIndexes": {
"clusterName": "cluster_name",
"collectionName": "collection_name",
- "itemsPerPage": "items_per_page",
- "pageNum": "page_num",
"projectId": "project_id",
"totalCount": "total_count"
},
@@ -5511,11 +5576,14 @@
"teamsIds": "teams_ids"
},
"mongodbatlas:index/organization:Organization": {
+ "apiAccessListRequired": "api_access_list_required",
"federationSettingsId": "federation_settings_id",
+ "multiFactorAuthRequired": "multi_factor_auth_required",
"orgId": "org_id",
"orgOwnerId": "org_owner_id",
"privateKey": "private_key",
"publicKey": "public_key",
+ "restrictEmployeeAccess": "restrict_employee_access",
"roleNames": "role_names"
},
"mongodbatlas:index/privateEndpointRegionalMode:PrivateEndpointRegionalMode": {
@@ -5576,6 +5644,7 @@
},
"mongodbatlas:index/project:Project": {
"clusterCount": "cluster_count",
+ "ipAddresses": "ip_addresses",
"isCollectDatabaseSpecificsStatisticsEnabled": "is_collect_database_specifics_statistics_enabled",
"isDataExplorerEnabled": "is_data_explorer_enabled",
"isExtendedStorageSizesEnabled": "is_extended_storage_sizes_enabled",
diff --git a/provider/cmd/pulumi-resource-mongodbatlas/schema.json b/provider/cmd/pulumi-resource-mongodbatlas/schema.json
index 9269bbec..dc005f3c 100644
--- a/provider/cmd/pulumi-resource-mongodbatlas/schema.json
+++ b/provider/cmd/pulumi-resource-mongodbatlas/schema.json
@@ -698,7 +698,7 @@
},
"datadogRegion": {
"type": "string",
- "description": "Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.\n"
+ "description": "Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.\n"
},
"delayMin": {
"type": "integer",
@@ -1419,28 +1419,6 @@
}
}
},
- "mongodbatlas:index/CloudProviderAccessFeatureUsage:CloudProviderAccessFeatureUsage": {
- "properties": {
- "featureId": {
- "type": "object",
- "additionalProperties": {
- "$ref": "pulumi.json#/Any"
- }
- },
- "featureType": {
- "type": "string"
- }
- },
- "type": "object",
- "language": {
- "nodejs": {
- "requiredOutputs": [
- "featureId",
- "featureType"
- ]
- }
- }
- },
"mongodbatlas:index/CloudProviderAccessSetupAwsConfig:CloudProviderAccessSetupAwsConfig": {
"properties": {
"atlasAssumedRoleExternalId": {
@@ -2170,7 +2148,7 @@
},
"databaseName": {
"type": "string",
- "description": "Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.\n"
+ "description": "Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases. This field should be set to `admin` for a custom MongoDB role.\n"
},
"roleName": {
"type": "string",
@@ -2217,7 +2195,7 @@
},
"roleId": {
"type": "string",
- "description": "ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `role_id` attribute of the `mongodbatlas.CloudProviderAccess` resource.\n"
+ "description": "ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `role_id` attribute of the `mongodbatlas_cloud_provider_access` resource.\n"
},
"secretAccessKey": {
"type": "string",
@@ -2425,7 +2403,10 @@
"language": {
"nodejs": {
"requiredOutputs": [
- "maxWildcardCollections"
+ "collections",
+ "maxWildcardCollections",
+ "name",
+ "views"
]
}
}
@@ -2443,7 +2424,14 @@
"description": "Name of the Atlas Federated Database Instance.\n### `cloud_provider_config` - (Optional) Cloud provider linked to this data federated instance.\n#### `aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloud_provider_config` since AWS is currently the only supported Cloud vendor on this feature at this time.\n"
}
},
- "type": "object"
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "name"
+ ]
+ }
+ }
},
"mongodbatlas:index/FederatedDatabaseInstanceStorageDatabaseCollectionDataSource:FederatedDatabaseInstanceStorageDatabaseCollectionDataSource": {
"properties": {
@@ -2484,7 +2472,24 @@
}
}
},
- "type": "object"
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "allowInsecure",
+ "collection",
+ "collectionRegex",
+ "database",
+ "databaseRegex",
+ "datasetName",
+ "defaultFormat",
+ "path",
+ "provenanceFieldName",
+ "storeName",
+ "urls"
+ ]
+ }
+ }
},
"mongodbatlas:index/FederatedDatabaseInstanceStorageDatabaseView:FederatedDatabaseInstanceStorageDatabaseView": {
"properties": {
@@ -2571,7 +2576,29 @@
}
}
},
- "type": "object"
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "additionalStorageClasses",
+ "allowInsecure",
+ "bucket",
+ "clusterId",
+ "clusterName",
+ "defaultFormat",
+ "delimiter",
+ "includeTags",
+ "name",
+ "prefix",
+ "projectId",
+ "provider",
+ "public",
+ "readPreference",
+ "region",
+ "urls"
+ ]
+ }
+ }
},
"mongodbatlas:index/FederatedDatabaseInstanceStorageStoreReadPreference:FederatedDatabaseInstanceStorageStoreReadPreference": {
"properties": {
@@ -2588,7 +2615,16 @@
}
}
},
- "type": "object"
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "maxStalenessSeconds",
+ "mode",
+ "tagSets"
+ ]
+ }
+ }
},
"mongodbatlas:index/FederatedDatabaseInstanceStorageStoreReadPreferenceTagSet:FederatedDatabaseInstanceStorageStoreReadPreferenceTagSet": {
"properties": {
@@ -2614,7 +2650,15 @@
"type": "string"
}
},
- "type": "object"
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "name",
+ "value"
+ ]
+ }
+ }
},
"mongodbatlas:index/FederatedSettingsOrgRoleMappingRoleAssignment:FederatedSettingsOrgRoleMappingRoleAssignment": {
"properties": {
@@ -2957,6 +3001,68 @@
},
"type": "object"
},
+ "mongodbatlas:index/ProjectIpAddresses:ProjectIpAddresses": {
+ "properties": {
+ "services": {
+ "$ref": "#/types/mongodbatlas:index/ProjectIpAddressesServices:ProjectIpAddressesServices"
+ }
+ },
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "services"
+ ]
+ }
+ }
+ },
+ "mongodbatlas:index/ProjectIpAddressesServices:ProjectIpAddressesServices": {
+ "properties": {
+ "clusters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/mongodbatlas:index/ProjectIpAddressesServicesCluster:ProjectIpAddressesServicesCluster"
+ }
+ }
+ },
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "clusters"
+ ]
+ }
+ }
+ },
+ "mongodbatlas:index/ProjectIpAddressesServicesCluster:ProjectIpAddressesServicesCluster": {
+ "properties": {
+ "clusterName": {
+ "type": "string"
+ },
+ "inbounds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "outbounds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "type": "object",
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "clusterName",
+ "inbounds",
+ "outbounds"
+ ]
+ }
+ }
+ },
"mongodbatlas:index/ProjectLimit:ProjectLimit": {
"properties": {
"currentUsage": {
@@ -3110,7 +3216,7 @@
},
"sourceCollection": {
"type": "string",
- "description": "Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).\n"
+ "description": "(Required) Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).\n"
}
},
"type": "object",
@@ -4454,7 +4560,7 @@
},
"datadogRegion": {
"type": "string",
- "description": "Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.\n"
+ "description": "Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.\n"
},
"delayMin": {
"type": "integer",
@@ -4814,7 +4920,7 @@
},
"datadogRegion": {
"type": "string",
- "description": "Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.\n"
+ "description": "Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.\n"
},
"delayMin": {
"type": "integer",
@@ -5268,11 +5374,7 @@
],
"language": {
"nodejs": {
- "requiredInputs": [
- "frequencyInterval",
- "retentionUnit",
- "retentionValue"
- ]
+ "requiredInputs": []
}
}
},
@@ -5309,11 +5411,7 @@
],
"language": {
"nodejs": {
- "requiredInputs": [
- "frequencyInterval",
- "retentionUnit",
- "retentionValue"
- ]
+ "requiredInputs": []
}
}
},
@@ -5350,11 +5448,7 @@
],
"language": {
"nodejs": {
- "requiredInputs": [
- "frequencyInterval",
- "retentionUnit",
- "retentionValue"
- ]
+ "requiredInputs": []
}
}
},
@@ -5391,11 +5485,7 @@
],
"language": {
"nodejs": {
- "requiredInputs": [
- "frequencyInterval",
- "retentionUnit",
- "retentionValue"
- ]
+ "requiredInputs": []
}
}
},
@@ -6033,84 +6123,6 @@
}
}
},
- "mongodbatlas:index/getCloudProviderAccessAwsIamRole:getCloudProviderAccessAwsIamRole": {
- "properties": {
- "atlasAssumedRoleExternalId": {
- "type": "string",
- "description": "Unique external ID Atlas uses when assuming the IAM role in your AWS account.\n"
- },
- "atlasAwsAccountArn": {
- "type": "string",
- "description": "ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.\n"
- },
- "authorizedDate": {
- "type": "string",
- "description": "Date on which this role was authorized.\n"
- },
- "createdDate": {
- "type": "string",
- "description": "Date on which this role was created.\n"
- },
- "featureUsages": {
- "type": "array",
- "items": {
- "$ref": "#/types/mongodbatlas:index/getCloudProviderAccessAwsIamRoleFeatureUsage:getCloudProviderAccessAwsIamRoleFeatureUsage"
- },
- "description": "Atlas features this AWS IAM role is linked to.\n"
- },
- "iamAssumedRoleArn": {
- "type": "string",
- "description": "ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.\n"
- },
- "providerName": {
- "type": "string",
- "description": "Name of the cloud provider. Currently limited to AWS.\n"
- },
- "roleId": {
- "type": "string",
- "description": "Unique ID of this role.\n"
- }
- },
- "type": "object",
- "required": [
- "atlasAssumedRoleExternalId",
- "atlasAwsAccountArn",
- "authorizedDate",
- "createdDate",
- "featureUsages",
- "iamAssumedRoleArn",
- "providerName",
- "roleId"
- ],
- "language": {
- "nodejs": {
- "requiredInputs": []
- }
- }
- },
- "mongodbatlas:index/getCloudProviderAccessAwsIamRoleFeatureUsage:getCloudProviderAccessAwsIamRoleFeatureUsage": {
- "properties": {
- "featureId": {
- "type": "object",
- "additionalProperties": {
- "$ref": "pulumi.json#/Any"
- }
- },
- "featureType": {
- "type": "string"
- }
- },
- "type": "object",
- "required": [
- "featureId",
- "featureType"
- ],
- "language": {
- "nodejs": {
- "requiredInputs": []
- }
- }
- },
"mongodbatlas:index/getCloudProviderAccessSetupAwsConfig:getCloudProviderAccessSetupAwsConfig": {
"properties": {
"atlasAssumedRoleExternalId": {
@@ -8032,6 +8044,7 @@
},
"password": {
"type": "string",
+ "deprecationMessage": "this parameter is deprecated and will be removed in version 1.16.0",
"secret": true
},
"projectId": {
@@ -9216,8 +9229,7 @@
"description": "Flag that indicates whether domain restriction is enabled for the connected organization.\n"
},
"identityProviderId": {
- "type": "string",
- "description": "Unique 20-hexadecimal digit string that identifies the IdP.\n"
+ "type": "string"
},
"orgId": {
"type": "string",
@@ -9419,14 +9431,33 @@
},
"description": "List that contains the configured domains from which users can log in for this IdP.\n"
},
+ "audienceClaims": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Identifier of the intended recipient of the token.\n"
+ },
"audienceUri": {
"type": "string",
"description": "Identifier for the intended audience of the SAML Assertion.\n"
},
+ "clientId": {
+ "type": "string",
+ "description": "Client identifier that is assigned to an application by the Identity Provider.\n"
+ },
"displayName": {
"type": "string",
"description": "Human-readable label that identifies the IdP.\n"
},
+ "groupsClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains IdP Group IDs in the token.\n"
+ },
+ "idpId": {
+ "type": "string",
+ "description": "Unique 20-hexadecimal digit string that identifies the IdP.\n"
+ },
"issuerUri": {
"type": "string",
"description": "Identifier for the issuer of the SAML Assertion.\n"
@@ -9440,10 +9471,21 @@
"$ref": "#/types/mongodbatlas:index/getFederatedSettingsIdentityProvidersResultPemFileInfo:getFederatedSettingsIdentityProvidersResultPemFileInfo"
}
},
+ "protocol": {
+ "type": "string",
+ "description": "The protocol of the identity provider\n"
+ },
"requestBinding": {
"type": "string",
"description": "SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
},
+ "requestedScopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Scopes that MongoDB applications will request from the authorization endpoint.\n"
+ },
"responseSignatureAlgorithm": {
"type": "string",
"description": "Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:\n- SHA-1\n- SHA-256\n"
@@ -9459,6 +9501,10 @@
"status": {
"type": "string",
"description": "Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.\n"
+ },
+ "userClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains the user ID in the token.\n"
}
},
"type": "object",
@@ -9466,16 +9512,23 @@
"acsUrl",
"associatedDomains",
"associatedOrgs",
+ "audienceClaims",
"audienceUri",
+ "clientId",
"displayName",
+ "groupsClaim",
+ "idpId",
"issuerUri",
"oktaIdpId",
"pemFileInfos",
+ "protocol",
"requestBinding",
+ "requestedScopes",
"responseSignatureAlgorithm",
"ssoDebugEnabled",
"ssoUrl",
- "status"
+ "status",
+ "userClaim"
],
"language": {
"nodejs": {
@@ -10663,13 +10716,17 @@
},
"mongodbatlas:index/getOrganizationsResult:getOrganizationsResult": {
"properties": {
+ "apiAccessListRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.\n"
+ },
"id": {
"type": "string",
"description": "Autogenerated Unique ID for this data source.\n"
},
"isDeleted": {
"type": "boolean",
- "description": "Flag that indicates whether this organization has been deleted.\n\nSee [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.\n"
+ "description": "Flag that indicates whether this organization has been deleted.\n"
},
"links": {
"type": "array",
@@ -10677,17 +10734,28 @@
"$ref": "#/types/mongodbatlas:index/getOrganizationsResultLink:getOrganizationsResultLink"
}
},
+ "multiFactorAuthRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.\n"
+ },
"name": {
"type": "string",
"description": "Human-readable label that identifies the organization.\n"
+ },
+ "restrictEmployeeAccess": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.\n\nSee [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.\n"
}
},
"type": "object",
"required": [
+ "apiAccessListRequired",
"id",
"isDeleted",
"links",
- "name"
+ "multiFactorAuthRequired",
+ "name",
+ "restrictEmployeeAccess"
],
"language": {
"nodejs": {
@@ -10916,23 +10984,92 @@
}
}
},
+ "mongodbatlas:index/getProjectIpAddresses:getProjectIpAddresses": {
+ "properties": {
+ "services": {
+ "$ref": "#/types/mongodbatlas:index/getProjectIpAddressesServices:getProjectIpAddressesServices"
+ }
+ },
+ "type": "object",
+ "required": [
+ "services"
+ ],
+ "language": {
+ "nodejs": {
+ "requiredInputs": []
+ }
+ }
+ },
+ "mongodbatlas:index/getProjectIpAddressesServices:getProjectIpAddressesServices": {
+ "properties": {
+ "clusters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/mongodbatlas:index/getProjectIpAddressesServicesCluster:getProjectIpAddressesServicesCluster"
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "clusters"
+ ],
+ "language": {
+ "nodejs": {
+ "requiredInputs": []
+ }
+ }
+ },
+ "mongodbatlas:index/getProjectIpAddressesServicesCluster:getProjectIpAddressesServicesCluster": {
+ "properties": {
+ "clusterName": {
+ "type": "string"
+ },
+ "inbounds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "outbounds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "clusterName",
+ "inbounds",
+ "outbounds"
+ ],
+ "language": {
+ "nodejs": {
+ "requiredInputs": []
+ }
+ }
+ },
"mongodbatlas:index/getProjectLimit:getProjectLimit": {
"properties": {
"currentUsage": {
- "type": "integer"
+ "type": "integer",
+ "description": "Amount that indicates the current usage of the limit.\n"
},
"defaultLimit": {
- "type": "integer"
+ "type": "integer",
+ "description": "Default value of the limit.\n"
},
"maximumLimit": {
- "type": "integer"
+ "type": "integer",
+ "description": "Maximum value of the limit.\n"
},
"name": {
"type": "string",
"description": "The unique ID for the project.\n\n\u003e **IMPORTANT:** Either `project_id` or `name` must be configurated.\n"
},
"value": {
- "type": "integer"
+ "type": "integer",
+ "description": "Amount the limit is set to.\n"
}
},
"type": "object",
@@ -10955,10 +11092,12 @@
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "description": "Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.\n"
},
"teamId": {
- "type": "string"
+ "type": "string",
+ "description": "The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.\n"
}
},
"type": "object",
@@ -10980,12 +11119,16 @@
},
"created": {
"type": "string",
- "description": "The ISO-8601-formatted timestamp of when Atlas created the project.\n* `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.\n* `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.\n* `limits.#.name` - Human-readable label that identifies this project limit.\n* `limits.#.value` - Amount the limit is set to.\n* `limits.#.current_usage` - Amount that indicates the current usage of the limit.\n* `limits.#.default_limit` - Default value of the limit.\n* `limits.#.maximum_limit` - Maximum value of the limit.\n"
+ "description": "The ISO-8601-formatted timestamp of when Atlas created the project.\n"
},
"id": {
"type": "string",
"description": "Autogenerated Unique ID for this data source.\n"
},
+ "ipAddresses": {
+ "$ref": "#/types/mongodbatlas:index/getProjectsResultIpAddresses:getProjectsResultIpAddresses",
+ "description": "IP addresses in a project categorized by services. See IP Addresses.\n"
+ },
"isCollectDatabaseSpecificsStatisticsEnabled": {
"type": "boolean",
"description": "Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.\n"
@@ -11014,11 +11157,12 @@
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/getProjectsResultLimit:getProjectsResultLimit"
- }
+ },
+ "description": "The limits for the specified project. See Limits.\n"
},
"name": {
"type": "string",
- "description": "The name of the project you want to create.\n"
+ "description": "Human-readable label that identifies this project limit.\n"
},
"orgId": {
"type": "string",
@@ -11029,13 +11173,14 @@
},
"regionUsageRestrictions": {
"type": "string",
- "description": "If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).\n\nSee [MongoDB Atlas API - Projects](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Projects) - [and MongoDB Atlas API - Teams](https://docs.atlas.mongodb.com/reference/api/project-get-teams/) Documentation for more information.\n"
+ "description": "If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).\n"
},
"teams": {
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/getProjectsResultTeam:getProjectsResultTeam"
- }
+ },
+ "description": "Returns all teams to which the authenticated user has access in the project. See Teams.\n"
}
},
"type": "object",
@@ -11043,6 +11188,7 @@
"clusterCount",
"created",
"id",
+ "ipAddresses",
"isCollectDatabaseSpecificsStatisticsEnabled",
"isDataExplorerEnabled",
"isExtendedStorageSizesEnabled",
@@ -11062,23 +11208,92 @@
}
}
},
+ "mongodbatlas:index/getProjectsResultIpAddresses:getProjectsResultIpAddresses": {
+ "properties": {
+ "services": {
+ "$ref": "#/types/mongodbatlas:index/getProjectsResultIpAddressesServices:getProjectsResultIpAddressesServices"
+ }
+ },
+ "type": "object",
+ "required": [
+ "services"
+ ],
+ "language": {
+ "nodejs": {
+ "requiredInputs": []
+ }
+ }
+ },
+ "mongodbatlas:index/getProjectsResultIpAddressesServices:getProjectsResultIpAddressesServices": {
+ "properties": {
+ "clusters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/mongodbatlas:index/getProjectsResultIpAddressesServicesCluster:getProjectsResultIpAddressesServicesCluster"
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "clusters"
+ ],
+ "language": {
+ "nodejs": {
+ "requiredInputs": []
+ }
+ }
+ },
+ "mongodbatlas:index/getProjectsResultIpAddressesServicesCluster:getProjectsResultIpAddressesServicesCluster": {
+ "properties": {
+ "clusterName": {
+ "type": "string"
+ },
+ "inbounds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "outbounds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "clusterName",
+ "inbounds",
+ "outbounds"
+ ],
+ "language": {
+ "nodejs": {
+ "requiredInputs": []
+ }
+ }
+ },
"mongodbatlas:index/getProjectsResultLimit:getProjectsResultLimit": {
"properties": {
"currentUsage": {
- "type": "integer"
+ "type": "integer",
+ "description": "Amount that indicates the current usage of the limit.\n"
},
"defaultLimit": {
- "type": "integer"
+ "type": "integer",
+ "description": "Default value of the limit.\n"
},
"maximumLimit": {
- "type": "integer"
+ "type": "integer",
+ "description": "Maximum value of the limit.\n"
},
"name": {
"type": "string",
- "description": "The name of the project you want to create.\n"
+ "description": "Human-readable label that identifies this project limit.\n"
},
"value": {
- "type": "integer"
+ "type": "integer",
+ "description": "Amount the limit is set to.\n"
}
},
"type": "object",
@@ -11101,10 +11316,12 @@
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "description": "Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.\n"
},
"teamId": {
- "type": "string"
+ "type": "string",
+ "description": "The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.\n"
}
},
"type": "object",
@@ -11122,11 +11339,11 @@
"properties": {
"instanceSize": {
"type": "string",
- "description": "(Required) Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).\n"
+ "description": "Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).\n"
},
"nodeCount": {
"type": "integer",
- "description": "(Required) Number of search nodes in the cluster.\n"
+ "description": "Number of search nodes in the cluster.\n"
}
},
"type": "object",
@@ -11215,7 +11432,8 @@
"description": "[Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.\n"
},
"status": {
- "type": "string"
+ "type": "string",
+ "description": "Current status of the index.\n"
},
"synonyms": {
"type": "array",
@@ -12329,7 +12547,7 @@
}
},
"mongodbatlas:index/apiKey:ApiKey": {
- "description": "\n\n## Import\n\nAPI Keys must be imported using org ID, API Key ID e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/apiKey:ApiKey test 5d09d6a59ccf6445652a444a-6576974933969669\n```\n See [MongoDB Atlas API - API Key](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKey) Documentation for more information.\n\n",
+ "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.ApiKey(\"test\", {\n description: \"key-name\",\n orgId: \"\u003cORG_ID\u003e\",\n roleNames: [\"ORG_READ_ONLY\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.ApiKey(\"test\",\n description=\"key-name\",\n org_id=\"\u003cORG_ID\u003e\",\n role_names=[\"ORG_READ_ONLY\"])\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 test = new Mongodbatlas.ApiKey(\"test\", new()\n {\n Description = \"key-name\",\n OrgId = \"\u003cORG_ID\u003e\",\n RoleNames = new[]\n {\n \"ORG_READ_ONLY\",\n },\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\t_, err := mongodbatlas.NewApiKey(ctx, \"test\", \u0026mongodbatlas.ApiKeyArgs{\n\t\t\tDescription: pulumi.String(\"key-name\"),\n\t\t\tOrgId: pulumi.String(\"\u003cORG_ID\u003e\"),\n\t\t\tRoleNames: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ORG_READ_ONLY\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.ApiKey;\nimport com.pulumi.mongodbatlas.ApiKeyArgs;\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 test = new ApiKey(\"test\", ApiKeyArgs.builder() \n .description(\"key-name\")\n .orgId(\"\u003cORG_ID\u003e\")\n .roleNames(\"ORG_READ_ONLY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:ApiKey\n properties:\n description: key-name\n orgId: \u003cORG_ID\u003e\n roleNames:\n - ORG_READ_ONLY\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAPI Keys must be imported using org ID, API Key ID e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/apiKey:ApiKey test 5d09d6a59ccf6445652a444a-6576974933969669\n```\n See [MongoDB Atlas API - API Key](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKey) Documentation for more information.\n\n",
"properties": {
"apiKeyId": {
"type": "string",
@@ -12575,10 +12793,7 @@
"authorizedEmail",
"authorizedUserFirstName",
"authorizedUserLastName",
- "copyProtectionEnabled",
- "encryptionAtRestEnabled",
"onDemandPolicyItem",
- "pitEnabled",
"projectId",
"restoreWindowDays",
"state",
@@ -12644,10 +12859,7 @@
"authorizedEmail",
"authorizedUserFirstName",
"authorizedUserLastName",
- "copyProtectionEnabled",
- "encryptionAtRestEnabled",
"onDemandPolicyItem",
- "pitEnabled",
"projectId"
],
"stateInputs": {
@@ -13589,139 +13801,21 @@
},
"projectId": {
"type": "string",
- "description": "The unique identifier of the project for the Atlas cluster whose snapshot you want to restore.\n",
- "willReplaceOnChanges": true
- },
- "snapshotId": {
- "type": "string",
- "description": "Unique identifier of the snapshot to restore.\n",
- "willReplaceOnChanges": true
- },
- "snapshotRestoreJobId": {
- "type": "string",
- "description": "The unique identifier of the restore job.\n"
- },
- "timestamp": {
- "type": "string",
- "description": "Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.\n"
- }
- },
- "type": "object"
- }
- },
- "mongodbatlas:index/cloudProviderAccess:CloudProviderAccess": {
- "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccess(\"testRole\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AWS\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccess(\"testRole\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AWS\")\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 testRole = new Mongodbatlas.CloudProviderAccess(\"testRole\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AWS\",\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\t_, err := mongodbatlas.NewCloudProviderAccess(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudProviderAccess;\nimport com.pulumi.mongodbatlas.CloudProviderAccessArgs;\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 testRole = new CloudProviderAccess(\"testRole\", CloudProviderAccessArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AWS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccess\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AWS\n```\n\n{{% /example %}}\n{{% example %}}\n### With AWS\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccessSetup(\"testRole\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AWS\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccessSetup(\"testRole\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AWS\")\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 testRole = new Mongodbatlas.CloudProviderAccessSetup(\"testRole\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AWS\",\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\t_, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\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 testRole = new CloudProviderAccessSetup(\"testRole\", CloudProviderAccessSetupArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AWS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AWS\n```\n\n{{% /example %}}\n{{% example %}}\n### With Azure\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccessSetup(\"testRole\", {\n azureConfigs: [{\n atlasAzureAppId: \"9f2deb0d-be22-4524-a403-df531868bac0\",\n servicePrincipalId: \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenantId: \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n }],\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AZURE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccessSetup(\"testRole\",\n azure_configs=[mongodbatlas.CloudProviderAccessSetupAzureConfigArgs(\n atlas_azure_app_id=\"9f2deb0d-be22-4524-a403-df531868bac0\",\n service_principal_id=\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenant_id=\"91402384-d71e-22f5-22dd-759e272cdc1c\",\n )],\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AZURE\")\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 testRole = new Mongodbatlas.CloudProviderAccessSetup(\"testRole\", new()\n {\n AzureConfigs = new[]\n {\n new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs\n {\n AtlasAzureAppId = \"9f2deb0d-be22-4524-a403-df531868bac0\",\n ServicePrincipalId = \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n TenantId = \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n },\n },\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AZURE\",\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\t_, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tAzureConfigs: mongodbatlas.CloudProviderAccessSetupAzureConfigArray{\n\t\t\t\t\u0026mongodbatlas.CloudProviderAccessSetupAzureConfigArgs{\n\t\t\t\t\tAtlasAzureAppId: pulumi.String(\"9f2deb0d-be22-4524-a403-df531868bac0\"),\n\t\t\t\t\tServicePrincipalId: pulumi.String(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\"),\n\t\t\t\t\tTenantId: pulumi.String(\"91402384-d71e-22f5-22dd-759e272cdc1c\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AZURE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudProviderAccessSetupAzureConfigArgs;\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 testRole = new CloudProviderAccessSetup(\"testRole\", CloudProviderAccessSetupArgs.builder() \n .azureConfigs(CloudProviderAccessSetupAzureConfigArgs.builder()\n .atlasAzureAppId(\"9f2deb0d-be22-4524-a403-df531868bac0\")\n .servicePrincipalId(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\")\n .tenantId(\"91402384-d71e-22f5-22dd-759e272cdc1c\")\n .build())\n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AZURE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n azureConfigs:\n - atlasAzureAppId: 9f2deb0d-be22-4524-a403-df531868bac0\n servicePrincipalId: 22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\n tenantId: 91402384-d71e-22f5-22dd-759e272cdc1c\n projectId: 64259ee860c43338194b0f8e\n providerName: AZURE\n```\n\n{{% /example %}}\n{{% example %}}\n### With AWS\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst setupOnly = new mongodbatlas.CloudProviderAccessSetup(\"setupOnly\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AWS\",\n});\nconst authRole = new mongodbatlas.CloudProviderAccessAuthorization(\"authRole\", {\n projectId: setupOnly.projectId,\n roleId: setupOnly.roleId,\n aws: {\n iamAssumedRoleArn: \"arn:aws:iam::772401394250:role/test-user-role\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nsetup_only = mongodbatlas.CloudProviderAccessSetup(\"setupOnly\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AWS\")\nauth_role = mongodbatlas.CloudProviderAccessAuthorization(\"authRole\",\n project_id=setup_only.project_id,\n role_id=setup_only.role_id,\n aws=mongodbatlas.CloudProviderAccessAuthorizationAwsArgs(\n iam_assumed_role_arn=\"arn:aws:iam::772401394250:role/test-user-role\",\n ))\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 setupOnly = new Mongodbatlas.CloudProviderAccessSetup(\"setupOnly\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AWS\",\n });\n\n var authRole = new Mongodbatlas.CloudProviderAccessAuthorization(\"authRole\", new()\n {\n ProjectId = setupOnly.ProjectId,\n RoleId = setupOnly.RoleId,\n Aws = new Mongodbatlas.Inputs.CloudProviderAccessAuthorizationAwsArgs\n {\n IamAssumedRoleArn = \"arn:aws:iam::772401394250:role/test-user-role\",\n },\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\tsetupOnly, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"setupOnly\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = mongodbatlas.NewCloudProviderAccessAuthorization(ctx, \"authRole\", \u0026mongodbatlas.CloudProviderAccessAuthorizationArgs{\n\t\t\tProjectId: setupOnly.ProjectId,\n\t\t\tRoleId: setupOnly.RoleId,\n\t\t\tAws: \u0026mongodbatlas.CloudProviderAccessAuthorizationAwsArgs{\n\t\t\t\tIamAssumedRoleArn: pulumi.String(\"arn:aws:iam::772401394250:role/test-user-role\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\nimport com.pulumi.mongodbatlas.CloudProviderAccessAuthorization;\nimport com.pulumi.mongodbatlas.CloudProviderAccessAuthorizationArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudProviderAccessAuthorizationAwsArgs;\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 setupOnly = new CloudProviderAccessSetup(\"setupOnly\", CloudProviderAccessSetupArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AWS\")\n .build());\n\n var authRole = new CloudProviderAccessAuthorization(\"authRole\", CloudProviderAccessAuthorizationArgs.builder() \n .projectId(setupOnly.projectId())\n .roleId(setupOnly.roleId())\n .aws(CloudProviderAccessAuthorizationAwsArgs.builder()\n .iamAssumedRoleArn(\"arn:aws:iam::772401394250:role/test-user-role\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n setupOnly:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AWS\n authRole:\n type: mongodbatlas:CloudProviderAccessAuthorization\n properties:\n projectId: ${setupOnly.projectId}\n roleId: ${setupOnly.roleId}\n aws:\n iamAssumedRoleArn: arn:aws:iam::772401394250:role/test-user-role\n```\n\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst setupOnly = new mongodbatlas.CloudProviderAccessSetup(\"setupOnly\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AZURE\",\n azureConfigs: [{\n atlasAzureAppId: \"9f2deb0d-be22-4524-a403-df531868bac0\",\n servicePrincipalId: \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenantId: \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n }],\n});\nconst authRole = new mongodbatlas.CloudProviderAccessAuthorization(\"authRole\", {\n projectId: setupOnly.projectId,\n roleId: setupOnly.roleId,\n azure: {\n atlasAzureAppId: \"9f2deb0d-be22-4524-a403-df531868bac0\",\n servicePrincipalId: \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenantId: \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nsetup_only = mongodbatlas.CloudProviderAccessSetup(\"setupOnly\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AZURE\",\n azure_configs=[mongodbatlas.CloudProviderAccessSetupAzureConfigArgs(\n atlas_azure_app_id=\"9f2deb0d-be22-4524-a403-df531868bac0\",\n service_principal_id=\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenant_id=\"91402384-d71e-22f5-22dd-759e272cdc1c\",\n )])\nauth_role = mongodbatlas.CloudProviderAccessAuthorization(\"authRole\",\n project_id=setup_only.project_id,\n role_id=setup_only.role_id,\n azure=mongodbatlas.CloudProviderAccessAuthorizationAzureArgs(\n atlas_azure_app_id=\"9f2deb0d-be22-4524-a403-df531868bac0\",\n service_principal_id=\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenant_id=\"91402384-d71e-22f5-22dd-759e272cdc1c\",\n ))\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 setupOnly = new Mongodbatlas.CloudProviderAccessSetup(\"setupOnly\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AZURE\",\n AzureConfigs = new[]\n {\n new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs\n {\n AtlasAzureAppId = \"9f2deb0d-be22-4524-a403-df531868bac0\",\n ServicePrincipalId = \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n TenantId = \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n },\n },\n });\n\n var authRole = new Mongodbatlas.CloudProviderAccessAuthorization(\"authRole\", new()\n {\n ProjectId = setupOnly.ProjectId,\n RoleId = setupOnly.RoleId,\n Azure = new Mongodbatlas.Inputs.CloudProviderAccessAuthorizationAzureArgs\n {\n AtlasAzureAppId = \"9f2deb0d-be22-4524-a403-df531868bac0\",\n ServicePrincipalId = \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n TenantId = \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n },\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\tsetupOnly, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"setupOnly\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AZURE\"),\n\t\t\tAzureConfigs: mongodbatlas.CloudProviderAccessSetupAzureConfigArray{\n\t\t\t\t\u0026mongodbatlas.CloudProviderAccessSetupAzureConfigArgs{\n\t\t\t\t\tAtlasAzureAppId: pulumi.String(\"9f2deb0d-be22-4524-a403-df531868bac0\"),\n\t\t\t\t\tServicePrincipalId: pulumi.String(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\"),\n\t\t\t\t\tTenantId: pulumi.String(\"91402384-d71e-22f5-22dd-759e272cdc1c\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = mongodbatlas.NewCloudProviderAccessAuthorization(ctx, \"authRole\", \u0026mongodbatlas.CloudProviderAccessAuthorizationArgs{\n\t\t\tProjectId: setupOnly.ProjectId,\n\t\t\tRoleId: setupOnly.RoleId,\n\t\t\tAzure: \u0026mongodbatlas.CloudProviderAccessAuthorizationAzureArgs{\n\t\t\t\tAtlasAzureAppId: pulumi.String(\"9f2deb0d-be22-4524-a403-df531868bac0\"),\n\t\t\t\tServicePrincipalId: pulumi.String(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\"),\n\t\t\t\tTenantId: pulumi.String(\"91402384-d71e-22f5-22dd-759e272cdc1c\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudProviderAccessSetupAzureConfigArgs;\nimport com.pulumi.mongodbatlas.CloudProviderAccessAuthorization;\nimport com.pulumi.mongodbatlas.CloudProviderAccessAuthorizationArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudProviderAccessAuthorizationAzureArgs;\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 setupOnly = new CloudProviderAccessSetup(\"setupOnly\", CloudProviderAccessSetupArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AZURE\")\n .azureConfigs(CloudProviderAccessSetupAzureConfigArgs.builder()\n .atlasAzureAppId(\"9f2deb0d-be22-4524-a403-df531868bac0\")\n .servicePrincipalId(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\")\n .tenantId(\"91402384-d71e-22f5-22dd-759e272cdc1c\")\n .build())\n .build());\n\n var authRole = new CloudProviderAccessAuthorization(\"authRole\", CloudProviderAccessAuthorizationArgs.builder() \n .projectId(setupOnly.projectId())\n .roleId(setupOnly.roleId())\n .azure(CloudProviderAccessAuthorizationAzureArgs.builder()\n .atlasAzureAppId(\"9f2deb0d-be22-4524-a403-df531868bac0\")\n .servicePrincipalId(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\")\n .tenantId(\"91402384-d71e-22f5-22dd-759e272cdc1c\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n setupOnly:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AZURE\n azureConfigs:\n - atlasAzureAppId: 9f2deb0d-be22-4524-a403-df531868bac0\n servicePrincipalId: 22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\n tenantId: 91402384-d71e-22f5-22dd-759e272cdc1c\n authRole:\n type: mongodbatlas:CloudProviderAccessAuthorization\n properties:\n projectId: ${setupOnly.projectId}\n roleId: ${setupOnly.roleId}\n azure:\n atlasAzureAppId: 9f2deb0d-be22-4524-a403-df531868bac0\n servicePrincipalId: 22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\n tenantId: 91402384-d71e-22f5-22dd-759e272cdc1c\n```\n\n{{% /example %}}\n{{% /examples %}}\n## Authorize role\n\nOnce the resource is created add the field `iam_assumed_role_arn` see [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access) , and execute a new `pulumi up` this will create a PATCH request.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccess(\"testRole\", {\n iamAssumedRoleArn: \"arn:aws:iam::772401394250:role/test-user-role\",\n projectId: \"\u003cPROJECT-ID\u003e\",\n providerName: \"AWS\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccess(\"testRole\",\n iam_assumed_role_arn=\"arn:aws:iam::772401394250:role/test-user-role\",\n project_id=\"\u003cPROJECT-ID\u003e\",\n provider_name=\"AWS\")\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 testRole = new Mongodbatlas.CloudProviderAccess(\"testRole\", new()\n {\n IamAssumedRoleArn = \"arn:aws:iam::772401394250:role/test-user-role\",\n ProjectId = \"\u003cPROJECT-ID\u003e\",\n ProviderName = \"AWS\",\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\t_, err := mongodbatlas.NewCloudProviderAccess(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessArgs{\n\t\t\tIamAssumedRoleArn: pulumi.String(\"arn:aws:iam::772401394250:role/test-user-role\"),\n\t\t\tProjectId: pulumi.String(\"\u003cPROJECT-ID\u003e\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.CloudProviderAccess;\nimport com.pulumi.mongodbatlas.CloudProviderAccessArgs;\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 testRole = new CloudProviderAccess(\"testRole\", CloudProviderAccessArgs.builder() \n .iamAssumedRoleArn(\"arn:aws:iam::772401394250:role/test-user-role\")\n .projectId(\"\u003cPROJECT-ID\u003e\")\n .providerName(\"AWS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccess\n properties:\n iamAssumedRoleArn: arn:aws:iam::772401394250:role/test-user-role\n projectId: \u003cPROJECT-ID\u003e\n providerName: AWS\n```\n\n\n## Import\n\nThe Cloud Provider Access resource can be imported using project ID and the provider name and mongodbatlas role id, in the format `project_id`-`provider_name`-`role_id`, e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/cloudProviderAccess:CloudProviderAccess my_role 1112222b3bf99403840e8934-AWS-5fc17d476f7a33224f5b224e\n```\n See [MongoDB Atlas API](https://docs.atlas.mongodb.com/reference/api/cloud-provider-access-create-one-role/) Documentation for more information.\n\n",
- "properties": {
- "atlasAssumedRoleExternalId": {
- "type": "string",
- "description": "Unique external ID Atlas uses when assuming the IAM role in your AWS account.\n"
- },
- "atlasAwsAccountArn": {
- "type": "string",
- "description": "ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.\n"
- },
- "authorizedDate": {
- "type": "string",
- "description": "Date on which this role was authorized.\n"
- },
- "createdDate": {
- "type": "string",
- "description": "Date on which this role was created.\n"
- },
- "featureUsages": {
- "type": "array",
- "items": {
- "$ref": "#/types/mongodbatlas:index/CloudProviderAccessFeatureUsage:CloudProviderAccessFeatureUsage"
- },
- "description": "Atlas features this AWS IAM role is linked to.\n"
- },
- "iamAssumedRoleArn": {
- "type": "string",
- "description": "ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).\n"
- },
- "projectId": {
- "type": "string",
- "description": "The unique ID for the project\n"
- },
- "providerName": {
- "type": "string",
- "description": "The cloud provider for which to create a new role. Currently only AWS is supported.\n"
- },
- "roleId": {
- "type": "string",
- "description": "Unique ID of this role returned by mongodb atlas api\n\nConditional\n"
- }
- },
- "required": [
- "atlasAssumedRoleExternalId",
- "atlasAwsAccountArn",
- "authorizedDate",
- "createdDate",
- "featureUsages",
- "iamAssumedRoleArn",
- "projectId",
- "providerName",
- "roleId"
- ],
- "inputProperties": {
- "iamAssumedRoleArn": {
- "type": "string",
- "description": "ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).\n"
- },
- "projectId": {
- "type": "string",
- "description": "The unique ID for the project\n"
- },
- "providerName": {
- "type": "string",
- "description": "The cloud provider for which to create a new role. Currently only AWS is supported.\n"
- }
- },
- "requiredInputs": [
- "projectId",
- "providerName"
- ],
- "stateInputs": {
- "description": "Input properties used for looking up and filtering CloudProviderAccess resources.\n",
- "properties": {
- "atlasAssumedRoleExternalId": {
- "type": "string",
- "description": "Unique external ID Atlas uses when assuming the IAM role in your AWS account.\n"
- },
- "atlasAwsAccountArn": {
- "type": "string",
- "description": "ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.\n"
- },
- "authorizedDate": {
- "type": "string",
- "description": "Date on which this role was authorized.\n"
- },
- "createdDate": {
- "type": "string",
- "description": "Date on which this role was created.\n"
- },
- "featureUsages": {
- "type": "array",
- "items": {
- "$ref": "#/types/mongodbatlas:index/CloudProviderAccessFeatureUsage:CloudProviderAccessFeatureUsage"
- },
- "description": "Atlas features this AWS IAM role is linked to.\n"
- },
- "iamAssumedRoleArn": {
- "type": "string",
- "description": "ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).\n"
+ "description": "The unique identifier of the project for the Atlas cluster whose snapshot you want to restore.\n",
+ "willReplaceOnChanges": true
},
- "projectId": {
+ "snapshotId": {
"type": "string",
- "description": "The unique ID for the project\n"
+ "description": "Unique identifier of the snapshot to restore.\n",
+ "willReplaceOnChanges": true
},
- "providerName": {
+ "snapshotRestoreJobId": {
"type": "string",
- "description": "The cloud provider for which to create a new role. Currently only AWS is supported.\n"
+ "description": "The unique identifier of the restore job.\n"
},
- "roleId": {
+ "timestamp": {
"type": "string",
- "description": "Unique ID of this role returned by mongodb atlas api\n\nConditional\n"
+ "description": "Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.\n"
}
},
"type": "object"
@@ -15441,10 +15535,13 @@
}
},
"required": [
+ "cloudProviderConfig",
+ "dataProcessRegion",
"hostnames",
"name",
"projectId",
"state",
+ "storageDatabases",
"storageStores"
],
"inputProperties": {
@@ -15460,7 +15557,8 @@
},
"projectId": {
"type": "string",
- "description": "The unique ID for the project to create a Federated Database Instance.\n"
+ "description": "The unique ID for the project to create a Federated Database Instance.\n",
+ "willReplaceOnChanges": true
},
"storageDatabases": {
"type": "array",
@@ -15502,7 +15600,8 @@
},
"projectId": {
"type": "string",
- "description": "The unique ID for the project to create a Federated Database Instance.\n"
+ "description": "The unique ID for the project to create a Federated Database Instance.\n",
+ "willReplaceOnChanges": true
},
"state": {
"type": "string",
@@ -15651,7 +15750,7 @@
}
},
"mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider": {
- "description": "`mongodbatlas.FederatedSettingsIdentityProvider` provides an Atlas federated settings identity provider resource provides a subset of settings to be maintained post import of the existing resource.\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n\u003e **IMPORTANT** You **MUST** import this resource before you can manage it with this provider. \n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", {\n associatedDomains: [\"yourdomain.com\"],\n federationSettingsId: \"627a9687f7f7f7f774de306f14\",\n issuerUri: \"http://www.okta.com/exk17q7f7f7f7fp50h8\",\n requestBinding: \"HTTP-POST\",\n responseSignatureAlgorithm: \"SHA-256\",\n ssoDebugEnabled: true,\n ssoUrl: \"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\",\n status: \"ACTIVE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nidentity_provider = mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\",\n associated_domains=[\"yourdomain.com\"],\n federation_settings_id=\"627a9687f7f7f7f774de306f14\",\n issuer_uri=\"http://www.okta.com/exk17q7f7f7f7fp50h8\",\n request_binding=\"HTTP-POST\",\n response_signature_algorithm=\"SHA-256\",\n sso_debug_enabled=True,\n sso_url=\"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\",\n status=\"ACTIVE\")\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 identityProvider = new Mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", new()\n {\n AssociatedDomains = new[]\n {\n \"yourdomain.com\",\n },\n FederationSettingsId = \"627a9687f7f7f7f774de306f14\",\n IssuerUri = \"http://www.okta.com/exk17q7f7f7f7fp50h8\",\n RequestBinding = \"HTTP-POST\",\n ResponseSignatureAlgorithm = \"SHA-256\",\n SsoDebugEnabled = true,\n SsoUrl = \"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\",\n Status = \"ACTIVE\",\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\t_, err := mongodbatlas.NewFederatedSettingsIdentityProvider(ctx, \"identityProvider\", \u0026mongodbatlas.FederatedSettingsIdentityProviderArgs{\n\t\t\tAssociatedDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"yourdomain.com\"),\n\t\t\t},\n\t\t\tFederationSettingsId: pulumi.String(\"627a9687f7f7f7f774de306f14\"),\n\t\t\tIssuerUri: pulumi.String(\"http://www.okta.com/exk17q7f7f7f7fp50h8\"),\n\t\t\tRequestBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tResponseSignatureAlgorithm: pulumi.String(\"SHA-256\"),\n\t\t\tSsoDebugEnabled: pulumi.Bool(true),\n\t\t\tSsoUrl: pulumi.String(\"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProvider;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProviderArgs;\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 identityProvider = new FederatedSettingsIdentityProvider(\"identityProvider\", FederatedSettingsIdentityProviderArgs.builder() \n .associatedDomains(\"yourdomain.com\")\n .federationSettingsId(\"627a9687f7f7f7f774de306f14\")\n .issuerUri(\"http://www.okta.com/exk17q7f7f7f7fp50h8\")\n .requestBinding(\"HTTP-POST\")\n .responseSignatureAlgorithm(\"SHA-256\")\n .ssoDebugEnabled(true)\n .ssoUrl(\"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\")\n .status(\"ACTIVE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n identityProvider:\n type: mongodbatlas:FederatedSettingsIdentityProvider\n properties:\n associatedDomains:\n - yourdomain.com\n federationSettingsId: 627a9687f7f7f7f774de306f14\n issuerUri: http://www.okta.com/exk17q7f7f7f7fp50h8\n requestBinding: HTTP-POST\n responseSignatureAlgorithm: SHA-256\n ssoDebugEnabled: true\n ssoUrl: https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\n status: ACTIVE\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nIdentity Provider __must__ be imported before using federation_settings_id-idp_id, e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-0oad4fas87jL5Xnk1297\n```\n For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)\n\n",
+ "description": "`mongodbatlas.FederatedSettingsIdentityProvider` provides an Atlas federated settings identity provider resource provides a subset of settings to be maintained post import of the existing resource.\n\n\u003e **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n\u003e **IMPORTANT** You **MUST** import this resource before you can manage it with this provider. \n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", {\n associatedDomains: [\"yourdomain.com\"],\n federationSettingsId: \"627a9687f7f7f7f774de306f14\",\n issuerUri: \"http://www.okta.com/exk17q7f7f7f7fp50h8\",\n requestBinding: \"HTTP-POST\",\n responseSignatureAlgorithm: \"SHA-256\",\n ssoDebugEnabled: true,\n ssoUrl: \"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\",\n status: \"ACTIVE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nidentity_provider = mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\",\n associated_domains=[\"yourdomain.com\"],\n federation_settings_id=\"627a9687f7f7f7f774de306f14\",\n issuer_uri=\"http://www.okta.com/exk17q7f7f7f7fp50h8\",\n request_binding=\"HTTP-POST\",\n response_signature_algorithm=\"SHA-256\",\n sso_debug_enabled=True,\n sso_url=\"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\",\n status=\"ACTIVE\")\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 identityProvider = new Mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", new()\n {\n AssociatedDomains = new[]\n {\n \"yourdomain.com\",\n },\n FederationSettingsId = \"627a9687f7f7f7f774de306f14\",\n IssuerUri = \"http://www.okta.com/exk17q7f7f7f7fp50h8\",\n RequestBinding = \"HTTP-POST\",\n ResponseSignatureAlgorithm = \"SHA-256\",\n SsoDebugEnabled = true,\n SsoUrl = \"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\",\n Status = \"ACTIVE\",\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\t_, err := mongodbatlas.NewFederatedSettingsIdentityProvider(ctx, \"identityProvider\", \u0026mongodbatlas.FederatedSettingsIdentityProviderArgs{\n\t\t\tAssociatedDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"yourdomain.com\"),\n\t\t\t},\n\t\t\tFederationSettingsId: pulumi.String(\"627a9687f7f7f7f774de306f14\"),\n\t\t\tIssuerUri: pulumi.String(\"http://www.okta.com/exk17q7f7f7f7fp50h8\"),\n\t\t\tRequestBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tResponseSignatureAlgorithm: pulumi.String(\"SHA-256\"),\n\t\t\tSsoDebugEnabled: pulumi.Bool(true),\n\t\t\tSsoUrl: pulumi.String(\"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProvider;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProviderArgs;\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 identityProvider = new FederatedSettingsIdentityProvider(\"identityProvider\", FederatedSettingsIdentityProviderArgs.builder() \n .associatedDomains(\"yourdomain.com\")\n .federationSettingsId(\"627a9687f7f7f7f774de306f14\")\n .issuerUri(\"http://www.okta.com/exk17q7f7f7f7fp50h8\")\n .requestBinding(\"HTTP-POST\")\n .responseSignatureAlgorithm(\"SHA-256\")\n .ssoDebugEnabled(true)\n .ssoUrl(\"https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\")\n .status(\"ACTIVE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n identityProvider:\n type: mongodbatlas:FederatedSettingsIdentityProvider\n properties:\n associatedDomains:\n - yourdomain.com\n federationSettingsId: 627a9687f7f7f7f774de306f14\n issuerUri: http://www.okta.com/exk17q7f7f7f7fp50h8\n requestBinding: HTTP-POST\n responseSignatureAlgorithm: SHA-256\n ssoDebugEnabled: true\n ssoUrl: https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml\n status: ACTIVE\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nIdentity Provider __must__ be imported before using federation_settings_id-idp_id, e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-0oad4fas87jL5Xnk1297\n```\n __WARNING:__ Starting from terraform provider version 1.16.0, to import the resource a 24-hexadecimal digit string that identifies the IdP (`idp_id`) will have to be used instead of `okta_idp_id`. See more [here](../guides/1.15.0-upgrade-guide.html.markdown)\n\nFor more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)\n\n",
"properties": {
"associatedDomains": {
"type": "array",
@@ -15660,13 +15759,32 @@
},
"description": "List that contains the domains associated with the identity provider.\n"
},
+ "audienceClaims": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Identifier of the intended recipient of the token used in OIDC IdP.\n"
+ },
+ "clientId": {
+ "type": "string",
+ "description": "Client identifier that is assigned to an application by the OIDC Identity Provider.\n"
+ },
"federationSettingsId": {
"type": "string",
"description": "Unique 24-hexadecimal digit string that identifies the federated authentication configuration.\n"
},
+ "groupsClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains OIDC IdP Group IDs in the token.\n"
+ },
+ "idpId": {
+ "type": "string",
+ "description": "Unique 24-hexadecimal digit string that identifies the IdP.\n"
+ },
"issuerUri": {
"type": "string",
- "description": "Unique string that identifies the issuer of the SAML\n"
+ "description": "Unique string that identifies the issuer of the IdP.\n"
},
"name": {
"type": "string",
@@ -15676,13 +15794,24 @@
"type": "string",
"description": "Unique 20-hexadecimal digit string that identifies the IdP.\n"
},
+ "protocol": {
+ "type": "string",
+ "description": "The protocol of the identity provider. Either `SAML` or `OIDC`.\n"
+ },
"requestBinding": {
"type": "string",
- "description": "SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
+ "description": "SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
+ },
+ "requestedScopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.\n"
},
"responseSignatureAlgorithm": {
"type": "string",
- "description": "Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.\n"
+ "description": "Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include `SHA-1 `and `SHA-256`.\n"
},
"ssoDebugEnabled": {
"type": "boolean",
@@ -15695,18 +15824,19 @@
"status": {
"type": "string",
"description": "String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.\n"
+ },
+ "userClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains the user ID in the token used for OIDC IdPs.\n"
}
},
"required": [
"federationSettingsId",
+ "idpId",
"issuerUri",
"name",
"oktaIdpId",
- "requestBinding",
- "responseSignatureAlgorithm",
- "ssoDebugEnabled",
- "ssoUrl",
- "status"
+ "protocol"
],
"inputProperties": {
"associatedDomains": {
@@ -15716,25 +15846,51 @@
},
"description": "List that contains the domains associated with the identity provider.\n"
},
+ "audienceClaims": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Identifier of the intended recipient of the token used in OIDC IdP.\n"
+ },
+ "clientId": {
+ "type": "string",
+ "description": "Client identifier that is assigned to an application by the OIDC Identity Provider.\n"
+ },
"federationSettingsId": {
"type": "string",
"description": "Unique 24-hexadecimal digit string that identifies the federated authentication configuration.\n"
},
+ "groupsClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains OIDC IdP Group IDs in the token.\n"
+ },
"issuerUri": {
"type": "string",
- "description": "Unique string that identifies the issuer of the SAML\n"
+ "description": "Unique string that identifies the issuer of the IdP.\n"
},
"name": {
"type": "string",
"description": "Human-readable label that identifies the identity provider.\n"
},
+ "protocol": {
+ "type": "string",
+ "description": "The protocol of the identity provider. Either `SAML` or `OIDC`.\n"
+ },
"requestBinding": {
"type": "string",
- "description": "SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
+ "description": "SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
+ },
+ "requestedScopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.\n"
},
"responseSignatureAlgorithm": {
"type": "string",
- "description": "Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.\n"
+ "description": "Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include `SHA-1 `and `SHA-256`.\n"
},
"ssoDebugEnabled": {
"type": "boolean",
@@ -15747,16 +15903,15 @@
"status": {
"type": "string",
"description": "String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.\n"
+ },
+ "userClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains the user ID in the token used for OIDC IdPs.\n"
}
},
"requiredInputs": [
"federationSettingsId",
- "issuerUri",
- "requestBinding",
- "responseSignatureAlgorithm",
- "ssoDebugEnabled",
- "ssoUrl",
- "status"
+ "issuerUri"
],
"stateInputs": {
"description": "Input properties used for looking up and filtering FederatedSettingsIdentityProvider resources.\n",
@@ -15768,13 +15923,32 @@
},
"description": "List that contains the domains associated with the identity provider.\n"
},
+ "audienceClaims": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Identifier of the intended recipient of the token used in OIDC IdP.\n"
+ },
+ "clientId": {
+ "type": "string",
+ "description": "Client identifier that is assigned to an application by the OIDC Identity Provider.\n"
+ },
"federationSettingsId": {
"type": "string",
"description": "Unique 24-hexadecimal digit string that identifies the federated authentication configuration.\n"
},
+ "groupsClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains OIDC IdP Group IDs in the token.\n"
+ },
+ "idpId": {
+ "type": "string",
+ "description": "Unique 24-hexadecimal digit string that identifies the IdP.\n"
+ },
"issuerUri": {
"type": "string",
- "description": "Unique string that identifies the issuer of the SAML\n"
+ "description": "Unique string that identifies the issuer of the IdP.\n"
},
"name": {
"type": "string",
@@ -15784,13 +15958,24 @@
"type": "string",
"description": "Unique 20-hexadecimal digit string that identifies the IdP.\n"
},
+ "protocol": {
+ "type": "string",
+ "description": "The protocol of the identity provider. Either `SAML` or `OIDC`.\n"
+ },
"requestBinding": {
"type": "string",
- "description": "SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
+ "description": "SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
+ },
+ "requestedScopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.\n"
},
"responseSignatureAlgorithm": {
"type": "string",
- "description": "Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.\n"
+ "description": "Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include `SHA-1 `and `SHA-256`.\n"
},
"ssoDebugEnabled": {
"type": "boolean",
@@ -15803,6 +15988,10 @@
"status": {
"type": "string",
"description": "String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.\n"
+ },
+ "userClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains the user ID in the token used for OIDC IdPs.\n"
}
},
"type": "object"
@@ -16547,7 +16736,7 @@
}
},
"mongodbatlas:index/networkContainer:NetworkContainer": {
- "description": "`mongodbatlas.NetworkContainer` provides a Network Peering Container resource. The resource lets you create, edit and delete network peering containers. The resource requires your Project ID. Each cloud provider requires slightly different attributes so read the argument reference carefully.\n\n Network peering container is a general term used to describe any cloud providers' VPC/VNet concept. Containers only need to be created if the peering connection to the cloud provider will be created before the first cluster that requires the container. If the cluster has been/will be created first Atlas automatically creates the required container per the \"containers per cloud provider\" information that follows (in this case you can obtain the container id from the cluster resource attribute `container_id`).\n\nThe following is the maximum number of Network Peering containers per cloud provider:\n\u003cbr\u003e \u0026#8226; GCP - One container per project.\n\u003cbr\u003e \u0026#8226; AWS and Azure - One container per cloud provider region.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example with AWS\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.NetworkContainer(\"test\", {\n atlasCidrBlock: \"10.8.0.0/21\",\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n providerName: \"AWS\",\n regionName: \"US_EAST_1\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.NetworkContainer(\"test\",\n atlas_cidr_block=\"10.8.0.0/21\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n provider_name=\"AWS\",\n region_name=\"US_EAST_1\")\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 test = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n ProviderName = \"AWS\",\n RegionName = \"US_EAST_1\",\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\t_, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\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\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 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 test = new NetworkContainer(\"test\", NetworkContainerArgs.builder() \n .atlasCidrBlock(\"10.8.0.0/21\")\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .providerName(\"AWS\")\n .regionName(\"US_EAST_1\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:NetworkContainer\n properties:\n atlasCidrBlock: 10.8.0.0/21\n projectId: \u003cYOUR-PROJECT-ID\u003e\n providerName: AWS\n regionName: US_EAST_1\n```\n{{% /example %}}\n{{% example %}}\n### Example with GCP\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.NetworkContainer(\"test\", {\n atlasCidrBlock: \"10.8.0.0/21\",\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n providerName: \"GCP\",\n regions: [\n \"US_EAST_4\",\n \"US_WEST_3\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.NetworkContainer(\"test\",\n atlas_cidr_block=\"10.8.0.0/21\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n provider_name=\"GCP\",\n regions=[\n \"US_EAST_4\",\n \"US_WEST_3\",\n ])\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 test = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n ProviderName = \"GCP\",\n Regions = new[]\n {\n \"US_EAST_4\",\n \"US_WEST_3\",\n },\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\t_, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\n\t\t\tProviderName: pulumi.String(\"GCP\"),\n\t\t\tRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"US_EAST_4\"),\n\t\t\t\tpulumi.String(\"US_WEST_3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.NetworkContainer;\nimport com.pulumi.mongodbatlas.NetworkContainerArgs;\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 test = new NetworkContainer(\"test\", NetworkContainerArgs.builder() \n .atlasCidrBlock(\"10.8.0.0/21\")\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .providerName(\"GCP\")\n .regions( \n \"US_EAST_4\",\n \"US_WEST_3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:NetworkContainer\n properties:\n atlasCidrBlock: 10.8.0.0/21\n projectId: \u003cYOUR-PROJECT-ID\u003e\n providerName: GCP\n regions:\n - US_EAST_4\n - US_WEST_3\n```\n{{% /example %}}\n{{% example %}}\n### Example with Azure\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.NetworkContainer(\"test\", {\n atlasCidrBlock: \"10.8.0.0/21\",\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n providerName: \"AZURE\",\n region: \"US_EAST_2\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.NetworkContainer(\"test\",\n atlas_cidr_block=\"10.8.0.0/21\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n provider_name=\"AZURE\",\n region=\"US_EAST_2\")\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 test = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n ProviderName = \"AZURE\",\n Region = \"US_EAST_2\",\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\t_, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\n\t\t\tProviderName: pulumi.String(\"AZURE\"),\n\t\t\tRegion: pulumi.String(\"US_EAST_2\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.NetworkContainer;\nimport com.pulumi.mongodbatlas.NetworkContainerArgs;\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 test = new NetworkContainer(\"test\", NetworkContainerArgs.builder() \n .atlasCidrBlock(\"10.8.0.0/21\")\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .providerName(\"AZURE\")\n .region(\"US_EAST_2\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:NetworkContainer\n properties:\n atlasCidrBlock: 10.8.0.0/21\n projectId: \u003cYOUR-PROJECT-ID\u003e\n providerName: AZURE\n region: US_EAST_2\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNetwork Peering Containers can be imported using project ID and network peering container id, in the format `PROJECTID-CONTAINER-ID`, e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/networkContainer:NetworkContainer my_container 1112222b3bf99403840e8934-5cbf563d87d9d67253be590a\n```\n See detailed information for arguments and attributes[MongoDB API Network Peering Container](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/)\n\n-\u003e __NOTE:__ If you need to get an existing container ID see the How-To Guide.\n\n",
+ "description": "`mongodbatlas.NetworkContainer` provides a Network Peering Container resource. The resource lets you create, edit and delete network peering containers. You must delete network peering containers before creating clusters in your project. You can't delete a network peering container if your project contains clusters. The resource requires your Project ID. Each cloud provider requires slightly different attributes so read the argument reference carefully.\n\n Network peering container is a general term used to describe any cloud providers' VPC/VNet concept. Containers only need to be created if the peering connection to the cloud provider will be created before the first cluster that requires the container. If the cluster has been/will be created first Atlas automatically creates the required container per the \"containers per cloud provider\" information that follows (in this case you can obtain the container id from the cluster resource attribute `container_id`).\n\nThe following is the maximum number of Network Peering containers per cloud provider:\n\u003cbr\u003e \u0026#8226; GCP - One container per project.\n\u003cbr\u003e \u0026#8226; AWS and Azure - One container per cloud provider region.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example with AWS\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.NetworkContainer(\"test\", {\n atlasCidrBlock: \"10.8.0.0/21\",\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n providerName: \"AWS\",\n regionName: \"US_EAST_1\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.NetworkContainer(\"test\",\n atlas_cidr_block=\"10.8.0.0/21\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n provider_name=\"AWS\",\n region_name=\"US_EAST_1\")\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 test = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n ProviderName = \"AWS\",\n RegionName = \"US_EAST_1\",\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\t_, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\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\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 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 test = new NetworkContainer(\"test\", NetworkContainerArgs.builder() \n .atlasCidrBlock(\"10.8.0.0/21\")\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .providerName(\"AWS\")\n .regionName(\"US_EAST_1\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:NetworkContainer\n properties:\n atlasCidrBlock: 10.8.0.0/21\n projectId: \u003cYOUR-PROJECT-ID\u003e\n providerName: AWS\n regionName: US_EAST_1\n```\n{{% /example %}}\n{{% example %}}\n### Example with GCP\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.NetworkContainer(\"test\", {\n atlasCidrBlock: \"10.8.0.0/21\",\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n providerName: \"GCP\",\n regions: [\n \"US_EAST_4\",\n \"US_WEST_3\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.NetworkContainer(\"test\",\n atlas_cidr_block=\"10.8.0.0/21\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n provider_name=\"GCP\",\n regions=[\n \"US_EAST_4\",\n \"US_WEST_3\",\n ])\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 test = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n ProviderName = \"GCP\",\n Regions = new[]\n {\n \"US_EAST_4\",\n \"US_WEST_3\",\n },\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\t_, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\n\t\t\tProviderName: pulumi.String(\"GCP\"),\n\t\t\tRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"US_EAST_4\"),\n\t\t\t\tpulumi.String(\"US_WEST_3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.NetworkContainer;\nimport com.pulumi.mongodbatlas.NetworkContainerArgs;\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 test = new NetworkContainer(\"test\", NetworkContainerArgs.builder() \n .atlasCidrBlock(\"10.8.0.0/21\")\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .providerName(\"GCP\")\n .regions( \n \"US_EAST_4\",\n \"US_WEST_3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:NetworkContainer\n properties:\n atlasCidrBlock: 10.8.0.0/21\n projectId: \u003cYOUR-PROJECT-ID\u003e\n providerName: GCP\n regions:\n - US_EAST_4\n - US_WEST_3\n```\n{{% /example %}}\n{{% example %}}\n### Example with Azure\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.NetworkContainer(\"test\", {\n atlasCidrBlock: \"10.8.0.0/21\",\n projectId: \"\u003cYOUR-PROJECT-ID\u003e\",\n providerName: \"AZURE\",\n region: \"US_EAST_2\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.NetworkContainer(\"test\",\n atlas_cidr_block=\"10.8.0.0/21\",\n project_id=\"\u003cYOUR-PROJECT-ID\u003e\",\n provider_name=\"AZURE\",\n region=\"US_EAST_2\")\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 test = new Mongodbatlas.NetworkContainer(\"test\", new()\n {\n AtlasCidrBlock = \"10.8.0.0/21\",\n ProjectId = \"\u003cYOUR-PROJECT-ID\u003e\",\n ProviderName = \"AZURE\",\n Region = \"US_EAST_2\",\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\t_, err := mongodbatlas.NewNetworkContainer(ctx, \"test\", \u0026mongodbatlas.NetworkContainerArgs{\n\t\t\tAtlasCidrBlock: pulumi.String(\"10.8.0.0/21\"),\n\t\t\tProjectId: pulumi.String(\"\u003cYOUR-PROJECT-ID\u003e\"),\n\t\t\tProviderName: pulumi.String(\"AZURE\"),\n\t\t\tRegion: pulumi.String(\"US_EAST_2\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.NetworkContainer;\nimport com.pulumi.mongodbatlas.NetworkContainerArgs;\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 test = new NetworkContainer(\"test\", NetworkContainerArgs.builder() \n .atlasCidrBlock(\"10.8.0.0/21\")\n .projectId(\"\u003cYOUR-PROJECT-ID\u003e\")\n .providerName(\"AZURE\")\n .region(\"US_EAST_2\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:NetworkContainer\n properties:\n atlasCidrBlock: 10.8.0.0/21\n projectId: \u003cYOUR-PROJECT-ID\u003e\n providerName: AZURE\n region: US_EAST_2\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNetwork Peering Containers can be imported using project ID and network peering container id, in the format `PROJECTID-CONTAINER-ID`, e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/networkContainer:NetworkContainer my_container 1112222b3bf99403840e8934-5cbf563d87d9d67253be590a\n```\n See detailed information for arguments and attributes[MongoDB API Network Peering Container](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/)\n\n-\u003e __NOTE:__ If you need to get an existing container ID see the How-To Guide.\n\n",
"properties": {
"atlasCidrBlock": {
"type": "string",
@@ -17274,7 +17463,8 @@
"inputProperties": {
"orgId": {
"type": "string",
- "description": "Unique 24-hexadecimal digit string that identifies the organization to which you want to invite a user.\n"
+ "description": "Unique 24-hexadecimal digit string that identifies the organization to which you want to invite a user.\n",
+ "willReplaceOnChanges": true
},
"roles": {
"type": "array",
@@ -17322,7 +17512,8 @@
},
"orgId": {
"type": "string",
- "description": "Unique 24-hexadecimal digit string that identifies the organization to which you want to invite a user.\n"
+ "description": "Unique 24-hexadecimal digit string that identifies the organization to which you want to invite a user.\n",
+ "willReplaceOnChanges": true
},
"roles": {
"type": "array",
@@ -17348,14 +17539,22 @@
}
},
"mongodbatlas:index/organization:Organization": {
- "description": "`mongodbatlas.Organization` provides programmatic management (including creation) of a MongoDB Atlas Organization resource.\n\n\u003e **IMPORTANT NOTE:** When you establish an Atlas organization using this resource, it automatically generates a set of initial public and private Programmatic API Keys. These key values are vital to store because you'll need to use them to grant access to the newly created Atlas organization.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.Organization(\"test\", {\n description: \"test API key from Org Creation Test\",\n orgOwnerId: \"6205e5fffff79cde6f\",\n roleNames: [\"ORG_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.Organization(\"test\",\n description=\"test API key from Org Creation Test\",\n org_owner_id=\"6205e5fffff79cde6f\",\n role_names=[\"ORG_OWNER\"])\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 test = new Mongodbatlas.Organization(\"test\", new()\n {\n Description = \"test API key from Org Creation Test\",\n OrgOwnerId = \"6205e5fffff79cde6f\",\n RoleNames = new[]\n {\n \"ORG_OWNER\",\n },\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\t_, err := mongodbatlas.NewOrganization(ctx, \"test\", \u0026mongodbatlas.OrganizationArgs{\n\t\t\tDescription: pulumi.String(\"test API key from Org Creation Test\"),\n\t\t\tOrgOwnerId: pulumi.String(\"6205e5fffff79cde6f\"),\n\t\t\tRoleNames: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ORG_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.Organization;\nimport com.pulumi.mongodbatlas.OrganizationArgs;\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 test = new Organization(\"test\", OrganizationArgs.builder() \n .description(\"test API key from Org Creation Test\")\n .orgOwnerId(\"6205e5fffff79cde6f\")\n .roleNames(\"ORG_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:Organization\n properties:\n description: test API key from Org Creation Test\n orgOwnerId: 6205e5fffff79cde6f\n roleNames:\n - ORG_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nOrganization must be imported using organization ID, e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/organization:Organization my_org 5d09d6a59ccf6445652a444a\n```\n For more information see[MongoDB Atlas Admin API Organization](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/createOrganization)\n\nDocumentation for more information.\n\n",
+ "description": "`mongodbatlas.Organization` provides programmatic management (including creation) of a MongoDB Atlas Organization resource.\n\n\u003e **IMPORTANT NOTE:** When you establish an Atlas organization using this resource, it automatically generates a set of initial public and private Programmatic API Keys. These key values are vital to store because you'll need to use them to grant access to the newly created Atlas organization. To use this resource, `role_names` for new API Key must have the ORG_OWNER role specified.\n\n\u003e **IMPORTANT NOTE:** To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation.\n\n\u003e **NOTE** Import command is currently not supported for this resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = new mongodbatlas.Organization(\"test\", {\n description: \"test API key from Org Creation Test\",\n orgOwnerId: \"6205e5fffff79cde6f\",\n roleNames: [\"ORG_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.Organization(\"test\",\n description=\"test API key from Org Creation Test\",\n org_owner_id=\"6205e5fffff79cde6f\",\n role_names=[\"ORG_OWNER\"])\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 test = new Mongodbatlas.Organization(\"test\", new()\n {\n Description = \"test API key from Org Creation Test\",\n OrgOwnerId = \"6205e5fffff79cde6f\",\n RoleNames = new[]\n {\n \"ORG_OWNER\",\n },\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\t_, err := mongodbatlas.NewOrganization(ctx, \"test\", \u0026mongodbatlas.OrganizationArgs{\n\t\t\tDescription: pulumi.String(\"test API key from Org Creation Test\"),\n\t\t\tOrgOwnerId: pulumi.String(\"6205e5fffff79cde6f\"),\n\t\t\tRoleNames: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ORG_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.Organization;\nimport com.pulumi.mongodbatlas.OrganizationArgs;\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 test = new Organization(\"test\", OrganizationArgs.builder() \n .description(\"test API key from Org Creation Test\")\n .orgOwnerId(\"6205e5fffff79cde6f\")\n .roleNames(\"ORG_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:Organization\n properties:\n description: test API key from Org Creation Test\n orgOwnerId: 6205e5fffff79cde6f\n roleNames:\n - ORG_OWNER\n```\n{{% /example %}}\n{{% /examples %}}",
"properties": {
+ "apiAccessListRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.\n"
+ },
"description": {
"type": "string"
},
"federationSettingsId": {
"type": "string",
- "description": "(Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.\n"
+ "description": "Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.\n"
+ },
+ "multiFactorAuthRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.\n"
},
"name": {
"type": "string",
@@ -17378,6 +17577,10 @@
"description": "Public API key value set for the specified organization API key.\n",
"secret": true
},
+ "restrictEmployeeAccess": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.\n"
+ },
"roleNames": {
"type": "array",
"items": {
@@ -17387,21 +17590,32 @@
}
},
"required": [
+ "apiAccessListRequired",
"description",
+ "multiFactorAuthRequired",
"name",
"orgId",
"orgOwnerId",
"privateKey",
"publicKey",
+ "restrictEmployeeAccess",
"roleNames"
],
"inputProperties": {
+ "apiAccessListRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.\n"
+ },
"description": {
"type": "string"
},
"federationSettingsId": {
"type": "string",
- "description": "(Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.\n"
+ "description": "Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.\n"
+ },
+ "multiFactorAuthRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.\n"
},
"name": {
"type": "string",
@@ -17411,6 +17625,10 @@
"type": "string",
"description": "Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. [MongoDB Atlas Admin API - Get User By Username](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/MongoDB-Cloud-Users/operation/getUserByUsername)\n"
},
+ "restrictEmployeeAccess": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.\n"
+ },
"roleNames": {
"type": "array",
"items": {
@@ -17427,12 +17645,20 @@
"stateInputs": {
"description": "Input properties used for looking up and filtering Organization resources.\n",
"properties": {
+ "apiAccessListRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.\n"
+ },
"description": {
"type": "string"
},
"federationSettingsId": {
"type": "string",
- "description": "(Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.\n"
+ "description": "Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.\n"
+ },
+ "multiFactorAuthRequired": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.\n"
},
"name": {
"type": "string",
@@ -17455,6 +17681,10 @@
"description": "Public API key value set for the specified organization API key.\n",
"secret": true
},
+ "restrictEmployeeAccess": {
+ "type": "boolean",
+ "description": "Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.\n"
+ },
"roleNames": {
"type": "array",
"items": {
@@ -18246,11 +18476,15 @@
"properties": {
"clusterCount": {
"type": "integer",
- "description": "The number of Atlas clusters deployed in the project..\n"
+ "description": "The number of Atlas clusters deployed in the project.\n"
},
"created": {
"type": "string",
- "description": "The ISO-8601-formatted timestamp of when Atlas created the project..\n"
+ "description": "The ISO-8601-formatted timestamp of when Atlas created the project.\n"
+ },
+ "ipAddresses": {
+ "$ref": "#/types/mongodbatlas:index/ProjectIpAddresses:ProjectIpAddresses",
+ "description": "IP addresses in a project categorized by services. See IP Addresses.\n"
},
"isCollectDatabaseSpecificsStatisticsEnabled": {
"type": "boolean",
@@ -18312,6 +18546,7 @@
"required": [
"clusterCount",
"created",
+ "ipAddresses",
"isCollectDatabaseSpecificsStatisticsEnabled",
"isDataExplorerEnabled",
"isExtendedStorageSizesEnabled",
@@ -18388,11 +18623,15 @@
"properties": {
"clusterCount": {
"type": "integer",
- "description": "The number of Atlas clusters deployed in the project..\n"
+ "description": "The number of Atlas clusters deployed in the project.\n"
},
"created": {
"type": "string",
- "description": "The ISO-8601-formatted timestamp of when Atlas created the project..\n"
+ "description": "The ISO-8601-formatted timestamp of when Atlas created the project.\n"
+ },
+ "ipAddresses": {
+ "$ref": "#/types/mongodbatlas:index/ProjectIpAddresses:ProjectIpAddresses",
+ "description": "IP addresses in a project categorized by services. See IP Addresses.\n"
},
"isCollectDatabaseSpecificsStatisticsEnabled": {
"type": "boolean",
@@ -18747,30 +18986,29 @@
}
},
"mongodbatlas:index/searchDeployment:SearchDeployment": {
- "description": "`mongodbatlas.SearchDeployment` provides a Search Deployment resource. The resource lets you create, edit and delete dedicated search nodes in a cluster.\n\n\u003e **NOTE:** For details on supported cloud providers and existing limitations you can visit the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-nodes-for-workload-isolation).\n\n\u003e **NOTE:** Only a single search deployment resource can be defined for each cluster.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.SearchDeployment;\nimport com.pulumi.mongodbatlas.SearchDeploymentArgs;\nimport com.pulumi.mongodbatlas.inputs.SearchDeploymentSpecArgs;\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 test = new SearchDeployment(\"test\", SearchDeploymentArgs.builder() \n .clusterName(\"NAME OF CLUSTER\")\n .projectId(\"PROJECT ID\")\n .specs(SearchDeploymentSpecArgs.builder()\n .instance_size(\"S20_HIGHCPU_NVME\")\n .node_count(2)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: mongodbatlas:SearchDeployment\n properties:\n clusterName: NAME OF CLUSTER\n projectId: PROJECT ID\n specs:\n - instance_size: S20_HIGHCPU_NVME\n node_count: 2\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSearch node resource can be imported using the project ID and cluster name, in the format `PROJECT_ID-CLUSTER_NAME`, e.g.\n\n```sh\n $ pulumi import mongodbatlas:index/searchDeployment:SearchDeployment test 650972848269185c55f40ca1-Cluster0\n```\n For more information see[MongoDB Atlas API - Search Node](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) Documentation.\n\n",
+ "description": "`mongodbatlas.SearchDeployment` provides a Search Deployment resource. The resource lets you create, edit and delete dedicated search nodes in a cluster.\n\n\u003e **NOTE:** For details on supported cloud providers and existing limitations you can visit the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-nodes-for-workload-isolation).\n\n\u003e **NOTE:** Only a single search deployment resource can be defined for each cluster.\n\n{{% examples %}}\n## Example Usage\n{{% /examples %}}",
"properties": {
"clusterName": {
"type": "string",
- "description": "Label that identifies the cluster to create search nodes for.\n"
+ "description": "Label that identifies the cluster to return the search nodes for.\n"
},
"projectId": {
"type": "string",
- "description": "Unique 24-hexadecimal digit string that identifies your project.\n"
+ "description": "Unique 24-hexadecimal character string that identifies the project.\n"
},
"specs": {
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/SearchDeploymentSpec:SearchDeploymentSpec"
},
- "description": "List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.\n"
+ "description": "List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.\n"
},
"stateName": {
"type": "string",
- "description": "Human-readable label that indicates the current operating condition of this search node deployment.\n"
+ "description": "Human-readable label that indicates the current operating condition of this search deployment.\n"
},
"timeouts": {
- "$ref": "#/types/mongodbatlas:index/SearchDeploymentTimeouts:SearchDeploymentTimeouts",
- "description": "The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.\n"
+ "$ref": "#/types/mongodbatlas:index/SearchDeploymentTimeouts:SearchDeploymentTimeouts"
}
},
"required": [
@@ -18782,22 +19020,21 @@
"inputProperties": {
"clusterName": {
"type": "string",
- "description": "Label that identifies the cluster to create search nodes for.\n"
+ "description": "Label that identifies the cluster to return the search nodes for.\n"
},
"projectId": {
"type": "string",
- "description": "Unique 24-hexadecimal digit string that identifies your project.\n"
+ "description": "Unique 24-hexadecimal character string that identifies the project.\n"
},
"specs": {
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/SearchDeploymentSpec:SearchDeploymentSpec"
},
- "description": "List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.\n"
+ "description": "List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.\n"
},
"timeouts": {
- "$ref": "#/types/mongodbatlas:index/SearchDeploymentTimeouts:SearchDeploymentTimeouts",
- "description": "The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.\n"
+ "$ref": "#/types/mongodbatlas:index/SearchDeploymentTimeouts:SearchDeploymentTimeouts"
}
},
"requiredInputs": [
@@ -18810,26 +19047,25 @@
"properties": {
"clusterName": {
"type": "string",
- "description": "Label that identifies the cluster to create search nodes for.\n"
+ "description": "Label that identifies the cluster to return the search nodes for.\n"
},
"projectId": {
"type": "string",
- "description": "Unique 24-hexadecimal digit string that identifies your project.\n"
+ "description": "Unique 24-hexadecimal character string that identifies the project.\n"
},
"specs": {
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/SearchDeploymentSpec:SearchDeploymentSpec"
},
- "description": "List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.\n"
+ "description": "List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.\n"
},
"stateName": {
"type": "string",
- "description": "Human-readable label that indicates the current operating condition of this search node deployment.\n"
+ "description": "Human-readable label that indicates the current operating condition of this search deployment.\n"
},
"timeouts": {
- "$ref": "#/types/mongodbatlas:index/SearchDeploymentTimeouts:SearchDeploymentTimeouts",
- "description": "The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.\n"
+ "$ref": "#/types/mongodbatlas:index/SearchDeploymentTimeouts:SearchDeploymentTimeouts"
}
},
"type": "object"
@@ -18886,7 +19122,8 @@
"description": "[Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)\n"
},
"status": {
- "type": "string"
+ "type": "string",
+ "description": "Current status of the index.\n"
},
"synonyms": {
"type": "array",
@@ -18959,9 +19196,6 @@
"type": "string",
"description": "[Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)\n"
},
- "status": {
- "type": "string"
- },
"synonyms": {
"type": "array",
"items": {
@@ -19036,7 +19270,8 @@
"description": "[Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)\n"
},
"status": {
- "type": "string"
+ "type": "string",
+ "description": "Current status of the index.\n"
},
"synonyms": {
"type": "array",
@@ -20321,11 +20556,12 @@
"description": "A collection of arguments for invoking getApiKey.\n",
"properties": {
"apiKeyId": {
- "type": "string"
+ "type": "string",
+ "description": "Unique identifier for the organization API key.\n"
},
"orgId": {
"type": "string",
- "description": "The unique ID for the project.\n"
+ "description": "Unique identifier for the organization.\n"
}
},
"type": "object",
@@ -20349,8 +20585,7 @@
"description": "The provider-assigned unique ID for this managed resource.\n"
},
"orgId": {
- "type": "string",
- "description": "Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.\n"
+ "type": "string"
},
"publicKey": {
"type": "string",
@@ -20385,7 +20620,7 @@
},
"orgId": {
"type": "string",
- "description": "Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.\n"
+ "description": "Unique identifier for the organization whose API keys you want to retrieve.\n"
},
"pageNum": {
"type": "integer",
@@ -20648,27 +20883,6 @@
"inputs": {
"description": "A collection of arguments for invoking getBackupCompliancePolicy.\n",
"properties": {
- "onDemandPolicyItem": {
- "$ref": "#/types/mongodbatlas:index/getBackupCompliancePolicyOnDemandPolicyItem:getBackupCompliancePolicyOnDemandPolicyItem"
- },
- "policyItemDaily": {
- "$ref": "#/types/mongodbatlas:index/getBackupCompliancePolicyPolicyItemDaily:getBackupCompliancePolicyPolicyItemDaily"
- },
- "policyItemHourly": {
- "$ref": "#/types/mongodbatlas:index/getBackupCompliancePolicyPolicyItemHourly:getBackupCompliancePolicyPolicyItemHourly"
- },
- "policyItemMonthlies": {
- "type": "array",
- "items": {
- "$ref": "#/types/mongodbatlas:index/getBackupCompliancePolicyPolicyItemMonthly:getBackupCompliancePolicyPolicyItemMonthly"
- }
- },
- "policyItemWeeklies": {
- "type": "array",
- "items": {
- "$ref": "#/types/mongodbatlas:index/getBackupCompliancePolicyPolicyItemWeekly:getBackupCompliancePolicyPolicyItemWeekly"
- }
- },
"projectId": {
"type": "string",
"description": "Unique 24-hexadecimal digit string that identifies your project\n"
@@ -20758,7 +20972,12 @@
"authorizedUserLastName",
"copyProtectionEnabled",
"encryptionAtRestEnabled",
+ "onDemandPolicyItem",
"pitEnabled",
+ "policyItemDaily",
+ "policyItemHourly",
+ "policyItemMonthlies",
+ "policyItemWeeklies",
"projectId",
"restoreWindowDays",
"state",
@@ -21579,49 +21798,8 @@
]
}
},
- "mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess": {
- "description": "**WARNING:** The data source `mongodbatlas.CloudProviderAccess` is deprecated and will be removed in version v1.14.0, use the data source `mongodbatlas.CloudProviderAccessSetup` instead.\n\n`mongodbatlas.CloudProviderAccess` allows you to get the list of cloud provider access roles, currently only AWS and Azure is supported.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccess(\"testRole\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AWS\",\n});\nconst all = mongodbatlas.getCloudProviderAccessOutput({\n projectId: testRole.projectId,\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccess(\"testRole\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AWS\")\nall = mongodbatlas.get_cloud_provider_access_output(project_id=test_role.project_id)\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 testRole = new Mongodbatlas.CloudProviderAccess(\"testRole\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AWS\",\n });\n\n var all = Mongodbatlas.GetCloudProviderAccess.Invoke(new()\n {\n ProjectId = testRole.ProjectId,\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\ttestRole, err := mongodbatlas.NewCloudProviderAccess(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = mongodbatlas.LookupCloudProviderAccessOutput(ctx, mongodbatlas.GetCloudProviderAccessOutputArgs{\n\t\t\tProjectId: testRole.ProjectId,\n\t\t}, nil)\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.CloudProviderAccess;\nimport com.pulumi.mongodbatlas.CloudProviderAccessArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetCloudProviderAccessArgs;\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 testRole = new CloudProviderAccess(\"testRole\", CloudProviderAccessArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AWS\")\n .build());\n\n final var all = MongodbatlasFunctions.getCloudProviderAccess(GetCloudProviderAccessArgs.builder()\n .projectId(testRole.projectId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccess\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AWS\nvariables:\n all:\n fn::invoke:\n Function: mongodbatlas:getCloudProviderAccess\n Arguments:\n projectId: ${testRole.projectId}\n```\n{{% /example %}}\n{{% /examples %}}",
- "inputs": {
- "description": "A collection of arguments for invoking getCloudProviderAccess.\n",
- "properties": {
- "projectId": {
- "type": "string",
- "description": "The unique ID for the project to get all Cloud Provider Access\n"
- }
- },
- "type": "object",
- "required": [
- "projectId"
- ]
- },
- "outputs": {
- "description": "A collection of values returned by getCloudProviderAccess.\n",
- "properties": {
- "awsIamRoles": {
- "type": "array",
- "items": {
- "$ref": "#/types/mongodbatlas:index/getCloudProviderAccessAwsIamRole:getCloudProviderAccessAwsIamRole"
- },
- "description": "A list where each represents a Cloud Provider Access Role.\n"
- },
- "id": {
- "type": "string",
- "description": "The provider-assigned unique ID for this managed resource.\n"
- },
- "projectId": {
- "type": "string"
- }
- },
- "type": "object",
- "required": [
- "awsIamRoles",
- "projectId",
- "id"
- ]
- }
- },
"mongodbatlas:index/getCloudProviderAccessSetup:getCloudProviderAccessSetup": {
- "description": "`mongodbatlas.CloudProviderAccess` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### With AWS\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccessSetup(\"testRole\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AWS\",\n});\nconst singleSetup = mongodbatlas.getCloudProviderAccessSetupOutput({\n projectId: testRole.projectId,\n providerName: testRole.providerName,\n roleId: testRole.roleId,\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccessSetup(\"testRole\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AWS\")\nsingle_setup = mongodbatlas.get_cloud_provider_access_setup_output(project_id=test_role.project_id,\n provider_name=test_role.provider_name,\n role_id=test_role.role_id)\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 testRole = new Mongodbatlas.CloudProviderAccessSetup(\"testRole\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AWS\",\n });\n\n var singleSetup = Mongodbatlas.GetCloudProviderAccessSetup.Invoke(new()\n {\n ProjectId = testRole.ProjectId,\n ProviderName = testRole.ProviderName,\n RoleId = testRole.RoleId,\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\ttestRole, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = mongodbatlas.LookupCloudProviderAccessSetupOutput(ctx, mongodbatlas.GetCloudProviderAccessSetupOutputArgs{\n\t\t\tProjectId: testRole.ProjectId,\n\t\t\tProviderName: testRole.ProviderName,\n\t\t\tRoleId: testRole.RoleId,\n\t\t}, nil)\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.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetCloudProviderAccessSetupArgs;\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 testRole = new CloudProviderAccessSetup(\"testRole\", CloudProviderAccessSetupArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AWS\")\n .build());\n\n final var singleSetup = MongodbatlasFunctions.getCloudProviderAccessSetup(GetCloudProviderAccessSetupArgs.builder()\n .projectId(testRole.projectId())\n .providerName(testRole.providerName())\n .roleId(testRole.roleId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AWS\nvariables:\n singleSetup:\n fn::invoke:\n Function: mongodbatlas:getCloudProviderAccessSetup\n Arguments:\n projectId: ${testRole.projectId}\n providerName: ${testRole.providerName}\n roleId: ${testRole.roleId}\n```\n\n{{% /example %}}\n{{% example %}}\n### With AZURE\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccessSetup(\"testRole\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AZURE\",\n azureConfigs: [{\n atlasAzureAppId: \"9f2deb0d-be22-4524-a403-df531868bac0\",\n servicePrincipalId: \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenantId: \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n }],\n});\nconst singleSetup = mongodbatlas.getCloudProviderAccessSetupOutput({\n projectId: testRole.projectId,\n providerName: testRole.providerName,\n roleId: testRole.roleId,\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccessSetup(\"testRole\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AZURE\",\n azure_configs=[mongodbatlas.CloudProviderAccessSetupAzureConfigArgs(\n atlas_azure_app_id=\"9f2deb0d-be22-4524-a403-df531868bac0\",\n service_principal_id=\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenant_id=\"91402384-d71e-22f5-22dd-759e272cdc1c\",\n )])\nsingle_setup = mongodbatlas.get_cloud_provider_access_setup_output(project_id=test_role.project_id,\n provider_name=test_role.provider_name,\n role_id=test_role.role_id)\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 testRole = new Mongodbatlas.CloudProviderAccessSetup(\"testRole\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AZURE\",\n AzureConfigs = new[]\n {\n new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs\n {\n AtlasAzureAppId = \"9f2deb0d-be22-4524-a403-df531868bac0\",\n ServicePrincipalId = \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n TenantId = \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n },\n },\n });\n\n var singleSetup = Mongodbatlas.GetCloudProviderAccessSetup.Invoke(new()\n {\n ProjectId = testRole.ProjectId,\n ProviderName = testRole.ProviderName,\n RoleId = testRole.RoleId,\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\ttestRole, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AZURE\"),\n\t\t\tAzureConfigs: mongodbatlas.CloudProviderAccessSetupAzureConfigArray{\n\t\t\t\t\u0026mongodbatlas.CloudProviderAccessSetupAzureConfigArgs{\n\t\t\t\t\tAtlasAzureAppId: pulumi.String(\"9f2deb0d-be22-4524-a403-df531868bac0\"),\n\t\t\t\t\tServicePrincipalId: pulumi.String(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\"),\n\t\t\t\t\tTenantId: pulumi.String(\"91402384-d71e-22f5-22dd-759e272cdc1c\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = mongodbatlas.LookupCloudProviderAccessSetupOutput(ctx, mongodbatlas.GetCloudProviderAccessSetupOutputArgs{\n\t\t\tProjectId: testRole.ProjectId,\n\t\t\tProviderName: testRole.ProviderName,\n\t\t\tRoleId: testRole.RoleId,\n\t\t}, nil)\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.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudProviderAccessSetupAzureConfigArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetCloudProviderAccessSetupArgs;\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 testRole = new CloudProviderAccessSetup(\"testRole\", CloudProviderAccessSetupArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AZURE\")\n .azureConfigs(CloudProviderAccessSetupAzureConfigArgs.builder()\n .atlasAzureAppId(\"9f2deb0d-be22-4524-a403-df531868bac0\")\n .servicePrincipalId(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\")\n .tenantId(\"91402384-d71e-22f5-22dd-759e272cdc1c\")\n .build())\n .build());\n\n final var singleSetup = MongodbatlasFunctions.getCloudProviderAccessSetup(GetCloudProviderAccessSetupArgs.builder()\n .projectId(testRole.projectId())\n .providerName(testRole.providerName())\n .roleId(testRole.roleId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AZURE\n azureConfigs:\n - atlasAzureAppId: 9f2deb0d-be22-4524-a403-df531868bac0\n servicePrincipalId: 22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\n tenantId: 91402384-d71e-22f5-22dd-759e272cdc1c\nvariables:\n singleSetup:\n fn::invoke:\n Function: mongodbatlas:getCloudProviderAccessSetup\n Arguments:\n projectId: ${testRole.projectId}\n providerName: ${testRole.providerName}\n roleId: ${testRole.roleId}\n```\n{{% /example %}}\n{{% /examples %}}",
+ "description": "`mongodbatlas_cloud_provider_access` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### With AWS\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccessSetup(\"testRole\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AWS\",\n});\nconst singleSetup = mongodbatlas.getCloudProviderAccessSetupOutput({\n projectId: testRole.projectId,\n providerName: testRole.providerName,\n roleId: testRole.roleId,\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccessSetup(\"testRole\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AWS\")\nsingle_setup = mongodbatlas.get_cloud_provider_access_setup_output(project_id=test_role.project_id,\n provider_name=test_role.provider_name,\n role_id=test_role.role_id)\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 testRole = new Mongodbatlas.CloudProviderAccessSetup(\"testRole\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AWS\",\n });\n\n var singleSetup = Mongodbatlas.GetCloudProviderAccessSetup.Invoke(new()\n {\n ProjectId = testRole.ProjectId,\n ProviderName = testRole.ProviderName,\n RoleId = testRole.RoleId,\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\ttestRole, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AWS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = mongodbatlas.LookupCloudProviderAccessSetupOutput(ctx, mongodbatlas.GetCloudProviderAccessSetupOutputArgs{\n\t\t\tProjectId: testRole.ProjectId,\n\t\t\tProviderName: testRole.ProviderName,\n\t\t\tRoleId: testRole.RoleId,\n\t\t}, nil)\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.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetCloudProviderAccessSetupArgs;\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 testRole = new CloudProviderAccessSetup(\"testRole\", CloudProviderAccessSetupArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AWS\")\n .build());\n\n final var singleSetup = MongodbatlasFunctions.getCloudProviderAccessSetup(GetCloudProviderAccessSetupArgs.builder()\n .projectId(testRole.projectId())\n .providerName(testRole.providerName())\n .roleId(testRole.roleId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AWS\nvariables:\n singleSetup:\n fn::invoke:\n Function: mongodbatlas:getCloudProviderAccessSetup\n Arguments:\n projectId: ${testRole.projectId}\n providerName: ${testRole.providerName}\n roleId: ${testRole.roleId}\n```\n\n{{% /example %}}\n{{% example %}}\n### With AZURE\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst testRole = new mongodbatlas.CloudProviderAccessSetup(\"testRole\", {\n projectId: \"64259ee860c43338194b0f8e\",\n providerName: \"AZURE\",\n azureConfigs: [{\n atlasAzureAppId: \"9f2deb0d-be22-4524-a403-df531868bac0\",\n servicePrincipalId: \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenantId: \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n }],\n});\nconst singleSetup = mongodbatlas.getCloudProviderAccessSetupOutput({\n projectId: testRole.projectId,\n providerName: testRole.providerName,\n roleId: testRole.roleId,\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest_role = mongodbatlas.CloudProviderAccessSetup(\"testRole\",\n project_id=\"64259ee860c43338194b0f8e\",\n provider_name=\"AZURE\",\n azure_configs=[mongodbatlas.CloudProviderAccessSetupAzureConfigArgs(\n atlas_azure_app_id=\"9f2deb0d-be22-4524-a403-df531868bac0\",\n service_principal_id=\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n tenant_id=\"91402384-d71e-22f5-22dd-759e272cdc1c\",\n )])\nsingle_setup = mongodbatlas.get_cloud_provider_access_setup_output(project_id=test_role.project_id,\n provider_name=test_role.provider_name,\n role_id=test_role.role_id)\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 testRole = new Mongodbatlas.CloudProviderAccessSetup(\"testRole\", new()\n {\n ProjectId = \"64259ee860c43338194b0f8e\",\n ProviderName = \"AZURE\",\n AzureConfigs = new[]\n {\n new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs\n {\n AtlasAzureAppId = \"9f2deb0d-be22-4524-a403-df531868bac0\",\n ServicePrincipalId = \"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\",\n TenantId = \"91402384-d71e-22f5-22dd-759e272cdc1c\",\n },\n },\n });\n\n var singleSetup = Mongodbatlas.GetCloudProviderAccessSetup.Invoke(new()\n {\n ProjectId = testRole.ProjectId,\n ProviderName = testRole.ProviderName,\n RoleId = testRole.RoleId,\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\ttestRole, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, \"testRole\", \u0026mongodbatlas.CloudProviderAccessSetupArgs{\n\t\t\tProjectId: pulumi.String(\"64259ee860c43338194b0f8e\"),\n\t\t\tProviderName: pulumi.String(\"AZURE\"),\n\t\t\tAzureConfigs: mongodbatlas.CloudProviderAccessSetupAzureConfigArray{\n\t\t\t\t\u0026mongodbatlas.CloudProviderAccessSetupAzureConfigArgs{\n\t\t\t\t\tAtlasAzureAppId: pulumi.String(\"9f2deb0d-be22-4524-a403-df531868bac0\"),\n\t\t\t\t\tServicePrincipalId: pulumi.String(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\"),\n\t\t\t\t\tTenantId: pulumi.String(\"91402384-d71e-22f5-22dd-759e272cdc1c\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = mongodbatlas.LookupCloudProviderAccessSetupOutput(ctx, mongodbatlas.GetCloudProviderAccessSetupOutputArgs{\n\t\t\tProjectId: testRole.ProjectId,\n\t\t\tProviderName: testRole.ProviderName,\n\t\t\tRoleId: testRole.RoleId,\n\t\t}, nil)\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.CloudProviderAccessSetup;\nimport com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;\nimport com.pulumi.mongodbatlas.inputs.CloudProviderAccessSetupAzureConfigArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetCloudProviderAccessSetupArgs;\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 testRole = new CloudProviderAccessSetup(\"testRole\", CloudProviderAccessSetupArgs.builder() \n .projectId(\"64259ee860c43338194b0f8e\")\n .providerName(\"AZURE\")\n .azureConfigs(CloudProviderAccessSetupAzureConfigArgs.builder()\n .atlasAzureAppId(\"9f2deb0d-be22-4524-a403-df531868bac0\")\n .servicePrincipalId(\"22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\")\n .tenantId(\"91402384-d71e-22f5-22dd-759e272cdc1c\")\n .build())\n .build());\n\n final var singleSetup = MongodbatlasFunctions.getCloudProviderAccessSetup(GetCloudProviderAccessSetupArgs.builder()\n .projectId(testRole.projectId())\n .providerName(testRole.providerName())\n .roleId(testRole.roleId())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testRole:\n type: mongodbatlas:CloudProviderAccessSetup\n properties:\n projectId: 64259ee860c43338194b0f8e\n providerName: AZURE\n azureConfigs:\n - atlasAzureAppId: 9f2deb0d-be22-4524-a403-df531868bac0\n servicePrincipalId: 22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1\n tenantId: 91402384-d71e-22f5-22dd-759e272cdc1c\nvariables:\n singleSetup:\n fn::invoke:\n Function: mongodbatlas:getCloudProviderAccessSetup\n Arguments:\n projectId: ${testRole.projectId}\n providerName: ${testRole.providerName}\n roleId: ${testRole.roleId}\n```\n{{% /example %}}\n{{% /examples %}}",
"inputs": {
"description": "A collection of arguments for invoking getCloudProviderAccessSetup.\n",
"properties": {
@@ -22564,6 +22742,7 @@
},
"password": {
"type": "string",
+ "deprecationMessage": "this parameter is deprecated and will be removed in version 1.16.0",
"secret": true
},
"projectId": {
@@ -23163,7 +23342,7 @@
}
},
"mongodbatlas:index/getFederatedSettingsIdentityProvider:getFederatedSettingsIdentityProvider": {
- "description": "`mongodbatlas.FederatedSettingsIdentityProvider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", {\n federationSettingsId: \"627a9687f7f7f7f774de306f14\",\n associatedDomains: [\"yourdomain.com\"],\n ssoDebugEnabled: true,\n status: \"ACTIVE\",\n ssoUrl: \"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\",\n issuerUri: \"http://www.okta.com/exk17f7f7f7f7p50h8\",\n requestBinding: \"HTTP-POST\",\n responseSignatureAlgorithm: \"SHA-256\",\n});\nconst identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({\n federationSettingsId: identityProvider.id,\n identityProviderId: \"0oad47f7fXnk1297\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nidentity_provider = mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\",\n federation_settings_id=\"627a9687f7f7f7f774de306f14\",\n associated_domains=[\"yourdomain.com\"],\n sso_debug_enabled=True,\n status=\"ACTIVE\",\n sso_url=\"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\",\n issuer_uri=\"http://www.okta.com/exk17f7f7f7f7p50h8\",\n request_binding=\"HTTP-POST\",\n response_signature_algorithm=\"SHA-256\")\nidentity_provider_ds = mongodbatlas.get_federated_settings_identity_provider_output(federation_settings_id=identity_provider.id,\n identity_provider_id=\"0oad47f7fXnk1297\")\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 identityProvider = new Mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", new()\n {\n FederationSettingsId = \"627a9687f7f7f7f774de306f14\",\n AssociatedDomains = new[]\n {\n \"yourdomain.com\",\n },\n SsoDebugEnabled = true,\n Status = \"ACTIVE\",\n SsoUrl = \"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\",\n IssuerUri = \"http://www.okta.com/exk17f7f7f7f7p50h8\",\n RequestBinding = \"HTTP-POST\",\n ResponseSignatureAlgorithm = \"SHA-256\",\n });\n\n var identityProviderDs = Mongodbatlas.GetFederatedSettingsIdentityProvider.Invoke(new()\n {\n FederationSettingsId = identityProvider.Id,\n IdentityProviderId = \"0oad47f7fXnk1297\",\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\tidentityProvider, err := mongodbatlas.NewFederatedSettingsIdentityProvider(ctx, \"identityProvider\", \u0026mongodbatlas.FederatedSettingsIdentityProviderArgs{\n\t\t\tFederationSettingsId: pulumi.String(\"627a9687f7f7f7f774de306f14\"),\n\t\t\tAssociatedDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"yourdomain.com\"),\n\t\t\t},\n\t\t\tSsoDebugEnabled: pulumi.Bool(true),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tSsoUrl: pulumi.String(\"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\"),\n\t\t\tIssuerUri: pulumi.String(\"http://www.okta.com/exk17f7f7f7f7p50h8\"),\n\t\t\tRequestBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tResponseSignatureAlgorithm: pulumi.String(\"SHA-256\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = mongodbatlas.LookupFederatedSettingsIdentityProviderOutput(ctx, mongodbatlas.GetFederatedSettingsIdentityProviderOutputArgs{\n\t\t\tFederationSettingsId: identityProvider.ID(),\n\t\t\tIdentityProviderId: pulumi.String(\"0oad47f7fXnk1297\"),\n\t\t}, nil)\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.FederatedSettingsIdentityProvider;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProviderArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetFederatedSettingsIdentityProviderArgs;\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 identityProvider = new FederatedSettingsIdentityProvider(\"identityProvider\", FederatedSettingsIdentityProviderArgs.builder() \n .federationSettingsId(\"627a9687f7f7f7f774de306f14\")\n .associatedDomains(\"yourdomain.com\")\n .ssoDebugEnabled(true)\n .status(\"ACTIVE\")\n .ssoUrl(\"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\")\n .issuerUri(\"http://www.okta.com/exk17f7f7f7f7p50h8\")\n .requestBinding(\"HTTP-POST\")\n .responseSignatureAlgorithm(\"SHA-256\")\n .build());\n\n final var identityProviderDs = MongodbatlasFunctions.getFederatedSettingsIdentityProvider(GetFederatedSettingsIdentityProviderArgs.builder()\n .federationSettingsId(identityProvider.id())\n .identityProviderId(\"0oad47f7fXnk1297\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n identityProvider:\n type: mongodbatlas:FederatedSettingsIdentityProvider\n properties:\n federationSettingsId: 627a9687f7f7f7f774de306f14\n associatedDomains:\n - yourdomain.com\n ssoDebugEnabled: true\n status: ACTIVE\n ssoUrl: https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\n issuerUri: http://www.okta.com/exk17f7f7f7f7p50h8\n requestBinding: HTTP-POST\n responseSignatureAlgorithm: SHA-256\nvariables:\n identityProviderDs:\n fn::invoke:\n Function: mongodbatlas:getFederatedSettingsIdentityProvider\n Arguments:\n federationSettingsId: ${identityProvider.id}\n identityProviderId: 0oad47f7fXnk1297\n```\n{{% /example %}}\n{{% /examples %}}",
+ "description": "`mongodbatlas.FederatedSettingsIdentityProvider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.\n\n\u003e **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", {\n federationSettingsId: \"627a9687f7f7f7f774de306f14\",\n associatedDomains: [\"yourdomain.com\"],\n ssoDebugEnabled: true,\n status: \"ACTIVE\",\n ssoUrl: \"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\",\n issuerUri: \"http://www.okta.com/exk17f7f7f7f7p50h8\",\n requestBinding: \"HTTP-POST\",\n responseSignatureAlgorithm: \"SHA-256\",\n});\nconst identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({\n federationSettingsId: identityProvider.id,\n identityProviderId: \"0oad47f7fXnk1297\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nidentity_provider = mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\",\n federation_settings_id=\"627a9687f7f7f7f774de306f14\",\n associated_domains=[\"yourdomain.com\"],\n sso_debug_enabled=True,\n status=\"ACTIVE\",\n sso_url=\"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\",\n issuer_uri=\"http://www.okta.com/exk17f7f7f7f7p50h8\",\n request_binding=\"HTTP-POST\",\n response_signature_algorithm=\"SHA-256\")\nidentity_provider_ds = mongodbatlas.get_federated_settings_identity_provider_output(federation_settings_id=identity_provider.id,\n identity_provider_id=\"0oad47f7fXnk1297\")\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 identityProvider = new Mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", new()\n {\n FederationSettingsId = \"627a9687f7f7f7f774de306f14\",\n AssociatedDomains = new[]\n {\n \"yourdomain.com\",\n },\n SsoDebugEnabled = true,\n Status = \"ACTIVE\",\n SsoUrl = \"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\",\n IssuerUri = \"http://www.okta.com/exk17f7f7f7f7p50h8\",\n RequestBinding = \"HTTP-POST\",\n ResponseSignatureAlgorithm = \"SHA-256\",\n });\n\n var identityProviderDs = Mongodbatlas.GetFederatedSettingsIdentityProvider.Invoke(new()\n {\n FederationSettingsId = identityProvider.Id,\n IdentityProviderId = \"0oad47f7fXnk1297\",\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\tidentityProvider, err := mongodbatlas.NewFederatedSettingsIdentityProvider(ctx, \"identityProvider\", \u0026mongodbatlas.FederatedSettingsIdentityProviderArgs{\n\t\t\tFederationSettingsId: pulumi.String(\"627a9687f7f7f7f774de306f14\"),\n\t\t\tAssociatedDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"yourdomain.com\"),\n\t\t\t},\n\t\t\tSsoDebugEnabled: pulumi.Bool(true),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tSsoUrl: pulumi.String(\"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\"),\n\t\t\tIssuerUri: pulumi.String(\"http://www.okta.com/exk17f7f7f7f7p50h8\"),\n\t\t\tRequestBinding: pulumi.String(\"HTTP-POST\"),\n\t\t\tResponseSignatureAlgorithm: pulumi.String(\"SHA-256\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = mongodbatlas.LookupFederatedSettingsIdentityProviderOutput(ctx, mongodbatlas.GetFederatedSettingsIdentityProviderOutputArgs{\n\t\t\tFederationSettingsId: identityProvider.ID(),\n\t\t\tIdentityProviderId: pulumi.String(\"0oad47f7fXnk1297\"),\n\t\t}, nil)\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.FederatedSettingsIdentityProvider;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProviderArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetFederatedSettingsIdentityProviderArgs;\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 identityProvider = new FederatedSettingsIdentityProvider(\"identityProvider\", FederatedSettingsIdentityProviderArgs.builder() \n .federationSettingsId(\"627a9687f7f7f7f774de306f14\")\n .associatedDomains(\"yourdomain.com\")\n .ssoDebugEnabled(true)\n .status(\"ACTIVE\")\n .ssoUrl(\"https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\")\n .issuerUri(\"http://www.okta.com/exk17f7f7f7f7p50h8\")\n .requestBinding(\"HTTP-POST\")\n .responseSignatureAlgorithm(\"SHA-256\")\n .build());\n\n final var identityProviderDs = MongodbatlasFunctions.getFederatedSettingsIdentityProvider(GetFederatedSettingsIdentityProviderArgs.builder()\n .federationSettingsId(identityProvider.id())\n .identityProviderId(\"0oad47f7fXnk1297\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n identityProvider:\n type: mongodbatlas:FederatedSettingsIdentityProvider\n properties:\n federationSettingsId: 627a9687f7f7f7f774de306f14\n associatedDomains:\n - yourdomain.com\n ssoDebugEnabled: true\n status: ACTIVE\n ssoUrl: https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml\n issuerUri: http://www.okta.com/exk17f7f7f7f7p50h8\n requestBinding: HTTP-POST\n responseSignatureAlgorithm: SHA-256\nvariables:\n identityProviderDs:\n fn::invoke:\n Function: mongodbatlas:getFederatedSettingsIdentityProvider\n Arguments:\n federationSettingsId: ${identityProvider.id}\n identityProviderId: 0oad47f7fXnk1297\n```\n{{% /example %}}\n{{% /examples %}}",
"inputs": {
"description": "A collection of arguments for invoking getFederatedSettingsIdentityProvider.\n",
"properties": {
@@ -23172,8 +23351,7 @@
"description": "Unique 24-hexadecimal digit string that identifies the federated authentication configuration.\n"
},
"identityProviderId": {
- "type": "string",
- "description": "Unique 20-hexadecimal digit string that identifies the IdP.\n"
+ "type": "string"
}
},
"type": "object",
@@ -23203,10 +23381,21 @@
},
"description": "List that contains the organizations from which users can log in for this IdP.\n"
},
+ "audienceClaims": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Identifier of the intended recipient of the token.\n"
+ },
"audienceUri": {
"type": "string",
"description": "Identifier for the intended audience of the SAML Assertion.\n"
},
+ "clientId": {
+ "type": "string",
+ "description": "Client identifier that is assigned to an application by the Identity Provider.\n"
+ },
"displayName": {
"type": "string",
"description": "Human-readable label that identifies the IdP.\n"
@@ -23215,6 +23404,10 @@
"type": "string",
"description": "Unique 24-hexadecimal digit string that identifies the federated authentication configuration.\n"
},
+ "groupsClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains IdP Group IDs in the token.\n"
+ },
"id": {
"type": "string",
"description": "The provider-assigned unique ID for this managed resource.\n"
@@ -23222,6 +23415,10 @@
"identityProviderId": {
"type": "string"
},
+ "idpId": {
+ "type": "string",
+ "description": "Unique 24-hexadecimal digit string that identifies the IdP\n"
+ },
"issuerUri": {
"type": "string",
"description": "Identifier for the issuer of the SAML Assertion.\n"
@@ -23236,10 +23433,21 @@
"$ref": "#/types/mongodbatlas:index/getFederatedSettingsIdentityProviderPemFileInfo:getFederatedSettingsIdentityProviderPemFileInfo"
}
},
+ "protocol": {
+ "type": "string",
+ "description": "The protocol of the identity provider. Either SAML or OIDC.\n"
+ },
"requestBinding": {
"type": "string",
"description": "SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:\n- HTTP POST\n- HTTP REDIRECT\n"
},
+ "requestedScopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Scopes that MongoDB applications will request from the authorization endpoint.\n"
+ },
"responseSignatureAlgorithm": {
"type": "string",
"description": "Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:\n- SHA-1\n- SHA-256\n"
@@ -23255,6 +23463,10 @@
"status": {
"type": "string",
"description": "Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.\n"
+ },
+ "userClaim": {
+ "type": "string",
+ "description": "Identifier of the claim which contains the user ID in the token.\n"
}
},
"type": "object",
@@ -23262,24 +23474,31 @@
"acsUrl",
"associatedDomains",
"associatedOrgs",
+ "audienceClaims",
"audienceUri",
+ "clientId",
"displayName",
"federationSettingsId",
+ "groupsClaim",
"identityProviderId",
+ "idpId",
"issuerUri",
"oktaIdpId",
"pemFileInfos",
+ "protocol",
"requestBinding",
+ "requestedScopes",
"responseSignatureAlgorithm",
"ssoDebugEnabled",
"ssoUrl",
"status",
+ "userClaim",
"id"
]
}
},
"mongodbatlas:index/getFederatedSettingsIdentityProviders:getFederatedSettingsIdentityProviders": {
- "description": "`mongodbatlas.getFederatedSettingsIdentityProviders` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", {\n federationSettingsId: \"627a9687f7f7f7f774de306f14\",\n associatedDomains: [\"yourdomain.com\"],\n ssoDebugEnabled: true,\n status: \"ACTIVE\",\n});\nconst identittyProvider = identityProvider.id.apply(id =\u003e mongodbatlas.getFederatedSettingsIdentityProvidersOutput({\n federationSettingsId: id,\n pageNum: 1,\n itemsPerPage: 5,\n}));\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nidentity_provider = mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\",\n federation_settings_id=\"627a9687f7f7f7f774de306f14\",\n associated_domains=[\"yourdomain.com\"],\n sso_debug_enabled=True,\n status=\"ACTIVE\")\nidentitty_provider = identity_provider.id.apply(lambda id: mongodbatlas.get_federated_settings_identity_providers_output(federation_settings_id=id,\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 identityProvider = new Mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", new()\n {\n FederationSettingsId = \"627a9687f7f7f7f774de306f14\",\n AssociatedDomains = new[]\n {\n \"yourdomain.com\",\n },\n SsoDebugEnabled = true,\n Status = \"ACTIVE\",\n });\n\n var identittyProvider = Mongodbatlas.GetFederatedSettingsIdentityProviders.Invoke(new()\n {\n FederationSettingsId = identityProvider.Id,\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\tidentityProvider, err := mongodbatlas.NewFederatedSettingsIdentityProvider(ctx, \"identityProvider\", \u0026mongodbatlas.FederatedSettingsIdentityProviderArgs{\n\t\t\tFederationSettingsId: pulumi.String(\"627a9687f7f7f7f774de306f14\"),\n\t\t\tAssociatedDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"yourdomain.com\"),\n\t\t\t},\n\t\t\tSsoDebugEnabled: pulumi.Bool(true),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = identityProvider.ID().ApplyT(func(id string) (mongodbatlas.GetFederatedSettingsIdentityProvidersResult, error) {\n\t\t\treturn mongodbatlas.LookupFederatedSettingsIdentityProvidersOutput(ctx, mongodbatlas.GetFederatedSettingsIdentityProvidersOutputArgs{\n\t\t\t\tFederationSettingsId: id,\n\t\t\t\tPageNum: 1,\n\t\t\t\tItemsPerPage: 5,\n\t\t\t}, nil), nil\n\t\t}).(mongodbatlas.GetFederatedSettingsIdentityProvidersResultOutput)\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.FederatedSettingsIdentityProvider;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProviderArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetFederatedSettingsIdentityProvidersArgs;\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 identityProvider = new FederatedSettingsIdentityProvider(\"identityProvider\", FederatedSettingsIdentityProviderArgs.builder() \n .federationSettingsId(\"627a9687f7f7f7f774de306f14\")\n .associatedDomains(\"yourdomain.com\")\n .ssoDebugEnabled(true)\n .status(\"ACTIVE\")\n .build());\n\n final var identittyProvider = MongodbatlasFunctions.getFederatedSettingsIdentityProviders(GetFederatedSettingsIdentityProvidersArgs.builder()\n .federationSettingsId(identityProvider.id())\n .pageNum(1)\n .itemsPerPage(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n identityProvider:\n type: mongodbatlas:FederatedSettingsIdentityProvider\n properties:\n federationSettingsId: 627a9687f7f7f7f774de306f14\n associatedDomains:\n - yourdomain.com\n ssoDebugEnabled: true\n status: ACTIVE\nvariables:\n identittyProvider:\n fn::invoke:\n Function: mongodbatlas:getFederatedSettingsIdentityProviders\n Arguments:\n federationSettingsId: ${identityProvider.id}\n pageNum: 1\n itemsPerPage: 5\n```\n{{% /example %}}\n{{% /examples %}}",
+ "description": "`mongodbatlas.getFederatedSettingsIdentityProviders` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.\n\n\u003e **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", {\n federationSettingsId: \"627a9687f7f7f7f774de306f14\",\n associatedDomains: [\"yourdomain.com\"],\n ssoDebugEnabled: true,\n status: \"ACTIVE\",\n});\nconst identittyProvider = identityProvider.id.apply(id =\u003e mongodbatlas.getFederatedSettingsIdentityProvidersOutput({\n federationSettingsId: id,\n pageNum: 1,\n itemsPerPage: 5,\n}));\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\nidentity_provider = mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\",\n federation_settings_id=\"627a9687f7f7f7f774de306f14\",\n associated_domains=[\"yourdomain.com\"],\n sso_debug_enabled=True,\n status=\"ACTIVE\")\nidentitty_provider = identity_provider.id.apply(lambda id: mongodbatlas.get_federated_settings_identity_providers_output(federation_settings_id=id,\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 identityProvider = new Mongodbatlas.FederatedSettingsIdentityProvider(\"identityProvider\", new()\n {\n FederationSettingsId = \"627a9687f7f7f7f774de306f14\",\n AssociatedDomains = new[]\n {\n \"yourdomain.com\",\n },\n SsoDebugEnabled = true,\n Status = \"ACTIVE\",\n });\n\n var identittyProvider = Mongodbatlas.GetFederatedSettingsIdentityProviders.Invoke(new()\n {\n FederationSettingsId = identityProvider.Id,\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\tidentityProvider, err := mongodbatlas.NewFederatedSettingsIdentityProvider(ctx, \"identityProvider\", \u0026mongodbatlas.FederatedSettingsIdentityProviderArgs{\n\t\t\tFederationSettingsId: pulumi.String(\"627a9687f7f7f7f774de306f14\"),\n\t\t\tAssociatedDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"yourdomain.com\"),\n\t\t\t},\n\t\t\tSsoDebugEnabled: pulumi.Bool(true),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = identityProvider.ID().ApplyT(func(id string) (mongodbatlas.GetFederatedSettingsIdentityProvidersResult, error) {\n\t\t\treturn mongodbatlas.LookupFederatedSettingsIdentityProvidersOutput(ctx, mongodbatlas.GetFederatedSettingsIdentityProvidersOutputArgs{\n\t\t\t\tFederationSettingsId: id,\n\t\t\t\tPageNum: 1,\n\t\t\t\tItemsPerPage: 5,\n\t\t\t}, nil), nil\n\t\t}).(mongodbatlas.GetFederatedSettingsIdentityProvidersResultOutput)\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.FederatedSettingsIdentityProvider;\nimport com.pulumi.mongodbatlas.FederatedSettingsIdentityProviderArgs;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetFederatedSettingsIdentityProvidersArgs;\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 identityProvider = new FederatedSettingsIdentityProvider(\"identityProvider\", FederatedSettingsIdentityProviderArgs.builder() \n .federationSettingsId(\"627a9687f7f7f7f774de306f14\")\n .associatedDomains(\"yourdomain.com\")\n .ssoDebugEnabled(true)\n .status(\"ACTIVE\")\n .build());\n\n final var identittyProvider = MongodbatlasFunctions.getFederatedSettingsIdentityProviders(GetFederatedSettingsIdentityProvidersArgs.builder()\n .federationSettingsId(identityProvider.id())\n .pageNum(1)\n .itemsPerPage(5)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n identityProvider:\n type: mongodbatlas:FederatedSettingsIdentityProvider\n properties:\n federationSettingsId: 627a9687f7f7f7f774de306f14\n associatedDomains:\n - yourdomain.com\n ssoDebugEnabled: true\n status: ACTIVE\nvariables:\n identittyProvider:\n fn::invoke:\n Function: mongodbatlas:getFederatedSettingsIdentityProviders\n Arguments:\n federationSettingsId: ${identityProvider.id}\n pageNum: 1\n itemsPerPage: 5\n```\n{{% /example %}}\n{{% /examples %}}",
"inputs": {
"description": "A collection of arguments for invoking getFederatedSettingsIdentityProviders.\n",
"properties": {
@@ -24472,6 +24691,10 @@
"outputs": {
"description": "A collection of values returned by getOrganization.\n",
"properties": {
+ "apiAccessListRequired": {
+ "type": "boolean",
+ "description": "(Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.\n"
+ },
"id": {
"type": "string",
"description": "The provider-assigned unique ID for this managed resource.\n"
@@ -24486,20 +24709,31 @@
"$ref": "#/types/mongodbatlas:index/getOrganizationLink:getOrganizationLink"
}
},
+ "multiFactorAuthRequired": {
+ "type": "boolean",
+ "description": "(Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.\n"
+ },
"name": {
"type": "string",
"description": "Human-readable label that identifies the organization.\n"
},
"orgId": {
"type": "string"
+ },
+ "restrictEmployeeAccess": {
+ "type": "boolean",
+ "description": "(Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.\n"
}
},
"type": "object",
"required": [
+ "apiAccessListRequired",
"isDeleted",
"links",
+ "multiFactorAuthRequired",
"name",
"orgId",
+ "restrictEmployeeAccess",
"id"
]
}
@@ -24510,7 +24744,8 @@
"description": "A collection of arguments for invoking getOrganizations.\n",
"properties": {
"includeDeletedOrgs": {
- "type": "boolean"
+ "type": "boolean",
+ "deprecationMessage": "this parameter is deprecated and will be removed in version 1.16.0"
},
"itemsPerPage": {
"type": "integer",
@@ -24535,7 +24770,8 @@
"description": "The provider-assigned unique ID for this managed resource.\n"
},
"includeDeletedOrgs": {
- "type": "boolean"
+ "type": "boolean",
+ "deprecationMessage": "this parameter is deprecated and will be removed in version 1.16.0"
},
"itemsPerPage": {
"type": "integer"
@@ -25107,11 +25343,15 @@
},
"created": {
"type": "string",
- "description": "The ISO-8601-formatted timestamp of when Atlas created the project.\n* `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.\n* `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.\n* `limits.#.name` - Human-readable label that identifies this project limit.\n* `limits.#.value` - Amount the limit is set to.\n* `limits.#.current_usage` - Amount that indicates the current usage of the limit.\n* `limits.#.default_limit` - Default value of the limit.\n* `limits.#.maximum_limit` - Maximum value of the limit.\n"
+ "description": "The ISO-8601-formatted timestamp of when Atlas created the project.\n"
},
"id": {
"type": "string"
},
+ "ipAddresses": {
+ "$ref": "#/types/mongodbatlas:index/getProjectIpAddresses:getProjectIpAddresses",
+ "description": "IP addresses in a project categorized by services. See IP Addresses.\n"
+ },
"isCollectDatabaseSpecificsStatisticsEnabled": {
"type": "boolean",
"description": "Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.\n"
@@ -25140,11 +25380,12 @@
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/getProjectLimit:getProjectLimit"
- }
+ },
+ "description": "The limits for the specified project. See Limits.\n"
},
"name": {
"type": "string",
- "description": "The name of the project you want to create.\n"
+ "description": "Human-readable label that identifies this project limit.\n"
},
"orgId": {
"type": "string",
@@ -25161,7 +25402,8 @@
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/getProjectTeam:getProjectTeam"
- }
+ },
+ "description": "Returns all teams to which the authenticated user has access in the project. See Teams.\n"
}
},
"type": "object",
@@ -25169,6 +25411,7 @@
"clusterCount",
"created",
"id",
+ "ipAddresses",
"isCollectDatabaseSpecificsStatisticsEnabled",
"isDataExplorerEnabled",
"isExtendedStorageSizesEnabled",
@@ -25507,17 +25750,17 @@
}
},
"mongodbatlas:index/getSearchDeployment:getSearchDeployment": {
- "description": "`mongodbatlas.SearchDeployment` describes a search node deployment.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as mongodbatlas from \"@pulumi/mongodbatlas\";\n\nconst test = mongodbatlas.getSearchDeployment({\n clusterName: \"\u003cCLUSTER_NAME\u003e\",\n projectId: \"\u003cPROJECT_ID\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_mongodbatlas as mongodbatlas\n\ntest = mongodbatlas.get_search_deployment(cluster_name=\"\u003cCLUSTER_NAME\u003e\",\n project_id=\"\u003cPROJECT_ID\u003e\")\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 test = Mongodbatlas.GetSearchDeployment.Invoke(new()\n {\n ClusterName = \"\u003cCLUSTER_NAME\u003e\",\n ProjectId = \"\u003cPROJECT_ID\u003e\",\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\t_, err := mongodbatlas.LookupSearchDeployment(ctx, \u0026mongodbatlas.LookupSearchDeploymentArgs{\n\t\t\tClusterName: \"\u003cCLUSTER_NAME\u003e\",\n\t\t\tProjectId: \"\u003cPROJECT_ID\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetSearchDeploymentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = MongodbatlasFunctions.getSearchDeployment(GetSearchDeploymentArgs.builder()\n .clusterName(\"\u003cCLUSTER_NAME\u003e\")\n .projectId(\"\u003cPROJECT_ID\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: mongodbatlas:getSearchDeployment\n Arguments:\n clusterName: \u003cCLUSTER_NAME\u003e\n projectId: \u003cPROJECT_ID\u003e\n```\n{{% /example %}}\n{{% /examples %}}",
+ "description": "`mongodbatlas.SearchDeployment` describes a search node deployment.\n\n{{% examples %}}\n## Example Usage\n{{% /examples %}}",
"inputs": {
"description": "A collection of arguments for invoking getSearchDeployment.\n",
"properties": {
"clusterName": {
"type": "string",
- "description": "The name of the cluster containing a search node deployment.\n"
+ "description": "Label that identifies the cluster to return the search nodes for.\n"
},
"projectId": {
"type": "string",
- "description": "The unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.\n"
+ "description": "Unique 24-hexadecimal digit string that identifies your project.\n"
}
},
"type": "object",
@@ -25530,24 +25773,27 @@
"description": "A collection of values returned by getSearchDeployment.\n",
"properties": {
"clusterName": {
- "type": "string"
+ "type": "string",
+ "description": "Label that identifies the cluster to return the search nodes for.\n"
},
"id": {
- "type": "string"
+ "type": "string",
+ "description": "Unique 24-hexadecimal digit string that identifies the search deployment.\n"
},
"projectId": {
- "type": "string"
+ "type": "string",
+ "description": "Unique 24-hexadecimal digit string that identifies your project.\n"
},
"specs": {
"type": "array",
"items": {
"$ref": "#/types/mongodbatlas:index/getSearchDeploymentSpec:getSearchDeploymentSpec"
},
- "description": "List of settings that configure the search nodes for your cluster. See specs.\n"
+ "description": "List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.\n"
},
"stateName": {
"type": "string",
- "description": "Human-readable label that indicates the current operating condition of this search node deployment.\n"
+ "description": "Human-readable label that indicates the current operating condition of this search deployment.\n"
}
},
"type": "object",
@@ -25612,9 +25858,6 @@
"type": "string",
"description": "[Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.\n"
},
- "status": {
- "type": "string"
- },
"type": {
"type": "string"
}
@@ -25678,7 +25921,8 @@
"description": "[Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.\n"
},
"status": {
- "type": "string"
+ "type": "string",
+ "description": "Current status of the index.\n"
},
"synonyms": {
"type": "array",
@@ -25703,7 +25947,7 @@
}
},
"mongodbatlas:index/getSearchIndexes:getSearchIndexes": {
- "description": "`mongodbatlas.getSearchIndexes` describe all search indexes. This represents search indexes that have been created.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetSearchIndexArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = MongodbatlasFunctions.getSearchIndex(GetSearchIndexArgs.builder()\n .clusterName(\"\u003cCLUSTER_NAME\u003e\")\n .collectionName(\"\u003cCOLLECTION_NAME\u003e\")\n .databaseName(\"\u003cDATABASE_NAME\u003e\")\n .itemsPerPage(100)\n .pageNum(1)\n .projectId(\"\u003cPROJECT_ID\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: mongodbatlas:getSearchIndex\n Arguments:\n clusterName: \u003cCLUSTER_NAME\u003e\n collectionName: \u003cCOLLECTION_NAME\u003e\n databaseName: \u003cDATABASE_NAME\u003e\n itemsPerPage: 100\n pageNum: 1\n projectId: \u003cPROJECT_ID\u003e\n```\n{{% /example %}}\n{{% /examples %}}",
+ "description": "`mongodbatlas.getSearchIndexes` describe all search indexes. This represents search indexes that have been created.\n\n\u003e **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.mongodbatlas.MongodbatlasFunctions;\nimport com.pulumi.mongodbatlas.inputs.GetSearchIndexesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = MongodbatlasFunctions.getSearchIndexes(GetSearchIndexesArgs.builder()\n .clusterName(\"\u003cCLUSTER_NAME\u003e\")\n .collectionName(\"\u003cCOLLECTION_NAME\u003e\")\n .databaseName(\"\u003cDATABASE_NAME\u003e\")\n .projectId(\"\u003cPROJECT_ID\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: mongodbatlas:getSearchIndexes\n Arguments:\n clusterName: \u003cCLUSTER_NAME\u003e\n collectionName: \u003cCOLLECTION_NAME\u003e\n databaseName: \u003cDATABASE_NAME\u003e\n projectId: \u003cPROJECT_ID\u003e\n```\n{{% /example %}}\n{{% /examples %}}",
"inputs": {
"description": "A collection of arguments for invoking getSearchIndexes.\n",
"properties": {
@@ -25719,16 +25963,6 @@
"type": "string",
"description": "(Required) Name of the database the collection is in.\n"
},
- "itemsPerPage": {
- "type": "integer",
- "description": "Number of items that Atlas returns per page, up to a maximum of 500. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0\n",
- "deprecationMessage": "this parameter is deprecated and will be removed in version 1.15.0"
- },
- "pageNum": {
- "type": "integer",
- "description": "Page number, starting with one, that Atlas returns of the total number of objects. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0\n",
- "deprecationMessage": "this parameter is deprecated and will be removed in version 1.15.0"
- },
"projectId": {
"type": "string",
"description": "Unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.\n"
@@ -25760,14 +25994,6 @@
"type": "string",
"description": "The provider-assigned unique ID for this managed resource.\n"
},
- "itemsPerPage": {
- "type": "integer",
- "deprecationMessage": "this parameter is deprecated and will be removed in version 1.15.0"
- },
- "pageNum": {
- "type": "integer",
- "deprecationMessage": "this parameter is deprecated and will be removed in version 1.15.0"
- },
"projectId": {
"type": "string"
},
diff --git a/provider/go.mod b/provider/go.mod
index 4ee9fd56..31090816 100644
--- a/provider/go.mod
+++ b/provider/go.mod
@@ -4,7 +4,7 @@ go 1.21.4
replace github.com/mongodb/terraform-provider-mongodbatlas/shim => ./shim
-replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9
+replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240202163305-e2a20ae13ef9
require (
github.com/mongodb/terraform-provider-mongodbatlas/shim v0.0.0
@@ -43,7 +43,7 @@ require (
github.com/armon/go-metrics v0.4.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
- github.com/aws/aws-sdk-go v1.49.1 // indirect
+ github.com/aws/aws-sdk-go v1.50.7 // indirect
github.com/aws/aws-sdk-go-v2 v1.24.0 // indirect
github.com/aws/aws-sdk-go-v2/config v1.26.1 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.16.12 // indirect
@@ -128,7 +128,7 @@ require (
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-mux v0.14.0 // indirect
github.com/hashicorp/terraform-plugin-sdk v1.17.2 // indirect
- github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0 // indirect
+ github.com/hashicorp/terraform-plugin-sdk/v2 v2.32.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
@@ -161,7 +161,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mongodb-forks/digest v1.0.5 // indirect
- github.com/mongodb/terraform-provider-mongodbatlas v1.14.0 // indirect
+ github.com/mongodb/terraform-provider-mongodbatlas v1.15.0 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/reflow v0.3.0 // indirect
@@ -216,10 +216,11 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
- github.com/zclconf/go-cty v1.14.1 // indirect
+ github.com/zclconf/go-cty v1.14.2 // indirect
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
go.mongodb.org/atlas v0.36.0 // indirect
- go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0 // indirect
+ go.mongodb.org/atlas-sdk/v20231001002 v20231001002.0.0 // indirect
+ go.mongodb.org/atlas-sdk/v20231115005 v20231115005.0.0 // indirect
go.mongodb.org/realm v0.1.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
diff --git a/provider/go.sum b/provider/go.sum
index ba6791ab..b54f9d10 100644
--- a/provider/go.sum
+++ b/provider/go.sum
@@ -823,8 +823,8 @@ github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4
github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
-github.com/aws/aws-sdk-go v1.49.1 h1:Dsamcd8d/nNb3A+bZ0ucfGl0vGZsW5wlRW0vhoYGoeQ=
-github.com/aws/aws-sdk-go v1.49.1/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
+github.com/aws/aws-sdk-go v1.50.7 h1:odKb+uneeGgF2jgAerKjFzpljiyZxleV4SHB7oBK+YA=
+github.com/aws/aws-sdk-go v1.50.7/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw=
github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk=
@@ -1664,8 +1664,8 @@ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ
github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA=
-github.com/hashicorp/hc-install v0.6.1 h1:IGxShH7AVhPaSuSJpKtVi/EFORNjO+OYVJJrAtGG2mY=
-github.com/hashicorp/hc-install v0.6.1/go.mod h1:0fW3jpg+wraYSnFDJ6Rlie3RvLf1bIqVIkzoon4KoVE=
+github.com/hashicorp/hc-install v0.6.2 h1:V1k+Vraqz4olgZ9UzKiAcbman9i9scg9GgSt/U3mw/M=
+github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps=
github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
@@ -1690,12 +1690,14 @@ github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8
github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7 h1:Pc5TCv9mbxFN6UVX0LH6CpQrdTM5YjbVI2w15237Pjk=
github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A=
github.com/hashicorp/terraform-exec v0.13.3/go.mod h1:SSg6lbUsVB3DmFyCPjBPklqf6EYGX0TlQ6QTxOlikDU=
-github.com/hashicorp/terraform-exec v0.19.0 h1:FpqZ6n50Tk95mItTSS9BjeOVUb4eg81SpgVtZNNtFSM=
github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg=
+github.com/hashicorp/terraform-exec v0.20.0 h1:DIZnPsqzPGuUnq6cH8jWcPunBfY+C+M8JyYF3vpnuEo=
+github.com/hashicorp/terraform-exec v0.20.0/go.mod h1:ckKGkJWbsNqFKV1itgMnE0hY9IYf1HoiekpuN0eWoDw=
github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU=
github.com/hashicorp/terraform-json v0.10.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE=
-github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA=
github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o=
+github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U=
+github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk=
github.com/hashicorp/terraform-plugin-framework v1.5.0 h1:8kcvqJs/x6QyOFSdeAyEgsenVOUeC/IyKpi2ul4fjTg=
github.com/hashicorp/terraform-plugin-framework v1.5.0/go.mod h1:6waavirukIlFpVpthbGd2PUNYaFedB0RwW3MDzJ/rtc=
github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 h1:gm5b1kHgFFhaKFhm4h2TgvMUlNzFAtUqlcOWnWPm+9E=
@@ -1714,8 +1716,8 @@ github.com/hashicorp/terraform-plugin-sdk v1.17.2 h1:V7DUR3yBWFrVB9z3ddpY7kiYVSs
github.com/hashicorp/terraform-plugin-sdk v1.17.2/go.mod h1:wkvldbraEMkz23NxkkAsFS88A1R9eUiooiaUZyS6TLw=
github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs=
github.com/hashicorp/terraform-plugin-test/v2 v2.2.1/go.mod h1:eZ9JL3O69Cb71Skn6OhHyj17sLmHRb+H6VrDcJjKrYU=
-github.com/hashicorp/terraform-plugin-testing v1.5.1 h1:T4aQh9JAhmWo4+t1A7x+rnxAJHCDIYW9kXyo4sVO92c=
-github.com/hashicorp/terraform-plugin-testing v1.5.1/go.mod h1:dg8clO6K59rZ8w9EshBmDp1CxTIPu3yA4iaDpX1h5u0=
+github.com/hashicorp/terraform-plugin-testing v1.6.0 h1:Wsnfh+7XSVRfwcr2jZYHsnLOnZl7UeaOBvsx6dl/608=
+github.com/hashicorp/terraform-plugin-testing v1.6.0/go.mod h1:cJGG0/8j9XhHaJZRC+0sXFI4uzqQZ9Az4vh6C4GJpFE=
github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo=
github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI=
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM=
@@ -2027,8 +2029,8 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY
github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8=
github.com/mongodb-forks/digest v1.0.5 h1:EJu3wtLZcA0HCvsZpX5yuD193/sW9tHiNvrEM5apXMk=
github.com/mongodb-forks/digest v1.0.5/go.mod h1:rb+EX8zotClD5Dj4NdgxnJXG9nwrlx3NWKJ8xttz1Dg=
-github.com/mongodb/terraform-provider-mongodbatlas v1.14.0 h1:OZEEd/2krZiWCmsuxuJa+vHvRFTHLLzcr/ZO7won68A=
-github.com/mongodb/terraform-provider-mongodbatlas v1.14.0/go.mod h1:oN2kCQznR5XA8YO4knzKHOQh1joVgkThyd+UwZZRaCQ=
+github.com/mongodb/terraform-provider-mongodbatlas v1.15.0 h1:SvfGIH0w6KQzlbwhTQ2eNio2kPBSTN/u3dSC+AJNz3A=
+github.com/mongodb/terraform-provider-mongodbatlas v1.15.0/go.mod h1:5j6bGNWTTHyrpwEXjYzr/wg5WnZUizWQMR/MwQQNzFo=
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
@@ -2265,8 +2267,8 @@ github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQK
github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k=
github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI=
github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ=
-github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9 h1:p8vtMw4abpcmwE0v8b6x2GKZQKisrmdjojkoP3oelak=
-github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8=
+github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240202163305-e2a20ae13ef9 h1:k3SdGlmaJ49yaRV79Ktb5KGdPvuNfeiv4+oHXN+wyhs=
+github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240202163305-e2a20ae13ef9/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8=
github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
@@ -2492,8 +2494,8 @@ github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4
github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=
github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=
github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
-github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA=
-github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
+github.com/zclconf/go-cty v1.14.2 h1:kTG7lqmBou0Zkx35r6HJHUQTvaRPr5bIAf3AoHS0izI=
+github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0=
@@ -2518,8 +2520,10 @@ go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVd
go.mongodb.org/atlas v0.12.0/go.mod h1:wVCnHcm/7/IfTjEB6K8K35PLG70yGz8BdkRwX0oK9/M=
go.mongodb.org/atlas v0.36.0 h1:m05S3AO7zkl+bcG1qaNsEKBnAqnKx2FDwLooHpIG3j4=
go.mongodb.org/atlas v0.36.0/go.mod h1:nfPldE9dSama6G2IbIzmEza02Ly7yFZjMMVscaM0uEc=
-go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0 h1:x6nnq2pUIP9mN4WLD4/EseBzV88OmSgexxYchPilgno=
-go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0/go.mod h1:el7cm23kEiiw72HAYimhNweKqp/ubHsNJk+Mk30yJhM=
+go.mongodb.org/atlas-sdk/v20231001002 v20231001002.0.0 h1:h1X2CGKyN1UFvNs69vp7xpufbbreq6p7bbrg5uJ1sxw=
+go.mongodb.org/atlas-sdk/v20231001002 v20231001002.0.0/go.mod h1:4TAUPaWPFNSbi8c1hbQLr1wAdkmqi48O7zvyXjBM+a8=
+go.mongodb.org/atlas-sdk/v20231115005 v20231115005.0.0 h1:BbzZAZLhUy8EUtKjNeI9ajmPAjFYxudfd+2LB8ChQM8=
+go.mongodb.org/atlas-sdk/v20231115005 v20231115005.0.0/go.mod h1:rtQDZDZ/Mcw6WA4n/IQVQgKzeaDk7btGvCU3HlKfX/k=
go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg=
go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng=
go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY=
diff --git a/provider/shim/go.mod b/provider/shim/go.mod
index 45e072f8..37ac19ae 100644
--- a/provider/shim/go.mod
+++ b/provider/shim/go.mod
@@ -3,16 +3,16 @@ module github.com/mongodb/terraform-provider-mongodbatlas/internal/shim
go 1.21.4
require (
- github.com/hashicorp/terraform-plugin-framework v1.4.2
- github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0
- github.com/mongodb/terraform-provider-mongodbatlas v1.14.0
+ github.com/hashicorp/terraform-plugin-framework v1.5.0
+ github.com/hashicorp/terraform-plugin-sdk/v2 v2.32.0
+ github.com/mongodb/terraform-provider-mongodbatlas v1.15.0
)
require (
- cloud.google.com/go v0.110.8 // indirect
- cloud.google.com/go/compute v1.23.0 // indirect
+ cloud.google.com/go v0.110.10 // indirect
+ cloud.google.com/go/compute v1.23.3 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
- cloud.google.com/go/iam v1.1.2 // indirect
+ cloud.google.com/go/iam v1.1.5 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.1.1 // indirect
@@ -21,7 +21,7 @@ require (
github.com/apparentlymart/go-cidr v1.1.0 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
- github.com/aws/aws-sdk-go v1.49.1 // indirect
+ github.com/aws/aws-sdk-go v1.50.7 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/fatih/color v1.13.0 // indirect
@@ -30,9 +30,9 @@ require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
- github.com/google/s2a-go v0.1.4 // indirect
- github.com/google/uuid v1.3.1 // indirect
- github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
+ github.com/google/s2a-go v0.1.7 // indirect
+ github.com/google/uuid v1.4.0 // indirect
+ github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -48,9 +48,9 @@ require (
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 // indirect
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect
- github.com/hashicorp/terraform-plugin-go v0.20.0 // indirect
+ github.com/hashicorp/terraform-plugin-go v0.21.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
- github.com/hashicorp/terraform-plugin-mux v0.12.0 // indirect
+ github.com/hashicorp/terraform-plugin-mux v0.14.0 // indirect
github.com/hashicorp/terraform-plugin-sdk v1.17.2 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
@@ -60,7 +60,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
- github.com/mattn/go-isatty v0.0.16 // indirect
+ github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mitchellh/cli v1.1.5 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
@@ -79,25 +79,26 @@ require (
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
- github.com/zclconf/go-cty v1.14.1 // indirect
+ github.com/zclconf/go-cty v1.14.2 // indirect
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
go.mongodb.org/atlas v0.36.0 // indirect
- go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0 // indirect
+ go.mongodb.org/atlas-sdk/v20231001002 v20231001002.0.0 // indirect
+ go.mongodb.org/atlas-sdk/v20231115005 v20231115005.0.0 // indirect
go.mongodb.org/realm v0.1.0 // indirect
go.opencensus.io v0.24.0 // indirect
- golang.org/x/crypto v0.17.0 // indirect
+ golang.org/x/crypto v0.18.0 // indirect
golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819 // indirect
golang.org/x/net v0.18.0 // indirect
- golang.org/x/oauth2 v0.13.0 // indirect
- golang.org/x/sync v0.4.0 // indirect
- golang.org/x/sys v0.15.0 // indirect
+ golang.org/x/oauth2 v0.14.0 // indirect
+ golang.org/x/sync v0.5.0 // indirect
+ golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
- google.golang.org/api v0.128.0 // indirect
+ google.golang.org/api v0.149.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
- google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
- google.golang.org/grpc v1.60.0 // indirect
- google.golang.org/protobuf v1.31.0 // indirect
+ google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
+ google.golang.org/grpc v1.61.0 // indirect
+ google.golang.org/protobuf v1.32.0 // indirect
)
diff --git a/provider/shim/go.sum b/provider/shim/go.sum
index ea3a1e28..cd42987b 100644
--- a/provider/shim/go.sum
+++ b/provider/shim/go.sum
@@ -32,8 +32,8 @@ cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w9
cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc=
cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU=
cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA=
-cloud.google.com/go v0.110.8 h1:tyNdfIxjzaWctIiLYOTalaLKZ17SI44SKFW26QbOhME=
-cloud.google.com/go v0.110.8/go.mod h1:Iz8AkXJf1qmxC3Oxoep8R1T36w8B92yU29PcBhHO5fk=
+cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y=
+cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic=
cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw=
cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY=
cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI=
@@ -70,8 +70,8 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz
cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU=
cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U=
cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU=
-cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY=
-cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM=
+cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk=
+cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI=
cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=
cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=
cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I=
@@ -111,8 +111,8 @@ cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y97
cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc=
cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY=
cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc=
-cloud.google.com/go/iam v1.1.2 h1:gacbrBdWcoVmGLozRuStX45YKvJtzIjJdAolzUs1sm4=
-cloud.google.com/go/iam v1.1.2/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU=
+cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI=
+cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8=
cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic=
cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI=
cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8=
@@ -230,8 +230,8 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkY
github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM=
github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
-github.com/aws/aws-sdk-go v1.49.1 h1:Dsamcd8d/nNb3A+bZ0ucfGl0vGZsW5wlRW0vhoYGoeQ=
-github.com/aws/aws-sdk-go v1.49.1/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
+github.com/aws/aws-sdk-go v1.50.7 h1:odKb+uneeGgF2jgAerKjFzpljiyZxleV4SHB7oBK+YA=
+github.com/aws/aws-sdk-go v1.50.7/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4=
github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY=
@@ -246,8 +246,8 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs=
-github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
+github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU=
+github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
@@ -373,18 +373,18 @@ github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLe
github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
-github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc=
-github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A=
+github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o=
+github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4=
-github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4=
+github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg=
-github.com/googleapis/enterprise-certificate-proxy v0.2.4 h1:uGy6JWR/uMIILU8wbf+OkstIrNiMjGpEIyhx8f6W7s4=
-github.com/googleapis/enterprise-certificate-proxy v0.2.4/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k=
+github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs=
+github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0=
@@ -449,30 +449,30 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO
github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7 h1:Pc5TCv9mbxFN6UVX0LH6CpQrdTM5YjbVI2w15237Pjk=
github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A=
github.com/hashicorp/terraform-exec v0.13.3/go.mod h1:SSg6lbUsVB3DmFyCPjBPklqf6EYGX0TlQ6QTxOlikDU=
-github.com/hashicorp/terraform-exec v0.19.0 h1:FpqZ6n50Tk95mItTSS9BjeOVUb4eg81SpgVtZNNtFSM=
-github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg=
+github.com/hashicorp/terraform-exec v0.20.0 h1:DIZnPsqzPGuUnq6cH8jWcPunBfY+C+M8JyYF3vpnuEo=
+github.com/hashicorp/terraform-exec v0.20.0/go.mod h1:ckKGkJWbsNqFKV1itgMnE0hY9IYf1HoiekpuN0eWoDw=
github.com/hashicorp/terraform-json v0.10.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE=
-github.com/hashicorp/terraform-json v0.18.0 h1:pCjgJEqqDESv4y0Tzdqfxr/edOIGkjs8keY42xfNBwU=
-github.com/hashicorp/terraform-json v0.18.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk=
-github.com/hashicorp/terraform-plugin-framework v1.4.2 h1:P7a7VP1GZbjc4rv921Xy5OckzhoiO3ig6SGxwelD2sI=
-github.com/hashicorp/terraform-plugin-framework v1.4.2/go.mod h1:GWl3InPFZi2wVQmdVnINPKys09s9mLmTZr95/ngLnbY=
+github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U=
+github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk=
+github.com/hashicorp/terraform-plugin-framework v1.5.0 h1:8kcvqJs/x6QyOFSdeAyEgsenVOUeC/IyKpi2ul4fjTg=
+github.com/hashicorp/terraform-plugin-framework v1.5.0/go.mod h1:6waavirukIlFpVpthbGd2PUNYaFedB0RwW3MDzJ/rtc=
github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 h1:gm5b1kHgFFhaKFhm4h2TgvMUlNzFAtUqlcOWnWPm+9E=
github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1/go.mod h1:MsjL1sQ9L7wGwzJ5RjcI6FzEMdyoBnw+XK8ZnOvQOLY=
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc=
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg=
-github.com/hashicorp/terraform-plugin-go v0.20.0 h1:oqvoUlL+2EUbKNsJbIt3zqqZ7wi6lzn4ufkn/UA51xQ=
-github.com/hashicorp/terraform-plugin-go v0.20.0/go.mod h1:Rr8LBdMlY53a3Z/HpP+ZU3/xCDqtKNCkeI9qOyT10QE=
+github.com/hashicorp/terraform-plugin-go v0.21.0 h1:VSjdVQYNDKR0l2pi3vsFK1PdMQrw6vGOshJXMNFeVc0=
+github.com/hashicorp/terraform-plugin-go v0.21.0/go.mod h1:piJp8UmO1uupCvC9/H74l2C6IyKG0rW4FDedIpwW5RQ=
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
-github.com/hashicorp/terraform-plugin-mux v0.12.0 h1:TJlmeslQ11WlQtIFAfth0vXx+gSNgvMEng2Rn9z3WZY=
-github.com/hashicorp/terraform-plugin-mux v0.12.0/go.mod h1:8MR0AgmV+Q03DIjyrAKxXyYlq2EUnYBQP8gxAAA0zeM=
+github.com/hashicorp/terraform-plugin-mux v0.14.0 h1:+UeiTaYy8zPAk1pktNRp3288pIih8gxiRJ6O0e7fS0U=
+github.com/hashicorp/terraform-plugin-mux v0.14.0/go.mod h1:UzkNhewtpuqSnBvo1ZXSagAxu+hQ+Ir3F5Mpm86dWn0=
github.com/hashicorp/terraform-plugin-sdk v1.17.2 h1:V7DUR3yBWFrVB9z3ddpY7kiYVSsq4NYR67NiTs93NQo=
github.com/hashicorp/terraform-plugin-sdk v1.17.2/go.mod h1:wkvldbraEMkz23NxkkAsFS88A1R9eUiooiaUZyS6TLw=
-github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0 h1:Bl3e2ei2j/Z3Hc2HIS15Gal2KMKyLAZ2om1HCEvK6es=
-github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0/go.mod h1:i2C41tszDjiWfziPQDL5R/f3Zp0gahXe5No/MIO9rCE=
+github.com/hashicorp/terraform-plugin-sdk/v2 v2.32.0 h1:7xdO9aOXVmhvMxNAq8UloyyqW0EEzyAY37llSTHJgjo=
+github.com/hashicorp/terraform-plugin-sdk/v2 v2.32.0/go.mod h1:LxQzs7AQl/5JE1IGFd6LX8E4A0InRJ/7s245gOmsejA=
github.com/hashicorp/terraform-plugin-test/v2 v2.2.1/go.mod h1:eZ9JL3O69Cb71Skn6OhHyj17sLmHRb+H6VrDcJjKrYU=
-github.com/hashicorp/terraform-plugin-testing v1.5.1 h1:T4aQh9JAhmWo4+t1A7x+rnxAJHCDIYW9kXyo4sVO92c=
-github.com/hashicorp/terraform-plugin-testing v1.5.1/go.mod h1:dg8clO6K59rZ8w9EshBmDp1CxTIPu3yA4iaDpX1h5u0=
+github.com/hashicorp/terraform-plugin-testing v1.6.0 h1:Wsnfh+7XSVRfwcr2jZYHsnLOnZl7UeaOBvsx6dl/608=
+github.com/hashicorp/terraform-plugin-testing v1.6.0/go.mod h1:cJGG0/8j9XhHaJZRC+0sXFI4uzqQZ9Az4vh6C4GJpFE=
github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI=
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM=
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg=
@@ -532,8 +532,8 @@ github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNx
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
-github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ=
-github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
+github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
+github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
github.com/mitchellh/cli v1.1.2/go.mod h1:6iaV0fGdElS6dPBx0EApTxHrcWvmJphyh2n8YBLPPZ4=
github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng=
@@ -563,8 +563,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/mongodb-forks/digest v1.0.5 h1:EJu3wtLZcA0HCvsZpX5yuD193/sW9tHiNvrEM5apXMk=
github.com/mongodb-forks/digest v1.0.5/go.mod h1:rb+EX8zotClD5Dj4NdgxnJXG9nwrlx3NWKJ8xttz1Dg=
-github.com/mongodb/terraform-provider-mongodbatlas v1.14.0 h1:OZEEd/2krZiWCmsuxuJa+vHvRFTHLLzcr/ZO7won68A=
-github.com/mongodb/terraform-provider-mongodbatlas v1.14.0/go.mod h1:oN2kCQznR5XA8YO4knzKHOQh1joVgkThyd+UwZZRaCQ=
+github.com/mongodb/terraform-provider-mongodbatlas v1.15.0 h1:SvfGIH0w6KQzlbwhTQ2eNio2kPBSTN/u3dSC+AJNz3A=
+github.com/mongodb/terraform-provider-mongodbatlas v1.15.0/go.mod h1:5j6bGNWTTHyrpwEXjYzr/wg5WnZUizWQMR/MwQQNzFo=
github.com/mwielbut/pointy v1.1.0 h1:U5/YEfoIkaGCHv0St3CgjduqXID4FNRoyZgLM1kY9vg=
github.com/mwielbut/pointy v1.1.0/go.mod h1:MvvO+uMFj9T5DMda33HlvogsFBX7pWWKAkFIn4teYwY=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
@@ -643,8 +643,8 @@ github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLE
github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
github.com/zclconf/go-cty v1.8.2/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
-github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA=
-github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
+github.com/zclconf/go-cty v1.14.2 h1:kTG7lqmBou0Zkx35r6HJHUQTvaRPr5bIAf3AoHS0izI=
+github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
github.com/zclconf/go-cty-yaml v1.0.2 h1:dNyg4QLTrv2IfJpm7Wtxi55ed5gLGOlPrZ6kMd51hY0=
@@ -652,8 +652,10 @@ github.com/zclconf/go-cty-yaml v1.0.2/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgK
go.mongodb.org/atlas v0.12.0/go.mod h1:wVCnHcm/7/IfTjEB6K8K35PLG70yGz8BdkRwX0oK9/M=
go.mongodb.org/atlas v0.36.0 h1:m05S3AO7zkl+bcG1qaNsEKBnAqnKx2FDwLooHpIG3j4=
go.mongodb.org/atlas v0.36.0/go.mod h1:nfPldE9dSama6G2IbIzmEza02Ly7yFZjMMVscaM0uEc=
-go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0 h1:x6nnq2pUIP9mN4WLD4/EseBzV88OmSgexxYchPilgno=
-go.mongodb.org/atlas-sdk/v20231115002 v20231115002.1.0/go.mod h1:el7cm23kEiiw72HAYimhNweKqp/ubHsNJk+Mk30yJhM=
+go.mongodb.org/atlas-sdk/v20231001002 v20231001002.0.0 h1:h1X2CGKyN1UFvNs69vp7xpufbbreq6p7bbrg5uJ1sxw=
+go.mongodb.org/atlas-sdk/v20231001002 v20231001002.0.0/go.mod h1:4TAUPaWPFNSbi8c1hbQLr1wAdkmqi48O7zvyXjBM+a8=
+go.mongodb.org/atlas-sdk/v20231115005 v20231115005.0.0 h1:BbzZAZLhUy8EUtKjNeI9ajmPAjFYxudfd+2LB8ChQM8=
+go.mongodb.org/atlas-sdk/v20231115005 v20231115005.0.0/go.mod h1:rtQDZDZ/Mcw6WA4n/IQVQgKzeaDk7btGvCU3HlKfX/k=
go.mongodb.org/realm v0.1.0 h1:zJiXyLaZrznQ+Pz947ziSrDKUep39DO4SfA0Fzx8M4M=
go.mongodb.org/realm v0.1.0/go.mod h1:4Vj6iy+Puo1TDERcoh4XZ+pjtwbOzPpzqy3Cwe8ZmDM=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
@@ -679,9 +681,8 @@ golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
-golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
+golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc=
+golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -762,7 +763,6 @@ golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLd
golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
@@ -802,8 +802,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A=
-golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY=
-golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0=
+golang.org/x/oauth2 v0.14.0 h1:P0Vrf/2538nmC0H+pEQ3MNFRRnVR7RlqyVw+bvm26z0=
+golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -818,8 +818,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ=
-golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
+golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE=
+golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -891,10 +891,10 @@ golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
-golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
+golang.org/x/sys v0.16.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.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
@@ -1026,8 +1026,8 @@ google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ
google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s=
google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s=
google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70=
-google.golang.org/api v0.128.0 h1:RjPESny5CnQRn9V6siglged+DZCgfu9l6mO9dkX9VOg=
-google.golang.org/api v0.128.0/go.mod h1:Y611qgqaE92On/7g65MQgxYul3c0rEB894kniWLY750=
+google.golang.org/api v0.149.0 h1:b2CqT6kG+zqJIVKRQ3ELJVLN1PwHZ6DJ3dW8yl82rgY=
+google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@@ -1141,12 +1141,12 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw
google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM=
google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM=
google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s=
-google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 h1:SeZZZx0cP0fqUyA+oRzP9k7cSwJlvDFiROO72uwD6i0=
-google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97/go.mod h1:t1VqOqqvce95G3hIDCT5FeO3YUc6Q4Oe24L/+rNMxRk=
-google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 h1:W18sezcAYs+3tDZX4F80yctqa12jcP1PUS2gQu1zTPU=
-google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97/go.mod h1:iargEX0SFPm3xcfMI0d1domjg0ZF4Aa0p2awqyxhvF0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 h1:6GQBEOdGkX6MMTLT9V+TjtIRZCw9VPD5Z+yHY9wMgS0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97/go.mod h1:v7nGkzlmW8P3n/bKmWBn2WpBjpOEx8Q6gMueudAmKfY=
+google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 h1:wpZ8pe2x1Q3f2KyT5f8oP/fa9rHAKgFPr/HZdNuS+PQ=
+google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:J7XzRzVy1+IPwWHZUzoD0IccYZIrXILAQpc+Qy9CMhY=
+google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 h1:JpwMPBpFN3uKhdaekDpiNlImDdkUAyiJ6ez/uxGaUSo=
+google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 h1:Jyp0Hsi0bmHXG6k9eATXoYtjd6e2UzZ1SCn/wIupY14=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA=
google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
@@ -1184,8 +1184,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu
google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
-google.golang.org/grpc v1.60.0 h1:6FQAR0kM31P6MRdeluor2w2gPaS4SVNrD/DNTxrQ15k=
-google.golang.org/grpc v1.60.0/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM=
+google.golang.org/grpc v1.61.0 h1:TOvOcuXn30kRao+gfcvsebNEa5iZIiLkisYEkf7R7o0=
+google.golang.org/grpc v1.61.0/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
@@ -1202,8 +1202,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
-google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
+google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
+google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/sdk/dotnet/ApiKey.cs b/sdk/dotnet/ApiKey.cs
index ff36b0d9..595780dc 100644
--- a/sdk/dotnet/ApiKey.cs
+++ b/sdk/dotnet/ApiKey.cs
@@ -10,6 +10,29 @@
namespace Pulumi.Mongodbatlas
{
///
+ /// ## Example Usage
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Mongodbatlas = Pulumi.Mongodbatlas;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var test = new Mongodbatlas.ApiKey("test", new()
+ /// {
+ /// Description = "key-name",
+ /// OrgId = "<ORG_ID>",
+ /// RoleNames = new[]
+ /// {
+ /// "ORG_READ_ONLY",
+ /// },
+ /// });
+ ///
+ /// });
+ /// ```
+ ///
/// ## Import
///
/// API Keys must be imported using org ID, API Key ID e.g.
diff --git a/sdk/dotnet/BackupCompliancePolicy.cs b/sdk/dotnet/BackupCompliancePolicy.cs
index 12b99e0e..0a9d4b3b 100644
--- a/sdk/dotnet/BackupCompliancePolicy.cs
+++ b/sdk/dotnet/BackupCompliancePolicy.cs
@@ -46,13 +46,13 @@ public partial class BackupCompliancePolicy : global::Pulumi.CustomResource
/// Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
///
[Output("copyProtectionEnabled")]
- public Output CopyProtectionEnabled { get; private set; } = null!;
+ public Output CopyProtectionEnabled { get; private set; } = null!;
///
/// Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
///
[Output("encryptionAtRestEnabled")]
- public Output EncryptionAtRestEnabled { get; private set; } = null!;
+ public Output EncryptionAtRestEnabled { get; private set; } = null!;
[Output("onDemandPolicyItem")]
public Output OnDemandPolicyItem { get; private set; } = null!;
@@ -61,7 +61,7 @@ public partial class BackupCompliancePolicy : global::Pulumi.CustomResource
/// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
///
[Output("pitEnabled")]
- public Output PitEnabled { get; private set; } = null!;
+ public Output PitEnabled { get; private set; } = null!;
[Output("policyItemDaily")]
public Output PolicyItemDaily { get; private set; } = null!;
@@ -172,14 +172,14 @@ public sealed class BackupCompliancePolicyArgs : global::Pulumi.ResourceArgs
///
/// Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
///
- [Input("copyProtectionEnabled", required: true)]
- public Input CopyProtectionEnabled { get; set; } = null!;
+ [Input("copyProtectionEnabled")]
+ public Input? CopyProtectionEnabled { get; set; }
///
/// Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
///
- [Input("encryptionAtRestEnabled", required: true)]
- public Input EncryptionAtRestEnabled { get; set; } = null!;
+ [Input("encryptionAtRestEnabled")]
+ public Input? EncryptionAtRestEnabled { get; set; }
[Input("onDemandPolicyItem", required: true)]
public Input OnDemandPolicyItem { get; set; } = null!;
@@ -187,8 +187,8 @@ public sealed class BackupCompliancePolicyArgs : global::Pulumi.ResourceArgs
///
/// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
///
- [Input("pitEnabled", required: true)]
- public Input PitEnabled { get; set; } = null!;
+ [Input("pitEnabled")]
+ public Input? PitEnabled { get; set; }
[Input("policyItemDaily")]
public Input? PolicyItemDaily { get; set; }
diff --git a/sdk/dotnet/CloudProviderAccess.cs b/sdk/dotnet/CloudProviderAccess.cs
deleted file mode 100644
index f25f2406..00000000
--- a/sdk/dotnet/CloudProviderAccess.cs
+++ /dev/null
@@ -1,370 +0,0 @@
-// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-using System;
-using System.Collections.Generic;
-using System.Collections.Immutable;
-using System.Threading.Tasks;
-using Pulumi.Serialization;
-
-namespace Pulumi.Mongodbatlas
-{
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testRole = new Mongodbatlas.CloudProviderAccess("testRole", new()
- /// {
- /// ProjectId = "64259ee860c43338194b0f8e",
- /// ProviderName = "AWS",
- /// });
- ///
- /// });
- /// ```
- /// ### With AWS
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testRole = new Mongodbatlas.CloudProviderAccessSetup("testRole", new()
- /// {
- /// ProjectId = "64259ee860c43338194b0f8e",
- /// ProviderName = "AWS",
- /// });
- ///
- /// });
- /// ```
- /// ### With Azure
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testRole = new Mongodbatlas.CloudProviderAccessSetup("testRole", new()
- /// {
- /// AzureConfigs = new[]
- /// {
- /// new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs
- /// {
- /// AtlasAzureAppId = "9f2deb0d-be22-4524-a403-df531868bac0",
- /// ServicePrincipalId = "22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1",
- /// TenantId = "91402384-d71e-22f5-22dd-759e272cdc1c",
- /// },
- /// },
- /// ProjectId = "64259ee860c43338194b0f8e",
- /// ProviderName = "AZURE",
- /// });
- ///
- /// });
- /// ```
- /// ### With AWS
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var setupOnly = new Mongodbatlas.CloudProviderAccessSetup("setupOnly", new()
- /// {
- /// ProjectId = "64259ee860c43338194b0f8e",
- /// ProviderName = "AWS",
- /// });
- ///
- /// var authRole = new Mongodbatlas.CloudProviderAccessAuthorization("authRole", new()
- /// {
- /// ProjectId = setupOnly.ProjectId,
- /// RoleId = setupOnly.RoleId,
- /// Aws = new Mongodbatlas.Inputs.CloudProviderAccessAuthorizationAwsArgs
- /// {
- /// IamAssumedRoleArn = "arn:aws:iam::772401394250:role/test-user-role",
- /// },
- /// });
- ///
- /// });
- /// ```
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var setupOnly = new Mongodbatlas.CloudProviderAccessSetup("setupOnly", new()
- /// {
- /// ProjectId = "64259ee860c43338194b0f8e",
- /// ProviderName = "AZURE",
- /// AzureConfigs = new[]
- /// {
- /// new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs
- /// {
- /// AtlasAzureAppId = "9f2deb0d-be22-4524-a403-df531868bac0",
- /// ServicePrincipalId = "22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1",
- /// TenantId = "91402384-d71e-22f5-22dd-759e272cdc1c",
- /// },
- /// },
- /// });
- ///
- /// var authRole = new Mongodbatlas.CloudProviderAccessAuthorization("authRole", new()
- /// {
- /// ProjectId = setupOnly.ProjectId,
- /// RoleId = setupOnly.RoleId,
- /// Azure = new Mongodbatlas.Inputs.CloudProviderAccessAuthorizationAzureArgs
- /// {
- /// AtlasAzureAppId = "9f2deb0d-be22-4524-a403-df531868bac0",
- /// ServicePrincipalId = "22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1",
- /// TenantId = "91402384-d71e-22f5-22dd-759e272cdc1c",
- /// },
- /// });
- ///
- /// });
- /// ```
- /// ## Authorize role
- ///
- /// Once the resource is created add the field `iam_assumed_role_arn` see [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access) , and execute a new `pulumi up` this will create a PATCH request.
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testRole = new Mongodbatlas.CloudProviderAccess("testRole", new()
- /// {
- /// IamAssumedRoleArn = "arn:aws:iam::772401394250:role/test-user-role",
- /// ProjectId = "<PROJECT-ID>",
- /// ProviderName = "AWS",
- /// });
- ///
- /// });
- /// ```
- ///
- /// ## Import
- ///
- /// The Cloud Provider Access resource can be imported using project ID and the provider name and mongodbatlas role id, in the format `project_id`-`provider_name`-`role_id`, e.g.
- ///
- /// ```sh
- /// $ pulumi import mongodbatlas:index/cloudProviderAccess:CloudProviderAccess my_role 1112222b3bf99403840e8934-AWS-5fc17d476f7a33224f5b224e
- /// ```
- /// See [MongoDB Atlas API](https://docs.atlas.mongodb.com/reference/api/cloud-provider-access-create-one-role/) Documentation for more information.
- ///
- [MongodbatlasResourceType("mongodbatlas:index/cloudProviderAccess:CloudProviderAccess")]
- public partial class CloudProviderAccess : global::Pulumi.CustomResource
- {
- ///
- /// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- ///
- [Output("atlasAssumedRoleExternalId")]
- public Output AtlasAssumedRoleExternalId { get; private set; } = null!;
-
- ///
- /// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- ///
- [Output("atlasAwsAccountArn")]
- public Output AtlasAwsAccountArn { get; private set; } = null!;
-
- ///
- /// Date on which this role was authorized.
- ///
- [Output("authorizedDate")]
- public Output AuthorizedDate { get; private set; } = null!;
-
- ///
- /// Date on which this role was created.
- ///
- [Output("createdDate")]
- public Output CreatedDate { get; private set; } = null!;
-
- ///
- /// Atlas features this AWS IAM role is linked to.
- ///
- [Output("featureUsages")]
- public Output> FeatureUsages { get; private set; } = null!;
-
- ///
- /// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- ///
- [Output("iamAssumedRoleArn")]
- public Output IamAssumedRoleArn { get; private set; } = null!;
-
- ///
- /// The unique ID for the project
- ///
- [Output("projectId")]
- public Output ProjectId { get; private set; } = null!;
-
- ///
- /// The cloud provider for which to create a new role. Currently only AWS is supported.
- ///
- [Output("providerName")]
- public Output ProviderName { get; private set; } = null!;
-
- ///
- /// Unique ID of this role returned by mongodb atlas api
- ///
- /// Conditional
- ///
- [Output("roleId")]
- public Output RoleId { get; private set; } = null!;
-
-
- ///
- /// Create a CloudProviderAccess resource with the given unique name, arguments, and options.
- ///
- ///
- /// The unique name of the resource
- /// The arguments used to populate this resource's properties
- /// A bag of options that control this resource's behavior
- public CloudProviderAccess(string name, CloudProviderAccessArgs args, CustomResourceOptions? options = null)
- : base("mongodbatlas:index/cloudProviderAccess:CloudProviderAccess", name, args ?? new CloudProviderAccessArgs(), MakeResourceOptions(options, ""))
- {
- }
-
- private CloudProviderAccess(string name, Input id, CloudProviderAccessState? state = null, CustomResourceOptions? options = null)
- : base("mongodbatlas:index/cloudProviderAccess:CloudProviderAccess", name, state, MakeResourceOptions(options, id))
- {
- }
-
- private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
- {
- var defaultOptions = new CustomResourceOptions
- {
- Version = Utilities.Version,
- };
- var merged = CustomResourceOptions.Merge(defaultOptions, options);
- // Override the ID if one was specified for consistency with other language SDKs.
- merged.Id = id ?? merged.Id;
- return merged;
- }
- ///
- /// Get an existing CloudProviderAccess resource's state with the given name, ID, and optional extra
- /// properties used to qualify the lookup.
- ///
- ///
- /// The unique name of the resulting resource.
- /// The unique provider ID of the resource to lookup.
- /// Any extra arguments used during the lookup.
- /// A bag of options that control this resource's behavior
- public static CloudProviderAccess Get(string name, Input id, CloudProviderAccessState? state = null, CustomResourceOptions? options = null)
- {
- return new CloudProviderAccess(name, id, state, options);
- }
- }
-
- public sealed class CloudProviderAccessArgs : global::Pulumi.ResourceArgs
- {
- ///
- /// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- ///
- [Input("iamAssumedRoleArn")]
- public Input? IamAssumedRoleArn { get; set; }
-
- ///
- /// The unique ID for the project
- ///
- [Input("projectId", required: true)]
- public Input ProjectId { get; set; } = null!;
-
- ///
- /// The cloud provider for which to create a new role. Currently only AWS is supported.
- ///
- [Input("providerName", required: true)]
- public Input ProviderName { get; set; } = null!;
-
- public CloudProviderAccessArgs()
- {
- }
- public static new CloudProviderAccessArgs Empty => new CloudProviderAccessArgs();
- }
-
- public sealed class CloudProviderAccessState : global::Pulumi.ResourceArgs
- {
- ///
- /// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- ///
- [Input("atlasAssumedRoleExternalId")]
- public Input? AtlasAssumedRoleExternalId { get; set; }
-
- ///
- /// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- ///
- [Input("atlasAwsAccountArn")]
- public Input? AtlasAwsAccountArn { get; set; }
-
- ///
- /// Date on which this role was authorized.
- ///
- [Input("authorizedDate")]
- public Input? AuthorizedDate { get; set; }
-
- ///
- /// Date on which this role was created.
- ///
- [Input("createdDate")]
- public Input? CreatedDate { get; set; }
-
- [Input("featureUsages")]
- private InputList? _featureUsages;
-
- ///
- /// Atlas features this AWS IAM role is linked to.
- ///
- public InputList FeatureUsages
- {
- get => _featureUsages ?? (_featureUsages = new InputList());
- set => _featureUsages = value;
- }
-
- ///
- /// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- ///
- [Input("iamAssumedRoleArn")]
- public Input? IamAssumedRoleArn { get; set; }
-
- ///
- /// The unique ID for the project
- ///
- [Input("projectId")]
- public Input? ProjectId { get; set; }
-
- ///
- /// The cloud provider for which to create a new role. Currently only AWS is supported.
- ///
- [Input("providerName")]
- public Input? ProviderName { get; set; }
-
- ///
- /// Unique ID of this role returned by mongodb atlas api
- ///
- /// Conditional
- ///
- [Input("roleId")]
- public Input? RoleId { get; set; }
-
- public CloudProviderAccessState()
- {
- }
- public static new CloudProviderAccessState Empty => new CloudProviderAccessState();
- }
-}
diff --git a/sdk/dotnet/FederatedDatabaseInstance.cs b/sdk/dotnet/FederatedDatabaseInstance.cs
index f938e54c..250580bc 100644
--- a/sdk/dotnet/FederatedDatabaseInstance.cs
+++ b/sdk/dotnet/FederatedDatabaseInstance.cs
@@ -166,10 +166,10 @@ namespace Pulumi.Mongodbatlas
public partial class FederatedDatabaseInstance : global::Pulumi.CustomResource
{
[Output("cloudProviderConfig")]
- public Output CloudProviderConfig { get; private set; } = null!;
+ public Output CloudProviderConfig { get; private set; } = null!;
[Output("dataProcessRegion")]
- public Output DataProcessRegion { get; private set; } = null!;
+ public Output DataProcessRegion { get; private set; } = null!;
///
/// The list of hostnames assigned to the Federated Database Instance. Each string in the array is a hostname assigned to the Federated Database Instance.
diff --git a/sdk/dotnet/FederatedSettingsIdentityProvider.cs b/sdk/dotnet/FederatedSettingsIdentityProvider.cs
index a8dde83a..4c76784a 100644
--- a/sdk/dotnet/FederatedSettingsIdentityProvider.cs
+++ b/sdk/dotnet/FederatedSettingsIdentityProvider.cs
@@ -11,6 +11,8 @@ namespace Pulumi.Mongodbatlas
{
///
/// `mongodbatlas.FederatedSettingsIdentityProvider` provides an Atlas federated settings identity provider resource provides a subset of settings to be maintained post import of the existing resource.
+ ///
+ /// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
/// ## Example Usage
///
/// > **IMPORTANT** You **MUST** import this resource before you can manage it with this provider.
@@ -48,7 +50,9 @@ namespace Pulumi.Mongodbatlas
/// ```sh
/// $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-0oad4fas87jL5Xnk1297
/// ```
- /// For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
+ /// __WARNING:__ Starting from terraform provider version 1.16.0, to import the resource a 24-hexadecimal digit string that identifies the IdP (`idp_id`) will have to be used instead of `okta_idp_id`. See more [here](../guides/1.15.0-upgrade-guide.html.markdown)
+ ///
+ /// For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
///
[MongodbatlasResourceType("mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider")]
public partial class FederatedSettingsIdentityProvider : global::Pulumi.CustomResource
@@ -59,6 +63,18 @@ public partial class FederatedSettingsIdentityProvider : global::Pulumi.CustomRe
[Output("associatedDomains")]
public Output> AssociatedDomains { get; private set; } = null!;
+ ///
+ /// Identifier of the intended recipient of the token used in OIDC IdP.
+ ///
+ [Output("audienceClaims")]
+ public Output> AudienceClaims { get; private set; } = null!;
+
+ ///
+ /// Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ///
+ [Output("clientId")]
+ public Output ClientId { get; private set; } = null!;
+
///
/// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
///
@@ -66,7 +82,19 @@ public partial class FederatedSettingsIdentityProvider : global::Pulumi.CustomRe
public Output FederationSettingsId { get; private set; } = null!;
///
- /// Unique string that identifies the issuer of the SAML
+ /// Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ ///
+ [Output("groupsClaim")]
+ public Output GroupsClaim { get; private set; } = null!;
+
+ ///
+ /// Unique 24-hexadecimal digit string that identifies the IdP.
+ ///
+ [Output("idpId")]
+ public Output IdpId { get; private set; } = null!;
+
+ ///
+ /// Unique string that identifies the issuer of the IdP.
///
[Output("issuerUri")]
public Output IssuerUri { get; private set; } = null!;
@@ -84,36 +112,54 @@ public partial class FederatedSettingsIdentityProvider : global::Pulumi.CustomRe
public Output OktaIdpId { get; private set; } = null!;
///
- /// SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ /// The protocol of the identity provider. Either `SAML` or `OIDC`.
+ ///
+ [Output("protocol")]
+ public Output Protocol { get; private set; } = null!;
+
+ ///
+ /// SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
/// - HTTP POST
/// - HTTP REDIRECT
///
[Output("requestBinding")]
- public Output RequestBinding { get; private set; } = null!;
+ public Output RequestBinding { get; private set; } = null!;
///
- /// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
+ /// Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ ///
+ [Output("requestedScopes")]
+ public Output> RequestedScopes { get; private set; } = null!;
+
+ ///
+ /// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include `SHA-1 `and `SHA-256`.
///
[Output("responseSignatureAlgorithm")]
- public Output ResponseSignatureAlgorithm { get; private set; } = null!;
+ public Output ResponseSignatureAlgorithm { get; private set; } = null!;
///
/// Flag that indicates whether the identity provider has SSO debug enabled.
///
[Output("ssoDebugEnabled")]
- public Output SsoDebugEnabled { get; private set; } = null!;
+ public Output SsoDebugEnabled { get; private set; } = null!;
///
/// Unique string that identifies the intended audience of the SAML assertion.
///
[Output("ssoUrl")]
- public Output SsoUrl { get; private set; } = null!;
+ public Output SsoUrl { get; private set; } = null!;
///
/// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
///
[Output("status")]
- public Output Status { get; private set; } = null!;
+ public Output Status { get; private set; } = null!;
+
+ ///
+ /// Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ ///
+ [Output("userClaim")]
+ public Output UserClaim { get; private set; } = null!;
///
@@ -173,6 +219,24 @@ public InputList AssociatedDomains
set => _associatedDomains = value;
}
+ [Input("audienceClaims")]
+ private InputList? _audienceClaims;
+
+ ///
+ /// Identifier of the intended recipient of the token used in OIDC IdP.
+ ///
+ public InputList AudienceClaims
+ {
+ get => _audienceClaims ?? (_audienceClaims = new InputList());
+ set => _audienceClaims = value;
+ }
+
+ ///
+ /// Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ///
+ [Input("clientId")]
+ public Input? ClientId { get; set; }
+
///
/// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
///
@@ -180,7 +244,13 @@ public InputList AssociatedDomains
public Input FederationSettingsId { get; set; } = null!;
///
- /// Unique string that identifies the issuer of the SAML
+ /// Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ ///
+ [Input("groupsClaim")]
+ public Input? GroupsClaim { get; set; }
+
+ ///
+ /// Unique string that identifies the issuer of the IdP.
///
[Input("issuerUri", required: true)]
public Input IssuerUri { get; set; } = null!;
@@ -192,36 +262,60 @@ public InputList AssociatedDomains
public Input? Name { get; set; }
///
- /// SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ /// The protocol of the identity provider. Either `SAML` or `OIDC`.
+ ///
+ [Input("protocol")]
+ public Input? Protocol { get; set; }
+
+ ///
+ /// SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
/// - HTTP POST
/// - HTTP REDIRECT
///
- [Input("requestBinding", required: true)]
- public Input RequestBinding { get; set; } = null!;
+ [Input("requestBinding")]
+ public Input? RequestBinding { get; set; }
+
+ [Input("requestedScopes")]
+ private InputList? _requestedScopes;
+
+ ///
+ /// Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ ///
+ public InputList RequestedScopes
+ {
+ get => _requestedScopes ?? (_requestedScopes = new InputList());
+ set => _requestedScopes = value;
+ }
///
- /// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
+ /// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include `SHA-1 `and `SHA-256`.
///
- [Input("responseSignatureAlgorithm", required: true)]
- public Input ResponseSignatureAlgorithm { get; set; } = null!;
+ [Input("responseSignatureAlgorithm")]
+ public Input? ResponseSignatureAlgorithm { get; set; }
///
/// Flag that indicates whether the identity provider has SSO debug enabled.
///
- [Input("ssoDebugEnabled", required: true)]
- public Input SsoDebugEnabled { get; set; } = null!;
+ [Input("ssoDebugEnabled")]
+ public Input? SsoDebugEnabled { get; set; }
///
/// Unique string that identifies the intended audience of the SAML assertion.
///
- [Input("ssoUrl", required: true)]
- public Input SsoUrl { get; set; } = null!;
+ [Input("ssoUrl")]
+ public Input? SsoUrl { get; set; }
///
/// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
///
- [Input("status", required: true)]
- public Input Status { get; set; } = null!;
+ [Input("status")]
+ public Input? Status { get; set; }
+
+ ///
+ /// Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ ///
+ [Input("userClaim")]
+ public Input? UserClaim { get; set; }
public FederatedSettingsIdentityProviderArgs()
{
@@ -243,6 +337,24 @@ public InputList AssociatedDomains
set => _associatedDomains = value;
}
+ [Input("audienceClaims")]
+ private InputList? _audienceClaims;
+
+ ///
+ /// Identifier of the intended recipient of the token used in OIDC IdP.
+ ///
+ public InputList AudienceClaims
+ {
+ get => _audienceClaims ?? (_audienceClaims = new InputList());
+ set => _audienceClaims = value;
+ }
+
+ ///
+ /// Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ///
+ [Input("clientId")]
+ public Input? ClientId { get; set; }
+
///
/// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
///
@@ -250,7 +362,19 @@ public InputList AssociatedDomains
public Input? FederationSettingsId { get; set; }
///
- /// Unique string that identifies the issuer of the SAML
+ /// Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ ///
+ [Input("groupsClaim")]
+ public Input? GroupsClaim { get; set; }
+
+ ///
+ /// Unique 24-hexadecimal digit string that identifies the IdP.
+ ///
+ [Input("idpId")]
+ public Input? IdpId { get; set; }
+
+ ///
+ /// Unique string that identifies the issuer of the IdP.
///
[Input("issuerUri")]
public Input? IssuerUri { get; set; }
@@ -268,15 +392,33 @@ public InputList AssociatedDomains
public Input? OktaIdpId { get; set; }
///
- /// SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ /// The protocol of the identity provider. Either `SAML` or `OIDC`.
+ ///
+ [Input("protocol")]
+ public Input? Protocol { get; set; }
+
+ ///
+ /// SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
/// - HTTP POST
/// - HTTP REDIRECT
///
[Input("requestBinding")]
public Input? RequestBinding { get; set; }
+ [Input("requestedScopes")]
+ private InputList? _requestedScopes;
+
+ ///
+ /// Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ ///
+ public InputList RequestedScopes
+ {
+ get => _requestedScopes ?? (_requestedScopes = new InputList());
+ set => _requestedScopes = value;
+ }
+
///
- /// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
+ /// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include `SHA-1 `and `SHA-256`.
///
[Input("responseSignatureAlgorithm")]
public Input? ResponseSignatureAlgorithm { get; set; }
@@ -299,6 +441,12 @@ public InputList AssociatedDomains
[Input("status")]
public Input? Status { get; set; }
+ ///
+ /// Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ ///
+ [Input("userClaim")]
+ public Input? UserClaim { get; set; }
+
public FederatedSettingsIdentityProviderState()
{
}
diff --git a/sdk/dotnet/GetApiKey.cs b/sdk/dotnet/GetApiKey.cs
index 1ce93a67..c035eb5f 100644
--- a/sdk/dotnet/GetApiKey.cs
+++ b/sdk/dotnet/GetApiKey.cs
@@ -31,11 +31,14 @@ public static Output Invoke(GetApiKeyInvokeArgs args, InvokeOpt
public sealed class GetApiKeyArgs : global::Pulumi.InvokeArgs
{
+ ///
+ /// Unique identifier for the organization API key.
+ ///
[Input("apiKeyId", required: true)]
public string ApiKeyId { get; set; } = null!;
///
- /// The unique ID for the project.
+ /// Unique identifier for the organization.
///
[Input("orgId", required: true)]
public string OrgId { get; set; } = null!;
@@ -48,11 +51,14 @@ public GetApiKeyArgs()
public sealed class GetApiKeyInvokeArgs : global::Pulumi.InvokeArgs
{
+ ///
+ /// Unique identifier for the organization API key.
+ ///
[Input("apiKeyId", required: true)]
public Input ApiKeyId { get; set; } = null!;
///
- /// The unique ID for the project.
+ /// Unique identifier for the organization.
///
[Input("orgId", required: true)]
public Input OrgId { get; set; } = null!;
@@ -76,9 +82,6 @@ public sealed class GetApiKeyResult
/// The provider-assigned unique ID for this managed resource.
///
public readonly string Id;
- ///
- /// Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
- ///
public readonly string OrgId;
///
/// Public key for this Organization API key.
diff --git a/sdk/dotnet/GetApiKeys.cs b/sdk/dotnet/GetApiKeys.cs
index cfb59d1e..bb625f5f 100644
--- a/sdk/dotnet/GetApiKeys.cs
+++ b/sdk/dotnet/GetApiKeys.cs
@@ -28,7 +28,7 @@ public sealed class GetApiKeysArgs : global::Pulumi.InvokeArgs
public int? ItemsPerPage { get; set; }
///
- /// Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
+ /// Unique identifier for the organization whose API keys you want to retrieve.
///
[Input("orgId", required: true)]
public string OrgId { get; set; } = null!;
@@ -54,7 +54,7 @@ public sealed class GetApiKeysInvokeArgs : global::Pulumi.InvokeArgs
public Input? ItemsPerPage { get; set; }
///
- /// Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
+ /// Unique identifier for the organization whose API keys you want to retrieve.
///
[Input("orgId", required: true)]
public Input OrgId { get; set; } = null!;
diff --git a/sdk/dotnet/GetBackupCompliancePolicy.cs b/sdk/dotnet/GetBackupCompliancePolicy.cs
index 15602aa8..baf0809f 100644
--- a/sdk/dotnet/GetBackupCompliancePolicy.cs
+++ b/sdk/dotnet/GetBackupCompliancePolicy.cs
@@ -21,31 +21,6 @@ public static Output Invoke(GetBackupCompliance
public sealed class GetBackupCompliancePolicyArgs : global::Pulumi.InvokeArgs
{
- [Input("onDemandPolicyItem")]
- public Inputs.GetBackupCompliancePolicyOnDemandPolicyItemArgs? OnDemandPolicyItem { get; set; }
-
- [Input("policyItemDaily")]
- public Inputs.GetBackupCompliancePolicyPolicyItemDailyArgs? PolicyItemDaily { get; set; }
-
- [Input("policyItemHourly")]
- public Inputs.GetBackupCompliancePolicyPolicyItemHourlyArgs? PolicyItemHourly { get; set; }
-
- [Input("policyItemMonthlies")]
- private List? _policyItemMonthlies;
- public List PolicyItemMonthlies
- {
- get => _policyItemMonthlies ?? (_policyItemMonthlies = new List());
- set => _policyItemMonthlies = value;
- }
-
- [Input("policyItemWeeklies")]
- private List? _policyItemWeeklies;
- public List PolicyItemWeeklies
- {
- get => _policyItemWeeklies ?? (_policyItemWeeklies = new List());
- set => _policyItemWeeklies = value;
- }
-
///
/// Unique 24-hexadecimal digit string that identifies your project
///
@@ -60,31 +35,6 @@ public GetBackupCompliancePolicyArgs()
public sealed class GetBackupCompliancePolicyInvokeArgs : global::Pulumi.InvokeArgs
{
- [Input("onDemandPolicyItem")]
- public Input? OnDemandPolicyItem { get; set; }
-
- [Input("policyItemDaily")]
- public Input? PolicyItemDaily { get; set; }
-
- [Input("policyItemHourly")]
- public Input? PolicyItemHourly { get; set; }
-
- [Input("policyItemMonthlies")]
- private InputList? _policyItemMonthlies;
- public InputList PolicyItemMonthlies
- {
- get => _policyItemMonthlies ?? (_policyItemMonthlies = new InputList());
- set => _policyItemMonthlies = value;
- }
-
- [Input("policyItemWeeklies")]
- private InputList? _policyItemWeeklies;
- public InputList PolicyItemWeeklies
- {
- get => _policyItemWeeklies ?? (_policyItemWeeklies = new InputList());
- set => _policyItemWeeklies = value;
- }
-
///
/// Unique 24-hexadecimal digit string that identifies your project
///
@@ -125,13 +75,13 @@ public sealed class GetBackupCompliancePolicyResult
/// The provider-assigned unique ID for this managed resource.
///
public readonly string Id;
- public readonly Outputs.GetBackupCompliancePolicyOnDemandPolicyItemResult? OnDemandPolicyItem;
+ public readonly Outputs.GetBackupCompliancePolicyOnDemandPolicyItemResult OnDemandPolicyItem;
///
/// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
///
public readonly bool PitEnabled;
- public readonly Outputs.GetBackupCompliancePolicyPolicyItemDailyResult? PolicyItemDaily;
- public readonly Outputs.GetBackupCompliancePolicyPolicyItemHourlyResult? PolicyItemHourly;
+ public readonly Outputs.GetBackupCompliancePolicyPolicyItemDailyResult PolicyItemDaily;
+ public readonly Outputs.GetBackupCompliancePolicyPolicyItemHourlyResult PolicyItemHourly;
public readonly ImmutableArray PolicyItemMonthlies;
public readonly ImmutableArray PolicyItemWeeklies;
public readonly string ProjectId;
@@ -166,13 +116,13 @@ private GetBackupCompliancePolicyResult(
string id,
- Outputs.GetBackupCompliancePolicyOnDemandPolicyItemResult? onDemandPolicyItem,
+ Outputs.GetBackupCompliancePolicyOnDemandPolicyItemResult onDemandPolicyItem,
bool pitEnabled,
- Outputs.GetBackupCompliancePolicyPolicyItemDailyResult? policyItemDaily,
+ Outputs.GetBackupCompliancePolicyPolicyItemDailyResult policyItemDaily,
- Outputs.GetBackupCompliancePolicyPolicyItemHourlyResult? policyItemHourly,
+ Outputs.GetBackupCompliancePolicyPolicyItemHourlyResult policyItemHourly,
ImmutableArray policyItemMonthlies,
diff --git a/sdk/dotnet/GetCloudProviderAccess.cs b/sdk/dotnet/GetCloudProviderAccess.cs
deleted file mode 100644
index 653f61d6..00000000
--- a/sdk/dotnet/GetCloudProviderAccess.cs
+++ /dev/null
@@ -1,147 +0,0 @@
-// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-using System;
-using System.Collections.Generic;
-using System.Collections.Immutable;
-using System.Threading.Tasks;
-using Pulumi.Serialization;
-
-namespace Pulumi.Mongodbatlas
-{
- public static class GetCloudProviderAccess
- {
- ///
- /// **WARNING:** The data source `mongodbatlas.CloudProviderAccess` is deprecated and will be removed in version v1.14.0, use the data source `mongodbatlas.CloudProviderAccessSetup` instead.
- ///
- /// `mongodbatlas.CloudProviderAccess` allows you to get the list of cloud provider access roles, currently only AWS and Azure is supported.
- ///
- /// > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testRole = new Mongodbatlas.CloudProviderAccess("testRole", new()
- /// {
- /// ProjectId = "64259ee860c43338194b0f8e",
- /// ProviderName = "AWS",
- /// });
- ///
- /// var all = Mongodbatlas.GetCloudProviderAccess.Invoke(new()
- /// {
- /// ProjectId = testRole.ProjectId,
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
- public static Task InvokeAsync(GetCloudProviderAccessArgs args, InvokeOptions? options = null)
- => global::Pulumi.Deployment.Instance.InvokeAsync("mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess", args ?? new GetCloudProviderAccessArgs(), options.WithDefaults());
-
- ///
- /// **WARNING:** The data source `mongodbatlas.CloudProviderAccess` is deprecated and will be removed in version v1.14.0, use the data source `mongodbatlas.CloudProviderAccessSetup` instead.
- ///
- /// `mongodbatlas.CloudProviderAccess` allows you to get the list of cloud provider access roles, currently only AWS and Azure is supported.
- ///
- /// > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testRole = new Mongodbatlas.CloudProviderAccess("testRole", new()
- /// {
- /// ProjectId = "64259ee860c43338194b0f8e",
- /// ProviderName = "AWS",
- /// });
- ///
- /// var all = Mongodbatlas.GetCloudProviderAccess.Invoke(new()
- /// {
- /// ProjectId = testRole.ProjectId,
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
- public static Output Invoke(GetCloudProviderAccessInvokeArgs args, InvokeOptions? options = null)
- => global::Pulumi.Deployment.Instance.Invoke("mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess", args ?? new GetCloudProviderAccessInvokeArgs(), options.WithDefaults());
- }
-
-
- public sealed class GetCloudProviderAccessArgs : global::Pulumi.InvokeArgs
- {
- ///
- /// The unique ID for the project to get all Cloud Provider Access
- ///
- [Input("projectId", required: true)]
- public string ProjectId { get; set; } = null!;
-
- public GetCloudProviderAccessArgs()
- {
- }
- public static new GetCloudProviderAccessArgs Empty => new GetCloudProviderAccessArgs();
- }
-
- public sealed class GetCloudProviderAccessInvokeArgs : global::Pulumi.InvokeArgs
- {
- ///
- /// The unique ID for the project to get all Cloud Provider Access
- ///
- [Input("projectId", required: true)]
- public Input ProjectId { get; set; } = null!;
-
- public GetCloudProviderAccessInvokeArgs()
- {
- }
- public static new GetCloudProviderAccessInvokeArgs Empty => new GetCloudProviderAccessInvokeArgs();
- }
-
-
- [OutputType]
- public sealed class GetCloudProviderAccessResult
- {
- ///
- /// A list where each represents a Cloud Provider Access Role.
- ///
- public readonly ImmutableArray AwsIamRoles;
- ///
- /// The provider-assigned unique ID for this managed resource.
- ///
- public readonly string Id;
- public readonly string ProjectId;
-
- [OutputConstructor]
- private GetCloudProviderAccessResult(
- ImmutableArray awsIamRoles,
-
- string id,
-
- string projectId)
- {
- AwsIamRoles = awsIamRoles;
- Id = id;
- ProjectId = projectId;
- }
- }
-}
diff --git a/sdk/dotnet/GetCloudProviderAccessSetup.cs b/sdk/dotnet/GetCloudProviderAccessSetup.cs
index 57453fbc..90ac8c9f 100644
--- a/sdk/dotnet/GetCloudProviderAccessSetup.cs
+++ b/sdk/dotnet/GetCloudProviderAccessSetup.cs
@@ -12,7 +12,7 @@ namespace Pulumi.Mongodbatlas
public static class GetCloudProviderAccessSetup
{
///
- /// `mongodbatlas.CloudProviderAccess` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.
+ /// `mongodbatlas_cloud_provider_access` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.
///
/// > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
///
@@ -86,7 +86,7 @@ public static Task InvokeAsync(GetCloudProvid
=> global::Pulumi.Deployment.Instance.InvokeAsync("mongodbatlas:index/getCloudProviderAccessSetup:getCloudProviderAccessSetup", args ?? new GetCloudProviderAccessSetupArgs(), options.WithDefaults());
///
- /// `mongodbatlas.CloudProviderAccess` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.
+ /// `mongodbatlas_cloud_provider_access` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.
///
/// > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
///
diff --git a/sdk/dotnet/GetFederatedSettingsIdentityProvider.cs b/sdk/dotnet/GetFederatedSettingsIdentityProvider.cs
index 60ac0017..dd605f24 100644
--- a/sdk/dotnet/GetFederatedSettingsIdentityProvider.cs
+++ b/sdk/dotnet/GetFederatedSettingsIdentityProvider.cs
@@ -14,6 +14,7 @@ public static class GetFederatedSettingsIdentityProvider
///
/// `mongodbatlas.FederatedSettingsIdentityProvider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.
///
+ /// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/)
///
/// {{% examples %}}
/// ## Example Usage
@@ -59,6 +60,7 @@ public static Task InvokeAsync(GetFe
///
/// `mongodbatlas.FederatedSettingsIdentityProvider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.
///
+ /// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/)
///
/// {{% examples %}}
/// ## Example Usage
@@ -111,9 +113,6 @@ public sealed class GetFederatedSettingsIdentityProviderArgs : global::Pulumi.In
[Input("federationSettingsId", required: true)]
public string FederationSettingsId { get; set; } = null!;
- ///
- /// Unique 20-hexadecimal digit string that identifies the IdP.
- ///
[Input("identityProviderId", required: true)]
public string IdentityProviderId { get; set; } = null!;
@@ -131,9 +130,6 @@ public sealed class GetFederatedSettingsIdentityProviderInvokeArgs : global::Pul
[Input("federationSettingsId", required: true)]
public Input FederationSettingsId { get; set; } = null!;
- ///
- /// Unique 20-hexadecimal digit string that identifies the IdP.
- ///
[Input("identityProviderId", required: true)]
public Input IdentityProviderId { get; set; } = null!;
@@ -160,10 +156,18 @@ public sealed class GetFederatedSettingsIdentityProviderResult
///
public readonly ImmutableArray AssociatedOrgs;
///
+ /// Identifier of the intended recipient of the token.
+ ///
+ public readonly ImmutableArray AudienceClaims;
+ ///
/// Identifier for the intended audience of the SAML Assertion.
///
public readonly string AudienceUri;
///
+ /// Client identifier that is assigned to an application by the Identity Provider.
+ ///
+ public readonly string ClientId;
+ ///
/// Human-readable label that identifies the IdP.
///
public readonly string DisplayName;
@@ -172,11 +176,19 @@ public sealed class GetFederatedSettingsIdentityProviderResult
///
public readonly string FederationSettingsId;
///
+ /// Identifier of the claim which contains IdP Group IDs in the token.
+ ///
+ public readonly string GroupsClaim;
+ ///
/// The provider-assigned unique ID for this managed resource.
///
public readonly string Id;
public readonly string IdentityProviderId;
///
+ /// Unique 24-hexadecimal digit string that identifies the IdP
+ ///
+ public readonly string IdpId;
+ ///
/// Identifier for the issuer of the SAML Assertion.
///
public readonly string IssuerUri;
@@ -186,12 +198,20 @@ public sealed class GetFederatedSettingsIdentityProviderResult
public readonly string OktaIdpId;
public readonly ImmutableArray PemFileInfos;
///
+ /// The protocol of the identity provider. Either SAML or OIDC.
+ ///
+ public readonly string Protocol;
+ ///
/// SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
/// - HTTP POST
/// - HTTP REDIRECT
///
public readonly string RequestBinding;
///
+ /// Scopes that MongoDB applications will request from the authorization endpoint.
+ ///
+ public readonly ImmutableArray RequestedScopes;
+ ///
/// Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
/// - SHA-1
/// - SHA-256
@@ -209,6 +229,10 @@ public sealed class GetFederatedSettingsIdentityProviderResult
/// Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.
///
public readonly string Status;
+ ///
+ /// Identifier of the claim which contains the user ID in the token.
+ ///
+ public readonly string UserClaim;
[OutputConstructor]
private GetFederatedSettingsIdentityProviderResult(
@@ -218,48 +242,69 @@ private GetFederatedSettingsIdentityProviderResult(
ImmutableArray associatedOrgs,
+ ImmutableArray audienceClaims,
+
string audienceUri,
+ string clientId,
+
string displayName,
string federationSettingsId,
+ string groupsClaim,
+
string id,
string identityProviderId,
+ string idpId,
+
string issuerUri,
string oktaIdpId,
ImmutableArray pemFileInfos,
+ string protocol,
+
string requestBinding,
+ ImmutableArray requestedScopes,
+
string responseSignatureAlgorithm,
bool ssoDebugEnabled,
string ssoUrl,
- string status)
+ string status,
+
+ string userClaim)
{
AcsUrl = acsUrl;
AssociatedDomains = associatedDomains;
AssociatedOrgs = associatedOrgs;
+ AudienceClaims = audienceClaims;
AudienceUri = audienceUri;
+ ClientId = clientId;
DisplayName = displayName;
FederationSettingsId = federationSettingsId;
+ GroupsClaim = groupsClaim;
Id = id;
IdentityProviderId = identityProviderId;
+ IdpId = idpId;
IssuerUri = issuerUri;
OktaIdpId = oktaIdpId;
PemFileInfos = pemFileInfos;
+ Protocol = protocol;
RequestBinding = requestBinding;
+ RequestedScopes = requestedScopes;
ResponseSignatureAlgorithm = responseSignatureAlgorithm;
SsoDebugEnabled = ssoDebugEnabled;
SsoUrl = ssoUrl;
Status = status;
+ UserClaim = userClaim;
}
}
}
diff --git a/sdk/dotnet/GetFederatedSettingsIdentityProviders.cs b/sdk/dotnet/GetFederatedSettingsIdentityProviders.cs
index fee49b5c..f308f576 100644
--- a/sdk/dotnet/GetFederatedSettingsIdentityProviders.cs
+++ b/sdk/dotnet/GetFederatedSettingsIdentityProviders.cs
@@ -14,6 +14,7 @@ public static class GetFederatedSettingsIdentityProviders
///
/// `mongodbatlas.getFederatedSettingsIdentityProviders` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
///
+ /// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
///
/// {{% examples %}}
/// ## Example Usage
@@ -56,6 +57,7 @@ public static Task InvokeAsync(GetF
///
/// `mongodbatlas.getFederatedSettingsIdentityProviders` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
///
+ /// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
///
/// {{% examples %}}
/// ## Example Usage
diff --git a/sdk/dotnet/GetOrganization.cs b/sdk/dotnet/GetOrganization.cs
index bc339b89..1da1c4a3 100644
--- a/sdk/dotnet/GetOrganization.cs
+++ b/sdk/dotnet/GetOrganization.cs
@@ -101,6 +101,10 @@ public GetOrganizationInvokeArgs()
[OutputType]
public sealed class GetOrganizationResult
{
+ ///
+ /// (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ///
+ public readonly bool ApiAccessListRequired;
///
/// The provider-assigned unique ID for this managed resource.
///
@@ -111,28 +115,45 @@ public sealed class GetOrganizationResult
public readonly bool IsDeleted;
public readonly ImmutableArray Links;
///
+ /// (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ ///
+ public readonly bool MultiFactorAuthRequired;
+ ///
/// Human-readable label that identifies the organization.
///
public readonly string Name;
public readonly string OrgId;
+ ///
+ /// (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ ///
+ public readonly bool RestrictEmployeeAccess;
[OutputConstructor]
private GetOrganizationResult(
+ bool apiAccessListRequired,
+
string id,
bool isDeleted,
ImmutableArray links,
+ bool multiFactorAuthRequired,
+
string name,
- string orgId)
+ string orgId,
+
+ bool restrictEmployeeAccess)
{
+ ApiAccessListRequired = apiAccessListRequired;
Id = id;
IsDeleted = isDeleted;
Links = links;
+ MultiFactorAuthRequired = multiFactorAuthRequired;
Name = name;
OrgId = orgId;
+ RestrictEmployeeAccess = restrictEmployeeAccess;
}
}
}
diff --git a/sdk/dotnet/GetProject.cs b/sdk/dotnet/GetProject.cs
index 3caea3b7..c2f928d0 100644
--- a/sdk/dotnet/GetProject.cs
+++ b/sdk/dotnet/GetProject.cs
@@ -91,17 +91,14 @@ public sealed class GetProjectResult
public readonly int ClusterCount;
///
/// The ISO-8601-formatted timestamp of when Atlas created the project.
- /// * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- /// * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
- /// * `limits.#.name` - Human-readable label that identifies this project limit.
- /// * `limits.#.value` - Amount the limit is set to.
- /// * `limits.#.current_usage` - Amount that indicates the current usage of the limit.
- /// * `limits.#.default_limit` - Default value of the limit.
- /// * `limits.#.maximum_limit` - Maximum value of the limit.
///
public readonly string Created;
public readonly string Id;
///
+ /// IP addresses in a project categorized by services. See IP Addresses.
+ ///
+ public readonly Outputs.GetProjectIpAddressesResult IpAddresses;
+ ///
/// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
///
public readonly bool IsCollectDatabaseSpecificsStatisticsEnabled;
@@ -125,9 +122,12 @@ public sealed class GetProjectResult
/// Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
///
public readonly bool IsSchemaAdvisorEnabled;
+ ///
+ /// The limits for the specified project. See Limits.
+ ///
public readonly ImmutableArray Limits;
///
- /// The name of the project you want to create.
+ /// Human-readable label that identifies this project limit.
///
public readonly string? Name;
///
@@ -139,6 +139,9 @@ public sealed class GetProjectResult
/// If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
///
public readonly string RegionUsageRestrictions;
+ ///
+ /// Returns all teams to which the authenticated user has access in the project. See Teams.
+ ///
public readonly ImmutableArray Teams;
[OutputConstructor]
@@ -149,6 +152,8 @@ private GetProjectResult(
string id,
+ Outputs.GetProjectIpAddressesResult ipAddresses,
+
bool isCollectDatabaseSpecificsStatisticsEnabled,
bool isDataExplorerEnabled,
@@ -176,6 +181,7 @@ private GetProjectResult(
ClusterCount = clusterCount;
Created = created;
Id = id;
+ IpAddresses = ipAddresses;
IsCollectDatabaseSpecificsStatisticsEnabled = isCollectDatabaseSpecificsStatisticsEnabled;
IsDataExplorerEnabled = isDataExplorerEnabled;
IsExtendedStorageSizesEnabled = isExtendedStorageSizesEnabled;
diff --git a/sdk/dotnet/GetSearchDeployment.cs b/sdk/dotnet/GetSearchDeployment.cs
index 646bff54..d2b6a0d6 100644
--- a/sdk/dotnet/GetSearchDeployment.cs
+++ b/sdk/dotnet/GetSearchDeployment.cs
@@ -16,25 +16,6 @@ public static class GetSearchDeployment
///
/// {{% examples %}}
/// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Mongodbatlas.GetSearchDeployment.Invoke(new()
- /// {
- /// ClusterName = "<CLUSTER_NAME>",
- /// ProjectId = "<PROJECT_ID>",
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
/// {{% /examples %}}
///
public static Task InvokeAsync(GetSearchDeploymentArgs args, InvokeOptions? options = null)
@@ -45,25 +26,6 @@ public static Task InvokeAsync(GetSearchDeploymentArg
///
/// {{% examples %}}
/// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Mongodbatlas = Pulumi.Mongodbatlas;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Mongodbatlas.GetSearchDeployment.Invoke(new()
- /// {
- /// ClusterName = "<CLUSTER_NAME>",
- /// ProjectId = "<PROJECT_ID>",
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
/// {{% /examples %}}
///
public static Output Invoke(GetSearchDeploymentInvokeArgs args, InvokeOptions? options = null)
@@ -74,13 +36,13 @@ public static Output Invoke(GetSearchDeploymentInvoke
public sealed class GetSearchDeploymentArgs : global::Pulumi.InvokeArgs
{
///
- /// The name of the cluster containing a search node deployment.
+ /// Label that identifies the cluster to return the search nodes for.
///
[Input("clusterName", required: true)]
public string ClusterName { get; set; } = null!;
///
- /// The unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
+ /// Unique 24-hexadecimal digit string that identifies your project.
///
[Input("projectId", required: true)]
public string ProjectId { get; set; } = null!;
@@ -94,13 +56,13 @@ public GetSearchDeploymentArgs()
public sealed class GetSearchDeploymentInvokeArgs : global::Pulumi.InvokeArgs
{
///
- /// The name of the cluster containing a search node deployment.
+ /// Label that identifies the cluster to return the search nodes for.
///
[Input("clusterName", required: true)]
public Input ClusterName { get; set; } = null!;
///
- /// The unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
+ /// Unique 24-hexadecimal digit string that identifies your project.
///
[Input("projectId", required: true)]
public Input ProjectId { get; set; } = null!;
@@ -115,15 +77,24 @@ public GetSearchDeploymentInvokeArgs()
[OutputType]
public sealed class GetSearchDeploymentResult
{
+ ///
+ /// Label that identifies the cluster to return the search nodes for.
+ ///
public readonly string ClusterName;
+ ///
+ /// Unique 24-hexadecimal digit string that identifies the search deployment.
+ ///
public readonly string Id;
+ ///
+ /// Unique 24-hexadecimal digit string that identifies your project.
+ ///
public readonly string ProjectId;
///
- /// List of settings that configure the search nodes for your cluster. See specs.
+ /// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
///
public readonly ImmutableArray Specs;
///
- /// Human-readable label that indicates the current operating condition of this search node deployment.
+ /// Human-readable label that indicates the current operating condition of this search deployment.
///
public readonly string StateName;
diff --git a/sdk/dotnet/GetSearchIndex.cs b/sdk/dotnet/GetSearchIndex.cs
index 52dec4a8..a53e37f1 100644
--- a/sdk/dotnet/GetSearchIndex.cs
+++ b/sdk/dotnet/GetSearchIndex.cs
@@ -150,9 +150,6 @@ public sealed class GetSearchIndexArgs : global::Pulumi.InvokeArgs
[Input("searchAnalyzer")]
public string? SearchAnalyzer { get; set; }
- [Input("status")]
- public string? Status { get; set; }
-
[Input("type")]
public string? Type { get; set; }
@@ -233,9 +230,6 @@ public sealed class GetSearchIndexInvokeArgs : global::Pulumi.InvokeArgs
[Input("searchAnalyzer")]
public Input? SearchAnalyzer { get; set; }
- [Input("status")]
- public Input? Status { get; set; }
-
[Input("type")]
public Input? Type { get; set; }
@@ -289,6 +283,9 @@ public sealed class GetSearchIndexResult
/// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
///
public readonly string? SearchAnalyzer;
+ ///
+ /// Current status of the index.
+ ///
public readonly string Status;
///
/// Synonyms mapping definition to use in this index.
diff --git a/sdk/dotnet/GetSearchIndexes.cs b/sdk/dotnet/GetSearchIndexes.cs
index 94584ce0..3219c1d7 100644
--- a/sdk/dotnet/GetSearchIndexes.cs
+++ b/sdk/dotnet/GetSearchIndexes.cs
@@ -49,18 +49,6 @@ public sealed class GetSearchIndexesArgs : global::Pulumi.InvokeArgs
[Input("database", required: true)]
public string Database { get; set; } = null!;
- ///
- /// Number of items that Atlas returns per page, up to a maximum of 500. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- ///
- [Input("itemsPerPage")]
- public int? ItemsPerPage { get; set; }
-
- ///
- /// Page number, starting with one, that Atlas returns of the total number of objects. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- ///
- [Input("pageNum")]
- public int? PageNum { get; set; }
-
///
/// Unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
///
@@ -93,18 +81,6 @@ public sealed class GetSearchIndexesInvokeArgs : global::Pulumi.InvokeArgs
[Input("database", required: true)]
public Input Database { get; set; } = null!;
- ///
- /// Number of items that Atlas returns per page, up to a maximum of 500. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- ///
- [Input("itemsPerPage")]
- public Input? ItemsPerPage { get; set; }
-
- ///
- /// Page number, starting with one, that Atlas returns of the total number of objects. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- ///
- [Input("pageNum")]
- public Input? PageNum { get; set; }
-
///
/// Unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
///
@@ -134,8 +110,6 @@ public sealed class GetSearchIndexesResult
/// The provider-assigned unique ID for this managed resource.
///
public readonly string Id;
- public readonly int? ItemsPerPage;
- public readonly int? PageNum;
public readonly string ProjectId;
///
/// A list where each represents a search index.
@@ -156,10 +130,6 @@ private GetSearchIndexesResult(
string id,
- int? itemsPerPage,
-
- int? pageNum,
-
string projectId,
ImmutableArray results,
@@ -170,8 +140,6 @@ private GetSearchIndexesResult(
CollectionName = collectionName;
Database = database;
Id = id;
- ItemsPerPage = itemsPerPage;
- PageNum = pageNum;
ProjectId = projectId;
Results = results;
TotalCount = totalCount;
diff --git a/sdk/dotnet/Inputs/AlertConfigurationNotificationArgs.cs b/sdk/dotnet/Inputs/AlertConfigurationNotificationArgs.cs
index 88d30ca4..fa060efd 100644
--- a/sdk/dotnet/Inputs/AlertConfigurationNotificationArgs.cs
+++ b/sdk/dotnet/Inputs/AlertConfigurationNotificationArgs.cs
@@ -51,7 +51,7 @@ public Input? DatadogApiKey
}
///
- /// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ /// Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
///
[Input("datadogRegion")]
public Input? DatadogRegion { get; set; }
diff --git a/sdk/dotnet/Inputs/AlertConfigurationNotificationGetArgs.cs b/sdk/dotnet/Inputs/AlertConfigurationNotificationGetArgs.cs
index 86fcdb1a..f78034cb 100644
--- a/sdk/dotnet/Inputs/AlertConfigurationNotificationGetArgs.cs
+++ b/sdk/dotnet/Inputs/AlertConfigurationNotificationGetArgs.cs
@@ -51,7 +51,7 @@ public Input? DatadogApiKey
}
///
- /// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ /// Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
///
[Input("datadogRegion")]
public Input? DatadogRegion { get; set; }
diff --git a/sdk/dotnet/Inputs/CloudProviderAccessFeatureUsageArgs.cs b/sdk/dotnet/Inputs/CloudProviderAccessFeatureUsageArgs.cs
deleted file mode 100644
index aaf102f5..00000000
--- a/sdk/dotnet/Inputs/CloudProviderAccessFeatureUsageArgs.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-using System;
-using System.Collections.Generic;
-using System.Collections.Immutable;
-using System.Threading.Tasks;
-using Pulumi.Serialization;
-
-namespace Pulumi.Mongodbatlas.Inputs
-{
-
- public sealed class CloudProviderAccessFeatureUsageArgs : global::Pulumi.ResourceArgs
- {
- [Input("featureId")]
- private InputMap
public readonly string DatadogApiKey;
///
- /// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ /// Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
///
public readonly string DatadogRegion;
///
diff --git a/sdk/dotnet/Outputs/GetAlertConfigurationsResultNotificationResult.cs b/sdk/dotnet/Outputs/GetAlertConfigurationsResultNotificationResult.cs
index 827131fb..dffc4152 100644
--- a/sdk/dotnet/Outputs/GetAlertConfigurationsResultNotificationResult.cs
+++ b/sdk/dotnet/Outputs/GetAlertConfigurationsResultNotificationResult.cs
@@ -26,7 +26,7 @@ public sealed class GetAlertConfigurationsResultNotificationResult
///
public readonly string DatadogApiKey;
///
- /// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ /// Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
///
public readonly string DatadogRegion;
///
diff --git a/sdk/dotnet/Outputs/GetCloudProviderAccessAwsIamRoleResult.cs b/sdk/dotnet/Outputs/GetCloudProviderAccessAwsIamRoleResult.cs
deleted file mode 100644
index be3ede52..00000000
--- a/sdk/dotnet/Outputs/GetCloudProviderAccessAwsIamRoleResult.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-using System;
-using System.Collections.Generic;
-using System.Collections.Immutable;
-using System.Threading.Tasks;
-using Pulumi.Serialization;
-
-namespace Pulumi.Mongodbatlas.Outputs
-{
-
- [OutputType]
- public sealed class GetCloudProviderAccessAwsIamRoleResult
- {
- ///
- /// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- ///
- public readonly string AtlasAssumedRoleExternalId;
- ///
- /// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- ///
- public readonly string AtlasAwsAccountArn;
- ///
- /// Date on which this role was authorized.
- ///
- public readonly string AuthorizedDate;
- ///
- /// Date on which this role was created.
- ///
- public readonly string CreatedDate;
- ///
- /// Atlas features this AWS IAM role is linked to.
- ///
- public readonly ImmutableArray FeatureUsages;
- ///
- /// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.
- ///
- public readonly string IamAssumedRoleArn;
- ///
- /// Name of the cloud provider. Currently limited to AWS.
- ///
- public readonly string ProviderName;
- ///
- /// Unique ID of this role.
- ///
- public readonly string RoleId;
-
- [OutputConstructor]
- private GetCloudProviderAccessAwsIamRoleResult(
- string atlasAssumedRoleExternalId,
-
- string atlasAwsAccountArn,
-
- string authorizedDate,
-
- string createdDate,
-
- ImmutableArray featureUsages,
-
- string iamAssumedRoleArn,
-
- string providerName,
-
- string roleId)
- {
- AtlasAssumedRoleExternalId = atlasAssumedRoleExternalId;
- AtlasAwsAccountArn = atlasAwsAccountArn;
- AuthorizedDate = authorizedDate;
- CreatedDate = createdDate;
- FeatureUsages = featureUsages;
- IamAssumedRoleArn = iamAssumedRoleArn;
- ProviderName = providerName;
- RoleId = roleId;
- }
- }
-}
diff --git a/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProviderAssociatedOrgResult.cs b/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProviderAssociatedOrgResult.cs
index 1144a5a0..2e346150 100644
--- a/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProviderAssociatedOrgResult.cs
+++ b/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProviderAssociatedOrgResult.cs
@@ -21,9 +21,6 @@ public sealed class GetFederatedSettingsIdentityProviderAssociatedOrgResult
/// Flag that indicates whether domain restriction is enabled for the connected organization.
///
public readonly bool DomainRestrictionEnabled;
- ///
- /// Unique 20-hexadecimal digit string that identifies the IdP.
- ///
public readonly string IdentityProviderId;
///
/// Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
diff --git a/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProvidersResultResult.cs b/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProvidersResultResult.cs
index 7b59e360..d785b594 100644
--- a/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProvidersResultResult.cs
+++ b/sdk/dotnet/Outputs/GetFederatedSettingsIdentityProvidersResultResult.cs
@@ -26,26 +26,50 @@ public sealed class GetFederatedSettingsIdentityProvidersResultResult
///
public readonly ImmutableArray AssociatedOrgs;
///
+ /// Identifier of the intended recipient of the token.
+ ///
+ public readonly ImmutableArray AudienceClaims;
+ ///
/// Identifier for the intended audience of the SAML Assertion.
///
public readonly string AudienceUri;
///
+ /// Client identifier that is assigned to an application by the Identity Provider.
+ ///
+ public readonly string ClientId;
+ ///
/// Human-readable label that identifies the IdP.
///
public readonly string DisplayName;
///
+ /// Identifier of the claim which contains IdP Group IDs in the token.
+ ///
+ public readonly string GroupsClaim;
+ ///
+ /// Unique 20-hexadecimal digit string that identifies the IdP.
+ ///
+ public readonly string IdpId;
+ ///
/// Identifier for the issuer of the SAML Assertion.
///
public readonly string IssuerUri;
public readonly string OktaIdpId;
public readonly ImmutableArray PemFileInfos;
///
+ /// The protocol of the identity provider
+ ///
+ public readonly string Protocol;
+ ///
/// SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
/// - HTTP POST
/// - HTTP REDIRECT
///
public readonly string RequestBinding;
///
+ /// Scopes that MongoDB applications will request from the authorization endpoint.
+ ///
+ public readonly ImmutableArray RequestedScopes;
+ ///
/// Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
/// - SHA-1
/// - SHA-256
@@ -63,6 +87,10 @@ public sealed class GetFederatedSettingsIdentityProvidersResultResult
/// Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.
///
public readonly string Status;
+ ///
+ /// Identifier of the claim which contains the user ID in the token.
+ ///
+ public readonly string UserClaim;
[OutputConstructor]
private GetFederatedSettingsIdentityProvidersResultResult(
@@ -72,39 +100,60 @@ private GetFederatedSettingsIdentityProvidersResultResult(
ImmutableArray associatedOrgs,
+ ImmutableArray audienceClaims,
+
string audienceUri,
+ string clientId,
+
string displayName,
+ string groupsClaim,
+
+ string idpId,
+
string issuerUri,
string oktaIdpId,
ImmutableArray pemFileInfos,
+ string protocol,
+
string requestBinding,
+ ImmutableArray requestedScopes,
+
string responseSignatureAlgorithm,
bool ssoDebugEnabled,
string ssoUrl,
- string status)
+ string status,
+
+ string userClaim)
{
AcsUrl = acsUrl;
AssociatedDomains = associatedDomains;
AssociatedOrgs = associatedOrgs;
+ AudienceClaims = audienceClaims;
AudienceUri = audienceUri;
+ ClientId = clientId;
DisplayName = displayName;
+ GroupsClaim = groupsClaim;
+ IdpId = idpId;
IssuerUri = issuerUri;
OktaIdpId = oktaIdpId;
PemFileInfos = pemFileInfos;
+ Protocol = protocol;
RequestBinding = requestBinding;
+ RequestedScopes = requestedScopes;
ResponseSignatureAlgorithm = responseSignatureAlgorithm;
SsoDebugEnabled = ssoDebugEnabled;
SsoUrl = ssoUrl;
Status = status;
+ UserClaim = userClaim;
}
}
}
diff --git a/sdk/dotnet/Outputs/GetOrganizationsResultResult.cs b/sdk/dotnet/Outputs/GetOrganizationsResultResult.cs
index 1d1f90fa..f0dc79f4 100644
--- a/sdk/dotnet/Outputs/GetOrganizationsResultResult.cs
+++ b/sdk/dotnet/Outputs/GetOrganizationsResultResult.cs
@@ -13,36 +13,57 @@ namespace Pulumi.Mongodbatlas.Outputs
[OutputType]
public sealed class GetOrganizationsResultResult
{
+ ///
+ /// Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ///
+ public readonly bool ApiAccessListRequired;
///
/// Autogenerated Unique ID for this data source.
///
public readonly string Id;
///
/// Flag that indicates whether this organization has been deleted.
- ///
- /// See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
///
public readonly bool IsDeleted;
public readonly ImmutableArray Links;
///
+ /// Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ ///
+ public readonly bool MultiFactorAuthRequired;
+ ///
/// Human-readable label that identifies the organization.
///
public readonly string Name;
+ ///
+ /// Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ ///
+ /// See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
+ ///
+ public readonly bool RestrictEmployeeAccess;
[OutputConstructor]
private GetOrganizationsResultResult(
+ bool apiAccessListRequired,
+
string id,
bool isDeleted,
ImmutableArray links,
- string name)
+ bool multiFactorAuthRequired,
+
+ string name,
+
+ bool restrictEmployeeAccess)
{
+ ApiAccessListRequired = apiAccessListRequired;
Id = id;
IsDeleted = isDeleted;
Links = links;
+ MultiFactorAuthRequired = multiFactorAuthRequired;
Name = name;
+ RestrictEmployeeAccess = restrictEmployeeAccess;
}
}
}
diff --git a/sdk/dotnet/Outputs/GetCloudProviderAccessAwsIamRoleFeatureUsageResult.cs b/sdk/dotnet/Outputs/GetProjectIpAddressesResult.cs
similarity index 50%
rename from sdk/dotnet/Outputs/GetCloudProviderAccessAwsIamRoleFeatureUsageResult.cs
rename to sdk/dotnet/Outputs/GetProjectIpAddressesResult.cs
index bdea421d..eb72fd65 100644
--- a/sdk/dotnet/Outputs/GetCloudProviderAccessAwsIamRoleFeatureUsageResult.cs
+++ b/sdk/dotnet/Outputs/GetProjectIpAddressesResult.cs
@@ -11,19 +11,14 @@ namespace Pulumi.Mongodbatlas.Outputs
{
[OutputType]
- public sealed class GetCloudProviderAccessAwsIamRoleFeatureUsageResult
+ public sealed class GetProjectIpAddressesResult
{
- public readonly ImmutableDictionary FeatureId;
- public readonly string FeatureType;
+ public readonly Outputs.GetProjectIpAddressesServicesResult Services;
[OutputConstructor]
- private GetCloudProviderAccessAwsIamRoleFeatureUsageResult(
- ImmutableDictionary featureId,
-
- string featureType)
+ private GetProjectIpAddressesResult(Outputs.GetProjectIpAddressesServicesResult services)
{
- FeatureId = featureId;
- FeatureType = featureType;
+ Services = services;
}
}
}
diff --git a/sdk/dotnet/Outputs/GetProjectIpAddressesServicesClusterResult.cs b/sdk/dotnet/Outputs/GetProjectIpAddressesServicesClusterResult.cs
new file mode 100644
index 00000000..972ee921
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetProjectIpAddressesServicesClusterResult.cs
@@ -0,0 +1,33 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Mongodbatlas.Outputs
+{
+
+ [OutputType]
+ public sealed class GetProjectIpAddressesServicesClusterResult
+ {
+ public readonly string ClusterName;
+ public readonly ImmutableArray Inbounds;
+ public readonly ImmutableArray Outbounds;
+
+ [OutputConstructor]
+ private GetProjectIpAddressesServicesClusterResult(
+ string clusterName,
+
+ ImmutableArray inbounds,
+
+ ImmutableArray outbounds)
+ {
+ ClusterName = clusterName;
+ Inbounds = inbounds;
+ Outbounds = outbounds;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/CloudProviderAccessFeatureUsage.cs b/sdk/dotnet/Outputs/GetProjectIpAddressesServicesResult.cs
similarity index 52%
rename from sdk/dotnet/Outputs/CloudProviderAccessFeatureUsage.cs
rename to sdk/dotnet/Outputs/GetProjectIpAddressesServicesResult.cs
index c292c6df..c20f4348 100644
--- a/sdk/dotnet/Outputs/CloudProviderAccessFeatureUsage.cs
+++ b/sdk/dotnet/Outputs/GetProjectIpAddressesServicesResult.cs
@@ -11,19 +11,14 @@ namespace Pulumi.Mongodbatlas.Outputs
{
[OutputType]
- public sealed class CloudProviderAccessFeatureUsage
+ public sealed class GetProjectIpAddressesServicesResult
{
- public readonly ImmutableDictionary? FeatureId;
- public readonly string? FeatureType;
+ public readonly ImmutableArray Clusters;
[OutputConstructor]
- private CloudProviderAccessFeatureUsage(
- ImmutableDictionary? featureId,
-
- string? featureType)
+ private GetProjectIpAddressesServicesResult(ImmutableArray clusters)
{
- FeatureId = featureId;
- FeatureType = featureType;
+ Clusters = clusters;
}
}
}
diff --git a/sdk/dotnet/Outputs/GetProjectLimitResult.cs b/sdk/dotnet/Outputs/GetProjectLimitResult.cs
index 86e1ad27..a4b760f6 100644
--- a/sdk/dotnet/Outputs/GetProjectLimitResult.cs
+++ b/sdk/dotnet/Outputs/GetProjectLimitResult.cs
@@ -13,8 +13,17 @@ namespace Pulumi.Mongodbatlas.Outputs
[OutputType]
public sealed class GetProjectLimitResult
{
+ ///
+ /// Amount that indicates the current usage of the limit.
+ ///
public readonly int CurrentUsage;
+ ///
+ /// Default value of the limit.
+ ///
public readonly int DefaultLimit;
+ ///
+ /// Maximum value of the limit.
+ ///
public readonly int MaximumLimit;
///
/// The unique ID for the project.
@@ -22,6 +31,9 @@ public sealed class GetProjectLimitResult
/// > **IMPORTANT:** Either `project_id` or `name` must be configurated.
///
public readonly string Name;
+ ///
+ /// Amount the limit is set to.
+ ///
public readonly int Value;
[OutputConstructor]
diff --git a/sdk/dotnet/Outputs/GetProjectTeamResult.cs b/sdk/dotnet/Outputs/GetProjectTeamResult.cs
index 03603138..f0ed820b 100644
--- a/sdk/dotnet/Outputs/GetProjectTeamResult.cs
+++ b/sdk/dotnet/Outputs/GetProjectTeamResult.cs
@@ -13,7 +13,13 @@ namespace Pulumi.Mongodbatlas.Outputs
[OutputType]
public sealed class GetProjectTeamResult
{
+ ///
+ /// Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
+ ///
public readonly ImmutableArray RoleNames;
+ ///
+ /// The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
+ ///
public readonly string TeamId;
[OutputConstructor]
diff --git a/sdk/dotnet/Outputs/GetProjectsResultIpAddressesResult.cs b/sdk/dotnet/Outputs/GetProjectsResultIpAddressesResult.cs
new file mode 100644
index 00000000..b7e2b164
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetProjectsResultIpAddressesResult.cs
@@ -0,0 +1,24 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Mongodbatlas.Outputs
+{
+
+ [OutputType]
+ public sealed class GetProjectsResultIpAddressesResult
+ {
+ public readonly Outputs.GetProjectsResultIpAddressesServicesResult Services;
+
+ [OutputConstructor]
+ private GetProjectsResultIpAddressesResult(Outputs.GetProjectsResultIpAddressesServicesResult services)
+ {
+ Services = services;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetProjectsResultIpAddressesServicesClusterResult.cs b/sdk/dotnet/Outputs/GetProjectsResultIpAddressesServicesClusterResult.cs
new file mode 100644
index 00000000..4dcbb2aa
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetProjectsResultIpAddressesServicesClusterResult.cs
@@ -0,0 +1,33 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Mongodbatlas.Outputs
+{
+
+ [OutputType]
+ public sealed class GetProjectsResultIpAddressesServicesClusterResult
+ {
+ public readonly string ClusterName;
+ public readonly ImmutableArray Inbounds;
+ public readonly ImmutableArray Outbounds;
+
+ [OutputConstructor]
+ private GetProjectsResultIpAddressesServicesClusterResult(
+ string clusterName,
+
+ ImmutableArray inbounds,
+
+ ImmutableArray outbounds)
+ {
+ ClusterName = clusterName;
+ Inbounds = inbounds;
+ Outbounds = outbounds;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetProjectsResultIpAddressesServicesResult.cs b/sdk/dotnet/Outputs/GetProjectsResultIpAddressesServicesResult.cs
new file mode 100644
index 00000000..ec6d9f40
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetProjectsResultIpAddressesServicesResult.cs
@@ -0,0 +1,24 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Mongodbatlas.Outputs
+{
+
+ [OutputType]
+ public sealed class GetProjectsResultIpAddressesServicesResult
+ {
+ public readonly ImmutableArray Clusters;
+
+ [OutputConstructor]
+ private GetProjectsResultIpAddressesServicesResult(ImmutableArray clusters)
+ {
+ Clusters = clusters;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetProjectsResultLimitResult.cs b/sdk/dotnet/Outputs/GetProjectsResultLimitResult.cs
index f990c66e..998e91a8 100644
--- a/sdk/dotnet/Outputs/GetProjectsResultLimitResult.cs
+++ b/sdk/dotnet/Outputs/GetProjectsResultLimitResult.cs
@@ -13,13 +13,25 @@ namespace Pulumi.Mongodbatlas.Outputs
[OutputType]
public sealed class GetProjectsResultLimitResult
{
+ ///
+ /// Amount that indicates the current usage of the limit.
+ ///
public readonly int CurrentUsage;
+ ///
+ /// Default value of the limit.
+ ///
public readonly int DefaultLimit;
+ ///
+ /// Maximum value of the limit.
+ ///
public readonly int MaximumLimit;
///
- /// The name of the project you want to create.
+ /// Human-readable label that identifies this project limit.
///
public readonly string Name;
+ ///
+ /// Amount the limit is set to.
+ ///
public readonly int Value;
[OutputConstructor]
diff --git a/sdk/dotnet/Outputs/GetProjectsResultResult.cs b/sdk/dotnet/Outputs/GetProjectsResultResult.cs
index f998f43b..bd3498a8 100644
--- a/sdk/dotnet/Outputs/GetProjectsResultResult.cs
+++ b/sdk/dotnet/Outputs/GetProjectsResultResult.cs
@@ -19,13 +19,6 @@ public sealed class GetProjectsResultResult
public readonly int ClusterCount;
///
/// The ISO-8601-formatted timestamp of when Atlas created the project.
- /// * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- /// * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
- /// * `limits.#.name` - Human-readable label that identifies this project limit.
- /// * `limits.#.value` - Amount the limit is set to.
- /// * `limits.#.current_usage` - Amount that indicates the current usage of the limit.
- /// * `limits.#.default_limit` - Default value of the limit.
- /// * `limits.#.maximum_limit` - Maximum value of the limit.
///
public readonly string Created;
///
@@ -33,6 +26,10 @@ public sealed class GetProjectsResultResult
///
public readonly string Id;
///
+ /// IP addresses in a project categorized by services. See IP Addresses.
+ ///
+ public readonly Outputs.GetProjectsResultIpAddressesResult IpAddresses;
+ ///
/// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
///
public readonly bool IsCollectDatabaseSpecificsStatisticsEnabled;
@@ -56,9 +53,12 @@ public sealed class GetProjectsResultResult
/// Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
///
public readonly bool IsSchemaAdvisorEnabled;
+ ///
+ /// The limits for the specified project. See Limits.
+ ///
public readonly ImmutableArray Limits;
///
- /// The name of the project you want to create.
+ /// Human-readable label that identifies this project limit.
///
public readonly string Name;
///
@@ -68,10 +68,11 @@ public sealed class GetProjectsResultResult
public readonly string ProjectId;
///
/// If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
- ///
- /// See [MongoDB Atlas API - Projects](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Projects) - [and MongoDB Atlas API - Teams](https://docs.atlas.mongodb.com/reference/api/project-get-teams/) Documentation for more information.
///
public readonly string RegionUsageRestrictions;
+ ///
+ /// Returns all teams to which the authenticated user has access in the project. See Teams.
+ ///
public readonly ImmutableArray Teams;
[OutputConstructor]
@@ -82,6 +83,8 @@ private GetProjectsResultResult(
string id,
+ Outputs.GetProjectsResultIpAddressesResult ipAddresses,
+
bool isCollectDatabaseSpecificsStatisticsEnabled,
bool isDataExplorerEnabled,
@@ -109,6 +112,7 @@ private GetProjectsResultResult(
ClusterCount = clusterCount;
Created = created;
Id = id;
+ IpAddresses = ipAddresses;
IsCollectDatabaseSpecificsStatisticsEnabled = isCollectDatabaseSpecificsStatisticsEnabled;
IsDataExplorerEnabled = isDataExplorerEnabled;
IsExtendedStorageSizesEnabled = isExtendedStorageSizesEnabled;
diff --git a/sdk/dotnet/Outputs/GetProjectsResultTeamResult.cs b/sdk/dotnet/Outputs/GetProjectsResultTeamResult.cs
index ff5dbc1b..0d334ea3 100644
--- a/sdk/dotnet/Outputs/GetProjectsResultTeamResult.cs
+++ b/sdk/dotnet/Outputs/GetProjectsResultTeamResult.cs
@@ -13,7 +13,13 @@ namespace Pulumi.Mongodbatlas.Outputs
[OutputType]
public sealed class GetProjectsResultTeamResult
{
+ ///
+ /// Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
+ ///
public readonly ImmutableArray RoleNames;
+ ///
+ /// The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
+ ///
public readonly string TeamId;
[OutputConstructor]
diff --git a/sdk/dotnet/Outputs/GetSearchDeploymentSpecResult.cs b/sdk/dotnet/Outputs/GetSearchDeploymentSpecResult.cs
index 8eac43ad..4712e6ba 100644
--- a/sdk/dotnet/Outputs/GetSearchDeploymentSpecResult.cs
+++ b/sdk/dotnet/Outputs/GetSearchDeploymentSpecResult.cs
@@ -14,11 +14,11 @@ namespace Pulumi.Mongodbatlas.Outputs
public sealed class GetSearchDeploymentSpecResult
{
///
- /// (Required) Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
+ /// Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
///
public readonly string InstanceSize;
///
- /// (Required) Number of search nodes in the cluster.
+ /// Number of search nodes in the cluster.
///
public readonly int NodeCount;
diff --git a/sdk/dotnet/Outputs/GetSearchIndexesResultResult.cs b/sdk/dotnet/Outputs/GetSearchIndexesResultResult.cs
index 27358199..f20b5510 100644
--- a/sdk/dotnet/Outputs/GetSearchIndexesResultResult.cs
+++ b/sdk/dotnet/Outputs/GetSearchIndexesResultResult.cs
@@ -55,6 +55,9 @@ public sealed class GetSearchIndexesResultResult
/// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
///
public readonly string? SearchAnalyzer;
+ ///
+ /// Current status of the index.
+ ///
public readonly string Status;
///
/// Synonyms mapping definition to use in this index.
diff --git a/sdk/dotnet/Outputs/ProjectIpAddresses.cs b/sdk/dotnet/Outputs/ProjectIpAddresses.cs
new file mode 100644
index 00000000..812a4103
--- /dev/null
+++ b/sdk/dotnet/Outputs/ProjectIpAddresses.cs
@@ -0,0 +1,24 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Mongodbatlas.Outputs
+{
+
+ [OutputType]
+ public sealed class ProjectIpAddresses
+ {
+ public readonly Outputs.ProjectIpAddressesServices? Services;
+
+ [OutputConstructor]
+ private ProjectIpAddresses(Outputs.ProjectIpAddressesServices? services)
+ {
+ Services = services;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/ProjectIpAddressesServices.cs b/sdk/dotnet/Outputs/ProjectIpAddressesServices.cs
new file mode 100644
index 00000000..a0bdddcb
--- /dev/null
+++ b/sdk/dotnet/Outputs/ProjectIpAddressesServices.cs
@@ -0,0 +1,24 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Mongodbatlas.Outputs
+{
+
+ [OutputType]
+ public sealed class ProjectIpAddressesServices
+ {
+ public readonly ImmutableArray Clusters;
+
+ [OutputConstructor]
+ private ProjectIpAddressesServices(ImmutableArray clusters)
+ {
+ Clusters = clusters;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/ProjectIpAddressesServicesCluster.cs b/sdk/dotnet/Outputs/ProjectIpAddressesServicesCluster.cs
new file mode 100644
index 00000000..cd77c578
--- /dev/null
+++ b/sdk/dotnet/Outputs/ProjectIpAddressesServicesCluster.cs
@@ -0,0 +1,33 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Mongodbatlas.Outputs
+{
+
+ [OutputType]
+ public sealed class ProjectIpAddressesServicesCluster
+ {
+ public readonly string? ClusterName;
+ public readonly ImmutableArray Inbounds;
+ public readonly ImmutableArray Outbounds;
+
+ [OutputConstructor]
+ private ProjectIpAddressesServicesCluster(
+ string? clusterName,
+
+ ImmutableArray inbounds,
+
+ ImmutableArray outbounds)
+ {
+ ClusterName = clusterName;
+ Inbounds = inbounds;
+ Outbounds = outbounds;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/SearchIndexSynonym.cs b/sdk/dotnet/Outputs/SearchIndexSynonym.cs
index cf477caa..ca781de2 100644
--- a/sdk/dotnet/Outputs/SearchIndexSynonym.cs
+++ b/sdk/dotnet/Outputs/SearchIndexSynonym.cs
@@ -22,7 +22,7 @@ public sealed class SearchIndexSynonym
///
public readonly string Name;
///
- /// Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
+ /// (Required) Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
///
public readonly string SourceCollection;
diff --git a/sdk/dotnet/Project.cs b/sdk/dotnet/Project.cs
index de999c1e..b19f8bea 100644
--- a/sdk/dotnet/Project.cs
+++ b/sdk/dotnet/Project.cs
@@ -87,17 +87,23 @@ namespace Pulumi.Mongodbatlas
public partial class Project : global::Pulumi.CustomResource
{
///
- /// The number of Atlas clusters deployed in the project..
+ /// The number of Atlas clusters deployed in the project.
///
[Output("clusterCount")]
public Output ClusterCount { get; private set; } = null!;
///
- /// The ISO-8601-formatted timestamp of when Atlas created the project..
+ /// The ISO-8601-formatted timestamp of when Atlas created the project.
///
[Output("created")]
public Output Created { get; private set; } = null!;
+ ///
+ /// IP addresses in a project categorized by services. See IP Addresses.
+ ///
+ [Output("ipAddresses")]
+ public Output IpAddresses { get; private set; } = null!;
+
///
/// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project. By default, this flag is set to true.
///
@@ -307,17 +313,23 @@ public ProjectArgs()
public sealed class ProjectState : global::Pulumi.ResourceArgs
{
///
- /// The number of Atlas clusters deployed in the project..
+ /// The number of Atlas clusters deployed in the project.
///
[Input("clusterCount")]
public Input? ClusterCount { get; set; }
///
- /// The ISO-8601-formatted timestamp of when Atlas created the project..
+ /// The ISO-8601-formatted timestamp of when Atlas created the project.
///
[Input("created")]
public Input? Created { get; set; }
+ ///
+ /// IP addresses in a project categorized by services. See IP Addresses.
+ ///
+ [Input("ipAddresses")]
+ public Input? IpAddresses { get; set; }
+
///
/// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project. By default, this flag is set to true.
///
diff --git a/sdk/dotnet/SearchDeployment.cs b/sdk/dotnet/SearchDeployment.cs
index 25560c36..fd9641e5 100644
--- a/sdk/dotnet/SearchDeployment.cs
+++ b/sdk/dotnet/SearchDeployment.cs
@@ -16,45 +16,35 @@ namespace Pulumi.Mongodbatlas
///
/// > **NOTE:** Only a single search deployment resource can be defined for each cluster.
///
- /// ## Import
- ///
- /// Search node resource can be imported using the project ID and cluster name, in the format `PROJECT_ID-CLUSTER_NAME`, e.g.
- ///
- /// ```sh
- /// $ pulumi import mongodbatlas:index/searchDeployment:SearchDeployment test 650972848269185c55f40ca1-Cluster0
- /// ```
- /// For more information see[MongoDB Atlas API - Search Node](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) Documentation.
+ /// ## Example Usage
///
[MongodbatlasResourceType("mongodbatlas:index/searchDeployment:SearchDeployment")]
public partial class SearchDeployment : global::Pulumi.CustomResource
{
///
- /// Label that identifies the cluster to create search nodes for.
+ /// Label that identifies the cluster to return the search nodes for.
///
[Output("clusterName")]
public Output ClusterName { get; private set; } = null!;
///
- /// Unique 24-hexadecimal digit string that identifies your project.
+ /// Unique 24-hexadecimal character string that identifies the project.
///
[Output("projectId")]
public Output ProjectId { get; private set; } = null!;
///
- /// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
+ /// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
///
[Output("specs")]
public Output> Specs { get; private set; } = null!;
///
- /// Human-readable label that indicates the current operating condition of this search node deployment.
+ /// Human-readable label that indicates the current operating condition of this search deployment.
///
[Output("stateName")]
public Output StateName { get; private set; } = null!;
- ///
- /// The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
- ///
[Output("timeouts")]
public Output Timeouts { get; private set; } = null!;
@@ -105,13 +95,13 @@ public static SearchDeployment Get(string name, Input id, SearchDeployme
public sealed class SearchDeploymentArgs : global::Pulumi.ResourceArgs
{
///
- /// Label that identifies the cluster to create search nodes for.
+ /// Label that identifies the cluster to return the search nodes for.
///
[Input("clusterName", required: true)]
public Input ClusterName { get; set; } = null!;
///
- /// Unique 24-hexadecimal digit string that identifies your project.
+ /// Unique 24-hexadecimal character string that identifies the project.
///
[Input("projectId", required: true)]
public Input ProjectId { get; set; } = null!;
@@ -120,7 +110,7 @@ public sealed class SearchDeploymentArgs : global::Pulumi.ResourceArgs
private InputList? _specs;
///
- /// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
+ /// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
///
public InputList Specs
{
@@ -128,9 +118,6 @@ public InputList Specs
set => _specs = value;
}
- ///
- /// The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
- ///
[Input("timeouts")]
public Input? Timeouts { get; set; }
@@ -143,13 +130,13 @@ public SearchDeploymentArgs()
public sealed class SearchDeploymentState : global::Pulumi.ResourceArgs
{
///
- /// Label that identifies the cluster to create search nodes for.
+ /// Label that identifies the cluster to return the search nodes for.
///
[Input("clusterName")]
public Input? ClusterName { get; set; }
///
- /// Unique 24-hexadecimal digit string that identifies your project.
+ /// Unique 24-hexadecimal character string that identifies the project.
///
[Input("projectId")]
public Input? ProjectId { get; set; }
@@ -158,7 +145,7 @@ public sealed class SearchDeploymentState : global::Pulumi.ResourceArgs
private InputList? _specs;
///
- /// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
+ /// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
///
public InputList Specs
{
@@ -167,14 +154,11 @@ public InputList Specs
}
///
- /// Human-readable label that indicates the current operating condition of this search node deployment.
+ /// Human-readable label that indicates the current operating condition of this search deployment.
///
[Input("stateName")]
public Input? StateName { get; set; }
- ///
- /// The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
- ///
[Input("timeouts")]
public Input? Timeouts { get; set; }
diff --git a/sdk/dotnet/SearchIndex.cs b/sdk/dotnet/SearchIndex.cs
index aaff560e..a9234945 100644
--- a/sdk/dotnet/SearchIndex.cs
+++ b/sdk/dotnet/SearchIndex.cs
@@ -215,6 +215,9 @@ public partial class SearchIndex : global::Pulumi.CustomResource
[Output("searchAnalyzer")]
public Output SearchAnalyzer { get; private set; } = null!;
+ ///
+ /// Current status of the index.
+ ///
[Output("status")]
public Output Status { get; private set; } = null!;
@@ -345,9 +348,6 @@ public sealed class SearchIndexArgs : global::Pulumi.ResourceArgs
[Input("searchAnalyzer")]
public Input? SearchAnalyzer { get; set; }
- [Input("status")]
- public Input? Status { get; set; }
-
[Input("synonyms")]
private InputList? _synonyms;
@@ -446,6 +446,9 @@ public sealed class SearchIndexState : global::Pulumi.ResourceArgs
[Input("searchAnalyzer")]
public Input? SearchAnalyzer { get; set; }
+ ///
+ /// Current status of the index.
+ ///
[Input("status")]
public Input? Status { get; set; }
diff --git a/sdk/go/mongodbatlas/apiKey.go b/sdk/go/mongodbatlas/apiKey.go
index ed86a2cf..debc6824 100644
--- a/sdk/go/mongodbatlas/apiKey.go
+++ b/sdk/go/mongodbatlas/apiKey.go
@@ -12,6 +12,36 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
+// ## Example Usage
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := mongodbatlas.NewApiKey(ctx, "test", &mongodbatlas.ApiKeyArgs{
+// Description: pulumi.String("key-name"),
+// OrgId: pulumi.String(""),
+// RoleNames: pulumi.StringArray{
+// pulumi.String("ORG_READ_ONLY"),
+// },
+// })
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+//
// ## Import
//
// API Keys must be imported using org ID, API Key ID e.g.
diff --git a/sdk/go/mongodbatlas/backupCompliancePolicy.go b/sdk/go/mongodbatlas/backupCompliancePolicy.go
index b65d267d..8a7405fe 100644
--- a/sdk/go/mongodbatlas/backupCompliancePolicy.go
+++ b/sdk/go/mongodbatlas/backupCompliancePolicy.go
@@ -35,12 +35,12 @@ type BackupCompliancePolicy struct {
// Last name of the user who authorized to update the Backup Compliance Policy settings.
AuthorizedUserLastName pulumi.StringOutput `pulumi:"authorizedUserLastName"`
// Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- CopyProtectionEnabled pulumi.BoolOutput `pulumi:"copyProtectionEnabled"`
+ CopyProtectionEnabled pulumi.BoolPtrOutput `pulumi:"copyProtectionEnabled"`
// Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
- EncryptionAtRestEnabled pulumi.BoolOutput `pulumi:"encryptionAtRestEnabled"`
+ EncryptionAtRestEnabled pulumi.BoolPtrOutput `pulumi:"encryptionAtRestEnabled"`
OnDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItemOutput `pulumi:"onDemandPolicyItem"`
// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- PitEnabled pulumi.BoolOutput `pulumi:"pitEnabled"`
+ PitEnabled pulumi.BoolPtrOutput `pulumi:"pitEnabled"`
PolicyItemDaily BackupCompliancePolicyPolicyItemDailyPtrOutput `pulumi:"policyItemDaily"`
PolicyItemHourly BackupCompliancePolicyPolicyItemHourlyPtrOutput `pulumi:"policyItemHourly"`
PolicyItemMonthlies BackupCompliancePolicyPolicyItemMonthlyArrayOutput `pulumi:"policyItemMonthlies"`
@@ -73,18 +73,9 @@ func NewBackupCompliancePolicy(ctx *pulumi.Context,
if args.AuthorizedUserLastName == nil {
return nil, errors.New("invalid value for required argument 'AuthorizedUserLastName'")
}
- if args.CopyProtectionEnabled == nil {
- return nil, errors.New("invalid value for required argument 'CopyProtectionEnabled'")
- }
- if args.EncryptionAtRestEnabled == nil {
- return nil, errors.New("invalid value for required argument 'EncryptionAtRestEnabled'")
- }
if args.OnDemandPolicyItem == nil {
return nil, errors.New("invalid value for required argument 'OnDemandPolicyItem'")
}
- if args.PitEnabled == nil {
- return nil, errors.New("invalid value for required argument 'PitEnabled'")
- }
if args.ProjectId == nil {
return nil, errors.New("invalid value for required argument 'ProjectId'")
}
@@ -182,12 +173,12 @@ type backupCompliancePolicyArgs struct {
// Last name of the user who authorized to update the Backup Compliance Policy settings.
AuthorizedUserLastName string `pulumi:"authorizedUserLastName"`
// Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- CopyProtectionEnabled bool `pulumi:"copyProtectionEnabled"`
+ CopyProtectionEnabled *bool `pulumi:"copyProtectionEnabled"`
// Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
- EncryptionAtRestEnabled bool `pulumi:"encryptionAtRestEnabled"`
+ EncryptionAtRestEnabled *bool `pulumi:"encryptionAtRestEnabled"`
OnDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItem `pulumi:"onDemandPolicyItem"`
// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- PitEnabled bool `pulumi:"pitEnabled"`
+ PitEnabled *bool `pulumi:"pitEnabled"`
PolicyItemDaily *BackupCompliancePolicyPolicyItemDaily `pulumi:"policyItemDaily"`
PolicyItemHourly *BackupCompliancePolicyPolicyItemHourly `pulumi:"policyItemHourly"`
PolicyItemMonthlies []BackupCompliancePolicyPolicyItemMonthly `pulumi:"policyItemMonthlies"`
@@ -207,12 +198,12 @@ type BackupCompliancePolicyArgs struct {
// Last name of the user who authorized to update the Backup Compliance Policy settings.
AuthorizedUserLastName pulumi.StringInput
// Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
- CopyProtectionEnabled pulumi.BoolInput
+ CopyProtectionEnabled pulumi.BoolPtrInput
// Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
- EncryptionAtRestEnabled pulumi.BoolInput
+ EncryptionAtRestEnabled pulumi.BoolPtrInput
OnDemandPolicyItem BackupCompliancePolicyOnDemandPolicyItemInput
// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
- PitEnabled pulumi.BoolInput
+ PitEnabled pulumi.BoolPtrInput
PolicyItemDaily BackupCompliancePolicyPolicyItemDailyPtrInput
PolicyItemHourly BackupCompliancePolicyPolicyItemHourlyPtrInput
PolicyItemMonthlies BackupCompliancePolicyPolicyItemMonthlyArrayInput
@@ -326,13 +317,13 @@ func (o BackupCompliancePolicyOutput) AuthorizedUserLastName() pulumi.StringOutp
}
// Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
-func (o BackupCompliancePolicyOutput) CopyProtectionEnabled() pulumi.BoolOutput {
- return o.ApplyT(func(v *BackupCompliancePolicy) pulumi.BoolOutput { return v.CopyProtectionEnabled }).(pulumi.BoolOutput)
+func (o BackupCompliancePolicyOutput) CopyProtectionEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *BackupCompliancePolicy) pulumi.BoolPtrOutput { return v.CopyProtectionEnabled }).(pulumi.BoolPtrOutput)
}
// Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
-func (o BackupCompliancePolicyOutput) EncryptionAtRestEnabled() pulumi.BoolOutput {
- return o.ApplyT(func(v *BackupCompliancePolicy) pulumi.BoolOutput { return v.EncryptionAtRestEnabled }).(pulumi.BoolOutput)
+func (o BackupCompliancePolicyOutput) EncryptionAtRestEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *BackupCompliancePolicy) pulumi.BoolPtrOutput { return v.EncryptionAtRestEnabled }).(pulumi.BoolPtrOutput)
}
func (o BackupCompliancePolicyOutput) OnDemandPolicyItem() BackupCompliancePolicyOnDemandPolicyItemOutput {
@@ -342,8 +333,8 @@ func (o BackupCompliancePolicyOutput) OnDemandPolicyItem() BackupCompliancePolic
}
// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
-func (o BackupCompliancePolicyOutput) PitEnabled() pulumi.BoolOutput {
- return o.ApplyT(func(v *BackupCompliancePolicy) pulumi.BoolOutput { return v.PitEnabled }).(pulumi.BoolOutput)
+func (o BackupCompliancePolicyOutput) PitEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *BackupCompliancePolicy) pulumi.BoolPtrOutput { return v.PitEnabled }).(pulumi.BoolPtrOutput)
}
func (o BackupCompliancePolicyOutput) PolicyItemDaily() BackupCompliancePolicyPolicyItemDailyPtrOutput {
diff --git a/sdk/go/mongodbatlas/cloudProviderAccess.go b/sdk/go/mongodbatlas/cloudProviderAccess.go
deleted file mode 100644
index c1a35014..00000000
--- a/sdk/go/mongodbatlas/cloudProviderAccess.go
+++ /dev/null
@@ -1,530 +0,0 @@
-// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
-// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
-
-package mongodbatlas
-
-import (
- "context"
- "reflect"
-
- "errors"
- "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas/internal"
- "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-)
-
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := mongodbatlas.NewCloudProviderAccess(ctx, "testRole", &mongodbatlas.CloudProviderAccessArgs{
-// ProjectId: pulumi.String("64259ee860c43338194b0f8e"),
-// ProviderName: pulumi.String("AWS"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ### With AWS
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, "testRole", &mongodbatlas.CloudProviderAccessSetupArgs{
-// ProjectId: pulumi.String("64259ee860c43338194b0f8e"),
-// ProviderName: pulumi.String("AWS"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ### With Azure
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, "testRole", &mongodbatlas.CloudProviderAccessSetupArgs{
-// AzureConfigs: mongodbatlas.CloudProviderAccessSetupAzureConfigArray{
-// &mongodbatlas.CloudProviderAccessSetupAzureConfigArgs{
-// AtlasAzureAppId: pulumi.String("9f2deb0d-be22-4524-a403-df531868bac0"),
-// ServicePrincipalId: pulumi.String("22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1"),
-// TenantId: pulumi.String("91402384-d71e-22f5-22dd-759e272cdc1c"),
-// },
-// },
-// ProjectId: pulumi.String("64259ee860c43338194b0f8e"),
-// ProviderName: pulumi.String("AZURE"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ### With AWS
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// setupOnly, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, "setupOnly", &mongodbatlas.CloudProviderAccessSetupArgs{
-// ProjectId: pulumi.String("64259ee860c43338194b0f8e"),
-// ProviderName: pulumi.String("AWS"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = mongodbatlas.NewCloudProviderAccessAuthorization(ctx, "authRole", &mongodbatlas.CloudProviderAccessAuthorizationArgs{
-// ProjectId: setupOnly.ProjectId,
-// RoleId: setupOnly.RoleId,
-// Aws: &mongodbatlas.CloudProviderAccessAuthorizationAwsArgs{
-// IamAssumedRoleArn: pulumi.String("arn:aws:iam::772401394250:role/test-user-role"),
-// },
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// setupOnly, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, "setupOnly", &mongodbatlas.CloudProviderAccessSetupArgs{
-// ProjectId: pulumi.String("64259ee860c43338194b0f8e"),
-// ProviderName: pulumi.String("AZURE"),
-// AzureConfigs: mongodbatlas.CloudProviderAccessSetupAzureConfigArray{
-// &mongodbatlas.CloudProviderAccessSetupAzureConfigArgs{
-// AtlasAzureAppId: pulumi.String("9f2deb0d-be22-4524-a403-df531868bac0"),
-// ServicePrincipalId: pulumi.String("22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1"),
-// TenantId: pulumi.String("91402384-d71e-22f5-22dd-759e272cdc1c"),
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// _, err = mongodbatlas.NewCloudProviderAccessAuthorization(ctx, "authRole", &mongodbatlas.CloudProviderAccessAuthorizationArgs{
-// ProjectId: setupOnly.ProjectId,
-// RoleId: setupOnly.RoleId,
-// Azure: &mongodbatlas.CloudProviderAccessAuthorizationAzureArgs{
-// AtlasAzureAppId: pulumi.String("9f2deb0d-be22-4524-a403-df531868bac0"),
-// ServicePrincipalId: pulumi.String("22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1"),
-// TenantId: pulumi.String("91402384-d71e-22f5-22dd-759e272cdc1c"),
-// },
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ## Authorize role
-//
-// Once the resource is created add the field `iamAssumedRoleArn` see [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access) , and execute a new `pulumi up` this will create a PATCH request.
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := mongodbatlas.NewCloudProviderAccess(ctx, "testRole", &mongodbatlas.CloudProviderAccessArgs{
-// IamAssumedRoleArn: pulumi.String("arn:aws:iam::772401394250:role/test-user-role"),
-// ProjectId: pulumi.String(""),
-// ProviderName: pulumi.String("AWS"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
-// ## Import
-//
-// The Cloud Provider Access resource can be imported using project ID and the provider name and mongodbatlas role id, in the format `project_id`-`provider_name`-`role_id`, e.g.
-//
-// ```sh
-//
-// $ pulumi import mongodbatlas:index/cloudProviderAccess:CloudProviderAccess my_role 1112222b3bf99403840e8934-AWS-5fc17d476f7a33224f5b224e
-//
-// ```
-//
-// See [MongoDB Atlas API](https://docs.atlas.mongodb.com/reference/api/cloud-provider-access-create-one-role/) Documentation for more information.
-type CloudProviderAccess struct {
- pulumi.CustomResourceState
-
- // Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- AtlasAssumedRoleExternalId pulumi.StringOutput `pulumi:"atlasAssumedRoleExternalId"`
- // ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- AtlasAwsAccountArn pulumi.StringOutput `pulumi:"atlasAwsAccountArn"`
- // Date on which this role was authorized.
- AuthorizedDate pulumi.StringOutput `pulumi:"authorizedDate"`
- // Date on which this role was created.
- CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
- // Atlas features this AWS IAM role is linked to.
- FeatureUsages CloudProviderAccessFeatureUsageArrayOutput `pulumi:"featureUsages"`
- // ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- IamAssumedRoleArn pulumi.StringOutput `pulumi:"iamAssumedRoleArn"`
- // The unique ID for the project
- ProjectId pulumi.StringOutput `pulumi:"projectId"`
- // The cloud provider for which to create a new role. Currently only AWS is supported.
- ProviderName pulumi.StringOutput `pulumi:"providerName"`
- // Unique ID of this role returned by mongodb atlas api
- //
- // Conditional
- RoleId pulumi.StringOutput `pulumi:"roleId"`
-}
-
-// NewCloudProviderAccess registers a new resource with the given unique name, arguments, and options.
-func NewCloudProviderAccess(ctx *pulumi.Context,
- name string, args *CloudProviderAccessArgs, opts ...pulumi.ResourceOption) (*CloudProviderAccess, error) {
- if args == nil {
- return nil, errors.New("missing one or more required arguments")
- }
-
- if args.ProjectId == nil {
- return nil, errors.New("invalid value for required argument 'ProjectId'")
- }
- if args.ProviderName == nil {
- return nil, errors.New("invalid value for required argument 'ProviderName'")
- }
- opts = internal.PkgResourceDefaultOpts(opts)
- var resource CloudProviderAccess
- err := ctx.RegisterResource("mongodbatlas:index/cloudProviderAccess:CloudProviderAccess", name, args, &resource, opts...)
- if err != nil {
- return nil, err
- }
- return &resource, nil
-}
-
-// GetCloudProviderAccess gets an existing CloudProviderAccess resource's state with the given name, ID, and optional
-// state properties that are used to uniquely qualify the lookup (nil if not required).
-func GetCloudProviderAccess(ctx *pulumi.Context,
- name string, id pulumi.IDInput, state *CloudProviderAccessState, opts ...pulumi.ResourceOption) (*CloudProviderAccess, error) {
- var resource CloudProviderAccess
- err := ctx.ReadResource("mongodbatlas:index/cloudProviderAccess:CloudProviderAccess", name, id, state, &resource, opts...)
- if err != nil {
- return nil, err
- }
- return &resource, nil
-}
-
-// Input properties used for looking up and filtering CloudProviderAccess resources.
-type cloudProviderAccessState struct {
- // Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- AtlasAssumedRoleExternalId *string `pulumi:"atlasAssumedRoleExternalId"`
- // ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- AtlasAwsAccountArn *string `pulumi:"atlasAwsAccountArn"`
- // Date on which this role was authorized.
- AuthorizedDate *string `pulumi:"authorizedDate"`
- // Date on which this role was created.
- CreatedDate *string `pulumi:"createdDate"`
- // Atlas features this AWS IAM role is linked to.
- FeatureUsages []CloudProviderAccessFeatureUsage `pulumi:"featureUsages"`
- // ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- IamAssumedRoleArn *string `pulumi:"iamAssumedRoleArn"`
- // The unique ID for the project
- ProjectId *string `pulumi:"projectId"`
- // The cloud provider for which to create a new role. Currently only AWS is supported.
- ProviderName *string `pulumi:"providerName"`
- // Unique ID of this role returned by mongodb atlas api
- //
- // Conditional
- RoleId *string `pulumi:"roleId"`
-}
-
-type CloudProviderAccessState struct {
- // Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- AtlasAssumedRoleExternalId pulumi.StringPtrInput
- // ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- AtlasAwsAccountArn pulumi.StringPtrInput
- // Date on which this role was authorized.
- AuthorizedDate pulumi.StringPtrInput
- // Date on which this role was created.
- CreatedDate pulumi.StringPtrInput
- // Atlas features this AWS IAM role is linked to.
- FeatureUsages CloudProviderAccessFeatureUsageArrayInput
- // ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- IamAssumedRoleArn pulumi.StringPtrInput
- // The unique ID for the project
- ProjectId pulumi.StringPtrInput
- // The cloud provider for which to create a new role. Currently only AWS is supported.
- ProviderName pulumi.StringPtrInput
- // Unique ID of this role returned by mongodb atlas api
- //
- // Conditional
- RoleId pulumi.StringPtrInput
-}
-
-func (CloudProviderAccessState) ElementType() reflect.Type {
- return reflect.TypeOf((*cloudProviderAccessState)(nil)).Elem()
-}
-
-type cloudProviderAccessArgs struct {
- // ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- IamAssumedRoleArn *string `pulumi:"iamAssumedRoleArn"`
- // The unique ID for the project
- ProjectId string `pulumi:"projectId"`
- // The cloud provider for which to create a new role. Currently only AWS is supported.
- ProviderName string `pulumi:"providerName"`
-}
-
-// The set of arguments for constructing a CloudProviderAccess resource.
-type CloudProviderAccessArgs struct {
- // ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
- IamAssumedRoleArn pulumi.StringPtrInput
- // The unique ID for the project
- ProjectId pulumi.StringInput
- // The cloud provider for which to create a new role. Currently only AWS is supported.
- ProviderName pulumi.StringInput
-}
-
-func (CloudProviderAccessArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*cloudProviderAccessArgs)(nil)).Elem()
-}
-
-type CloudProviderAccessInput interface {
- pulumi.Input
-
- ToCloudProviderAccessOutput() CloudProviderAccessOutput
- ToCloudProviderAccessOutputWithContext(ctx context.Context) CloudProviderAccessOutput
-}
-
-func (*CloudProviderAccess) ElementType() reflect.Type {
- return reflect.TypeOf((**CloudProviderAccess)(nil)).Elem()
-}
-
-func (i *CloudProviderAccess) ToCloudProviderAccessOutput() CloudProviderAccessOutput {
- return i.ToCloudProviderAccessOutputWithContext(context.Background())
-}
-
-func (i *CloudProviderAccess) ToCloudProviderAccessOutputWithContext(ctx context.Context) CloudProviderAccessOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CloudProviderAccessOutput)
-}
-
-// CloudProviderAccessArrayInput is an input type that accepts CloudProviderAccessArray and CloudProviderAccessArrayOutput values.
-// You can construct a concrete instance of `CloudProviderAccessArrayInput` via:
-//
-// CloudProviderAccessArray{ CloudProviderAccessArgs{...} }
-type CloudProviderAccessArrayInput interface {
- pulumi.Input
-
- ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput
- ToCloudProviderAccessArrayOutputWithContext(context.Context) CloudProviderAccessArrayOutput
-}
-
-type CloudProviderAccessArray []CloudProviderAccessInput
-
-func (CloudProviderAccessArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]*CloudProviderAccess)(nil)).Elem()
-}
-
-func (i CloudProviderAccessArray) ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput {
- return i.ToCloudProviderAccessArrayOutputWithContext(context.Background())
-}
-
-func (i CloudProviderAccessArray) ToCloudProviderAccessArrayOutputWithContext(ctx context.Context) CloudProviderAccessArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CloudProviderAccessArrayOutput)
-}
-
-// CloudProviderAccessMapInput is an input type that accepts CloudProviderAccessMap and CloudProviderAccessMapOutput values.
-// You can construct a concrete instance of `CloudProviderAccessMapInput` via:
-//
-// CloudProviderAccessMap{ "key": CloudProviderAccessArgs{...} }
-type CloudProviderAccessMapInput interface {
- pulumi.Input
-
- ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput
- ToCloudProviderAccessMapOutputWithContext(context.Context) CloudProviderAccessMapOutput
-}
-
-type CloudProviderAccessMap map[string]CloudProviderAccessInput
-
-func (CloudProviderAccessMap) ElementType() reflect.Type {
- return reflect.TypeOf((*map[string]*CloudProviderAccess)(nil)).Elem()
-}
-
-func (i CloudProviderAccessMap) ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput {
- return i.ToCloudProviderAccessMapOutputWithContext(context.Background())
-}
-
-func (i CloudProviderAccessMap) ToCloudProviderAccessMapOutputWithContext(ctx context.Context) CloudProviderAccessMapOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CloudProviderAccessMapOutput)
-}
-
-type CloudProviderAccessOutput struct{ *pulumi.OutputState }
-
-func (CloudProviderAccessOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CloudProviderAccess)(nil)).Elem()
-}
-
-func (o CloudProviderAccessOutput) ToCloudProviderAccessOutput() CloudProviderAccessOutput {
- return o
-}
-
-func (o CloudProviderAccessOutput) ToCloudProviderAccessOutputWithContext(ctx context.Context) CloudProviderAccessOutput {
- return o
-}
-
-// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
-func (o CloudProviderAccessOutput) AtlasAssumedRoleExternalId() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.AtlasAssumedRoleExternalId }).(pulumi.StringOutput)
-}
-
-// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
-func (o CloudProviderAccessOutput) AtlasAwsAccountArn() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.AtlasAwsAccountArn }).(pulumi.StringOutput)
-}
-
-// Date on which this role was authorized.
-func (o CloudProviderAccessOutput) AuthorizedDate() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.AuthorizedDate }).(pulumi.StringOutput)
-}
-
-// Date on which this role was created.
-func (o CloudProviderAccessOutput) CreatedDate() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.CreatedDate }).(pulumi.StringOutput)
-}
-
-// Atlas features this AWS IAM role is linked to.
-func (o CloudProviderAccessOutput) FeatureUsages() CloudProviderAccessFeatureUsageArrayOutput {
- return o.ApplyT(func(v *CloudProviderAccess) CloudProviderAccessFeatureUsageArrayOutput { return v.FeatureUsages }).(CloudProviderAccessFeatureUsageArrayOutput)
-}
-
-// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
-func (o CloudProviderAccessOutput) IamAssumedRoleArn() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.IamAssumedRoleArn }).(pulumi.StringOutput)
-}
-
-// The unique ID for the project
-func (o CloudProviderAccessOutput) ProjectId() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput)
-}
-
-// The cloud provider for which to create a new role. Currently only AWS is supported.
-func (o CloudProviderAccessOutput) ProviderName() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.ProviderName }).(pulumi.StringOutput)
-}
-
-// Unique ID of this role returned by mongodb atlas api
-//
-// Conditional
-func (o CloudProviderAccessOutput) RoleId() pulumi.StringOutput {
- return o.ApplyT(func(v *CloudProviderAccess) pulumi.StringOutput { return v.RoleId }).(pulumi.StringOutput)
-}
-
-type CloudProviderAccessArrayOutput struct{ *pulumi.OutputState }
-
-func (CloudProviderAccessArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]*CloudProviderAccess)(nil)).Elem()
-}
-
-func (o CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput {
- return o
-}
-
-func (o CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutputWithContext(ctx context.Context) CloudProviderAccessArrayOutput {
- return o
-}
-
-func (o CloudProviderAccessArrayOutput) Index(i pulumi.IntInput) CloudProviderAccessOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CloudProviderAccess {
- return vs[0].([]*CloudProviderAccess)[vs[1].(int)]
- }).(CloudProviderAccessOutput)
-}
-
-type CloudProviderAccessMapOutput struct{ *pulumi.OutputState }
-
-func (CloudProviderAccessMapOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*map[string]*CloudProviderAccess)(nil)).Elem()
-}
-
-func (o CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput {
- return o
-}
-
-func (o CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutputWithContext(ctx context.Context) CloudProviderAccessMapOutput {
- return o
-}
-
-func (o CloudProviderAccessMapOutput) MapIndex(k pulumi.StringInput) CloudProviderAccessOutput {
- return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CloudProviderAccess {
- return vs[0].(map[string]*CloudProviderAccess)[vs[1].(string)]
- }).(CloudProviderAccessOutput)
-}
-
-func init() {
- pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessInput)(nil)).Elem(), &CloudProviderAccess{})
- pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessArrayInput)(nil)).Elem(), CloudProviderAccessArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessMapInput)(nil)).Elem(), CloudProviderAccessMap{})
- pulumi.RegisterOutputType(CloudProviderAccessOutput{})
- pulumi.RegisterOutputType(CloudProviderAccessArrayOutput{})
- pulumi.RegisterOutputType(CloudProviderAccessMapOutput{})
-}
diff --git a/sdk/go/mongodbatlas/federatedDatabaseInstance.go b/sdk/go/mongodbatlas/federatedDatabaseInstance.go
index 5b905f5d..d489e384 100644
--- a/sdk/go/mongodbatlas/federatedDatabaseInstance.go
+++ b/sdk/go/mongodbatlas/federatedDatabaseInstance.go
@@ -164,8 +164,8 @@ import (
type FederatedDatabaseInstance struct {
pulumi.CustomResourceState
- CloudProviderConfig FederatedDatabaseInstanceCloudProviderConfigPtrOutput `pulumi:"cloudProviderConfig"`
- DataProcessRegion FederatedDatabaseInstanceDataProcessRegionPtrOutput `pulumi:"dataProcessRegion"`
+ CloudProviderConfig FederatedDatabaseInstanceCloudProviderConfigOutput `pulumi:"cloudProviderConfig"`
+ DataProcessRegion FederatedDatabaseInstanceDataProcessRegionOutput `pulumi:"dataProcessRegion"`
// The list of hostnames assigned to the Federated Database Instance. Each string in the array is a hostname assigned to the Federated Database Instance.
Hostnames pulumi.StringArrayOutput `pulumi:"hostnames"`
// Name of the Atlas Federated Database Instance.
@@ -574,16 +574,16 @@ func (o FederatedDatabaseInstanceOutput) ToFederatedDatabaseInstanceOutputWithCo
return o
}
-func (o FederatedDatabaseInstanceOutput) CloudProviderConfig() FederatedDatabaseInstanceCloudProviderConfigPtrOutput {
- return o.ApplyT(func(v *FederatedDatabaseInstance) FederatedDatabaseInstanceCloudProviderConfigPtrOutput {
+func (o FederatedDatabaseInstanceOutput) CloudProviderConfig() FederatedDatabaseInstanceCloudProviderConfigOutput {
+ return o.ApplyT(func(v *FederatedDatabaseInstance) FederatedDatabaseInstanceCloudProviderConfigOutput {
return v.CloudProviderConfig
- }).(FederatedDatabaseInstanceCloudProviderConfigPtrOutput)
+ }).(FederatedDatabaseInstanceCloudProviderConfigOutput)
}
-func (o FederatedDatabaseInstanceOutput) DataProcessRegion() FederatedDatabaseInstanceDataProcessRegionPtrOutput {
- return o.ApplyT(func(v *FederatedDatabaseInstance) FederatedDatabaseInstanceDataProcessRegionPtrOutput {
+func (o FederatedDatabaseInstanceOutput) DataProcessRegion() FederatedDatabaseInstanceDataProcessRegionOutput {
+ return o.ApplyT(func(v *FederatedDatabaseInstance) FederatedDatabaseInstanceDataProcessRegionOutput {
return v.DataProcessRegion
- }).(FederatedDatabaseInstanceDataProcessRegionPtrOutput)
+ }).(FederatedDatabaseInstanceDataProcessRegionOutput)
}
// The list of hostnames assigned to the Federated Database Instance. Each string in the array is a hostname assigned to the Federated Database Instance.
diff --git a/sdk/go/mongodbatlas/federatedSettingsIdentityProvider.go b/sdk/go/mongodbatlas/federatedSettingsIdentityProvider.go
index 068ad8b0..e510c713 100644
--- a/sdk/go/mongodbatlas/federatedSettingsIdentityProvider.go
+++ b/sdk/go/mongodbatlas/federatedSettingsIdentityProvider.go
@@ -13,6 +13,8 @@ import (
)
// `FederatedSettingsIdentityProvider` provides an Atlas federated settings identity provider resource provides a subset of settings to be maintained post import of the existing resource.
+//
+// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
// ## Example Usage
//
// > **IMPORTANT** You **MUST** import this resource before you can manage it with this provider.
@@ -60,32 +62,48 @@ import (
//
// ```
//
-// For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
+// __WARNING:__ Starting from terraform provider version 1.16.0, to import the resource a 24-hexadecimal digit string that identifies the IdP (`idp_id`) will have to be used instead of `okta_idp_id`. See more [here](../guides/1.15.0-upgrade-guide.html.markdown)
+//
+// For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
type FederatedSettingsIdentityProvider struct {
pulumi.CustomResourceState
// List that contains the domains associated with the identity provider.
AssociatedDomains pulumi.StringArrayOutput `pulumi:"associatedDomains"`
+ // Identifier of the intended recipient of the token used in OIDC IdP.
+ AudienceClaims pulumi.StringArrayOutput `pulumi:"audienceClaims"`
+ // Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId pulumi.StringOutput `pulumi:"federationSettingsId"`
- // Unique string that identifies the issuer of the SAML
+ // Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ GroupsClaim pulumi.StringPtrOutput `pulumi:"groupsClaim"`
+ // Unique 24-hexadecimal digit string that identifies the IdP.
+ IdpId pulumi.StringOutput `pulumi:"idpId"`
+ // Unique string that identifies the issuer of the IdP.
IssuerUri pulumi.StringOutput `pulumi:"issuerUri"`
// Human-readable label that identifies the identity provider.
Name pulumi.StringOutput `pulumi:"name"`
// Unique 20-hexadecimal digit string that identifies the IdP.
OktaIdpId pulumi.StringOutput `pulumi:"oktaIdpId"`
- // SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ // The protocol of the identity provider. Either `SAML` or `OIDC`.
+ Protocol pulumi.StringOutput `pulumi:"protocol"`
+ // SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
- RequestBinding pulumi.StringOutput `pulumi:"requestBinding"`
- // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
- ResponseSignatureAlgorithm pulumi.StringOutput `pulumi:"responseSignatureAlgorithm"`
+ RequestBinding pulumi.StringPtrOutput `pulumi:"requestBinding"`
+ // Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ RequestedScopes pulumi.StringArrayOutput `pulumi:"requestedScopes"`
+ // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include ` SHA-1 `and `SHA-256`.
+ ResponseSignatureAlgorithm pulumi.StringPtrOutput `pulumi:"responseSignatureAlgorithm"`
// Flag that indicates whether the identity provider has SSO debug enabled.
- SsoDebugEnabled pulumi.BoolOutput `pulumi:"ssoDebugEnabled"`
+ SsoDebugEnabled pulumi.BoolPtrOutput `pulumi:"ssoDebugEnabled"`
// Unique string that identifies the intended audience of the SAML assertion.
- SsoUrl pulumi.StringOutput `pulumi:"ssoUrl"`
+ SsoUrl pulumi.StringPtrOutput `pulumi:"ssoUrl"`
// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
- Status pulumi.StringOutput `pulumi:"status"`
+ Status pulumi.StringPtrOutput `pulumi:"status"`
+ // Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ UserClaim pulumi.StringPtrOutput `pulumi:"userClaim"`
}
// NewFederatedSettingsIdentityProvider registers a new resource with the given unique name, arguments, and options.
@@ -101,21 +119,6 @@ func NewFederatedSettingsIdentityProvider(ctx *pulumi.Context,
if args.IssuerUri == nil {
return nil, errors.New("invalid value for required argument 'IssuerUri'")
}
- if args.RequestBinding == nil {
- return nil, errors.New("invalid value for required argument 'RequestBinding'")
- }
- if args.ResponseSignatureAlgorithm == nil {
- return nil, errors.New("invalid value for required argument 'ResponseSignatureAlgorithm'")
- }
- if args.SsoDebugEnabled == nil {
- return nil, errors.New("invalid value for required argument 'SsoDebugEnabled'")
- }
- if args.SsoUrl == nil {
- return nil, errors.New("invalid value for required argument 'SsoUrl'")
- }
- if args.Status == nil {
- return nil, errors.New("invalid value for required argument 'Status'")
- }
opts = internal.PkgResourceDefaultOpts(opts)
var resource FederatedSettingsIdentityProvider
err := ctx.RegisterResource("mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider", name, args, &resource, opts...)
@@ -141,19 +144,31 @@ func GetFederatedSettingsIdentityProvider(ctx *pulumi.Context,
type federatedSettingsIdentityProviderState struct {
// List that contains the domains associated with the identity provider.
AssociatedDomains []string `pulumi:"associatedDomains"`
+ // Identifier of the intended recipient of the token used in OIDC IdP.
+ AudienceClaims []string `pulumi:"audienceClaims"`
+ // Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ClientId *string `pulumi:"clientId"`
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId *string `pulumi:"federationSettingsId"`
- // Unique string that identifies the issuer of the SAML
+ // Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ GroupsClaim *string `pulumi:"groupsClaim"`
+ // Unique 24-hexadecimal digit string that identifies the IdP.
+ IdpId *string `pulumi:"idpId"`
+ // Unique string that identifies the issuer of the IdP.
IssuerUri *string `pulumi:"issuerUri"`
// Human-readable label that identifies the identity provider.
Name *string `pulumi:"name"`
// Unique 20-hexadecimal digit string that identifies the IdP.
OktaIdpId *string `pulumi:"oktaIdpId"`
- // SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ // The protocol of the identity provider. Either `SAML` or `OIDC`.
+ Protocol *string `pulumi:"protocol"`
+ // SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
RequestBinding *string `pulumi:"requestBinding"`
- // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
+ // Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ RequestedScopes []string `pulumi:"requestedScopes"`
+ // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include ` SHA-1 `and `SHA-256`.
ResponseSignatureAlgorithm *string `pulumi:"responseSignatureAlgorithm"`
// Flag that indicates whether the identity provider has SSO debug enabled.
SsoDebugEnabled *bool `pulumi:"ssoDebugEnabled"`
@@ -161,24 +176,38 @@ type federatedSettingsIdentityProviderState struct {
SsoUrl *string `pulumi:"ssoUrl"`
// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
Status *string `pulumi:"status"`
+ // Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ UserClaim *string `pulumi:"userClaim"`
}
type FederatedSettingsIdentityProviderState struct {
// List that contains the domains associated with the identity provider.
AssociatedDomains pulumi.StringArrayInput
+ // Identifier of the intended recipient of the token used in OIDC IdP.
+ AudienceClaims pulumi.StringArrayInput
+ // Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ClientId pulumi.StringPtrInput
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId pulumi.StringPtrInput
- // Unique string that identifies the issuer of the SAML
+ // Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ GroupsClaim pulumi.StringPtrInput
+ // Unique 24-hexadecimal digit string that identifies the IdP.
+ IdpId pulumi.StringPtrInput
+ // Unique string that identifies the issuer of the IdP.
IssuerUri pulumi.StringPtrInput
// Human-readable label that identifies the identity provider.
Name pulumi.StringPtrInput
// Unique 20-hexadecimal digit string that identifies the IdP.
OktaIdpId pulumi.StringPtrInput
- // SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ // The protocol of the identity provider. Either `SAML` or `OIDC`.
+ Protocol pulumi.StringPtrInput
+ // SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
RequestBinding pulumi.StringPtrInput
- // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
+ // Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ RequestedScopes pulumi.StringArrayInput
+ // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include ` SHA-1 `and `SHA-256`.
ResponseSignatureAlgorithm pulumi.StringPtrInput
// Flag that indicates whether the identity provider has SSO debug enabled.
SsoDebugEnabled pulumi.BoolPtrInput
@@ -186,6 +215,8 @@ type FederatedSettingsIdentityProviderState struct {
SsoUrl pulumi.StringPtrInput
// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
Status pulumi.StringPtrInput
+ // Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ UserClaim pulumi.StringPtrInput
}
func (FederatedSettingsIdentityProviderState) ElementType() reflect.Type {
@@ -195,48 +226,72 @@ func (FederatedSettingsIdentityProviderState) ElementType() reflect.Type {
type federatedSettingsIdentityProviderArgs struct {
// List that contains the domains associated with the identity provider.
AssociatedDomains []string `pulumi:"associatedDomains"`
+ // Identifier of the intended recipient of the token used in OIDC IdP.
+ AudienceClaims []string `pulumi:"audienceClaims"`
+ // Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ClientId *string `pulumi:"clientId"`
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId string `pulumi:"federationSettingsId"`
- // Unique string that identifies the issuer of the SAML
+ // Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ GroupsClaim *string `pulumi:"groupsClaim"`
+ // Unique string that identifies the issuer of the IdP.
IssuerUri string `pulumi:"issuerUri"`
// Human-readable label that identifies the identity provider.
Name *string `pulumi:"name"`
- // SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ // The protocol of the identity provider. Either `SAML` or `OIDC`.
+ Protocol *string `pulumi:"protocol"`
+ // SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
- RequestBinding string `pulumi:"requestBinding"`
- // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
- ResponseSignatureAlgorithm string `pulumi:"responseSignatureAlgorithm"`
+ RequestBinding *string `pulumi:"requestBinding"`
+ // Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ RequestedScopes []string `pulumi:"requestedScopes"`
+ // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include ` SHA-1 `and `SHA-256`.
+ ResponseSignatureAlgorithm *string `pulumi:"responseSignatureAlgorithm"`
// Flag that indicates whether the identity provider has SSO debug enabled.
- SsoDebugEnabled bool `pulumi:"ssoDebugEnabled"`
+ SsoDebugEnabled *bool `pulumi:"ssoDebugEnabled"`
// Unique string that identifies the intended audience of the SAML assertion.
- SsoUrl string `pulumi:"ssoUrl"`
+ SsoUrl *string `pulumi:"ssoUrl"`
// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
- Status string `pulumi:"status"`
+ Status *string `pulumi:"status"`
+ // Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ UserClaim *string `pulumi:"userClaim"`
}
// The set of arguments for constructing a FederatedSettingsIdentityProvider resource.
type FederatedSettingsIdentityProviderArgs struct {
// List that contains the domains associated with the identity provider.
AssociatedDomains pulumi.StringArrayInput
+ // Identifier of the intended recipient of the token used in OIDC IdP.
+ AudienceClaims pulumi.StringArrayInput
+ // Client identifier that is assigned to an application by the OIDC Identity Provider.
+ ClientId pulumi.StringPtrInput
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId pulumi.StringInput
- // Unique string that identifies the issuer of the SAML
+ // Identifier of the claim which contains OIDC IdP Group IDs in the token.
+ GroupsClaim pulumi.StringPtrInput
+ // Unique string that identifies the issuer of the IdP.
IssuerUri pulumi.StringInput
// Human-readable label that identifies the identity provider.
Name pulumi.StringPtrInput
- // SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+ // The protocol of the identity provider. Either `SAML` or `OIDC`.
+ Protocol pulumi.StringPtrInput
+ // SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
- RequestBinding pulumi.StringInput
- // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
- ResponseSignatureAlgorithm pulumi.StringInput
+ RequestBinding pulumi.StringPtrInput
+ // Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+ RequestedScopes pulumi.StringArrayInput
+ // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include ` SHA-1 `and `SHA-256`.
+ ResponseSignatureAlgorithm pulumi.StringPtrInput
// Flag that indicates whether the identity provider has SSO debug enabled.
- SsoDebugEnabled pulumi.BoolInput
+ SsoDebugEnabled pulumi.BoolPtrInput
// Unique string that identifies the intended audience of the SAML assertion.
- SsoUrl pulumi.StringInput
+ SsoUrl pulumi.StringPtrInput
// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
- Status pulumi.StringInput
+ Status pulumi.StringPtrInput
+ // Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+ UserClaim pulumi.StringPtrInput
}
func (FederatedSettingsIdentityProviderArgs) ElementType() reflect.Type {
@@ -331,12 +386,32 @@ func (o FederatedSettingsIdentityProviderOutput) AssociatedDomains() pulumi.Stri
return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringArrayOutput { return v.AssociatedDomains }).(pulumi.StringArrayOutput)
}
+// Identifier of the intended recipient of the token used in OIDC IdP.
+func (o FederatedSettingsIdentityProviderOutput) AudienceClaims() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringArrayOutput { return v.AudienceClaims }).(pulumi.StringArrayOutput)
+}
+
+// Client identifier that is assigned to an application by the OIDC Identity Provider.
+func (o FederatedSettingsIdentityProviderOutput) ClientId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringPtrOutput { return v.ClientId }).(pulumi.StringPtrOutput)
+}
+
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
func (o FederatedSettingsIdentityProviderOutput) FederationSettingsId() pulumi.StringOutput {
return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.FederationSettingsId }).(pulumi.StringOutput)
}
-// Unique string that identifies the issuer of the SAML
+// Identifier of the claim which contains OIDC IdP Group IDs in the token.
+func (o FederatedSettingsIdentityProviderOutput) GroupsClaim() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringPtrOutput { return v.GroupsClaim }).(pulumi.StringPtrOutput)
+}
+
+// Unique 24-hexadecimal digit string that identifies the IdP.
+func (o FederatedSettingsIdentityProviderOutput) IdpId() pulumi.StringOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.IdpId }).(pulumi.StringOutput)
+}
+
+// Unique string that identifies the issuer of the IdP.
func (o FederatedSettingsIdentityProviderOutput) IssuerUri() pulumi.StringOutput {
return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.IssuerUri }).(pulumi.StringOutput)
}
@@ -351,31 +426,46 @@ func (o FederatedSettingsIdentityProviderOutput) OktaIdpId() pulumi.StringOutput
return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.OktaIdpId }).(pulumi.StringOutput)
}
-// SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
+// The protocol of the identity provider. Either `SAML` or `OIDC`.
+func (o FederatedSettingsIdentityProviderOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.Protocol }).(pulumi.StringOutput)
+}
+
+// SAML Authentication Request Protocol HTTP method binding (`POST` or `REDIRECT`) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
-func (o FederatedSettingsIdentityProviderOutput) RequestBinding() pulumi.StringOutput {
- return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.RequestBinding }).(pulumi.StringOutput)
+func (o FederatedSettingsIdentityProviderOutput) RequestBinding() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringPtrOutput { return v.RequestBinding }).(pulumi.StringPtrOutput)
}
-// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
-func (o FederatedSettingsIdentityProviderOutput) ResponseSignatureAlgorithm() pulumi.StringOutput {
- return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.ResponseSignatureAlgorithm }).(pulumi.StringOutput)
+// Scopes that MongoDB applications will request from the authorization endpoint used for OIDC IdPs.
+func (o FederatedSettingsIdentityProviderOutput) RequestedScopes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringArrayOutput { return v.RequestedScopes }).(pulumi.StringArrayOutput)
+}
+
+// Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include ` SHA-1 `and `SHA-256`.
+func (o FederatedSettingsIdentityProviderOutput) ResponseSignatureAlgorithm() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringPtrOutput { return v.ResponseSignatureAlgorithm }).(pulumi.StringPtrOutput)
}
// Flag that indicates whether the identity provider has SSO debug enabled.
-func (o FederatedSettingsIdentityProviderOutput) SsoDebugEnabled() pulumi.BoolOutput {
- return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.BoolOutput { return v.SsoDebugEnabled }).(pulumi.BoolOutput)
+func (o FederatedSettingsIdentityProviderOutput) SsoDebugEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.BoolPtrOutput { return v.SsoDebugEnabled }).(pulumi.BoolPtrOutput)
}
// Unique string that identifies the intended audience of the SAML assertion.
-func (o FederatedSettingsIdentityProviderOutput) SsoUrl() pulumi.StringOutput {
- return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.SsoUrl }).(pulumi.StringOutput)
+func (o FederatedSettingsIdentityProviderOutput) SsoUrl() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringPtrOutput { return v.SsoUrl }).(pulumi.StringPtrOutput)
}
// String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
-func (o FederatedSettingsIdentityProviderOutput) Status() pulumi.StringOutput {
- return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput)
+func (o FederatedSettingsIdentityProviderOutput) Status() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringPtrOutput { return v.Status }).(pulumi.StringPtrOutput)
+}
+
+// Identifier of the claim which contains the user ID in the token used for OIDC IdPs.
+func (o FederatedSettingsIdentityProviderOutput) UserClaim() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FederatedSettingsIdentityProvider) pulumi.StringPtrOutput { return v.UserClaim }).(pulumi.StringPtrOutput)
}
type FederatedSettingsIdentityProviderArrayOutput struct{ *pulumi.OutputState }
diff --git a/sdk/go/mongodbatlas/getApiKey.go b/sdk/go/mongodbatlas/getApiKey.go
index 56549f06..66f0abac 100644
--- a/sdk/go/mongodbatlas/getApiKey.go
+++ b/sdk/go/mongodbatlas/getApiKey.go
@@ -24,8 +24,9 @@ func LookupApiKey(ctx *pulumi.Context, args *LookupApiKeyArgs, opts ...pulumi.In
// A collection of arguments for invoking getApiKey.
type LookupApiKeyArgs struct {
+ // Unique identifier for the organization API key.
ApiKeyId string `pulumi:"apiKeyId"`
- // The unique ID for the project.
+ // Unique identifier for the organization.
OrgId string `pulumi:"orgId"`
}
@@ -35,8 +36,7 @@ type LookupApiKeyResult struct {
// Description of this Organization API key.
Description string `pulumi:"description"`
// The provider-assigned unique ID for this managed resource.
- Id string `pulumi:"id"`
- // Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
+ Id string `pulumi:"id"`
OrgId string `pulumi:"orgId"`
// Public key for this Organization API key.
PublicKey string `pulumi:"publicKey"`
@@ -60,8 +60,9 @@ func LookupApiKeyOutput(ctx *pulumi.Context, args LookupApiKeyOutputArgs, opts .
// A collection of arguments for invoking getApiKey.
type LookupApiKeyOutputArgs struct {
+ // Unique identifier for the organization API key.
ApiKeyId pulumi.StringInput `pulumi:"apiKeyId"`
- // The unique ID for the project.
+ // Unique identifier for the organization.
OrgId pulumi.StringInput `pulumi:"orgId"`
}
@@ -98,7 +99,6 @@ func (o LookupApiKeyResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupApiKeyResult) string { return v.Id }).(pulumi.StringOutput)
}
-// Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
func (o LookupApiKeyResultOutput) OrgId() pulumi.StringOutput {
return o.ApplyT(func(v LookupApiKeyResult) string { return v.OrgId }).(pulumi.StringOutput)
}
diff --git a/sdk/go/mongodbatlas/getApiKeys.go b/sdk/go/mongodbatlas/getApiKeys.go
index 5aca269d..6f872b54 100644
--- a/sdk/go/mongodbatlas/getApiKeys.go
+++ b/sdk/go/mongodbatlas/getApiKeys.go
@@ -25,7 +25,7 @@ func LookupApiKeys(ctx *pulumi.Context, args *LookupApiKeysArgs, opts ...pulumi.
type LookupApiKeysArgs struct {
// Number of items to return per page, up to a maximum of 500. Defaults to `100`.
ItemsPerPage *int `pulumi:"itemsPerPage"`
- // Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
+ // Unique identifier for the organization whose API keys you want to retrieve.
OrgId string `pulumi:"orgId"`
// The page to return. Defaults to `1`.
PageNum *int `pulumi:"pageNum"`
@@ -58,7 +58,7 @@ func LookupApiKeysOutput(ctx *pulumi.Context, args LookupApiKeysOutputArgs, opts
type LookupApiKeysOutputArgs struct {
// Number of items to return per page, up to a maximum of 500. Defaults to `100`.
ItemsPerPage pulumi.IntPtrInput `pulumi:"itemsPerPage"`
- // Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
+ // Unique identifier for the organization whose API keys you want to retrieve.
OrgId pulumi.StringInput `pulumi:"orgId"`
// The page to return. Defaults to `1`.
PageNum pulumi.IntPtrInput `pulumi:"pageNum"`
diff --git a/sdk/go/mongodbatlas/getBackupCompliancePolicy.go b/sdk/go/mongodbatlas/getBackupCompliancePolicy.go
index 711b2526..fbbe586f 100644
--- a/sdk/go/mongodbatlas/getBackupCompliancePolicy.go
+++ b/sdk/go/mongodbatlas/getBackupCompliancePolicy.go
@@ -23,11 +23,6 @@ func LookupBackupCompliancePolicy(ctx *pulumi.Context, args *LookupBackupComplia
// A collection of arguments for invoking getBackupCompliancePolicy.
type LookupBackupCompliancePolicyArgs struct {
- OnDemandPolicyItem *GetBackupCompliancePolicyOnDemandPolicyItem `pulumi:"onDemandPolicyItem"`
- PolicyItemDaily *GetBackupCompliancePolicyPolicyItemDaily `pulumi:"policyItemDaily"`
- PolicyItemHourly *GetBackupCompliancePolicyPolicyItemHourly `pulumi:"policyItemHourly"`
- PolicyItemMonthlies []GetBackupCompliancePolicyPolicyItemMonthly `pulumi:"policyItemMonthlies"`
- PolicyItemWeeklies []GetBackupCompliancePolicyPolicyItemWeekly `pulumi:"policyItemWeeklies"`
// Unique 24-hexadecimal digit string that identifies your project
ProjectId string `pulumi:"projectId"`
}
@@ -45,12 +40,12 @@ type LookupBackupCompliancePolicyResult struct {
// Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
EncryptionAtRestEnabled bool `pulumi:"encryptionAtRestEnabled"`
// The provider-assigned unique ID for this managed resource.
- Id string `pulumi:"id"`
- OnDemandPolicyItem *GetBackupCompliancePolicyOnDemandPolicyItem `pulumi:"onDemandPolicyItem"`
+ Id string `pulumi:"id"`
+ OnDemandPolicyItem GetBackupCompliancePolicyOnDemandPolicyItem `pulumi:"onDemandPolicyItem"`
// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
PitEnabled bool `pulumi:"pitEnabled"`
- PolicyItemDaily *GetBackupCompliancePolicyPolicyItemDaily `pulumi:"policyItemDaily"`
- PolicyItemHourly *GetBackupCompliancePolicyPolicyItemHourly `pulumi:"policyItemHourly"`
+ PolicyItemDaily GetBackupCompliancePolicyPolicyItemDaily `pulumi:"policyItemDaily"`
+ PolicyItemHourly GetBackupCompliancePolicyPolicyItemHourly `pulumi:"policyItemHourly"`
PolicyItemMonthlies []GetBackupCompliancePolicyPolicyItemMonthly `pulumi:"policyItemMonthlies"`
PolicyItemWeeklies []GetBackupCompliancePolicyPolicyItemWeekly `pulumi:"policyItemWeeklies"`
ProjectId string `pulumi:"projectId"`
@@ -79,11 +74,6 @@ func LookupBackupCompliancePolicyOutput(ctx *pulumi.Context, args LookupBackupCo
// A collection of arguments for invoking getBackupCompliancePolicy.
type LookupBackupCompliancePolicyOutputArgs struct {
- OnDemandPolicyItem GetBackupCompliancePolicyOnDemandPolicyItemPtrInput `pulumi:"onDemandPolicyItem"`
- PolicyItemDaily GetBackupCompliancePolicyPolicyItemDailyPtrInput `pulumi:"policyItemDaily"`
- PolicyItemHourly GetBackupCompliancePolicyPolicyItemHourlyPtrInput `pulumi:"policyItemHourly"`
- PolicyItemMonthlies GetBackupCompliancePolicyPolicyItemMonthlyArrayInput `pulumi:"policyItemMonthlies"`
- PolicyItemWeeklies GetBackupCompliancePolicyPolicyItemWeeklyArrayInput `pulumi:"policyItemWeeklies"`
// Unique 24-hexadecimal digit string that identifies your project
ProjectId pulumi.StringInput `pulumi:"projectId"`
}
@@ -137,10 +127,10 @@ func (o LookupBackupCompliancePolicyResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupBackupCompliancePolicyResult) string { return v.Id }).(pulumi.StringOutput)
}
-func (o LookupBackupCompliancePolicyResultOutput) OnDemandPolicyItem() GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return o.ApplyT(func(v LookupBackupCompliancePolicyResult) *GetBackupCompliancePolicyOnDemandPolicyItem {
+func (o LookupBackupCompliancePolicyResultOutput) OnDemandPolicyItem() GetBackupCompliancePolicyOnDemandPolicyItemOutput {
+ return o.ApplyT(func(v LookupBackupCompliancePolicyResult) GetBackupCompliancePolicyOnDemandPolicyItem {
return v.OnDemandPolicyItem
- }).(GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput)
+ }).(GetBackupCompliancePolicyOnDemandPolicyItemOutput)
}
// Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
@@ -148,16 +138,16 @@ func (o LookupBackupCompliancePolicyResultOutput) PitEnabled() pulumi.BoolOutput
return o.ApplyT(func(v LookupBackupCompliancePolicyResult) bool { return v.PitEnabled }).(pulumi.BoolOutput)
}
-func (o LookupBackupCompliancePolicyResultOutput) PolicyItemDaily() GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return o.ApplyT(func(v LookupBackupCompliancePolicyResult) *GetBackupCompliancePolicyPolicyItemDaily {
+func (o LookupBackupCompliancePolicyResultOutput) PolicyItemDaily() GetBackupCompliancePolicyPolicyItemDailyOutput {
+ return o.ApplyT(func(v LookupBackupCompliancePolicyResult) GetBackupCompliancePolicyPolicyItemDaily {
return v.PolicyItemDaily
- }).(GetBackupCompliancePolicyPolicyItemDailyPtrOutput)
+ }).(GetBackupCompliancePolicyPolicyItemDailyOutput)
}
-func (o LookupBackupCompliancePolicyResultOutput) PolicyItemHourly() GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return o.ApplyT(func(v LookupBackupCompliancePolicyResult) *GetBackupCompliancePolicyPolicyItemHourly {
+func (o LookupBackupCompliancePolicyResultOutput) PolicyItemHourly() GetBackupCompliancePolicyPolicyItemHourlyOutput {
+ return o.ApplyT(func(v LookupBackupCompliancePolicyResult) GetBackupCompliancePolicyPolicyItemHourly {
return v.PolicyItemHourly
- }).(GetBackupCompliancePolicyPolicyItemHourlyPtrOutput)
+ }).(GetBackupCompliancePolicyPolicyItemHourlyOutput)
}
func (o LookupBackupCompliancePolicyResultOutput) PolicyItemMonthlies() GetBackupCompliancePolicyPolicyItemMonthlyArrayOutput {
diff --git a/sdk/go/mongodbatlas/getCloudProviderAccess.go b/sdk/go/mongodbatlas/getCloudProviderAccess.go
deleted file mode 100644
index b7dfec98..00000000
--- a/sdk/go/mongodbatlas/getCloudProviderAccess.go
+++ /dev/null
@@ -1,128 +0,0 @@
-// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
-// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
-
-package mongodbatlas
-
-import (
- "context"
- "reflect"
-
- "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas/internal"
- "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-)
-
-// **WARNING:** The data source `CloudProviderAccess` is deprecated and will be removed in version v1.14.0, use the data source `CloudProviderAccessSetup` instead.
-//
-// `CloudProviderAccess` allows you to get the list of cloud provider access roles, currently only AWS and Azure is supported.
-//
-// > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// testRole, err := mongodbatlas.NewCloudProviderAccess(ctx, "testRole", &mongodbatlas.CloudProviderAccessArgs{
-// ProjectId: pulumi.String("64259ee860c43338194b0f8e"),
-// ProviderName: pulumi.String("AWS"),
-// })
-// if err != nil {
-// return err
-// }
-// _ = mongodbatlas.LookupCloudProviderAccessOutput(ctx, mongodbatlas.GetCloudProviderAccessOutputArgs{
-// ProjectId: testRole.ProjectId,
-// }, nil)
-// return nil
-// })
-// }
-//
-// ```
-func LookupCloudProviderAccess(ctx *pulumi.Context, args *LookupCloudProviderAccessArgs, opts ...pulumi.InvokeOption) (*LookupCloudProviderAccessResult, error) {
- opts = internal.PkgInvokeDefaultOpts(opts)
- var rv LookupCloudProviderAccessResult
- err := ctx.Invoke("mongodbatlas:index/getCloudProviderAccess:getCloudProviderAccess", args, &rv, opts...)
- if err != nil {
- return nil, err
- }
- return &rv, nil
-}
-
-// A collection of arguments for invoking getCloudProviderAccess.
-type LookupCloudProviderAccessArgs struct {
- // The unique ID for the project to get all Cloud Provider Access
- ProjectId string `pulumi:"projectId"`
-}
-
-// A collection of values returned by getCloudProviderAccess.
-type LookupCloudProviderAccessResult struct {
- // A list where each represents a Cloud Provider Access Role.
- AwsIamRoles []GetCloudProviderAccessAwsIamRole `pulumi:"awsIamRoles"`
- // The provider-assigned unique ID for this managed resource.
- Id string `pulumi:"id"`
- ProjectId string `pulumi:"projectId"`
-}
-
-func LookupCloudProviderAccessOutput(ctx *pulumi.Context, args LookupCloudProviderAccessOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProviderAccessResultOutput {
- return pulumi.ToOutputWithContext(context.Background(), args).
- ApplyT(func(v interface{}) (LookupCloudProviderAccessResult, error) {
- args := v.(LookupCloudProviderAccessArgs)
- r, err := LookupCloudProviderAccess(ctx, &args, opts...)
- var s LookupCloudProviderAccessResult
- if r != nil {
- s = *r
- }
- return s, err
- }).(LookupCloudProviderAccessResultOutput)
-}
-
-// A collection of arguments for invoking getCloudProviderAccess.
-type LookupCloudProviderAccessOutputArgs struct {
- // The unique ID for the project to get all Cloud Provider Access
- ProjectId pulumi.StringInput `pulumi:"projectId"`
-}
-
-func (LookupCloudProviderAccessOutputArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*LookupCloudProviderAccessArgs)(nil)).Elem()
-}
-
-// A collection of values returned by getCloudProviderAccess.
-type LookupCloudProviderAccessResultOutput struct{ *pulumi.OutputState }
-
-func (LookupCloudProviderAccessResultOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LookupCloudProviderAccessResult)(nil)).Elem()
-}
-
-func (o LookupCloudProviderAccessResultOutput) ToLookupCloudProviderAccessResultOutput() LookupCloudProviderAccessResultOutput {
- return o
-}
-
-func (o LookupCloudProviderAccessResultOutput) ToLookupCloudProviderAccessResultOutputWithContext(ctx context.Context) LookupCloudProviderAccessResultOutput {
- return o
-}
-
-// A list where each represents a Cloud Provider Access Role.
-func (o LookupCloudProviderAccessResultOutput) AwsIamRoles() GetCloudProviderAccessAwsIamRoleArrayOutput {
- return o.ApplyT(func(v LookupCloudProviderAccessResult) []GetCloudProviderAccessAwsIamRole { return v.AwsIamRoles }).(GetCloudProviderAccessAwsIamRoleArrayOutput)
-}
-
-// The provider-assigned unique ID for this managed resource.
-func (o LookupCloudProviderAccessResultOutput) Id() pulumi.StringOutput {
- return o.ApplyT(func(v LookupCloudProviderAccessResult) string { return v.Id }).(pulumi.StringOutput)
-}
-
-func (o LookupCloudProviderAccessResultOutput) ProjectId() pulumi.StringOutput {
- return o.ApplyT(func(v LookupCloudProviderAccessResult) string { return v.ProjectId }).(pulumi.StringOutput)
-}
-
-func init() {
- pulumi.RegisterOutputType(LookupCloudProviderAccessResultOutput{})
-}
diff --git a/sdk/go/mongodbatlas/getCloudProviderAccessSetup.go b/sdk/go/mongodbatlas/getCloudProviderAccessSetup.go
index c9dac52a..44d262ca 100644
--- a/sdk/go/mongodbatlas/getCloudProviderAccessSetup.go
+++ b/sdk/go/mongodbatlas/getCloudProviderAccessSetup.go
@@ -11,7 +11,7 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
-// `CloudProviderAccess` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.
+// `mongodbatlasCloudProviderAccess` allows you to get a single role for a provider access role setup, currently only AWS and Azure are supported.
//
// > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
//
diff --git a/sdk/go/mongodbatlas/getDatabaseUser.go b/sdk/go/mongodbatlas/getDatabaseUser.go
index d636ebaa..8a1ac634 100644
--- a/sdk/go/mongodbatlas/getDatabaseUser.go
+++ b/sdk/go/mongodbatlas/getDatabaseUser.go
@@ -48,8 +48,9 @@ type LookupDatabaseUserResult struct {
LdapAuthType string `pulumi:"ldapAuthType"`
// (Optional) Human-readable label that indicates whether the new database user authenticates with OIDC (OpenID Connect) federated authentication. If no value is given, Atlas uses the default value of `NONE`. The accepted types are:
OidcAuthType string `pulumi:"oidcAuthType"`
- Password string `pulumi:"password"`
- ProjectId string `pulumi:"projectId"`
+ // Deprecated: this parameter is deprecated and will be removed in version 1.16.0
+ Password string `pulumi:"password"`
+ ProjectId string `pulumi:"projectId"`
// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
Roles []GetDatabaseUserRole `pulumi:"roles"`
// Array of clusters and Atlas Data Lakes that this user has access to.
@@ -129,6 +130,7 @@ func (o LookupDatabaseUserResultOutput) OidcAuthType() pulumi.StringOutput {
return o.ApplyT(func(v LookupDatabaseUserResult) string { return v.OidcAuthType }).(pulumi.StringOutput)
}
+// Deprecated: this parameter is deprecated and will be removed in version 1.16.0
func (o LookupDatabaseUserResultOutput) Password() pulumi.StringOutput {
return o.ApplyT(func(v LookupDatabaseUserResult) string { return v.Password }).(pulumi.StringOutput)
}
diff --git a/sdk/go/mongodbatlas/getFederatedSettingsIdentityProvider.go b/sdk/go/mongodbatlas/getFederatedSettingsIdentityProvider.go
index 6ed1a526..e8d4ea3f 100644
--- a/sdk/go/mongodbatlas/getFederatedSettingsIdentityProvider.go
+++ b/sdk/go/mongodbatlas/getFederatedSettingsIdentityProvider.go
@@ -13,6 +13,8 @@ import (
// `FederatedSettingsIdentityProvider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.
//
+// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/)
+//
// ## Example Usage
//
// ```go
@@ -65,8 +67,7 @@ func LookupFederatedSettingsIdentityProvider(ctx *pulumi.Context, args *LookupFe
type LookupFederatedSettingsIdentityProviderArgs struct {
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId string `pulumi:"federationSettingsId"`
- // Unique 20-hexadecimal digit string that identifies the IdP.
- IdentityProviderId string `pulumi:"identityProviderId"`
+ IdentityProviderId string `pulumi:"identityProviderId"`
}
// A collection of values returned by getFederatedSettingsIdentityProvider.
@@ -77,24 +78,36 @@ type LookupFederatedSettingsIdentityProviderResult struct {
AssociatedDomains []string `pulumi:"associatedDomains"`
// List that contains the organizations from which users can log in for this IdP.
AssociatedOrgs []GetFederatedSettingsIdentityProviderAssociatedOrg `pulumi:"associatedOrgs"`
+ // Identifier of the intended recipient of the token.
+ AudienceClaims []string `pulumi:"audienceClaims"`
// Identifier for the intended audience of the SAML Assertion.
AudienceUri string `pulumi:"audienceUri"`
+ // Client identifier that is assigned to an application by the Identity Provider.
+ ClientId string `pulumi:"clientId"`
// Human-readable label that identifies the IdP.
DisplayName string `pulumi:"displayName"`
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId string `pulumi:"federationSettingsId"`
+ // Identifier of the claim which contains IdP Group IDs in the token.
+ GroupsClaim string `pulumi:"groupsClaim"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
IdentityProviderId string `pulumi:"identityProviderId"`
+ // Unique 24-hexadecimal digit string that identifies the IdP
+ IdpId string `pulumi:"idpId"`
// Identifier for the issuer of the SAML Assertion.
IssuerUri string `pulumi:"issuerUri"`
// Unique 20-hexadecimal digit string that identifies the IdP.
OktaIdpId string `pulumi:"oktaIdpId"`
PemFileInfos []GetFederatedSettingsIdentityProviderPemFileInfo `pulumi:"pemFileInfos"`
+ // The protocol of the identity provider. Either SAML or OIDC.
+ Protocol string `pulumi:"protocol"`
// SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
RequestBinding string `pulumi:"requestBinding"`
+ // Scopes that MongoDB applications will request from the authorization endpoint.
+ RequestedScopes []string `pulumi:"requestedScopes"`
// Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
// - SHA-1
// - SHA-256
@@ -105,6 +118,8 @@ type LookupFederatedSettingsIdentityProviderResult struct {
SsoUrl string `pulumi:"ssoUrl"`
// Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.
Status string `pulumi:"status"`
+ // Identifier of the claim which contains the user ID in the token.
+ UserClaim string `pulumi:"userClaim"`
}
func LookupFederatedSettingsIdentityProviderOutput(ctx *pulumi.Context, args LookupFederatedSettingsIdentityProviderOutputArgs, opts ...pulumi.InvokeOption) LookupFederatedSettingsIdentityProviderResultOutput {
@@ -124,8 +139,7 @@ func LookupFederatedSettingsIdentityProviderOutput(ctx *pulumi.Context, args Loo
type LookupFederatedSettingsIdentityProviderOutputArgs struct {
// Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
FederationSettingsId pulumi.StringInput `pulumi:"federationSettingsId"`
- // Unique 20-hexadecimal digit string that identifies the IdP.
- IdentityProviderId pulumi.StringInput `pulumi:"identityProviderId"`
+ IdentityProviderId pulumi.StringInput `pulumi:"identityProviderId"`
}
func (LookupFederatedSettingsIdentityProviderOutputArgs) ElementType() reflect.Type {
@@ -164,11 +178,21 @@ func (o LookupFederatedSettingsIdentityProviderResultOutput) AssociatedOrgs() Ge
}).(GetFederatedSettingsIdentityProviderAssociatedOrgArrayOutput)
}
+// Identifier of the intended recipient of the token.
+func (o LookupFederatedSettingsIdentityProviderResultOutput) AudienceClaims() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) []string { return v.AudienceClaims }).(pulumi.StringArrayOutput)
+}
+
// Identifier for the intended audience of the SAML Assertion.
func (o LookupFederatedSettingsIdentityProviderResultOutput) AudienceUri() pulumi.StringOutput {
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.AudienceUri }).(pulumi.StringOutput)
}
+// Client identifier that is assigned to an application by the Identity Provider.
+func (o LookupFederatedSettingsIdentityProviderResultOutput) ClientId() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.ClientId }).(pulumi.StringOutput)
+}
+
// Human-readable label that identifies the IdP.
func (o LookupFederatedSettingsIdentityProviderResultOutput) DisplayName() pulumi.StringOutput {
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.DisplayName }).(pulumi.StringOutput)
@@ -179,6 +203,11 @@ func (o LookupFederatedSettingsIdentityProviderResultOutput) FederationSettingsI
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.FederationSettingsId }).(pulumi.StringOutput)
}
+// Identifier of the claim which contains IdP Group IDs in the token.
+func (o LookupFederatedSettingsIdentityProviderResultOutput) GroupsClaim() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.GroupsClaim }).(pulumi.StringOutput)
+}
+
// The provider-assigned unique ID for this managed resource.
func (o LookupFederatedSettingsIdentityProviderResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.Id }).(pulumi.StringOutput)
@@ -188,6 +217,11 @@ func (o LookupFederatedSettingsIdentityProviderResultOutput) IdentityProviderId(
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.IdentityProviderId }).(pulumi.StringOutput)
}
+// Unique 24-hexadecimal digit string that identifies the IdP
+func (o LookupFederatedSettingsIdentityProviderResultOutput) IdpId() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.IdpId }).(pulumi.StringOutput)
+}
+
// Identifier for the issuer of the SAML Assertion.
func (o LookupFederatedSettingsIdentityProviderResultOutput) IssuerUri() pulumi.StringOutput {
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.IssuerUri }).(pulumi.StringOutput)
@@ -204,6 +238,11 @@ func (o LookupFederatedSettingsIdentityProviderResultOutput) PemFileInfos() GetF
}).(GetFederatedSettingsIdentityProviderPemFileInfoArrayOutput)
}
+// The protocol of the identity provider. Either SAML or OIDC.
+func (o LookupFederatedSettingsIdentityProviderResultOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.Protocol }).(pulumi.StringOutput)
+}
+
// SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
@@ -211,6 +250,11 @@ func (o LookupFederatedSettingsIdentityProviderResultOutput) RequestBinding() pu
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.RequestBinding }).(pulumi.StringOutput)
}
+// Scopes that MongoDB applications will request from the authorization endpoint.
+func (o LookupFederatedSettingsIdentityProviderResultOutput) RequestedScopes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) []string { return v.RequestedScopes }).(pulumi.StringArrayOutput)
+}
+
// Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
// - SHA-1
// - SHA-256
@@ -233,6 +277,11 @@ func (o LookupFederatedSettingsIdentityProviderResultOutput) Status() pulumi.Str
return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.Status }).(pulumi.StringOutput)
}
+// Identifier of the claim which contains the user ID in the token.
+func (o LookupFederatedSettingsIdentityProviderResultOutput) UserClaim() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupFederatedSettingsIdentityProviderResult) string { return v.UserClaim }).(pulumi.StringOutput)
+}
+
func init() {
pulumi.RegisterOutputType(LookupFederatedSettingsIdentityProviderResultOutput{})
}
diff --git a/sdk/go/mongodbatlas/getFederatedSettingsIdentityProviders.go b/sdk/go/mongodbatlas/getFederatedSettingsIdentityProviders.go
index 747eb6c6..90b54f7b 100644
--- a/sdk/go/mongodbatlas/getFederatedSettingsIdentityProviders.go
+++ b/sdk/go/mongodbatlas/getFederatedSettingsIdentityProviders.go
@@ -13,6 +13,8 @@ import (
// `getFederatedSettingsIdentityProviders` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
//
+// > **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
+//
// ## Example Usage
//
// ```go
diff --git a/sdk/go/mongodbatlas/getOrganization.go b/sdk/go/mongodbatlas/getOrganization.go
index 659e59da..a0d15bb2 100644
--- a/sdk/go/mongodbatlas/getOrganization.go
+++ b/sdk/go/mongodbatlas/getOrganization.go
@@ -56,14 +56,20 @@ type LookupOrganizationArgs struct {
// A collection of values returned by getOrganization.
type LookupOrganizationResult struct {
+ // (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired bool `pulumi:"apiAccessListRequired"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Flag that indicates whether this organization has been deleted.
IsDeleted bool `pulumi:"isDeleted"`
Links []GetOrganizationLink `pulumi:"links"`
+ // (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired bool `pulumi:"multiFactorAuthRequired"`
// Human-readable label that identifies the organization.
Name string `pulumi:"name"`
OrgId string `pulumi:"orgId"`
+ // (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ RestrictEmployeeAccess bool `pulumi:"restrictEmployeeAccess"`
}
func LookupOrganizationOutput(ctx *pulumi.Context, args LookupOrganizationOutputArgs, opts ...pulumi.InvokeOption) LookupOrganizationResultOutput {
@@ -104,6 +110,11 @@ func (o LookupOrganizationResultOutput) ToLookupOrganizationResultOutputWithCont
return o
}
+// (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+func (o LookupOrganizationResultOutput) ApiAccessListRequired() pulumi.BoolOutput {
+ return o.ApplyT(func(v LookupOrganizationResult) bool { return v.ApiAccessListRequired }).(pulumi.BoolOutput)
+}
+
// The provider-assigned unique ID for this managed resource.
func (o LookupOrganizationResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupOrganizationResult) string { return v.Id }).(pulumi.StringOutput)
@@ -118,6 +129,11 @@ func (o LookupOrganizationResultOutput) Links() GetOrganizationLinkArrayOutput {
return o.ApplyT(func(v LookupOrganizationResult) []GetOrganizationLink { return v.Links }).(GetOrganizationLinkArrayOutput)
}
+// (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+func (o LookupOrganizationResultOutput) MultiFactorAuthRequired() pulumi.BoolOutput {
+ return o.ApplyT(func(v LookupOrganizationResult) bool { return v.MultiFactorAuthRequired }).(pulumi.BoolOutput)
+}
+
// Human-readable label that identifies the organization.
func (o LookupOrganizationResultOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v LookupOrganizationResult) string { return v.Name }).(pulumi.StringOutput)
@@ -127,6 +143,11 @@ func (o LookupOrganizationResultOutput) OrgId() pulumi.StringOutput {
return o.ApplyT(func(v LookupOrganizationResult) string { return v.OrgId }).(pulumi.StringOutput)
}
+// (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+func (o LookupOrganizationResultOutput) RestrictEmployeeAccess() pulumi.BoolOutput {
+ return o.ApplyT(func(v LookupOrganizationResult) bool { return v.RestrictEmployeeAccess }).(pulumi.BoolOutput)
+}
+
func init() {
pulumi.RegisterOutputType(LookupOrganizationResultOutput{})
}
diff --git a/sdk/go/mongodbatlas/getOrganizations.go b/sdk/go/mongodbatlas/getOrganizations.go
index c5bd5266..38c0d9f7 100644
--- a/sdk/go/mongodbatlas/getOrganizations.go
+++ b/sdk/go/mongodbatlas/getOrganizations.go
@@ -51,6 +51,7 @@ func LookupOrganizations(ctx *pulumi.Context, args *LookupOrganizationsArgs, opt
// A collection of arguments for invoking getOrganizations.
type LookupOrganizationsArgs struct {
+ // Deprecated: this parameter is deprecated and will be removed in version 1.16.0
IncludeDeletedOrgs *bool `pulumi:"includeDeletedOrgs"`
// Number of items to return per page, up to a maximum of 500. Defaults to `100`.
ItemsPerPage *int `pulumi:"itemsPerPage"`
@@ -63,7 +64,8 @@ type LookupOrganizationsArgs struct {
// A collection of values returned by getOrganizations.
type LookupOrganizationsResult struct {
// The provider-assigned unique ID for this managed resource.
- Id string `pulumi:"id"`
+ Id string `pulumi:"id"`
+ // Deprecated: this parameter is deprecated and will be removed in version 1.16.0
IncludeDeletedOrgs *bool `pulumi:"includeDeletedOrgs"`
ItemsPerPage *int `pulumi:"itemsPerPage"`
Name *string `pulumi:"name"`
@@ -87,6 +89,7 @@ func LookupOrganizationsOutput(ctx *pulumi.Context, args LookupOrganizationsOutp
// A collection of arguments for invoking getOrganizations.
type LookupOrganizationsOutputArgs struct {
+ // Deprecated: this parameter is deprecated and will be removed in version 1.16.0
IncludeDeletedOrgs pulumi.BoolPtrInput `pulumi:"includeDeletedOrgs"`
// Number of items to return per page, up to a maximum of 500. Defaults to `100`.
ItemsPerPage pulumi.IntPtrInput `pulumi:"itemsPerPage"`
@@ -120,6 +123,7 @@ func (o LookupOrganizationsResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupOrganizationsResult) string { return v.Id }).(pulumi.StringOutput)
}
+// Deprecated: this parameter is deprecated and will be removed in version 1.16.0
func (o LookupOrganizationsResultOutput) IncludeDeletedOrgs() pulumi.BoolPtrOutput {
return o.ApplyT(func(v LookupOrganizationsResult) *bool { return v.IncludeDeletedOrgs }).(pulumi.BoolPtrOutput)
}
diff --git a/sdk/go/mongodbatlas/getProject.go b/sdk/go/mongodbatlas/getProject.go
index dc127d4e..0f300f28 100644
--- a/sdk/go/mongodbatlas/getProject.go
+++ b/sdk/go/mongodbatlas/getProject.go
@@ -41,15 +41,10 @@ type LookupProjectResult struct {
// The number of Atlas clusters deployed in the project.
ClusterCount int `pulumi:"clusterCount"`
// The ISO-8601-formatted timestamp of when Atlas created the project.
- // * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- // * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
- // * `limits.#.name` - Human-readable label that identifies this project limit.
- // * `limits.#.value` - Amount the limit is set to.
- // * `limits.#.current_usage` - Amount that indicates the current usage of the limit.
- // * `limits.#.default_limit` - Default value of the limit.
- // * `limits.#.maximum_limit` - Maximum value of the limit.
Created string `pulumi:"created"`
Id string `pulumi:"id"`
+ // IP addresses in a project categorized by services. See IP Addresses.
+ IpAddresses GetProjectIpAddresses `pulumi:"ipAddresses"`
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
IsCollectDatabaseSpecificsStatisticsEnabled bool `pulumi:"isCollectDatabaseSpecificsStatisticsEnabled"`
// Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface.
@@ -61,16 +56,18 @@ type LookupProjectResult struct {
// Flag that indicates whether to enable Real Time Performance Panel for the project. If enabled, you can see real time metrics from your MongoDB database.
IsRealtimePerformancePanelEnabled bool `pulumi:"isRealtimePerformancePanelEnabled"`
// Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
- IsSchemaAdvisorEnabled bool `pulumi:"isSchemaAdvisorEnabled"`
- Limits []GetProjectLimit `pulumi:"limits"`
- // The name of the project you want to create.
+ IsSchemaAdvisorEnabled bool `pulumi:"isSchemaAdvisorEnabled"`
+ // The limits for the specified project. See Limits.
+ Limits []GetProjectLimit `pulumi:"limits"`
+ // Human-readable label that identifies this project limit.
Name *string `pulumi:"name"`
// The ID of the organization you want to create the project within.
OrgId string `pulumi:"orgId"`
ProjectId *string `pulumi:"projectId"`
// If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
- RegionUsageRestrictions string `pulumi:"regionUsageRestrictions"`
- Teams []GetProjectTeam `pulumi:"teams"`
+ RegionUsageRestrictions string `pulumi:"regionUsageRestrictions"`
+ // Returns all teams to which the authenticated user has access in the project. See Teams.
+ Teams []GetProjectTeam `pulumi:"teams"`
}
func LookupProjectOutput(ctx *pulumi.Context, args LookupProjectOutputArgs, opts ...pulumi.InvokeOption) LookupProjectResultOutput {
@@ -121,13 +118,6 @@ func (o LookupProjectResultOutput) ClusterCount() pulumi.IntOutput {
}
// The ISO-8601-formatted timestamp of when Atlas created the project.
-// * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
-// * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
-// * `limits.#.name` - Human-readable label that identifies this project limit.
-// * `limits.#.value` - Amount the limit is set to.
-// * `limits.#.current_usage` - Amount that indicates the current usage of the limit.
-// * `limits.#.default_limit` - Default value of the limit.
-// * `limits.#.maximum_limit` - Maximum value of the limit.
func (o LookupProjectResultOutput) Created() pulumi.StringOutput {
return o.ApplyT(func(v LookupProjectResult) string { return v.Created }).(pulumi.StringOutput)
}
@@ -136,6 +126,11 @@ func (o LookupProjectResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupProjectResult) string { return v.Id }).(pulumi.StringOutput)
}
+// IP addresses in a project categorized by services. See IP Addresses.
+func (o LookupProjectResultOutput) IpAddresses() GetProjectIpAddressesOutput {
+ return o.ApplyT(func(v LookupProjectResult) GetProjectIpAddresses { return v.IpAddresses }).(GetProjectIpAddressesOutput)
+}
+
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
func (o LookupProjectResultOutput) IsCollectDatabaseSpecificsStatisticsEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v LookupProjectResult) bool { return v.IsCollectDatabaseSpecificsStatisticsEnabled }).(pulumi.BoolOutput)
@@ -166,11 +161,12 @@ func (o LookupProjectResultOutput) IsSchemaAdvisorEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v LookupProjectResult) bool { return v.IsSchemaAdvisorEnabled }).(pulumi.BoolOutput)
}
+// The limits for the specified project. See Limits.
func (o LookupProjectResultOutput) Limits() GetProjectLimitArrayOutput {
return o.ApplyT(func(v LookupProjectResult) []GetProjectLimit { return v.Limits }).(GetProjectLimitArrayOutput)
}
-// The name of the project you want to create.
+// Human-readable label that identifies this project limit.
func (o LookupProjectResultOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v LookupProjectResult) *string { return v.Name }).(pulumi.StringPtrOutput)
}
@@ -189,6 +185,7 @@ func (o LookupProjectResultOutput) RegionUsageRestrictions() pulumi.StringOutput
return o.ApplyT(func(v LookupProjectResult) string { return v.RegionUsageRestrictions }).(pulumi.StringOutput)
}
+// Returns all teams to which the authenticated user has access in the project. See Teams.
func (o LookupProjectResultOutput) Teams() GetProjectTeamArrayOutput {
return o.ApplyT(func(v LookupProjectResult) []GetProjectTeam { return v.Teams }).(GetProjectTeamArrayOutput)
}
diff --git a/sdk/go/mongodbatlas/getSearchDeployment.go b/sdk/go/mongodbatlas/getSearchDeployment.go
index 6960ba9a..36e7f008 100644
--- a/sdk/go/mongodbatlas/getSearchDeployment.go
+++ b/sdk/go/mongodbatlas/getSearchDeployment.go
@@ -14,31 +14,6 @@ import (
// `SearchDeployment` describes a search node deployment.
//
// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := mongodbatlas.LookupSearchDeployment(ctx, &mongodbatlas.LookupSearchDeploymentArgs{
-// ClusterName: "",
-// ProjectId: "",
-// }, nil)
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
func LookupSearchDeployment(ctx *pulumi.Context, args *LookupSearchDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupSearchDeploymentResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupSearchDeploymentResult
@@ -51,20 +26,23 @@ func LookupSearchDeployment(ctx *pulumi.Context, args *LookupSearchDeploymentArg
// A collection of arguments for invoking getSearchDeployment.
type LookupSearchDeploymentArgs struct {
- // The name of the cluster containing a search node deployment.
+ // Label that identifies the cluster to return the search nodes for.
ClusterName string `pulumi:"clusterName"`
- // The unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
+ // Unique 24-hexadecimal digit string that identifies your project.
ProjectId string `pulumi:"projectId"`
}
// A collection of values returned by getSearchDeployment.
type LookupSearchDeploymentResult struct {
+ // Label that identifies the cluster to return the search nodes for.
ClusterName string `pulumi:"clusterName"`
- Id string `pulumi:"id"`
- ProjectId string `pulumi:"projectId"`
- // List of settings that configure the search nodes for your cluster. See specs.
+ // Unique 24-hexadecimal digit string that identifies the search deployment.
+ Id string `pulumi:"id"`
+ // Unique 24-hexadecimal digit string that identifies your project.
+ ProjectId string `pulumi:"projectId"`
+ // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
Specs []GetSearchDeploymentSpec `pulumi:"specs"`
- // Human-readable label that indicates the current operating condition of this search node deployment.
+ // Human-readable label that indicates the current operating condition of this search deployment.
StateName string `pulumi:"stateName"`
}
@@ -83,9 +61,9 @@ func LookupSearchDeploymentOutput(ctx *pulumi.Context, args LookupSearchDeployme
// A collection of arguments for invoking getSearchDeployment.
type LookupSearchDeploymentOutputArgs struct {
- // The name of the cluster containing a search node deployment.
+ // Label that identifies the cluster to return the search nodes for.
ClusterName pulumi.StringInput `pulumi:"clusterName"`
- // The unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
+ // Unique 24-hexadecimal digit string that identifies your project.
ProjectId pulumi.StringInput `pulumi:"projectId"`
}
@@ -108,24 +86,27 @@ func (o LookupSearchDeploymentResultOutput) ToLookupSearchDeploymentResultOutput
return o
}
+// Label that identifies the cluster to return the search nodes for.
func (o LookupSearchDeploymentResultOutput) ClusterName() pulumi.StringOutput {
return o.ApplyT(func(v LookupSearchDeploymentResult) string { return v.ClusterName }).(pulumi.StringOutput)
}
+// Unique 24-hexadecimal digit string that identifies the search deployment.
func (o LookupSearchDeploymentResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupSearchDeploymentResult) string { return v.Id }).(pulumi.StringOutput)
}
+// Unique 24-hexadecimal digit string that identifies your project.
func (o LookupSearchDeploymentResultOutput) ProjectId() pulumi.StringOutput {
return o.ApplyT(func(v LookupSearchDeploymentResult) string { return v.ProjectId }).(pulumi.StringOutput)
}
-// List of settings that configure the search nodes for your cluster. See specs.
+// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
func (o LookupSearchDeploymentResultOutput) Specs() GetSearchDeploymentSpecArrayOutput {
return o.ApplyT(func(v LookupSearchDeploymentResult) []GetSearchDeploymentSpec { return v.Specs }).(GetSearchDeploymentSpecArrayOutput)
}
-// Human-readable label that indicates the current operating condition of this search node deployment.
+// Human-readable label that indicates the current operating condition of this search deployment.
func (o LookupSearchDeploymentResultOutput) StateName() pulumi.StringOutput {
return o.ApplyT(func(v LookupSearchDeploymentResult) string { return v.StateName }).(pulumi.StringOutput)
}
diff --git a/sdk/go/mongodbatlas/getSearchIndex.go b/sdk/go/mongodbatlas/getSearchIndex.go
index 4693fe4d..99afac4e 100644
--- a/sdk/go/mongodbatlas/getSearchIndex.go
+++ b/sdk/go/mongodbatlas/getSearchIndex.go
@@ -77,7 +77,6 @@ type LookupSearchIndexArgs struct {
ProjectId string `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
SearchAnalyzer *string `pulumi:"searchAnalyzer"`
- Status *string `pulumi:"status"`
Type *string `pulumi:"type"`
}
@@ -105,7 +104,8 @@ type LookupSearchIndexResult struct {
ProjectId string `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
SearchAnalyzer *string `pulumi:"searchAnalyzer"`
- Status string `pulumi:"status"`
+ // Current status of the index.
+ Status string `pulumi:"status"`
// Synonyms mapping definition to use in this index.
// * `synonyms.#.name` - Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref).
// * `synonyms.#.source_collection` - Name of the source MongoDB collection for the synonyms.
@@ -152,7 +152,6 @@ type LookupSearchIndexOutputArgs struct {
ProjectId pulumi.StringInput `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
SearchAnalyzer pulumi.StringPtrInput `pulumi:"searchAnalyzer"`
- Status pulumi.StringPtrInput `pulumi:"status"`
Type pulumi.StringPtrInput `pulumi:"type"`
}
@@ -236,6 +235,7 @@ func (o LookupSearchIndexResultOutput) SearchAnalyzer() pulumi.StringPtrOutput {
return o.ApplyT(func(v LookupSearchIndexResult) *string { return v.SearchAnalyzer }).(pulumi.StringPtrOutput)
}
+// Current status of the index.
func (o LookupSearchIndexResultOutput) Status() pulumi.StringOutput {
return o.ApplyT(func(v LookupSearchIndexResult) string { return v.Status }).(pulumi.StringOutput)
}
diff --git a/sdk/go/mongodbatlas/getSearchIndexes.go b/sdk/go/mongodbatlas/getSearchIndexes.go
index dfbbc6c5..ad430465 100644
--- a/sdk/go/mongodbatlas/getSearchIndexes.go
+++ b/sdk/go/mongodbatlas/getSearchIndexes.go
@@ -32,14 +32,6 @@ type LookupSearchIndexesArgs struct {
CollectionName string `pulumi:"collectionName"`
// (Required) Name of the database the collection is in.
Database string `pulumi:"database"`
- // Number of items that Atlas returns per page, up to a maximum of 500. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- //
- // Deprecated: this parameter is deprecated and will be removed in version 1.15.0
- ItemsPerPage *int `pulumi:"itemsPerPage"`
- // Page number, starting with one, that Atlas returns of the total number of objects. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- //
- // Deprecated: this parameter is deprecated and will be removed in version 1.15.0
- PageNum *int `pulumi:"pageNum"`
// Unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
ProjectId string `pulumi:"projectId"`
}
@@ -52,11 +44,7 @@ type LookupSearchIndexesResult struct {
// (Required) Name of the database the collection is in.
Database string `pulumi:"database"`
// The provider-assigned unique ID for this managed resource.
- Id string `pulumi:"id"`
- // Deprecated: this parameter is deprecated and will be removed in version 1.15.0
- ItemsPerPage *int `pulumi:"itemsPerPage"`
- // Deprecated: this parameter is deprecated and will be removed in version 1.15.0
- PageNum *int `pulumi:"pageNum"`
+ Id string `pulumi:"id"`
ProjectId string `pulumi:"projectId"`
// A list where each represents a search index.
Results []GetSearchIndexesResult `pulumi:"results"`
@@ -85,14 +73,6 @@ type LookupSearchIndexesOutputArgs struct {
CollectionName pulumi.StringInput `pulumi:"collectionName"`
// (Required) Name of the database the collection is in.
Database pulumi.StringInput `pulumi:"database"`
- // Number of items that Atlas returns per page, up to a maximum of 500. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- //
- // Deprecated: this parameter is deprecated and will be removed in version 1.15.0
- ItemsPerPage pulumi.IntPtrInput `pulumi:"itemsPerPage"`
- // Page number, starting with one, that Atlas returns of the total number of objects. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
- //
- // Deprecated: this parameter is deprecated and will be removed in version 1.15.0
- PageNum pulumi.IntPtrInput `pulumi:"pageNum"`
// Unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
ProjectId pulumi.StringInput `pulumi:"projectId"`
}
@@ -135,16 +115,6 @@ func (o LookupSearchIndexesResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v LookupSearchIndexesResult) string { return v.Id }).(pulumi.StringOutput)
}
-// Deprecated: this parameter is deprecated and will be removed in version 1.15.0
-func (o LookupSearchIndexesResultOutput) ItemsPerPage() pulumi.IntPtrOutput {
- return o.ApplyT(func(v LookupSearchIndexesResult) *int { return v.ItemsPerPage }).(pulumi.IntPtrOutput)
-}
-
-// Deprecated: this parameter is deprecated and will be removed in version 1.15.0
-func (o LookupSearchIndexesResultOutput) PageNum() pulumi.IntPtrOutput {
- return o.ApplyT(func(v LookupSearchIndexesResult) *int { return v.PageNum }).(pulumi.IntPtrOutput)
-}
-
func (o LookupSearchIndexesResultOutput) ProjectId() pulumi.StringOutput {
return o.ApplyT(func(v LookupSearchIndexesResult) string { return v.ProjectId }).(pulumi.StringOutput)
}
diff --git a/sdk/go/mongodbatlas/init.go b/sdk/go/mongodbatlas/init.go
index b8c59e6b..b5619d53 100644
--- a/sdk/go/mongodbatlas/init.go
+++ b/sdk/go/mongodbatlas/init.go
@@ -43,8 +43,6 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi
r = &CloudBackupSnapshotExportJob{}
case "mongodbatlas:index/cloudBackupSnapshotRestoreJob:CloudBackupSnapshotRestoreJob":
r = &CloudBackupSnapshotRestoreJob{}
- case "mongodbatlas:index/cloudProviderAccess:CloudProviderAccess":
- r = &CloudProviderAccess{}
case "mongodbatlas:index/cloudProviderAccessAuthorization:CloudProviderAccessAuthorization":
r = &CloudProviderAccessAuthorization{}
case "mongodbatlas:index/cloudProviderAccessSetup:CloudProviderAccessSetup":
@@ -213,11 +211,6 @@ func init() {
"index/cloudBackupSnapshotRestoreJob",
&module{version},
)
- pulumi.RegisterResourceModule(
- "mongodbatlas",
- "index/cloudProviderAccess",
- &module{version},
- )
pulumi.RegisterResourceModule(
"mongodbatlas",
"index/cloudProviderAccessAuthorization",
diff --git a/sdk/go/mongodbatlas/networkContainer.go b/sdk/go/mongodbatlas/networkContainer.go
index 135d6d8b..2bda8463 100644
--- a/sdk/go/mongodbatlas/networkContainer.go
+++ b/sdk/go/mongodbatlas/networkContainer.go
@@ -12,7 +12,7 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
-// `NetworkContainer` provides a Network Peering Container resource. The resource lets you create, edit and delete network peering containers. The resource requires your Project ID. Each cloud provider requires slightly different attributes so read the argument reference carefully.
+// `NetworkContainer` provides a Network Peering Container resource. The resource lets you create, edit and delete network peering containers. You must delete network peering containers before creating clusters in your project. You can't delete a network peering container if your project contains clusters. The resource requires your Project ID. Each cloud provider requires slightly different attributes so read the argument reference carefully.
//
// Network peering container is a general term used to describe any cloud providers' VPC/VNet concept. Containers only need to be created if the peering connection to the cloud provider will be created before the first cluster that requires the container. If the cluster has been/will be created first Atlas automatically creates the required container per the "containers per cloud provider" information that follows (in this case you can obtain the container id from the cluster resource attribute `containerId`).
//
diff --git a/sdk/go/mongodbatlas/organization.go b/sdk/go/mongodbatlas/organization.go
index c0fa6c24..d923c45b 100644
--- a/sdk/go/mongodbatlas/organization.go
+++ b/sdk/go/mongodbatlas/organization.go
@@ -14,7 +14,11 @@ import (
// `Organization` provides programmatic management (including creation) of a MongoDB Atlas Organization resource.
//
-// > **IMPORTANT NOTE:** When you establish an Atlas organization using this resource, it automatically generates a set of initial public and private Programmatic API Keys. These key values are vital to store because you'll need to use them to grant access to the newly created Atlas organization.
+// > **IMPORTANT NOTE:** When you establish an Atlas organization using this resource, it automatically generates a set of initial public and private Programmatic API Keys. These key values are vital to store because you'll need to use them to grant access to the newly created Atlas organization. To use this resource, `roleNames` for new API Key must have the ORG_OWNER role specified.
+//
+// > **IMPORTANT NOTE:** To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation.
+//
+// > **NOTE** Import command is currently not supported for this resource.
//
// ## Example Usage
//
@@ -45,26 +49,16 @@ import (
// }
//
// ```
-//
-// ## Import
-//
-// Organization must be imported using organization ID, e.g.
-//
-// ```sh
-//
-// $ pulumi import mongodbatlas:index/organization:Organization my_org 5d09d6a59ccf6445652a444a
-//
-// ```
-//
-// For more information see[MongoDB Atlas Admin API Organization](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/createOrganization)
-//
-// Documentation for more information.
type Organization struct {
pulumi.CustomResourceState
- Description pulumi.StringOutput `pulumi:"description"`
- // (Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
+ // Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired pulumi.BoolOutput `pulumi:"apiAccessListRequired"`
+ Description pulumi.StringOutput `pulumi:"description"`
+ // Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
FederationSettingsId pulumi.StringPtrOutput `pulumi:"federationSettingsId"`
+ // Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired pulumi.BoolOutput `pulumi:"multiFactorAuthRequired"`
// The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
Name pulumi.StringOutput `pulumi:"name"`
// The organization id.
@@ -74,6 +68,8 @@ type Organization struct {
PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
// Public API key value set for the specified organization API key.
PublicKey pulumi.StringOutput `pulumi:"publicKey"`
+ // Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ RestrictEmployeeAccess pulumi.BoolOutput `pulumi:"restrictEmployeeAccess"`
// List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles that you can assign to a Programmatic API key.
RoleNames pulumi.StringArrayOutput `pulumi:"roleNames"`
}
@@ -122,9 +118,13 @@ func GetOrganization(ctx *pulumi.Context,
// Input properties used for looking up and filtering Organization resources.
type organizationState struct {
- Description *string `pulumi:"description"`
- // (Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
+ // Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired *bool `pulumi:"apiAccessListRequired"`
+ Description *string `pulumi:"description"`
+ // Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
FederationSettingsId *string `pulumi:"federationSettingsId"`
+ // Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired *bool `pulumi:"multiFactorAuthRequired"`
// The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
Name *string `pulumi:"name"`
// The organization id.
@@ -134,14 +134,20 @@ type organizationState struct {
PrivateKey *string `pulumi:"privateKey"`
// Public API key value set for the specified organization API key.
PublicKey *string `pulumi:"publicKey"`
+ // Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ RestrictEmployeeAccess *bool `pulumi:"restrictEmployeeAccess"`
// List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles that you can assign to a Programmatic API key.
RoleNames []string `pulumi:"roleNames"`
}
type OrganizationState struct {
- Description pulumi.StringPtrInput
- // (Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
+ // Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired pulumi.BoolPtrInput
+ Description pulumi.StringPtrInput
+ // Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
FederationSettingsId pulumi.StringPtrInput
+ // Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired pulumi.BoolPtrInput
// The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
Name pulumi.StringPtrInput
// The organization id.
@@ -151,6 +157,8 @@ type OrganizationState struct {
PrivateKey pulumi.StringPtrInput
// Public API key value set for the specified organization API key.
PublicKey pulumi.StringPtrInput
+ // Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ RestrictEmployeeAccess pulumi.BoolPtrInput
// List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles that you can assign to a Programmatic API key.
RoleNames pulumi.StringArrayInput
}
@@ -160,26 +168,38 @@ func (OrganizationState) ElementType() reflect.Type {
}
type organizationArgs struct {
- Description string `pulumi:"description"`
- // (Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
+ // Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired *bool `pulumi:"apiAccessListRequired"`
+ Description string `pulumi:"description"`
+ // Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
FederationSettingsId *string `pulumi:"federationSettingsId"`
+ // Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired *bool `pulumi:"multiFactorAuthRequired"`
// The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
Name *string `pulumi:"name"`
// Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. [MongoDB Atlas Admin API - Get User By Username](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/MongoDB-Cloud-Users/operation/getUserByUsername)
OrgOwnerId string `pulumi:"orgOwnerId"`
+ // Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ RestrictEmployeeAccess *bool `pulumi:"restrictEmployeeAccess"`
// List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles that you can assign to a Programmatic API key.
RoleNames []string `pulumi:"roleNames"`
}
// The set of arguments for constructing a Organization resource.
type OrganizationArgs struct {
- Description pulumi.StringInput
- // (Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
+ // Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired pulumi.BoolPtrInput
+ Description pulumi.StringInput
+ // Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
FederationSettingsId pulumi.StringPtrInput
+ // Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired pulumi.BoolPtrInput
// The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
Name pulumi.StringPtrInput
// Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. [MongoDB Atlas Admin API - Get User By Username](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/MongoDB-Cloud-Users/operation/getUserByUsername)
OrgOwnerId pulumi.StringInput
+ // Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ RestrictEmployeeAccess pulumi.BoolPtrInput
// List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles that you can assign to a Programmatic API key.
RoleNames pulumi.StringArrayInput
}
@@ -271,15 +291,25 @@ func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context)
return o
}
+// Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+func (o OrganizationOutput) ApiAccessListRequired() pulumi.BoolOutput {
+ return o.ApplyT(func(v *Organization) pulumi.BoolOutput { return v.ApiAccessListRequired }).(pulumi.BoolOutput)
+}
+
func (o OrganizationOutput) Description() pulumi.StringOutput {
return o.ApplyT(func(v *Organization) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput)
}
-// (Optional) Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
+// Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
func (o OrganizationOutput) FederationSettingsId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *Organization) pulumi.StringPtrOutput { return v.FederationSettingsId }).(pulumi.StringPtrOutput)
}
+// Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+func (o OrganizationOutput) MultiFactorAuthRequired() pulumi.BoolOutput {
+ return o.ApplyT(func(v *Organization) pulumi.BoolOutput { return v.MultiFactorAuthRequired }).(pulumi.BoolOutput)
+}
+
// The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
func (o OrganizationOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v *Organization) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)
@@ -304,6 +334,11 @@ func (o OrganizationOutput) PublicKey() pulumi.StringOutput {
return o.ApplyT(func(v *Organization) pulumi.StringOutput { return v.PublicKey }).(pulumi.StringOutput)
}
+// Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+func (o OrganizationOutput) RestrictEmployeeAccess() pulumi.BoolOutput {
+ return o.ApplyT(func(v *Organization) pulumi.BoolOutput { return v.RestrictEmployeeAccess }).(pulumi.BoolOutput)
+}
+
// List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles that you can assign to a Programmatic API key.
func (o OrganizationOutput) RoleNames() pulumi.StringArrayOutput {
return o.ApplyT(func(v *Organization) pulumi.StringArrayOutput { return v.RoleNames }).(pulumi.StringArrayOutput)
diff --git a/sdk/go/mongodbatlas/project.go b/sdk/go/mongodbatlas/project.go
index cc3b7aca..684a03e8 100644
--- a/sdk/go/mongodbatlas/project.go
+++ b/sdk/go/mongodbatlas/project.go
@@ -92,10 +92,12 @@ import (
type Project struct {
pulumi.CustomResourceState
- // The number of Atlas clusters deployed in the project..
+ // The number of Atlas clusters deployed in the project.
ClusterCount pulumi.IntOutput `pulumi:"clusterCount"`
- // The ISO-8601-formatted timestamp of when Atlas created the project..
+ // The ISO-8601-formatted timestamp of when Atlas created the project.
Created pulumi.StringOutput `pulumi:"created"`
+ // IP addresses in a project categorized by services. See IP Addresses.
+ IpAddresses ProjectIpAddressesOutput `pulumi:"ipAddresses"`
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project. By default, this flag is set to true.
IsCollectDatabaseSpecificsStatisticsEnabled pulumi.BoolOutput `pulumi:"isCollectDatabaseSpecificsStatisticsEnabled"`
// Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface. When Data Explorer is disabled, you cannot terminate slow operations from the [Real-Time Performance Panel](https://www.mongodb.com/docs/atlas/real-time-performance-panel/#std-label-real-time-metrics-status-tab) or create indexes from the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor). You can still view Performance Advisor recommendations, but you must create those indexes from [mongosh](https://www.mongodb.com/docs/mongodb-shell/#mongodb-binary-bin.mongosh). By default, this flag is set to true.
@@ -155,10 +157,12 @@ func GetProject(ctx *pulumi.Context,
// Input properties used for looking up and filtering Project resources.
type projectState struct {
- // The number of Atlas clusters deployed in the project..
+ // The number of Atlas clusters deployed in the project.
ClusterCount *int `pulumi:"clusterCount"`
- // The ISO-8601-formatted timestamp of when Atlas created the project..
+ // The ISO-8601-formatted timestamp of when Atlas created the project.
Created *string `pulumi:"created"`
+ // IP addresses in a project categorized by services. See IP Addresses.
+ IpAddresses *ProjectIpAddresses `pulumi:"ipAddresses"`
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project. By default, this flag is set to true.
IsCollectDatabaseSpecificsStatisticsEnabled *bool `pulumi:"isCollectDatabaseSpecificsStatisticsEnabled"`
// Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface. When Data Explorer is disabled, you cannot terminate slow operations from the [Real-Time Performance Panel](https://www.mongodb.com/docs/atlas/real-time-performance-panel/#std-label-real-time-metrics-status-tab) or create indexes from the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor). You can still view Performance Advisor recommendations, but you must create those indexes from [mongosh](https://www.mongodb.com/docs/mongodb-shell/#mongodb-binary-bin.mongosh). By default, this flag is set to true.
@@ -186,10 +190,12 @@ type projectState struct {
}
type ProjectState struct {
- // The number of Atlas clusters deployed in the project..
+ // The number of Atlas clusters deployed in the project.
ClusterCount pulumi.IntPtrInput
- // The ISO-8601-formatted timestamp of when Atlas created the project..
+ // The ISO-8601-formatted timestamp of when Atlas created the project.
Created pulumi.StringPtrInput
+ // IP addresses in a project categorized by services. See IP Addresses.
+ IpAddresses ProjectIpAddressesPtrInput
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project. By default, this flag is set to true.
IsCollectDatabaseSpecificsStatisticsEnabled pulumi.BoolPtrInput
// Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface. When Data Explorer is disabled, you cannot terminate slow operations from the [Real-Time Performance Panel](https://www.mongodb.com/docs/atlas/real-time-performance-panel/#std-label-real-time-metrics-status-tab) or create indexes from the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor). You can still view Performance Advisor recommendations, but you must create those indexes from [mongosh](https://www.mongodb.com/docs/mongodb-shell/#mongodb-binary-bin.mongosh). By default, this flag is set to true.
@@ -362,16 +368,21 @@ func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOu
return o
}
-// The number of Atlas clusters deployed in the project..
+// The number of Atlas clusters deployed in the project.
func (o ProjectOutput) ClusterCount() pulumi.IntOutput {
return o.ApplyT(func(v *Project) pulumi.IntOutput { return v.ClusterCount }).(pulumi.IntOutput)
}
-// The ISO-8601-formatted timestamp of when Atlas created the project..
+// The ISO-8601-formatted timestamp of when Atlas created the project.
func (o ProjectOutput) Created() pulumi.StringOutput {
return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput)
}
+// IP addresses in a project categorized by services. See IP Addresses.
+func (o ProjectOutput) IpAddresses() ProjectIpAddressesOutput {
+ return o.ApplyT(func(v *Project) ProjectIpAddressesOutput { return v.IpAddresses }).(ProjectIpAddressesOutput)
+}
+
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project. By default, this flag is set to true.
func (o ProjectOutput) IsCollectDatabaseSpecificsStatisticsEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v *Project) pulumi.BoolOutput { return v.IsCollectDatabaseSpecificsStatisticsEnabled }).(pulumi.BoolOutput)
diff --git a/sdk/go/mongodbatlas/pulumiTypes.go b/sdk/go/mongodbatlas/pulumiTypes.go
index 83d7263a..82c54c9f 100644
--- a/sdk/go/mongodbatlas/pulumiTypes.go
+++ b/sdk/go/mongodbatlas/pulumiTypes.go
@@ -2825,7 +2825,7 @@ type AlertConfigurationNotification struct {
ChannelName *string `pulumi:"channelName"`
// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
DatadogApiKey *string `pulumi:"datadogApiKey"`
- // Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ // Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
DatadogRegion *string `pulumi:"datadogRegion"`
// Number of minutes to wait after an alert condition is detected before sending out the first notification.
DelayMin *int `pulumi:"delayMin"`
@@ -2899,7 +2899,7 @@ type AlertConfigurationNotificationArgs struct {
ChannelName pulumi.StringPtrInput `pulumi:"channelName"`
// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
DatadogApiKey pulumi.StringPtrInput `pulumi:"datadogApiKey"`
- // Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ // Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
DatadogRegion pulumi.StringPtrInput `pulumi:"datadogRegion"`
// Number of minutes to wait after an alert condition is detected before sending out the first notification.
DelayMin pulumi.IntPtrInput `pulumi:"delayMin"`
@@ -3021,7 +3021,7 @@ func (o AlertConfigurationNotificationOutput) DatadogApiKey() pulumi.StringPtrOu
return o.ApplyT(func(v AlertConfigurationNotification) *string { return v.DatadogApiKey }).(pulumi.StringPtrOutput)
}
-// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+// Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
func (o AlertConfigurationNotificationOutput) DatadogRegion() pulumi.StringPtrOutput {
return o.ApplyT(func(v AlertConfigurationNotification) *string { return v.DatadogRegion }).(pulumi.StringPtrOutput)
}
@@ -6196,106 +6196,6 @@ func (o CloudProviderAccessAuthorizationFeatureUsageArrayOutput) Index(i pulumi.
}).(CloudProviderAccessAuthorizationFeatureUsageOutput)
}
-type CloudProviderAccessFeatureUsage struct {
- FeatureId map[string]interface{} `pulumi:"featureId"`
- FeatureType *string `pulumi:"featureType"`
-}
-
-// CloudProviderAccessFeatureUsageInput is an input type that accepts CloudProviderAccessFeatureUsageArgs and CloudProviderAccessFeatureUsageOutput values.
-// You can construct a concrete instance of `CloudProviderAccessFeatureUsageInput` via:
-//
-// CloudProviderAccessFeatureUsageArgs{...}
-type CloudProviderAccessFeatureUsageInput interface {
- pulumi.Input
-
- ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput
- ToCloudProviderAccessFeatureUsageOutputWithContext(context.Context) CloudProviderAccessFeatureUsageOutput
-}
-
-type CloudProviderAccessFeatureUsageArgs struct {
- FeatureId pulumi.MapInput `pulumi:"featureId"`
- FeatureType pulumi.StringPtrInput `pulumi:"featureType"`
-}
-
-func (CloudProviderAccessFeatureUsageArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CloudProviderAccessFeatureUsage)(nil)).Elem()
-}
-
-func (i CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput {
- return i.ToCloudProviderAccessFeatureUsageOutputWithContext(context.Background())
-}
-
-func (i CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CloudProviderAccessFeatureUsageOutput)
-}
-
-// CloudProviderAccessFeatureUsageArrayInput is an input type that accepts CloudProviderAccessFeatureUsageArray and CloudProviderAccessFeatureUsageArrayOutput values.
-// You can construct a concrete instance of `CloudProviderAccessFeatureUsageArrayInput` via:
-//
-// CloudProviderAccessFeatureUsageArray{ CloudProviderAccessFeatureUsageArgs{...} }
-type CloudProviderAccessFeatureUsageArrayInput interface {
- pulumi.Input
-
- ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput
- ToCloudProviderAccessFeatureUsageArrayOutputWithContext(context.Context) CloudProviderAccessFeatureUsageArrayOutput
-}
-
-type CloudProviderAccessFeatureUsageArray []CloudProviderAccessFeatureUsageInput
-
-func (CloudProviderAccessFeatureUsageArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CloudProviderAccessFeatureUsage)(nil)).Elem()
-}
-
-func (i CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput {
- return i.ToCloudProviderAccessFeatureUsageArrayOutputWithContext(context.Background())
-}
-
-func (i CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CloudProviderAccessFeatureUsageArrayOutput)
-}
-
-type CloudProviderAccessFeatureUsageOutput struct{ *pulumi.OutputState }
-
-func (CloudProviderAccessFeatureUsageOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CloudProviderAccessFeatureUsage)(nil)).Elem()
-}
-
-func (o CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput {
- return o
-}
-
-func (o CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageOutput {
- return o
-}
-
-func (o CloudProviderAccessFeatureUsageOutput) FeatureId() pulumi.MapOutput {
- return o.ApplyT(func(v CloudProviderAccessFeatureUsage) map[string]interface{} { return v.FeatureId }).(pulumi.MapOutput)
-}
-
-func (o CloudProviderAccessFeatureUsageOutput) FeatureType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CloudProviderAccessFeatureUsage) *string { return v.FeatureType }).(pulumi.StringPtrOutput)
-}
-
-type CloudProviderAccessFeatureUsageArrayOutput struct{ *pulumi.OutputState }
-
-func (CloudProviderAccessFeatureUsageArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CloudProviderAccessFeatureUsage)(nil)).Elem()
-}
-
-func (o CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput {
- return o
-}
-
-func (o CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageArrayOutput {
- return o
-}
-
-func (o CloudProviderAccessFeatureUsageArrayOutput) Index(i pulumi.IntInput) CloudProviderAccessFeatureUsageOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProviderAccessFeatureUsage {
- return vs[0].([]CloudProviderAccessFeatureUsage)[vs[1].(int)]
- }).(CloudProviderAccessFeatureUsageOutput)
-}
-
type CloudProviderAccessSetupAwsConfig struct {
AtlasAssumedRoleExternalId *string `pulumi:"atlasAssumedRoleExternalId"`
AtlasAwsAccountArn *string `pulumi:"atlasAwsAccountArn"`
@@ -9795,7 +9695,7 @@ func (o DatabaseUserLabelArrayOutput) Index(i pulumi.IntInput) DatabaseUserLabel
type DatabaseUserRole struct {
// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
CollectionName *string `pulumi:"collectionName"`
- // Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
+ // Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases. This field should be set to `admin` for a custom MongoDB role.
DatabaseName string `pulumi:"databaseName"`
// Name of the role to grant. See [Create a Database User](https://docs.atlas.mongodb.com/reference/api/database-users-create-a-user/) `roles.roleName` for valid values and restrictions.
RoleName string `pulumi:"roleName"`
@@ -9815,7 +9715,7 @@ type DatabaseUserRoleInput interface {
type DatabaseUserRoleArgs struct {
// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
CollectionName pulumi.StringPtrInput `pulumi:"collectionName"`
- // Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
+ // Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases. This field should be set to `admin` for a custom MongoDB role.
DatabaseName pulumi.StringInput `pulumi:"databaseName"`
// Name of the role to grant. See [Create a Database User](https://docs.atlas.mongodb.com/reference/api/database-users-create-a-user/) `roles.roleName` for valid values and restrictions.
RoleName pulumi.StringInput `pulumi:"roleName"`
@@ -9877,7 +9777,7 @@ func (o DatabaseUserRoleOutput) CollectionName() pulumi.StringPtrOutput {
return o.ApplyT(func(v DatabaseUserRole) *string { return v.CollectionName }).(pulumi.StringPtrOutput)
}
-// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
+// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases. This field should be set to `admin` for a custom MongoDB role.
func (o DatabaseUserRoleOutput) DatabaseName() pulumi.StringOutput {
return o.ApplyT(func(v DatabaseUserRole) string { return v.DatabaseName }).(pulumi.StringOutput)
}
@@ -10021,7 +9921,7 @@ type EncryptionAtRestAwsKmsConfig struct {
Enabled *bool `pulumi:"enabled"`
// The AWS region in which the AWS customer master key exists: CA_CENTRAL_1, US_EAST_1, US_EAST_2, US_WEST_1, US_WEST_2, SA_EAST_1
Region *string `pulumi:"region"`
- // ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.
+ // ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `mongodbatlasCloudProviderAccess` resource.
RoleId *string `pulumi:"roleId"`
SecretAccessKey *string `pulumi:"secretAccessKey"`
}
@@ -10045,7 +9945,7 @@ type EncryptionAtRestAwsKmsConfigArgs struct {
Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
// The AWS region in which the AWS customer master key exists: CA_CENTRAL_1, US_EAST_1, US_EAST_2, US_WEST_1, US_WEST_2, SA_EAST_1
Region pulumi.StringPtrInput `pulumi:"region"`
- // ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.
+ // ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `mongodbatlasCloudProviderAccess` resource.
RoleId pulumi.StringPtrInput `pulumi:"roleId"`
SecretAccessKey pulumi.StringPtrInput `pulumi:"secretAccessKey"`
}
@@ -10146,7 +10046,7 @@ func (o EncryptionAtRestAwsKmsConfigOutput) Region() pulumi.StringPtrOutput {
return o.ApplyT(func(v EncryptionAtRestAwsKmsConfig) *string { return v.Region }).(pulumi.StringPtrOutput)
}
-// ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.
+// ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `mongodbatlasCloudProviderAccess` resource.
func (o EncryptionAtRestAwsKmsConfigOutput) RoleId() pulumi.StringPtrOutput {
return o.ApplyT(func(v EncryptionAtRestAwsKmsConfig) *string { return v.RoleId }).(pulumi.StringPtrOutput)
}
@@ -10218,7 +10118,7 @@ func (o EncryptionAtRestAwsKmsConfigPtrOutput) Region() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.
+// ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `mongodbatlasCloudProviderAccess` resource.
func (o EncryptionAtRestAwsKmsConfigPtrOutput) RoleId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EncryptionAtRestAwsKmsConfig) *string {
if v == nil {
@@ -14533,6 +14433,378 @@ func (o ProjectIpAccessListTimeoutsPtrOutput) Read() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
+type ProjectIpAddresses struct {
+ Services *ProjectIpAddressesServices `pulumi:"services"`
+}
+
+// ProjectIpAddressesInput is an input type that accepts ProjectIpAddressesArgs and ProjectIpAddressesOutput values.
+// You can construct a concrete instance of `ProjectIpAddressesInput` via:
+//
+// ProjectIpAddressesArgs{...}
+type ProjectIpAddressesInput interface {
+ pulumi.Input
+
+ ToProjectIpAddressesOutput() ProjectIpAddressesOutput
+ ToProjectIpAddressesOutputWithContext(context.Context) ProjectIpAddressesOutput
+}
+
+type ProjectIpAddressesArgs struct {
+ Services ProjectIpAddressesServicesPtrInput `pulumi:"services"`
+}
+
+func (ProjectIpAddressesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ProjectIpAddresses)(nil)).Elem()
+}
+
+func (i ProjectIpAddressesArgs) ToProjectIpAddressesOutput() ProjectIpAddressesOutput {
+ return i.ToProjectIpAddressesOutputWithContext(context.Background())
+}
+
+func (i ProjectIpAddressesArgs) ToProjectIpAddressesOutputWithContext(ctx context.Context) ProjectIpAddressesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesOutput)
+}
+
+func (i ProjectIpAddressesArgs) ToProjectIpAddressesPtrOutput() ProjectIpAddressesPtrOutput {
+ return i.ToProjectIpAddressesPtrOutputWithContext(context.Background())
+}
+
+func (i ProjectIpAddressesArgs) ToProjectIpAddressesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesOutput).ToProjectIpAddressesPtrOutputWithContext(ctx)
+}
+
+// ProjectIpAddressesPtrInput is an input type that accepts ProjectIpAddressesArgs, ProjectIpAddressesPtr and ProjectIpAddressesPtrOutput values.
+// You can construct a concrete instance of `ProjectIpAddressesPtrInput` via:
+//
+// ProjectIpAddressesArgs{...}
+//
+// or:
+//
+// nil
+type ProjectIpAddressesPtrInput interface {
+ pulumi.Input
+
+ ToProjectIpAddressesPtrOutput() ProjectIpAddressesPtrOutput
+ ToProjectIpAddressesPtrOutputWithContext(context.Context) ProjectIpAddressesPtrOutput
+}
+
+type projectIpAddressesPtrType ProjectIpAddressesArgs
+
+func ProjectIpAddressesPtr(v *ProjectIpAddressesArgs) ProjectIpAddressesPtrInput {
+ return (*projectIpAddressesPtrType)(v)
+}
+
+func (*projectIpAddressesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ProjectIpAddresses)(nil)).Elem()
+}
+
+func (i *projectIpAddressesPtrType) ToProjectIpAddressesPtrOutput() ProjectIpAddressesPtrOutput {
+ return i.ToProjectIpAddressesPtrOutputWithContext(context.Background())
+}
+
+func (i *projectIpAddressesPtrType) ToProjectIpAddressesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesPtrOutput)
+}
+
+type ProjectIpAddressesOutput struct{ *pulumi.OutputState }
+
+func (ProjectIpAddressesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ProjectIpAddresses)(nil)).Elem()
+}
+
+func (o ProjectIpAddressesOutput) ToProjectIpAddressesOutput() ProjectIpAddressesOutput {
+ return o
+}
+
+func (o ProjectIpAddressesOutput) ToProjectIpAddressesOutputWithContext(ctx context.Context) ProjectIpAddressesOutput {
+ return o
+}
+
+func (o ProjectIpAddressesOutput) ToProjectIpAddressesPtrOutput() ProjectIpAddressesPtrOutput {
+ return o.ToProjectIpAddressesPtrOutputWithContext(context.Background())
+}
+
+func (o ProjectIpAddressesOutput) ToProjectIpAddressesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectIpAddresses) *ProjectIpAddresses {
+ return &v
+ }).(ProjectIpAddressesPtrOutput)
+}
+
+func (o ProjectIpAddressesOutput) Services() ProjectIpAddressesServicesPtrOutput {
+ return o.ApplyT(func(v ProjectIpAddresses) *ProjectIpAddressesServices { return v.Services }).(ProjectIpAddressesServicesPtrOutput)
+}
+
+type ProjectIpAddressesPtrOutput struct{ *pulumi.OutputState }
+
+func (ProjectIpAddressesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ProjectIpAddresses)(nil)).Elem()
+}
+
+func (o ProjectIpAddressesPtrOutput) ToProjectIpAddressesPtrOutput() ProjectIpAddressesPtrOutput {
+ return o
+}
+
+func (o ProjectIpAddressesPtrOutput) ToProjectIpAddressesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesPtrOutput {
+ return o
+}
+
+func (o ProjectIpAddressesPtrOutput) Elem() ProjectIpAddressesOutput {
+ return o.ApplyT(func(v *ProjectIpAddresses) ProjectIpAddresses {
+ if v != nil {
+ return *v
+ }
+ var ret ProjectIpAddresses
+ return ret
+ }).(ProjectIpAddressesOutput)
+}
+
+func (o ProjectIpAddressesPtrOutput) Services() ProjectIpAddressesServicesPtrOutput {
+ return o.ApplyT(func(v *ProjectIpAddresses) *ProjectIpAddressesServices {
+ if v == nil {
+ return nil
+ }
+ return v.Services
+ }).(ProjectIpAddressesServicesPtrOutput)
+}
+
+type ProjectIpAddressesServices struct {
+ Clusters []ProjectIpAddressesServicesCluster `pulumi:"clusters"`
+}
+
+// ProjectIpAddressesServicesInput is an input type that accepts ProjectIpAddressesServicesArgs and ProjectIpAddressesServicesOutput values.
+// You can construct a concrete instance of `ProjectIpAddressesServicesInput` via:
+//
+// ProjectIpAddressesServicesArgs{...}
+type ProjectIpAddressesServicesInput interface {
+ pulumi.Input
+
+ ToProjectIpAddressesServicesOutput() ProjectIpAddressesServicesOutput
+ ToProjectIpAddressesServicesOutputWithContext(context.Context) ProjectIpAddressesServicesOutput
+}
+
+type ProjectIpAddressesServicesArgs struct {
+ Clusters ProjectIpAddressesServicesClusterArrayInput `pulumi:"clusters"`
+}
+
+func (ProjectIpAddressesServicesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ProjectIpAddressesServices)(nil)).Elem()
+}
+
+func (i ProjectIpAddressesServicesArgs) ToProjectIpAddressesServicesOutput() ProjectIpAddressesServicesOutput {
+ return i.ToProjectIpAddressesServicesOutputWithContext(context.Background())
+}
+
+func (i ProjectIpAddressesServicesArgs) ToProjectIpAddressesServicesOutputWithContext(ctx context.Context) ProjectIpAddressesServicesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesServicesOutput)
+}
+
+func (i ProjectIpAddressesServicesArgs) ToProjectIpAddressesServicesPtrOutput() ProjectIpAddressesServicesPtrOutput {
+ return i.ToProjectIpAddressesServicesPtrOutputWithContext(context.Background())
+}
+
+func (i ProjectIpAddressesServicesArgs) ToProjectIpAddressesServicesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesServicesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesServicesOutput).ToProjectIpAddressesServicesPtrOutputWithContext(ctx)
+}
+
+// ProjectIpAddressesServicesPtrInput is an input type that accepts ProjectIpAddressesServicesArgs, ProjectIpAddressesServicesPtr and ProjectIpAddressesServicesPtrOutput values.
+// You can construct a concrete instance of `ProjectIpAddressesServicesPtrInput` via:
+//
+// ProjectIpAddressesServicesArgs{...}
+//
+// or:
+//
+// nil
+type ProjectIpAddressesServicesPtrInput interface {
+ pulumi.Input
+
+ ToProjectIpAddressesServicesPtrOutput() ProjectIpAddressesServicesPtrOutput
+ ToProjectIpAddressesServicesPtrOutputWithContext(context.Context) ProjectIpAddressesServicesPtrOutput
+}
+
+type projectIpAddressesServicesPtrType ProjectIpAddressesServicesArgs
+
+func ProjectIpAddressesServicesPtr(v *ProjectIpAddressesServicesArgs) ProjectIpAddressesServicesPtrInput {
+ return (*projectIpAddressesServicesPtrType)(v)
+}
+
+func (*projectIpAddressesServicesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ProjectIpAddressesServices)(nil)).Elem()
+}
+
+func (i *projectIpAddressesServicesPtrType) ToProjectIpAddressesServicesPtrOutput() ProjectIpAddressesServicesPtrOutput {
+ return i.ToProjectIpAddressesServicesPtrOutputWithContext(context.Background())
+}
+
+func (i *projectIpAddressesServicesPtrType) ToProjectIpAddressesServicesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesServicesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesServicesPtrOutput)
+}
+
+type ProjectIpAddressesServicesOutput struct{ *pulumi.OutputState }
+
+func (ProjectIpAddressesServicesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ProjectIpAddressesServices)(nil)).Elem()
+}
+
+func (o ProjectIpAddressesServicesOutput) ToProjectIpAddressesServicesOutput() ProjectIpAddressesServicesOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesOutput) ToProjectIpAddressesServicesOutputWithContext(ctx context.Context) ProjectIpAddressesServicesOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesOutput) ToProjectIpAddressesServicesPtrOutput() ProjectIpAddressesServicesPtrOutput {
+ return o.ToProjectIpAddressesServicesPtrOutputWithContext(context.Background())
+}
+
+func (o ProjectIpAddressesServicesOutput) ToProjectIpAddressesServicesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesServicesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectIpAddressesServices) *ProjectIpAddressesServices {
+ return &v
+ }).(ProjectIpAddressesServicesPtrOutput)
+}
+
+func (o ProjectIpAddressesServicesOutput) Clusters() ProjectIpAddressesServicesClusterArrayOutput {
+ return o.ApplyT(func(v ProjectIpAddressesServices) []ProjectIpAddressesServicesCluster { return v.Clusters }).(ProjectIpAddressesServicesClusterArrayOutput)
+}
+
+type ProjectIpAddressesServicesPtrOutput struct{ *pulumi.OutputState }
+
+func (ProjectIpAddressesServicesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ProjectIpAddressesServices)(nil)).Elem()
+}
+
+func (o ProjectIpAddressesServicesPtrOutput) ToProjectIpAddressesServicesPtrOutput() ProjectIpAddressesServicesPtrOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesPtrOutput) ToProjectIpAddressesServicesPtrOutputWithContext(ctx context.Context) ProjectIpAddressesServicesPtrOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesPtrOutput) Elem() ProjectIpAddressesServicesOutput {
+ return o.ApplyT(func(v *ProjectIpAddressesServices) ProjectIpAddressesServices {
+ if v != nil {
+ return *v
+ }
+ var ret ProjectIpAddressesServices
+ return ret
+ }).(ProjectIpAddressesServicesOutput)
+}
+
+func (o ProjectIpAddressesServicesPtrOutput) Clusters() ProjectIpAddressesServicesClusterArrayOutput {
+ return o.ApplyT(func(v *ProjectIpAddressesServices) []ProjectIpAddressesServicesCluster {
+ if v == nil {
+ return nil
+ }
+ return v.Clusters
+ }).(ProjectIpAddressesServicesClusterArrayOutput)
+}
+
+type ProjectIpAddressesServicesCluster struct {
+ ClusterName *string `pulumi:"clusterName"`
+ Inbounds []string `pulumi:"inbounds"`
+ Outbounds []string `pulumi:"outbounds"`
+}
+
+// ProjectIpAddressesServicesClusterInput is an input type that accepts ProjectIpAddressesServicesClusterArgs and ProjectIpAddressesServicesClusterOutput values.
+// You can construct a concrete instance of `ProjectIpAddressesServicesClusterInput` via:
+//
+// ProjectIpAddressesServicesClusterArgs{...}
+type ProjectIpAddressesServicesClusterInput interface {
+ pulumi.Input
+
+ ToProjectIpAddressesServicesClusterOutput() ProjectIpAddressesServicesClusterOutput
+ ToProjectIpAddressesServicesClusterOutputWithContext(context.Context) ProjectIpAddressesServicesClusterOutput
+}
+
+type ProjectIpAddressesServicesClusterArgs struct {
+ ClusterName pulumi.StringPtrInput `pulumi:"clusterName"`
+ Inbounds pulumi.StringArrayInput `pulumi:"inbounds"`
+ Outbounds pulumi.StringArrayInput `pulumi:"outbounds"`
+}
+
+func (ProjectIpAddressesServicesClusterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (i ProjectIpAddressesServicesClusterArgs) ToProjectIpAddressesServicesClusterOutput() ProjectIpAddressesServicesClusterOutput {
+ return i.ToProjectIpAddressesServicesClusterOutputWithContext(context.Background())
+}
+
+func (i ProjectIpAddressesServicesClusterArgs) ToProjectIpAddressesServicesClusterOutputWithContext(ctx context.Context) ProjectIpAddressesServicesClusterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesServicesClusterOutput)
+}
+
+// ProjectIpAddressesServicesClusterArrayInput is an input type that accepts ProjectIpAddressesServicesClusterArray and ProjectIpAddressesServicesClusterArrayOutput values.
+// You can construct a concrete instance of `ProjectIpAddressesServicesClusterArrayInput` via:
+//
+// ProjectIpAddressesServicesClusterArray{ ProjectIpAddressesServicesClusterArgs{...} }
+type ProjectIpAddressesServicesClusterArrayInput interface {
+ pulumi.Input
+
+ ToProjectIpAddressesServicesClusterArrayOutput() ProjectIpAddressesServicesClusterArrayOutput
+ ToProjectIpAddressesServicesClusterArrayOutputWithContext(context.Context) ProjectIpAddressesServicesClusterArrayOutput
+}
+
+type ProjectIpAddressesServicesClusterArray []ProjectIpAddressesServicesClusterInput
+
+func (ProjectIpAddressesServicesClusterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (i ProjectIpAddressesServicesClusterArray) ToProjectIpAddressesServicesClusterArrayOutput() ProjectIpAddressesServicesClusterArrayOutput {
+ return i.ToProjectIpAddressesServicesClusterArrayOutputWithContext(context.Background())
+}
+
+func (i ProjectIpAddressesServicesClusterArray) ToProjectIpAddressesServicesClusterArrayOutputWithContext(ctx context.Context) ProjectIpAddressesServicesClusterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProjectIpAddressesServicesClusterArrayOutput)
+}
+
+type ProjectIpAddressesServicesClusterOutput struct{ *pulumi.OutputState }
+
+func (ProjectIpAddressesServicesClusterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (o ProjectIpAddressesServicesClusterOutput) ToProjectIpAddressesServicesClusterOutput() ProjectIpAddressesServicesClusterOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesClusterOutput) ToProjectIpAddressesServicesClusterOutputWithContext(ctx context.Context) ProjectIpAddressesServicesClusterOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesClusterOutput) ClusterName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ProjectIpAddressesServicesCluster) *string { return v.ClusterName }).(pulumi.StringPtrOutput)
+}
+
+func (o ProjectIpAddressesServicesClusterOutput) Inbounds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ProjectIpAddressesServicesCluster) []string { return v.Inbounds }).(pulumi.StringArrayOutput)
+}
+
+func (o ProjectIpAddressesServicesClusterOutput) Outbounds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ProjectIpAddressesServicesCluster) []string { return v.Outbounds }).(pulumi.StringArrayOutput)
+}
+
+type ProjectIpAddressesServicesClusterArrayOutput struct{ *pulumi.OutputState }
+
+func (ProjectIpAddressesServicesClusterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (o ProjectIpAddressesServicesClusterArrayOutput) ToProjectIpAddressesServicesClusterArrayOutput() ProjectIpAddressesServicesClusterArrayOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesClusterArrayOutput) ToProjectIpAddressesServicesClusterArrayOutputWithContext(ctx context.Context) ProjectIpAddressesServicesClusterArrayOutput {
+ return o
+}
+
+func (o ProjectIpAddressesServicesClusterArrayOutput) Index(i pulumi.IntInput) ProjectIpAddressesServicesClusterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectIpAddressesServicesCluster {
+ return vs[0].([]ProjectIpAddressesServicesCluster)[vs[1].(int)]
+ }).(ProjectIpAddressesServicesClusterOutput)
+}
+
type ProjectLimit struct {
CurrentUsage *int `pulumi:"currentUsage"`
DefaultLimit *int `pulumi:"defaultLimit"`
@@ -15344,7 +15616,7 @@ type SearchIndexSynonym struct {
Analyzer string `pulumi:"analyzer"`
// The name of the search index you want to create.
Name string `pulumi:"name"`
- // Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
+ // (Required) Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
SourceCollection string `pulumi:"sourceCollection"`
}
@@ -15364,7 +15636,7 @@ type SearchIndexSynonymArgs struct {
Analyzer pulumi.StringInput `pulumi:"analyzer"`
// The name of the search index you want to create.
Name pulumi.StringInput `pulumi:"name"`
- // Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
+ // (Required) Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
SourceCollection pulumi.StringInput `pulumi:"sourceCollection"`
}
@@ -15429,7 +15701,7 @@ func (o SearchIndexSynonymOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v SearchIndexSynonym) string { return v.Name }).(pulumi.StringOutput)
}
-// Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
+// (Required) Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
func (o SearchIndexSynonymOutput) SourceCollection() pulumi.StringOutput {
return o.ApplyT(func(v SearchIndexSynonym) string { return v.SourceCollection }).(pulumi.StringOutput)
}
@@ -20644,7 +20916,7 @@ type GetAlertConfigurationNotification struct {
ChannelName string `pulumi:"channelName"`
// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
DatadogApiKey string `pulumi:"datadogApiKey"`
- // Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ // Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
DatadogRegion string `pulumi:"datadogRegion"`
// Number of minutes to wait after an alert condition is detected before sending out the first notification.
DelayMin int `pulumi:"delayMin"`
@@ -20707,7 +20979,7 @@ type GetAlertConfigurationNotificationArgs struct {
ChannelName pulumi.StringInput `pulumi:"channelName"`
// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
DatadogApiKey pulumi.StringInput `pulumi:"datadogApiKey"`
- // Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ // Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
DatadogRegion pulumi.StringInput `pulumi:"datadogRegion"`
// Number of minutes to wait after an alert condition is detected before sending out the first notification.
DelayMin pulumi.IntInput `pulumi:"delayMin"`
@@ -20818,7 +21090,7 @@ func (o GetAlertConfigurationNotificationOutput) DatadogApiKey() pulumi.StringOu
return o.ApplyT(func(v GetAlertConfigurationNotification) string { return v.DatadogApiKey }).(pulumi.StringOutput)
}
-// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+// Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
func (o GetAlertConfigurationNotificationOutput) DatadogRegion() pulumi.StringOutput {
return o.ApplyT(func(v GetAlertConfigurationNotification) string { return v.DatadogRegion }).(pulumi.StringOutput)
}
@@ -21740,7 +22012,7 @@ type GetAlertConfigurationsResultNotification struct {
ChannelName string `pulumi:"channelName"`
// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
DatadogApiKey string `pulumi:"datadogApiKey"`
- // Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ // Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
DatadogRegion string `pulumi:"datadogRegion"`
// Number of minutes to wait after an alert condition is detected before sending out the first notification.
DelayMin int `pulumi:"delayMin"`
@@ -21803,7 +22075,7 @@ type GetAlertConfigurationsResultNotificationArgs struct {
ChannelName pulumi.StringInput `pulumi:"channelName"`
// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
DatadogApiKey pulumi.StringInput `pulumi:"datadogApiKey"`
- // Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+ // Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
DatadogRegion pulumi.StringInput `pulumi:"datadogRegion"`
// Number of minutes to wait after an alert condition is detected before sending out the first notification.
DelayMin pulumi.IntInput `pulumi:"delayMin"`
@@ -21914,7 +22186,7 @@ func (o GetAlertConfigurationsResultNotificationOutput) DatadogApiKey() pulumi.S
return o.ApplyT(func(v GetAlertConfigurationsResultNotification) string { return v.DatadogApiKey }).(pulumi.StringOutput)
}
-// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
+// Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
func (o GetAlertConfigurationsResultNotificationOutput) DatadogRegion() pulumi.StringOutput {
return o.ApplyT(func(v GetAlertConfigurationsResultNotification) string { return v.DatadogRegion }).(pulumi.StringOutput)
}
@@ -23072,47 +23344,6 @@ func (i GetBackupCompliancePolicyOnDemandPolicyItemArgs) ToGetBackupCompliancePo
return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyOnDemandPolicyItemOutput)
}
-func (i GetBackupCompliancePolicyOnDemandPolicyItemArgs) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutput() GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return i.ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(context.Background())
-}
-
-func (i GetBackupCompliancePolicyOnDemandPolicyItemArgs) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyOnDemandPolicyItemOutput).ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(ctx)
-}
-
-// GetBackupCompliancePolicyOnDemandPolicyItemPtrInput is an input type that accepts GetBackupCompliancePolicyOnDemandPolicyItemArgs, GetBackupCompliancePolicyOnDemandPolicyItemPtr and GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput values.
-// You can construct a concrete instance of `GetBackupCompliancePolicyOnDemandPolicyItemPtrInput` via:
-//
-// GetBackupCompliancePolicyOnDemandPolicyItemArgs{...}
-//
-// or:
-//
-// nil
-type GetBackupCompliancePolicyOnDemandPolicyItemPtrInput interface {
- pulumi.Input
-
- ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutput() GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput
- ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(context.Context) GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput
-}
-
-type getBackupCompliancePolicyOnDemandPolicyItemPtrType GetBackupCompliancePolicyOnDemandPolicyItemArgs
-
-func GetBackupCompliancePolicyOnDemandPolicyItemPtr(v *GetBackupCompliancePolicyOnDemandPolicyItemArgs) GetBackupCompliancePolicyOnDemandPolicyItemPtrInput {
- return (*getBackupCompliancePolicyOnDemandPolicyItemPtrType)(v)
-}
-
-func (*getBackupCompliancePolicyOnDemandPolicyItemPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**GetBackupCompliancePolicyOnDemandPolicyItem)(nil)).Elem()
-}
-
-func (i *getBackupCompliancePolicyOnDemandPolicyItemPtrType) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutput() GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return i.ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(context.Background())
-}
-
-func (i *getBackupCompliancePolicyOnDemandPolicyItemPtrType) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput)
-}
-
type GetBackupCompliancePolicyOnDemandPolicyItemOutput struct{ *pulumi.OutputState }
func (GetBackupCompliancePolicyOnDemandPolicyItemOutput) ElementType() reflect.Type {
@@ -23127,16 +23358,6 @@ func (o GetBackupCompliancePolicyOnDemandPolicyItemOutput) ToGetBackupCompliance
return o
}
-func (o GetBackupCompliancePolicyOnDemandPolicyItemOutput) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutput() GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return o.ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(context.Background())
-}
-
-func (o GetBackupCompliancePolicyOnDemandPolicyItemOutput) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v GetBackupCompliancePolicyOnDemandPolicyItem) *GetBackupCompliancePolicyOnDemandPolicyItem {
- return &v
- }).(GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput)
-}
-
// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
func (o GetBackupCompliancePolicyOnDemandPolicyItemOutput) FrequencyInterval() pulumi.IntOutput {
return o.ApplyT(func(v GetBackupCompliancePolicyOnDemandPolicyItem) int { return v.FrequencyInterval }).(pulumi.IntOutput)
@@ -23162,80 +23383,6 @@ func (o GetBackupCompliancePolicyOnDemandPolicyItemOutput) RetentionValue() pulu
return o.ApplyT(func(v GetBackupCompliancePolicyOnDemandPolicyItem) int { return v.RetentionValue }).(pulumi.IntOutput)
}
-type GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput struct{ *pulumi.OutputState }
-
-func (GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**GetBackupCompliancePolicyOnDemandPolicyItem)(nil)).Elem()
-}
-
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutput() GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return o
-}
-
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) ToGetBackupCompliancePolicyOnDemandPolicyItemPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput {
- return o
-}
-
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) Elem() GetBackupCompliancePolicyOnDemandPolicyItemOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyOnDemandPolicyItem) GetBackupCompliancePolicyOnDemandPolicyItem {
- if v != nil {
- return *v
- }
- var ret GetBackupCompliancePolicyOnDemandPolicyItem
- return ret
- }).(GetBackupCompliancePolicyOnDemandPolicyItemOutput)
-}
-
-// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) FrequencyInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyOnDemandPolicyItem) *int {
- if v == nil {
- return nil
- }
- return &v.FrequencyInterval
- }).(pulumi.IntPtrOutput)
-}
-
-// Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as `monthly`. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) FrequencyType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyOnDemandPolicyItem) *string {
- if v == nil {
- return nil
- }
- return &v.FrequencyType
- }).(pulumi.StringPtrOutput)
-}
-
-// Unique identifier of the backup policy item.
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyOnDemandPolicyItem) *string {
- if v == nil {
- return nil
- }
- return &v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// Scope of the backup policy item: `days`, `weeks`, or `months`.
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) RetentionUnit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyOnDemandPolicyItem) *string {
- if v == nil {
- return nil
- }
- return &v.RetentionUnit
- }).(pulumi.StringPtrOutput)
-}
-
-// Value to associate with `retentionUnit`. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.
-func (o GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput) RetentionValue() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyOnDemandPolicyItem) *int {
- if v == nil {
- return nil
- }
- return &v.RetentionValue
- }).(pulumi.IntPtrOutput)
-}
-
type GetBackupCompliancePolicyPolicyItemDaily struct {
// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
FrequencyInterval int `pulumi:"frequencyInterval"`
@@ -23285,47 +23432,6 @@ func (i GetBackupCompliancePolicyPolicyItemDailyArgs) ToGetBackupCompliancePolic
return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyPolicyItemDailyOutput)
}
-func (i GetBackupCompliancePolicyPolicyItemDailyArgs) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutput() GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return i.ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(context.Background())
-}
-
-func (i GetBackupCompliancePolicyPolicyItemDailyArgs) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyPolicyItemDailyOutput).ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(ctx)
-}
-
-// GetBackupCompliancePolicyPolicyItemDailyPtrInput is an input type that accepts GetBackupCompliancePolicyPolicyItemDailyArgs, GetBackupCompliancePolicyPolicyItemDailyPtr and GetBackupCompliancePolicyPolicyItemDailyPtrOutput values.
-// You can construct a concrete instance of `GetBackupCompliancePolicyPolicyItemDailyPtrInput` via:
-//
-// GetBackupCompliancePolicyPolicyItemDailyArgs{...}
-//
-// or:
-//
-// nil
-type GetBackupCompliancePolicyPolicyItemDailyPtrInput interface {
- pulumi.Input
-
- ToGetBackupCompliancePolicyPolicyItemDailyPtrOutput() GetBackupCompliancePolicyPolicyItemDailyPtrOutput
- ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(context.Context) GetBackupCompliancePolicyPolicyItemDailyPtrOutput
-}
-
-type getBackupCompliancePolicyPolicyItemDailyPtrType GetBackupCompliancePolicyPolicyItemDailyArgs
-
-func GetBackupCompliancePolicyPolicyItemDailyPtr(v *GetBackupCompliancePolicyPolicyItemDailyArgs) GetBackupCompliancePolicyPolicyItemDailyPtrInput {
- return (*getBackupCompliancePolicyPolicyItemDailyPtrType)(v)
-}
-
-func (*getBackupCompliancePolicyPolicyItemDailyPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**GetBackupCompliancePolicyPolicyItemDaily)(nil)).Elem()
-}
-
-func (i *getBackupCompliancePolicyPolicyItemDailyPtrType) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutput() GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return i.ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(context.Background())
-}
-
-func (i *getBackupCompliancePolicyPolicyItemDailyPtrType) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyPolicyItemDailyPtrOutput)
-}
-
type GetBackupCompliancePolicyPolicyItemDailyOutput struct{ *pulumi.OutputState }
func (GetBackupCompliancePolicyPolicyItemDailyOutput) ElementType() reflect.Type {
@@ -23340,16 +23446,6 @@ func (o GetBackupCompliancePolicyPolicyItemDailyOutput) ToGetBackupCompliancePol
return o
}
-func (o GetBackupCompliancePolicyPolicyItemDailyOutput) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutput() GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return o.ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(context.Background())
-}
-
-func (o GetBackupCompliancePolicyPolicyItemDailyOutput) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v GetBackupCompliancePolicyPolicyItemDaily) *GetBackupCompliancePolicyPolicyItemDaily {
- return &v
- }).(GetBackupCompliancePolicyPolicyItemDailyPtrOutput)
-}
-
// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
func (o GetBackupCompliancePolicyPolicyItemDailyOutput) FrequencyInterval() pulumi.IntOutput {
return o.ApplyT(func(v GetBackupCompliancePolicyPolicyItemDaily) int { return v.FrequencyInterval }).(pulumi.IntOutput)
@@ -23375,80 +23471,6 @@ func (o GetBackupCompliancePolicyPolicyItemDailyOutput) RetentionValue() pulumi.
return o.ApplyT(func(v GetBackupCompliancePolicyPolicyItemDaily) int { return v.RetentionValue }).(pulumi.IntOutput)
}
-type GetBackupCompliancePolicyPolicyItemDailyPtrOutput struct{ *pulumi.OutputState }
-
-func (GetBackupCompliancePolicyPolicyItemDailyPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**GetBackupCompliancePolicyPolicyItemDaily)(nil)).Elem()
-}
-
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutput() GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return o
-}
-
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) ToGetBackupCompliancePolicyPolicyItemDailyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemDailyPtrOutput {
- return o
-}
-
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) Elem() GetBackupCompliancePolicyPolicyItemDailyOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemDaily) GetBackupCompliancePolicyPolicyItemDaily {
- if v != nil {
- return *v
- }
- var ret GetBackupCompliancePolicyPolicyItemDaily
- return ret
- }).(GetBackupCompliancePolicyPolicyItemDailyOutput)
-}
-
-// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) FrequencyInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemDaily) *int {
- if v == nil {
- return nil
- }
- return &v.FrequencyInterval
- }).(pulumi.IntPtrOutput)
-}
-
-// Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as `monthly`. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) FrequencyType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemDaily) *string {
- if v == nil {
- return nil
- }
- return &v.FrequencyType
- }).(pulumi.StringPtrOutput)
-}
-
-// Unique identifier of the backup policy item.
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemDaily) *string {
- if v == nil {
- return nil
- }
- return &v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// Scope of the backup policy item: `days`, `weeks`, or `months`.
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) RetentionUnit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemDaily) *string {
- if v == nil {
- return nil
- }
- return &v.RetentionUnit
- }).(pulumi.StringPtrOutput)
-}
-
-// Value to associate with `retentionUnit`. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.
-func (o GetBackupCompliancePolicyPolicyItemDailyPtrOutput) RetentionValue() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemDaily) *int {
- if v == nil {
- return nil
- }
- return &v.RetentionValue
- }).(pulumi.IntPtrOutput)
-}
-
type GetBackupCompliancePolicyPolicyItemHourly struct {
// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
FrequencyInterval int `pulumi:"frequencyInterval"`
@@ -23498,47 +23520,6 @@ func (i GetBackupCompliancePolicyPolicyItemHourlyArgs) ToGetBackupCompliancePoli
return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyPolicyItemHourlyOutput)
}
-func (i GetBackupCompliancePolicyPolicyItemHourlyArgs) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutput() GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return i.ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(context.Background())
-}
-
-func (i GetBackupCompliancePolicyPolicyItemHourlyArgs) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyPolicyItemHourlyOutput).ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(ctx)
-}
-
-// GetBackupCompliancePolicyPolicyItemHourlyPtrInput is an input type that accepts GetBackupCompliancePolicyPolicyItemHourlyArgs, GetBackupCompliancePolicyPolicyItemHourlyPtr and GetBackupCompliancePolicyPolicyItemHourlyPtrOutput values.
-// You can construct a concrete instance of `GetBackupCompliancePolicyPolicyItemHourlyPtrInput` via:
-//
-// GetBackupCompliancePolicyPolicyItemHourlyArgs{...}
-//
-// or:
-//
-// nil
-type GetBackupCompliancePolicyPolicyItemHourlyPtrInput interface {
- pulumi.Input
-
- ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutput() GetBackupCompliancePolicyPolicyItemHourlyPtrOutput
- ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(context.Context) GetBackupCompliancePolicyPolicyItemHourlyPtrOutput
-}
-
-type getBackupCompliancePolicyPolicyItemHourlyPtrType GetBackupCompliancePolicyPolicyItemHourlyArgs
-
-func GetBackupCompliancePolicyPolicyItemHourlyPtr(v *GetBackupCompliancePolicyPolicyItemHourlyArgs) GetBackupCompliancePolicyPolicyItemHourlyPtrInput {
- return (*getBackupCompliancePolicyPolicyItemHourlyPtrType)(v)
-}
-
-func (*getBackupCompliancePolicyPolicyItemHourlyPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**GetBackupCompliancePolicyPolicyItemHourly)(nil)).Elem()
-}
-
-func (i *getBackupCompliancePolicyPolicyItemHourlyPtrType) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutput() GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return i.ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(context.Background())
-}
-
-func (i *getBackupCompliancePolicyPolicyItemHourlyPtrType) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetBackupCompliancePolicyPolicyItemHourlyPtrOutput)
-}
-
type GetBackupCompliancePolicyPolicyItemHourlyOutput struct{ *pulumi.OutputState }
func (GetBackupCompliancePolicyPolicyItemHourlyOutput) ElementType() reflect.Type {
@@ -23553,16 +23534,6 @@ func (o GetBackupCompliancePolicyPolicyItemHourlyOutput) ToGetBackupCompliancePo
return o
}
-func (o GetBackupCompliancePolicyPolicyItemHourlyOutput) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutput() GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return o.ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(context.Background())
-}
-
-func (o GetBackupCompliancePolicyPolicyItemHourlyOutput) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v GetBackupCompliancePolicyPolicyItemHourly) *GetBackupCompliancePolicyPolicyItemHourly {
- return &v
- }).(GetBackupCompliancePolicyPolicyItemHourlyPtrOutput)
-}
-
// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
func (o GetBackupCompliancePolicyPolicyItemHourlyOutput) FrequencyInterval() pulumi.IntOutput {
return o.ApplyT(func(v GetBackupCompliancePolicyPolicyItemHourly) int { return v.FrequencyInterval }).(pulumi.IntOutput)
@@ -23588,80 +23559,6 @@ func (o GetBackupCompliancePolicyPolicyItemHourlyOutput) RetentionValue() pulumi
return o.ApplyT(func(v GetBackupCompliancePolicyPolicyItemHourly) int { return v.RetentionValue }).(pulumi.IntOutput)
}
-type GetBackupCompliancePolicyPolicyItemHourlyPtrOutput struct{ *pulumi.OutputState }
-
-func (GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**GetBackupCompliancePolicyPolicyItemHourly)(nil)).Elem()
-}
-
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutput() GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return o
-}
-
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) ToGetBackupCompliancePolicyPolicyItemHourlyPtrOutputWithContext(ctx context.Context) GetBackupCompliancePolicyPolicyItemHourlyPtrOutput {
- return o
-}
-
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) Elem() GetBackupCompliancePolicyPolicyItemHourlyOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemHourly) GetBackupCompliancePolicyPolicyItemHourly {
- if v != nil {
- return *v
- }
- var ret GetBackupCompliancePolicyPolicyItemHourly
- return ret
- }).(GetBackupCompliancePolicyPolicyItemHourlyOutput)
-}
-
-// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) FrequencyInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemHourly) *int {
- if v == nil {
- return nil
- }
- return &v.FrequencyInterval
- }).(pulumi.IntPtrOutput)
-}
-
-// Frequency associated with the backup policy item. For monthly policies, the frequency type is defined as `monthly`. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) FrequencyType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemHourly) *string {
- if v == nil {
- return nil
- }
- return &v.FrequencyType
- }).(pulumi.StringPtrOutput)
-}
-
-// Unique identifier of the backup policy item.
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemHourly) *string {
- if v == nil {
- return nil
- }
- return &v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// Scope of the backup policy item: `days`, `weeks`, or `months`.
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) RetentionUnit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemHourly) *string {
- if v == nil {
- return nil
- }
- return &v.RetentionUnit
- }).(pulumi.StringPtrOutput)
-}
-
-// Value to associate with `retentionUnit`. Monthly policy must have retention days of at least 31 days or 5 weeks or 1 month. Note that for less frequent policy items, Atlas requires that you specify a retention period greater than or equal to the retention period specified for more frequent policy items. For example: If the weekly policy item specifies a retention of two weeks, the montly retention policy must specify two weeks or greater.
-func (o GetBackupCompliancePolicyPolicyItemHourlyPtrOutput) RetentionValue() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *GetBackupCompliancePolicyPolicyItemHourly) *int {
- if v == nil {
- return nil
- }
- return &v.RetentionValue
- }).(pulumi.IntPtrOutput)
-}
-
type GetBackupCompliancePolicyPolicyItemMonthly struct {
// Desired frequency of the new backup policy item specified by `frequencyType` (monthly in this case). The supported values for weekly policies are
FrequencyInterval int `pulumi:"frequencyInterval"`
@@ -26099,268 +25996,6 @@ func (o GetCloudBackupSnapshotsResultMemberArrayOutput) Index(i pulumi.IntInput)
}).(GetCloudBackupSnapshotsResultMemberOutput)
}
-type GetCloudProviderAccessAwsIamRole struct {
- // Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- AtlasAssumedRoleExternalId string `pulumi:"atlasAssumedRoleExternalId"`
- // ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- AtlasAwsAccountArn string `pulumi:"atlasAwsAccountArn"`
- // Date on which this role was authorized.
- AuthorizedDate string `pulumi:"authorizedDate"`
- // Date on which this role was created.
- CreatedDate string `pulumi:"createdDate"`
- // Atlas features this AWS IAM role is linked to.
- FeatureUsages []GetCloudProviderAccessAwsIamRoleFeatureUsage `pulumi:"featureUsages"`
- // ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.
- IamAssumedRoleArn string `pulumi:"iamAssumedRoleArn"`
- // Name of the cloud provider. Currently limited to AWS.
- ProviderName string `pulumi:"providerName"`
- // Unique ID of this role.
- RoleId string `pulumi:"roleId"`
-}
-
-// GetCloudProviderAccessAwsIamRoleInput is an input type that accepts GetCloudProviderAccessAwsIamRoleArgs and GetCloudProviderAccessAwsIamRoleOutput values.
-// You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleInput` via:
-//
-// GetCloudProviderAccessAwsIamRoleArgs{...}
-type GetCloudProviderAccessAwsIamRoleInput interface {
- pulumi.Input
-
- ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput
- ToGetCloudProviderAccessAwsIamRoleOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleOutput
-}
-
-type GetCloudProviderAccessAwsIamRoleArgs struct {
- // Unique external ID Atlas uses when assuming the IAM role in your AWS account.
- AtlasAssumedRoleExternalId pulumi.StringInput `pulumi:"atlasAssumedRoleExternalId"`
- // ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
- AtlasAwsAccountArn pulumi.StringInput `pulumi:"atlasAwsAccountArn"`
- // Date on which this role was authorized.
- AuthorizedDate pulumi.StringInput `pulumi:"authorizedDate"`
- // Date on which this role was created.
- CreatedDate pulumi.StringInput `pulumi:"createdDate"`
- // Atlas features this AWS IAM role is linked to.
- FeatureUsages GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput `pulumi:"featureUsages"`
- // ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.
- IamAssumedRoleArn pulumi.StringInput `pulumi:"iamAssumedRoleArn"`
- // Name of the cloud provider. Currently limited to AWS.
- ProviderName pulumi.StringInput `pulumi:"providerName"`
- // Unique ID of this role.
- RoleId pulumi.StringInput `pulumi:"roleId"`
-}
-
-func (GetCloudProviderAccessAwsIamRoleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetCloudProviderAccessAwsIamRole)(nil)).Elem()
-}
-
-func (i GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput {
- return i.ToGetCloudProviderAccessAwsIamRoleOutputWithContext(context.Background())
-}
-
-func (i GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetCloudProviderAccessAwsIamRoleOutput)
-}
-
-// GetCloudProviderAccessAwsIamRoleArrayInput is an input type that accepts GetCloudProviderAccessAwsIamRoleArray and GetCloudProviderAccessAwsIamRoleArrayOutput values.
-// You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleArrayInput` via:
-//
-// GetCloudProviderAccessAwsIamRoleArray{ GetCloudProviderAccessAwsIamRoleArgs{...} }
-type GetCloudProviderAccessAwsIamRoleArrayInput interface {
- pulumi.Input
-
- ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput
- ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleArrayOutput
-}
-
-type GetCloudProviderAccessAwsIamRoleArray []GetCloudProviderAccessAwsIamRoleInput
-
-func (GetCloudProviderAccessAwsIamRoleArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetCloudProviderAccessAwsIamRole)(nil)).Elem()
-}
-
-func (i GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput {
- return i.ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext(context.Background())
-}
-
-func (i GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetCloudProviderAccessAwsIamRoleArrayOutput)
-}
-
-type GetCloudProviderAccessAwsIamRoleOutput struct{ *pulumi.OutputState }
-
-func (GetCloudProviderAccessAwsIamRoleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetCloudProviderAccessAwsIamRole)(nil)).Elem()
-}
-
-func (o GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput {
- return o
-}
-
-func (o GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleOutput {
- return o
-}
-
-// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
-func (o GetCloudProviderAccessAwsIamRoleOutput) AtlasAssumedRoleExternalId() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) string { return v.AtlasAssumedRoleExternalId }).(pulumi.StringOutput)
-}
-
-// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
-func (o GetCloudProviderAccessAwsIamRoleOutput) AtlasAwsAccountArn() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) string { return v.AtlasAwsAccountArn }).(pulumi.StringOutput)
-}
-
-// Date on which this role was authorized.
-func (o GetCloudProviderAccessAwsIamRoleOutput) AuthorizedDate() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) string { return v.AuthorizedDate }).(pulumi.StringOutput)
-}
-
-// Date on which this role was created.
-func (o GetCloudProviderAccessAwsIamRoleOutput) CreatedDate() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) string { return v.CreatedDate }).(pulumi.StringOutput)
-}
-
-// Atlas features this AWS IAM role is linked to.
-func (o GetCloudProviderAccessAwsIamRoleOutput) FeatureUsages() GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) []GetCloudProviderAccessAwsIamRoleFeatureUsage {
- return v.FeatureUsages
- }).(GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput)
-}
-
-// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.
-func (o GetCloudProviderAccessAwsIamRoleOutput) IamAssumedRoleArn() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) string { return v.IamAssumedRoleArn }).(pulumi.StringOutput)
-}
-
-// Name of the cloud provider. Currently limited to AWS.
-func (o GetCloudProviderAccessAwsIamRoleOutput) ProviderName() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) string { return v.ProviderName }).(pulumi.StringOutput)
-}
-
-// Unique ID of this role.
-func (o GetCloudProviderAccessAwsIamRoleOutput) RoleId() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRole) string { return v.RoleId }).(pulumi.StringOutput)
-}
-
-type GetCloudProviderAccessAwsIamRoleArrayOutput struct{ *pulumi.OutputState }
-
-func (GetCloudProviderAccessAwsIamRoleArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetCloudProviderAccessAwsIamRole)(nil)).Elem()
-}
-
-func (o GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput {
- return o
-}
-
-func (o GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleArrayOutput {
- return o
-}
-
-func (o GetCloudProviderAccessAwsIamRoleArrayOutput) Index(i pulumi.IntInput) GetCloudProviderAccessAwsIamRoleOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProviderAccessAwsIamRole {
- return vs[0].([]GetCloudProviderAccessAwsIamRole)[vs[1].(int)]
- }).(GetCloudProviderAccessAwsIamRoleOutput)
-}
-
-type GetCloudProviderAccessAwsIamRoleFeatureUsage struct {
- FeatureId map[string]interface{} `pulumi:"featureId"`
- FeatureType string `pulumi:"featureType"`
-}
-
-// GetCloudProviderAccessAwsIamRoleFeatureUsageInput is an input type that accepts GetCloudProviderAccessAwsIamRoleFeatureUsageArgs and GetCloudProviderAccessAwsIamRoleFeatureUsageOutput values.
-// You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleFeatureUsageInput` via:
-//
-// GetCloudProviderAccessAwsIamRoleFeatureUsageArgs{...}
-type GetCloudProviderAccessAwsIamRoleFeatureUsageInput interface {
- pulumi.Input
-
- ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput
- ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput
-}
-
-type GetCloudProviderAccessAwsIamRoleFeatureUsageArgs struct {
- FeatureId pulumi.MapInput `pulumi:"featureId"`
- FeatureType pulumi.StringInput `pulumi:"featureType"`
-}
-
-func (GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetCloudProviderAccessAwsIamRoleFeatureUsage)(nil)).Elem()
-}
-
-func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput {
- return i.ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(context.Background())
-}
-
-func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetCloudProviderAccessAwsIamRoleFeatureUsageOutput)
-}
-
-// GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput is an input type that accepts GetCloudProviderAccessAwsIamRoleFeatureUsageArray and GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput values.
-// You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput` via:
-//
-// GetCloudProviderAccessAwsIamRoleFeatureUsageArray{ GetCloudProviderAccessAwsIamRoleFeatureUsageArgs{...} }
-type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput interface {
- pulumi.Input
-
- ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput
- ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput
-}
-
-type GetCloudProviderAccessAwsIamRoleFeatureUsageArray []GetCloudProviderAccessAwsIamRoleFeatureUsageInput
-
-func (GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetCloudProviderAccessAwsIamRoleFeatureUsage)(nil)).Elem()
-}
-
-func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput {
- return i.ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(context.Background())
-}
-
-func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput)
-}
-
-type GetCloudProviderAccessAwsIamRoleFeatureUsageOutput struct{ *pulumi.OutputState }
-
-func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetCloudProviderAccessAwsIamRoleFeatureUsage)(nil)).Elem()
-}
-
-func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput {
- return o
-}
-
-func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput {
- return o
-}
-
-func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) FeatureId() pulumi.MapOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRoleFeatureUsage) map[string]interface{} { return v.FeatureId }).(pulumi.MapOutput)
-}
-
-func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) FeatureType() pulumi.StringOutput {
- return o.ApplyT(func(v GetCloudProviderAccessAwsIamRoleFeatureUsage) string { return v.FeatureType }).(pulumi.StringOutput)
-}
-
-type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput struct{ *pulumi.OutputState }
-
-func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetCloudProviderAccessAwsIamRoleFeatureUsage)(nil)).Elem()
-}
-
-func (o GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput {
- return o
-}
-
-func (o GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput {
- return o
-}
-
-func (o GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) Index(i pulumi.IntInput) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProviderAccessAwsIamRoleFeatureUsage {
- return vs[0].([]GetCloudProviderAccessAwsIamRoleFeatureUsage)[vs[1].(int)]
- }).(GetCloudProviderAccessAwsIamRoleFeatureUsageOutput)
-}
-
type GetCloudProviderAccessSetupAwsConfig struct {
// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
AtlasAssumedRoleExternalId string `pulumi:"atlasAssumedRoleExternalId"`
@@ -33057,7 +32692,8 @@ type GetDatabaseUsersResult struct {
LdapAuthType string `pulumi:"ldapAuthType"`
// (Optional) Human-readable label that indicates whether the new database user authenticates with OIDC (OpenID Connect) federated authentication. If no value is given, Atlas uses the default value of `NONE`. The accepted types are:
OidcAuthType string `pulumi:"oidcAuthType"`
- Password string `pulumi:"password"`
+ // Deprecated: this parameter is deprecated and will be removed in version 1.16.0
+ Password string `pulumi:"password"`
// The unique ID for the project to get all database users.
ProjectId string `pulumi:"projectId"`
// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
@@ -33094,7 +32730,8 @@ type GetDatabaseUsersResultArgs struct {
LdapAuthType pulumi.StringInput `pulumi:"ldapAuthType"`
// (Optional) Human-readable label that indicates whether the new database user authenticates with OIDC (OpenID Connect) federated authentication. If no value is given, Atlas uses the default value of `NONE`. The accepted types are:
OidcAuthType pulumi.StringInput `pulumi:"oidcAuthType"`
- Password pulumi.StringInput `pulumi:"password"`
+ // Deprecated: this parameter is deprecated and will be removed in version 1.16.0
+ Password pulumi.StringInput `pulumi:"password"`
// The unique ID for the project to get all database users.
ProjectId pulumi.StringInput `pulumi:"projectId"`
// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
@@ -33188,6 +32825,7 @@ func (o GetDatabaseUsersResultOutput) OidcAuthType() pulumi.StringOutput {
return o.ApplyT(func(v GetDatabaseUsersResult) string { return v.OidcAuthType }).(pulumi.StringOutput)
}
+// Deprecated: this parameter is deprecated and will be removed in version 1.16.0
func (o GetDatabaseUsersResultOutput) Password() pulumi.StringOutput {
return o.ApplyT(func(v GetDatabaseUsersResult) string { return v.Password }).(pulumi.StringOutput)
}
@@ -37364,9 +37002,8 @@ type GetFederatedSettingsIdentityProviderAssociatedOrg struct {
// List that contains the approved domains from which organization users can log in.
DomainAllowLists []string `pulumi:"domainAllowLists"`
// Flag that indicates whether domain restriction is enabled for the connected organization.
- DomainRestrictionEnabled bool `pulumi:"domainRestrictionEnabled"`
- // Unique 20-hexadecimal digit string that identifies the IdP.
- IdentityProviderId string `pulumi:"identityProviderId"`
+ DomainRestrictionEnabled bool `pulumi:"domainRestrictionEnabled"`
+ IdentityProviderId string `pulumi:"identityProviderId"`
// Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
OrgId string `pulumi:"orgId"`
// List that contains the default roles granted to users who authenticate through the IdP in a connected organization. If you provide a postAuthRoleGrants field in the request, the array that you provide replaces the current postAuthRoleGrants.
@@ -37390,9 +37027,8 @@ type GetFederatedSettingsIdentityProviderAssociatedOrgArgs struct {
// List that contains the approved domains from which organization users can log in.
DomainAllowLists pulumi.StringArrayInput `pulumi:"domainAllowLists"`
// Flag that indicates whether domain restriction is enabled for the connected organization.
- DomainRestrictionEnabled pulumi.BoolInput `pulumi:"domainRestrictionEnabled"`
- // Unique 20-hexadecimal digit string that identifies the IdP.
- IdentityProviderId pulumi.StringInput `pulumi:"identityProviderId"`
+ DomainRestrictionEnabled pulumi.BoolInput `pulumi:"domainRestrictionEnabled"`
+ IdentityProviderId pulumi.StringInput `pulumi:"identityProviderId"`
// Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
OrgId pulumi.StringInput `pulumi:"orgId"`
// List that contains the default roles granted to users who authenticate through the IdP in a connected organization. If you provide a postAuthRoleGrants field in the request, the array that you provide replaces the current postAuthRoleGrants.
@@ -37462,7 +37098,6 @@ func (o GetFederatedSettingsIdentityProviderAssociatedOrgOutput) DomainRestricti
return o.ApplyT(func(v GetFederatedSettingsIdentityProviderAssociatedOrg) bool { return v.DomainRestrictionEnabled }).(pulumi.BoolOutput)
}
-// Unique 20-hexadecimal digit string that identifies the IdP.
func (o GetFederatedSettingsIdentityProviderAssociatedOrgOutput) IdentityProviderId() pulumi.StringOutput {
return o.ApplyT(func(v GetFederatedSettingsIdentityProviderAssociatedOrg) string { return v.IdentityProviderId }).(pulumi.StringOutput)
}
@@ -38102,18 +37737,30 @@ type GetFederatedSettingsIdentityProvidersResult struct {
AssociatedDomains []string `pulumi:"associatedDomains"`
// List that contains the configured domains from which users can log in for this IdP.
AssociatedOrgs []GetFederatedSettingsIdentityProvidersResultAssociatedOrg `pulumi:"associatedOrgs"`
+ // Identifier of the intended recipient of the token.
+ AudienceClaims []string `pulumi:"audienceClaims"`
// Identifier for the intended audience of the SAML Assertion.
AudienceUri string `pulumi:"audienceUri"`
+ // Client identifier that is assigned to an application by the Identity Provider.
+ ClientId string `pulumi:"clientId"`
// Human-readable label that identifies the IdP.
DisplayName string `pulumi:"displayName"`
+ // Identifier of the claim which contains IdP Group IDs in the token.
+ GroupsClaim string `pulumi:"groupsClaim"`
+ // Unique 20-hexadecimal digit string that identifies the IdP.
+ IdpId string `pulumi:"idpId"`
// Identifier for the issuer of the SAML Assertion.
IssuerUri string `pulumi:"issuerUri"`
OktaIdpId string `pulumi:"oktaIdpId"`
PemFileInfos []GetFederatedSettingsIdentityProvidersResultPemFileInfo `pulumi:"pemFileInfos"`
+ // The protocol of the identity provider
+ Protocol string `pulumi:"protocol"`
// SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
RequestBinding string `pulumi:"requestBinding"`
+ // Scopes that MongoDB applications will request from the authorization endpoint.
+ RequestedScopes []string `pulumi:"requestedScopes"`
// Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
// - SHA-1
// - SHA-256
@@ -38124,6 +37771,8 @@ type GetFederatedSettingsIdentityProvidersResult struct {
SsoUrl string `pulumi:"ssoUrl"`
// Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.
Status string `pulumi:"status"`
+ // Identifier of the claim which contains the user ID in the token.
+ UserClaim string `pulumi:"userClaim"`
}
// GetFederatedSettingsIdentityProvidersResultInput is an input type that accepts GetFederatedSettingsIdentityProvidersResultArgs and GetFederatedSettingsIdentityProvidersResultOutput values.
@@ -38144,18 +37793,30 @@ type GetFederatedSettingsIdentityProvidersResultArgs struct {
AssociatedDomains pulumi.StringArrayInput `pulumi:"associatedDomains"`
// List that contains the configured domains from which users can log in for this IdP.
AssociatedOrgs GetFederatedSettingsIdentityProvidersResultAssociatedOrgArrayInput `pulumi:"associatedOrgs"`
+ // Identifier of the intended recipient of the token.
+ AudienceClaims pulumi.StringArrayInput `pulumi:"audienceClaims"`
// Identifier for the intended audience of the SAML Assertion.
AudienceUri pulumi.StringInput `pulumi:"audienceUri"`
+ // Client identifier that is assigned to an application by the Identity Provider.
+ ClientId pulumi.StringInput `pulumi:"clientId"`
// Human-readable label that identifies the IdP.
DisplayName pulumi.StringInput `pulumi:"displayName"`
+ // Identifier of the claim which contains IdP Group IDs in the token.
+ GroupsClaim pulumi.StringInput `pulumi:"groupsClaim"`
+ // Unique 20-hexadecimal digit string that identifies the IdP.
+ IdpId pulumi.StringInput `pulumi:"idpId"`
// Identifier for the issuer of the SAML Assertion.
IssuerUri pulumi.StringInput `pulumi:"issuerUri"`
OktaIdpId pulumi.StringInput `pulumi:"oktaIdpId"`
PemFileInfos GetFederatedSettingsIdentityProvidersResultPemFileInfoArrayInput `pulumi:"pemFileInfos"`
+ // The protocol of the identity provider
+ Protocol pulumi.StringInput `pulumi:"protocol"`
// SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
RequestBinding pulumi.StringInput `pulumi:"requestBinding"`
+ // Scopes that MongoDB applications will request from the authorization endpoint.
+ RequestedScopes pulumi.StringArrayInput `pulumi:"requestedScopes"`
// Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
// - SHA-1
// - SHA-256
@@ -38166,6 +37827,8 @@ type GetFederatedSettingsIdentityProvidersResultArgs struct {
SsoUrl pulumi.StringInput `pulumi:"ssoUrl"`
// Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.
Status pulumi.StringInput `pulumi:"status"`
+ // Identifier of the claim which contains the user ID in the token.
+ UserClaim pulumi.StringInput `pulumi:"userClaim"`
}
func (GetFederatedSettingsIdentityProvidersResultArgs) ElementType() reflect.Type {
@@ -38236,16 +37899,36 @@ func (o GetFederatedSettingsIdentityProvidersResultOutput) AssociatedOrgs() GetF
}).(GetFederatedSettingsIdentityProvidersResultAssociatedOrgArrayOutput)
}
+// Identifier of the intended recipient of the token.
+func (o GetFederatedSettingsIdentityProvidersResultOutput) AudienceClaims() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) []string { return v.AudienceClaims }).(pulumi.StringArrayOutput)
+}
+
// Identifier for the intended audience of the SAML Assertion.
func (o GetFederatedSettingsIdentityProvidersResultOutput) AudienceUri() pulumi.StringOutput {
return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.AudienceUri }).(pulumi.StringOutput)
}
+// Client identifier that is assigned to an application by the Identity Provider.
+func (o GetFederatedSettingsIdentityProvidersResultOutput) ClientId() pulumi.StringOutput {
+ return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.ClientId }).(pulumi.StringOutput)
+}
+
// Human-readable label that identifies the IdP.
func (o GetFederatedSettingsIdentityProvidersResultOutput) DisplayName() pulumi.StringOutput {
return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.DisplayName }).(pulumi.StringOutput)
}
+// Identifier of the claim which contains IdP Group IDs in the token.
+func (o GetFederatedSettingsIdentityProvidersResultOutput) GroupsClaim() pulumi.StringOutput {
+ return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.GroupsClaim }).(pulumi.StringOutput)
+}
+
+// Unique 20-hexadecimal digit string that identifies the IdP.
+func (o GetFederatedSettingsIdentityProvidersResultOutput) IdpId() pulumi.StringOutput {
+ return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.IdpId }).(pulumi.StringOutput)
+}
+
// Identifier for the issuer of the SAML Assertion.
func (o GetFederatedSettingsIdentityProvidersResultOutput) IssuerUri() pulumi.StringOutput {
return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.IssuerUri }).(pulumi.StringOutput)
@@ -38261,6 +37944,11 @@ func (o GetFederatedSettingsIdentityProvidersResultOutput) PemFileInfos() GetFed
}).(GetFederatedSettingsIdentityProvidersResultPemFileInfoArrayOutput)
}
+// The protocol of the identity provider
+func (o GetFederatedSettingsIdentityProvidersResultOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.Protocol }).(pulumi.StringOutput)
+}
+
// SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
// - HTTP POST
// - HTTP REDIRECT
@@ -38268,6 +37956,11 @@ func (o GetFederatedSettingsIdentityProvidersResultOutput) RequestBinding() pulu
return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.RequestBinding }).(pulumi.StringOutput)
}
+// Scopes that MongoDB applications will request from the authorization endpoint.
+func (o GetFederatedSettingsIdentityProvidersResultOutput) RequestedScopes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) []string { return v.RequestedScopes }).(pulumi.StringArrayOutput)
+}
+
// Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
// - SHA-1
// - SHA-256
@@ -38290,6 +37983,11 @@ func (o GetFederatedSettingsIdentityProvidersResultOutput) Status() pulumi.Strin
return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.Status }).(pulumi.StringOutput)
}
+// Identifier of the claim which contains the user ID in the token.
+func (o GetFederatedSettingsIdentityProvidersResultOutput) UserClaim() pulumi.StringOutput {
+ return o.ApplyT(func(v GetFederatedSettingsIdentityProvidersResult) string { return v.UserClaim }).(pulumi.StringOutput)
+}
+
type GetFederatedSettingsIdentityProvidersResultArrayOutput struct{ *pulumi.OutputState }
func (GetFederatedSettingsIdentityProvidersResultArrayOutput) ElementType() reflect.Type {
@@ -42562,15 +42260,21 @@ func (o GetOrganizationLinkArrayOutput) Index(i pulumi.IntInput) GetOrganization
}
type GetOrganizationsResult struct {
+ // Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired bool `pulumi:"apiAccessListRequired"`
// Autogenerated Unique ID for this data source.
Id string `pulumi:"id"`
// Flag that indicates whether this organization has been deleted.
- //
- // See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
IsDeleted bool `pulumi:"isDeleted"`
Links []GetOrganizationsResultLink `pulumi:"links"`
+ // Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired bool `pulumi:"multiFactorAuthRequired"`
// Human-readable label that identifies the organization.
Name string `pulumi:"name"`
+ // Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ //
+ // See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
+ RestrictEmployeeAccess bool `pulumi:"restrictEmployeeAccess"`
}
// GetOrganizationsResultInput is an input type that accepts GetOrganizationsResultArgs and GetOrganizationsResultOutput values.
@@ -42585,15 +42289,21 @@ type GetOrganizationsResultInput interface {
}
type GetOrganizationsResultArgs struct {
+ // Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+ ApiAccessListRequired pulumi.BoolInput `pulumi:"apiAccessListRequired"`
// Autogenerated Unique ID for this data source.
Id pulumi.StringInput `pulumi:"id"`
// Flag that indicates whether this organization has been deleted.
- //
- // See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
IsDeleted pulumi.BoolInput `pulumi:"isDeleted"`
Links GetOrganizationsResultLinkArrayInput `pulumi:"links"`
+ // Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+ MultiFactorAuthRequired pulumi.BoolInput `pulumi:"multiFactorAuthRequired"`
// Human-readable label that identifies the organization.
Name pulumi.StringInput `pulumi:"name"`
+ // Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+ //
+ // See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
+ RestrictEmployeeAccess pulumi.BoolInput `pulumi:"restrictEmployeeAccess"`
}
func (GetOrganizationsResultArgs) ElementType() reflect.Type {
@@ -42647,14 +42357,17 @@ func (o GetOrganizationsResultOutput) ToGetOrganizationsResultOutputWithContext(
return o
}
+// Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
+func (o GetOrganizationsResultOutput) ApiAccessListRequired() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetOrganizationsResult) bool { return v.ApiAccessListRequired }).(pulumi.BoolOutput)
+}
+
// Autogenerated Unique ID for this data source.
func (o GetOrganizationsResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetOrganizationsResult) string { return v.Id }).(pulumi.StringOutput)
}
// Flag that indicates whether this organization has been deleted.
-//
-// See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
func (o GetOrganizationsResultOutput) IsDeleted() pulumi.BoolOutput {
return o.ApplyT(func(v GetOrganizationsResult) bool { return v.IsDeleted }).(pulumi.BoolOutput)
}
@@ -42663,11 +42376,23 @@ func (o GetOrganizationsResultOutput) Links() GetOrganizationsResultLinkArrayOut
return o.ApplyT(func(v GetOrganizationsResult) []GetOrganizationsResultLink { return v.Links }).(GetOrganizationsResultLinkArrayOutput)
}
+// Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
+func (o GetOrganizationsResultOutput) MultiFactorAuthRequired() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetOrganizationsResult) bool { return v.MultiFactorAuthRequired }).(pulumi.BoolOutput)
+}
+
// Human-readable label that identifies the organization.
func (o GetOrganizationsResultOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetOrganizationsResult) string { return v.Name }).(pulumi.StringOutput)
}
+// Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
+//
+// See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
+func (o GetOrganizationsResultOutput) RestrictEmployeeAccess() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetOrganizationsResult) bool { return v.RestrictEmployeeAccess }).(pulumi.BoolOutput)
+}
+
type GetOrganizationsResultArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationsResultArrayOutput) ElementType() reflect.Type {
@@ -43531,15 +43256,223 @@ func (o GetProjectApiKeysResultProjectAssignmentArrayOutput) Index(i pulumi.IntI
}).(GetProjectApiKeysResultProjectAssignmentOutput)
}
+type GetProjectIpAddresses struct {
+ Services GetProjectIpAddressesServices `pulumi:"services"`
+}
+
+// GetProjectIpAddressesInput is an input type that accepts GetProjectIpAddressesArgs and GetProjectIpAddressesOutput values.
+// You can construct a concrete instance of `GetProjectIpAddressesInput` via:
+//
+// GetProjectIpAddressesArgs{...}
+type GetProjectIpAddressesInput interface {
+ pulumi.Input
+
+ ToGetProjectIpAddressesOutput() GetProjectIpAddressesOutput
+ ToGetProjectIpAddressesOutputWithContext(context.Context) GetProjectIpAddressesOutput
+}
+
+type GetProjectIpAddressesArgs struct {
+ Services GetProjectIpAddressesServicesInput `pulumi:"services"`
+}
+
+func (GetProjectIpAddressesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectIpAddresses)(nil)).Elem()
+}
+
+func (i GetProjectIpAddressesArgs) ToGetProjectIpAddressesOutput() GetProjectIpAddressesOutput {
+ return i.ToGetProjectIpAddressesOutputWithContext(context.Background())
+}
+
+func (i GetProjectIpAddressesArgs) ToGetProjectIpAddressesOutputWithContext(ctx context.Context) GetProjectIpAddressesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectIpAddressesOutput)
+}
+
+type GetProjectIpAddressesOutput struct{ *pulumi.OutputState }
+
+func (GetProjectIpAddressesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectIpAddresses)(nil)).Elem()
+}
+
+func (o GetProjectIpAddressesOutput) ToGetProjectIpAddressesOutput() GetProjectIpAddressesOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesOutput) ToGetProjectIpAddressesOutputWithContext(ctx context.Context) GetProjectIpAddressesOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesOutput) Services() GetProjectIpAddressesServicesOutput {
+ return o.ApplyT(func(v GetProjectIpAddresses) GetProjectIpAddressesServices { return v.Services }).(GetProjectIpAddressesServicesOutput)
+}
+
+type GetProjectIpAddressesServices struct {
+ Clusters []GetProjectIpAddressesServicesCluster `pulumi:"clusters"`
+}
+
+// GetProjectIpAddressesServicesInput is an input type that accepts GetProjectIpAddressesServicesArgs and GetProjectIpAddressesServicesOutput values.
+// You can construct a concrete instance of `GetProjectIpAddressesServicesInput` via:
+//
+// GetProjectIpAddressesServicesArgs{...}
+type GetProjectIpAddressesServicesInput interface {
+ pulumi.Input
+
+ ToGetProjectIpAddressesServicesOutput() GetProjectIpAddressesServicesOutput
+ ToGetProjectIpAddressesServicesOutputWithContext(context.Context) GetProjectIpAddressesServicesOutput
+}
+
+type GetProjectIpAddressesServicesArgs struct {
+ Clusters GetProjectIpAddressesServicesClusterArrayInput `pulumi:"clusters"`
+}
+
+func (GetProjectIpAddressesServicesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectIpAddressesServices)(nil)).Elem()
+}
+
+func (i GetProjectIpAddressesServicesArgs) ToGetProjectIpAddressesServicesOutput() GetProjectIpAddressesServicesOutput {
+ return i.ToGetProjectIpAddressesServicesOutputWithContext(context.Background())
+}
+
+func (i GetProjectIpAddressesServicesArgs) ToGetProjectIpAddressesServicesOutputWithContext(ctx context.Context) GetProjectIpAddressesServicesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectIpAddressesServicesOutput)
+}
+
+type GetProjectIpAddressesServicesOutput struct{ *pulumi.OutputState }
+
+func (GetProjectIpAddressesServicesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectIpAddressesServices)(nil)).Elem()
+}
+
+func (o GetProjectIpAddressesServicesOutput) ToGetProjectIpAddressesServicesOutput() GetProjectIpAddressesServicesOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesServicesOutput) ToGetProjectIpAddressesServicesOutputWithContext(ctx context.Context) GetProjectIpAddressesServicesOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesServicesOutput) Clusters() GetProjectIpAddressesServicesClusterArrayOutput {
+ return o.ApplyT(func(v GetProjectIpAddressesServices) []GetProjectIpAddressesServicesCluster { return v.Clusters }).(GetProjectIpAddressesServicesClusterArrayOutput)
+}
+
+type GetProjectIpAddressesServicesCluster struct {
+ ClusterName string `pulumi:"clusterName"`
+ Inbounds []string `pulumi:"inbounds"`
+ Outbounds []string `pulumi:"outbounds"`
+}
+
+// GetProjectIpAddressesServicesClusterInput is an input type that accepts GetProjectIpAddressesServicesClusterArgs and GetProjectIpAddressesServicesClusterOutput values.
+// You can construct a concrete instance of `GetProjectIpAddressesServicesClusterInput` via:
+//
+// GetProjectIpAddressesServicesClusterArgs{...}
+type GetProjectIpAddressesServicesClusterInput interface {
+ pulumi.Input
+
+ ToGetProjectIpAddressesServicesClusterOutput() GetProjectIpAddressesServicesClusterOutput
+ ToGetProjectIpAddressesServicesClusterOutputWithContext(context.Context) GetProjectIpAddressesServicesClusterOutput
+}
+
+type GetProjectIpAddressesServicesClusterArgs struct {
+ ClusterName pulumi.StringInput `pulumi:"clusterName"`
+ Inbounds pulumi.StringArrayInput `pulumi:"inbounds"`
+ Outbounds pulumi.StringArrayInput `pulumi:"outbounds"`
+}
+
+func (GetProjectIpAddressesServicesClusterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (i GetProjectIpAddressesServicesClusterArgs) ToGetProjectIpAddressesServicesClusterOutput() GetProjectIpAddressesServicesClusterOutput {
+ return i.ToGetProjectIpAddressesServicesClusterOutputWithContext(context.Background())
+}
+
+func (i GetProjectIpAddressesServicesClusterArgs) ToGetProjectIpAddressesServicesClusterOutputWithContext(ctx context.Context) GetProjectIpAddressesServicesClusterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectIpAddressesServicesClusterOutput)
+}
+
+// GetProjectIpAddressesServicesClusterArrayInput is an input type that accepts GetProjectIpAddressesServicesClusterArray and GetProjectIpAddressesServicesClusterArrayOutput values.
+// You can construct a concrete instance of `GetProjectIpAddressesServicesClusterArrayInput` via:
+//
+// GetProjectIpAddressesServicesClusterArray{ GetProjectIpAddressesServicesClusterArgs{...} }
+type GetProjectIpAddressesServicesClusterArrayInput interface {
+ pulumi.Input
+
+ ToGetProjectIpAddressesServicesClusterArrayOutput() GetProjectIpAddressesServicesClusterArrayOutput
+ ToGetProjectIpAddressesServicesClusterArrayOutputWithContext(context.Context) GetProjectIpAddressesServicesClusterArrayOutput
+}
+
+type GetProjectIpAddressesServicesClusterArray []GetProjectIpAddressesServicesClusterInput
+
+func (GetProjectIpAddressesServicesClusterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (i GetProjectIpAddressesServicesClusterArray) ToGetProjectIpAddressesServicesClusterArrayOutput() GetProjectIpAddressesServicesClusterArrayOutput {
+ return i.ToGetProjectIpAddressesServicesClusterArrayOutputWithContext(context.Background())
+}
+
+func (i GetProjectIpAddressesServicesClusterArray) ToGetProjectIpAddressesServicesClusterArrayOutputWithContext(ctx context.Context) GetProjectIpAddressesServicesClusterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectIpAddressesServicesClusterArrayOutput)
+}
+
+type GetProjectIpAddressesServicesClusterOutput struct{ *pulumi.OutputState }
+
+func (GetProjectIpAddressesServicesClusterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (o GetProjectIpAddressesServicesClusterOutput) ToGetProjectIpAddressesServicesClusterOutput() GetProjectIpAddressesServicesClusterOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesServicesClusterOutput) ToGetProjectIpAddressesServicesClusterOutputWithContext(ctx context.Context) GetProjectIpAddressesServicesClusterOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesServicesClusterOutput) ClusterName() pulumi.StringOutput {
+ return o.ApplyT(func(v GetProjectIpAddressesServicesCluster) string { return v.ClusterName }).(pulumi.StringOutput)
+}
+
+func (o GetProjectIpAddressesServicesClusterOutput) Inbounds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetProjectIpAddressesServicesCluster) []string { return v.Inbounds }).(pulumi.StringArrayOutput)
+}
+
+func (o GetProjectIpAddressesServicesClusterOutput) Outbounds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetProjectIpAddressesServicesCluster) []string { return v.Outbounds }).(pulumi.StringArrayOutput)
+}
+
+type GetProjectIpAddressesServicesClusterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetProjectIpAddressesServicesClusterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetProjectIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (o GetProjectIpAddressesServicesClusterArrayOutput) ToGetProjectIpAddressesServicesClusterArrayOutput() GetProjectIpAddressesServicesClusterArrayOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesServicesClusterArrayOutput) ToGetProjectIpAddressesServicesClusterArrayOutputWithContext(ctx context.Context) GetProjectIpAddressesServicesClusterArrayOutput {
+ return o
+}
+
+func (o GetProjectIpAddressesServicesClusterArrayOutput) Index(i pulumi.IntInput) GetProjectIpAddressesServicesClusterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProjectIpAddressesServicesCluster {
+ return vs[0].([]GetProjectIpAddressesServicesCluster)[vs[1].(int)]
+ }).(GetProjectIpAddressesServicesClusterOutput)
+}
+
type GetProjectLimit struct {
+ // Amount that indicates the current usage of the limit.
CurrentUsage int `pulumi:"currentUsage"`
+ // Default value of the limit.
DefaultLimit int `pulumi:"defaultLimit"`
+ // Maximum value of the limit.
MaximumLimit int `pulumi:"maximumLimit"`
// The unique ID for the project.
//
// > **IMPORTANT:** Either `projectId` or `name` must be configurated.
- Name string `pulumi:"name"`
- Value int `pulumi:"value"`
+ Name string `pulumi:"name"`
+ // Amount the limit is set to.
+ Value int `pulumi:"value"`
}
// GetProjectLimitInput is an input type that accepts GetProjectLimitArgs and GetProjectLimitOutput values.
@@ -43554,14 +43487,18 @@ type GetProjectLimitInput interface {
}
type GetProjectLimitArgs struct {
+ // Amount that indicates the current usage of the limit.
CurrentUsage pulumi.IntInput `pulumi:"currentUsage"`
+ // Default value of the limit.
DefaultLimit pulumi.IntInput `pulumi:"defaultLimit"`
+ // Maximum value of the limit.
MaximumLimit pulumi.IntInput `pulumi:"maximumLimit"`
// The unique ID for the project.
//
// > **IMPORTANT:** Either `projectId` or `name` must be configurated.
- Name pulumi.StringInput `pulumi:"name"`
- Value pulumi.IntInput `pulumi:"value"`
+ Name pulumi.StringInput `pulumi:"name"`
+ // Amount the limit is set to.
+ Value pulumi.IntInput `pulumi:"value"`
}
func (GetProjectLimitArgs) ElementType() reflect.Type {
@@ -43615,14 +43552,17 @@ func (o GetProjectLimitOutput) ToGetProjectLimitOutputWithContext(ctx context.Co
return o
}
+// Amount that indicates the current usage of the limit.
func (o GetProjectLimitOutput) CurrentUsage() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectLimit) int { return v.CurrentUsage }).(pulumi.IntOutput)
}
+// Default value of the limit.
func (o GetProjectLimitOutput) DefaultLimit() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectLimit) int { return v.DefaultLimit }).(pulumi.IntOutput)
}
+// Maximum value of the limit.
func (o GetProjectLimitOutput) MaximumLimit() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectLimit) int { return v.MaximumLimit }).(pulumi.IntOutput)
}
@@ -43634,6 +43574,7 @@ func (o GetProjectLimitOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectLimit) string { return v.Name }).(pulumi.StringOutput)
}
+// Amount the limit is set to.
func (o GetProjectLimitOutput) Value() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectLimit) int { return v.Value }).(pulumi.IntOutput)
}
@@ -43659,8 +43600,10 @@ func (o GetProjectLimitArrayOutput) Index(i pulumi.IntInput) GetProjectLimitOutp
}
type GetProjectTeam struct {
+ // Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
RoleNames []string `pulumi:"roleNames"`
- TeamId string `pulumi:"teamId"`
+ // The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
+ TeamId string `pulumi:"teamId"`
}
// GetProjectTeamInput is an input type that accepts GetProjectTeamArgs and GetProjectTeamOutput values.
@@ -43675,8 +43618,10 @@ type GetProjectTeamInput interface {
}
type GetProjectTeamArgs struct {
+ // Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
RoleNames pulumi.StringArrayInput `pulumi:"roleNames"`
- TeamId pulumi.StringInput `pulumi:"teamId"`
+ // The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
+ TeamId pulumi.StringInput `pulumi:"teamId"`
}
func (GetProjectTeamArgs) ElementType() reflect.Type {
@@ -43730,10 +43675,12 @@ func (o GetProjectTeamOutput) ToGetProjectTeamOutputWithContext(ctx context.Cont
return o
}
+// Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
func (o GetProjectTeamOutput) RoleNames() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetProjectTeam) []string { return v.RoleNames }).(pulumi.StringArrayOutput)
}
+// The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
func (o GetProjectTeamOutput) TeamId() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectTeam) string { return v.TeamId }).(pulumi.StringOutput)
}
@@ -43762,16 +43709,11 @@ type GetProjectsResult struct {
// The number of Atlas clusters deployed in the project.
ClusterCount int `pulumi:"clusterCount"`
// The ISO-8601-formatted timestamp of when Atlas created the project.
- // * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- // * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
- // * `limits.#.name` - Human-readable label that identifies this project limit.
- // * `limits.#.value` - Amount the limit is set to.
- // * `limits.#.current_usage` - Amount that indicates the current usage of the limit.
- // * `limits.#.default_limit` - Default value of the limit.
- // * `limits.#.maximum_limit` - Maximum value of the limit.
Created string `pulumi:"created"`
// Autogenerated Unique ID for this data source.
Id string `pulumi:"id"`
+ // IP addresses in a project categorized by services. See IP Addresses.
+ IpAddresses GetProjectsResultIpAddresses `pulumi:"ipAddresses"`
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
IsCollectDatabaseSpecificsStatisticsEnabled bool `pulumi:"isCollectDatabaseSpecificsStatisticsEnabled"`
// Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface.
@@ -43783,18 +43725,18 @@ type GetProjectsResult struct {
// Flag that indicates whether to enable Real Time Performance Panel for the project. If enabled, you can see real time metrics from your MongoDB database.
IsRealtimePerformancePanelEnabled bool `pulumi:"isRealtimePerformancePanelEnabled"`
// Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
- IsSchemaAdvisorEnabled bool `pulumi:"isSchemaAdvisorEnabled"`
- Limits []GetProjectsResultLimit `pulumi:"limits"`
- // The name of the project you want to create.
+ IsSchemaAdvisorEnabled bool `pulumi:"isSchemaAdvisorEnabled"`
+ // The limits for the specified project. See Limits.
+ Limits []GetProjectsResultLimit `pulumi:"limits"`
+ // Human-readable label that identifies this project limit.
Name string `pulumi:"name"`
// The ID of the organization you want to create the project within.
OrgId string `pulumi:"orgId"`
ProjectId string `pulumi:"projectId"`
// If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
- //
- // See [MongoDB Atlas API - Projects](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Projects) - [and MongoDB Atlas API - Teams](https://docs.atlas.mongodb.com/reference/api/project-get-teams/) Documentation for more information.
- RegionUsageRestrictions string `pulumi:"regionUsageRestrictions"`
- Teams []GetProjectsResultTeam `pulumi:"teams"`
+ RegionUsageRestrictions string `pulumi:"regionUsageRestrictions"`
+ // Returns all teams to which the authenticated user has access in the project. See Teams.
+ Teams []GetProjectsResultTeam `pulumi:"teams"`
}
// GetProjectsResultInput is an input type that accepts GetProjectsResultArgs and GetProjectsResultOutput values.
@@ -43812,16 +43754,11 @@ type GetProjectsResultArgs struct {
// The number of Atlas clusters deployed in the project.
ClusterCount pulumi.IntInput `pulumi:"clusterCount"`
// The ISO-8601-formatted timestamp of when Atlas created the project.
- // * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- // * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
- // * `limits.#.name` - Human-readable label that identifies this project limit.
- // * `limits.#.value` - Amount the limit is set to.
- // * `limits.#.current_usage` - Amount that indicates the current usage of the limit.
- // * `limits.#.default_limit` - Default value of the limit.
- // * `limits.#.maximum_limit` - Maximum value of the limit.
Created pulumi.StringInput `pulumi:"created"`
// Autogenerated Unique ID for this data source.
Id pulumi.StringInput `pulumi:"id"`
+ // IP addresses in a project categorized by services. See IP Addresses.
+ IpAddresses GetProjectsResultIpAddressesInput `pulumi:"ipAddresses"`
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
IsCollectDatabaseSpecificsStatisticsEnabled pulumi.BoolInput `pulumi:"isCollectDatabaseSpecificsStatisticsEnabled"`
// Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface.
@@ -43833,18 +43770,18 @@ type GetProjectsResultArgs struct {
// Flag that indicates whether to enable Real Time Performance Panel for the project. If enabled, you can see real time metrics from your MongoDB database.
IsRealtimePerformancePanelEnabled pulumi.BoolInput `pulumi:"isRealtimePerformancePanelEnabled"`
// Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
- IsSchemaAdvisorEnabled pulumi.BoolInput `pulumi:"isSchemaAdvisorEnabled"`
- Limits GetProjectsResultLimitArrayInput `pulumi:"limits"`
- // The name of the project you want to create.
+ IsSchemaAdvisorEnabled pulumi.BoolInput `pulumi:"isSchemaAdvisorEnabled"`
+ // The limits for the specified project. See Limits.
+ Limits GetProjectsResultLimitArrayInput `pulumi:"limits"`
+ // Human-readable label that identifies this project limit.
Name pulumi.StringInput `pulumi:"name"`
// The ID of the organization you want to create the project within.
OrgId pulumi.StringInput `pulumi:"orgId"`
ProjectId pulumi.StringInput `pulumi:"projectId"`
// If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
- //
- // See [MongoDB Atlas API - Projects](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Projects) - [and MongoDB Atlas API - Teams](https://docs.atlas.mongodb.com/reference/api/project-get-teams/) Documentation for more information.
- RegionUsageRestrictions pulumi.StringInput `pulumi:"regionUsageRestrictions"`
- Teams GetProjectsResultTeamArrayInput `pulumi:"teams"`
+ RegionUsageRestrictions pulumi.StringInput `pulumi:"regionUsageRestrictions"`
+ // Returns all teams to which the authenticated user has access in the project. See Teams.
+ Teams GetProjectsResultTeamArrayInput `pulumi:"teams"`
}
func (GetProjectsResultArgs) ElementType() reflect.Type {
@@ -43904,13 +43841,6 @@ func (o GetProjectsResultOutput) ClusterCount() pulumi.IntOutput {
}
// The ISO-8601-formatted timestamp of when Atlas created the project.
-// * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
-// * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
-// * `limits.#.name` - Human-readable label that identifies this project limit.
-// * `limits.#.value` - Amount the limit is set to.
-// * `limits.#.current_usage` - Amount that indicates the current usage of the limit.
-// * `limits.#.default_limit` - Default value of the limit.
-// * `limits.#.maximum_limit` - Maximum value of the limit.
func (o GetProjectsResultOutput) Created() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectsResult) string { return v.Created }).(pulumi.StringOutput)
}
@@ -43920,6 +43850,11 @@ func (o GetProjectsResultOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectsResult) string { return v.Id }).(pulumi.StringOutput)
}
+// IP addresses in a project categorized by services. See IP Addresses.
+func (o GetProjectsResultOutput) IpAddresses() GetProjectsResultIpAddressesOutput {
+ return o.ApplyT(func(v GetProjectsResult) GetProjectsResultIpAddresses { return v.IpAddresses }).(GetProjectsResultIpAddressesOutput)
+}
+
// Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
func (o GetProjectsResultOutput) IsCollectDatabaseSpecificsStatisticsEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v GetProjectsResult) bool { return v.IsCollectDatabaseSpecificsStatisticsEnabled }).(pulumi.BoolOutput)
@@ -43950,11 +43885,12 @@ func (o GetProjectsResultOutput) IsSchemaAdvisorEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v GetProjectsResult) bool { return v.IsSchemaAdvisorEnabled }).(pulumi.BoolOutput)
}
+// The limits for the specified project. See Limits.
func (o GetProjectsResultOutput) Limits() GetProjectsResultLimitArrayOutput {
return o.ApplyT(func(v GetProjectsResult) []GetProjectsResultLimit { return v.Limits }).(GetProjectsResultLimitArrayOutput)
}
-// The name of the project you want to create.
+// Human-readable label that identifies this project limit.
func (o GetProjectsResultOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectsResult) string { return v.Name }).(pulumi.StringOutput)
}
@@ -43969,12 +43905,11 @@ func (o GetProjectsResultOutput) ProjectId() pulumi.StringOutput {
}
// If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
-//
-// See [MongoDB Atlas API - Projects](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Projects) - [and MongoDB Atlas API - Teams](https://docs.atlas.mongodb.com/reference/api/project-get-teams/) Documentation for more information.
func (o GetProjectsResultOutput) RegionUsageRestrictions() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectsResult) string { return v.RegionUsageRestrictions }).(pulumi.StringOutput)
}
+// Returns all teams to which the authenticated user has access in the project. See Teams.
func (o GetProjectsResultOutput) Teams() GetProjectsResultTeamArrayOutput {
return o.ApplyT(func(v GetProjectsResult) []GetProjectsResultTeam { return v.Teams }).(GetProjectsResultTeamArrayOutput)
}
@@ -43999,13 +43934,223 @@ func (o GetProjectsResultArrayOutput) Index(i pulumi.IntInput) GetProjectsResult
}).(GetProjectsResultOutput)
}
+type GetProjectsResultIpAddresses struct {
+ Services GetProjectsResultIpAddressesServices `pulumi:"services"`
+}
+
+// GetProjectsResultIpAddressesInput is an input type that accepts GetProjectsResultIpAddressesArgs and GetProjectsResultIpAddressesOutput values.
+// You can construct a concrete instance of `GetProjectsResultIpAddressesInput` via:
+//
+// GetProjectsResultIpAddressesArgs{...}
+type GetProjectsResultIpAddressesInput interface {
+ pulumi.Input
+
+ ToGetProjectsResultIpAddressesOutput() GetProjectsResultIpAddressesOutput
+ ToGetProjectsResultIpAddressesOutputWithContext(context.Context) GetProjectsResultIpAddressesOutput
+}
+
+type GetProjectsResultIpAddressesArgs struct {
+ Services GetProjectsResultIpAddressesServicesInput `pulumi:"services"`
+}
+
+func (GetProjectsResultIpAddressesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectsResultIpAddresses)(nil)).Elem()
+}
+
+func (i GetProjectsResultIpAddressesArgs) ToGetProjectsResultIpAddressesOutput() GetProjectsResultIpAddressesOutput {
+ return i.ToGetProjectsResultIpAddressesOutputWithContext(context.Background())
+}
+
+func (i GetProjectsResultIpAddressesArgs) ToGetProjectsResultIpAddressesOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectsResultIpAddressesOutput)
+}
+
+type GetProjectsResultIpAddressesOutput struct{ *pulumi.OutputState }
+
+func (GetProjectsResultIpAddressesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectsResultIpAddresses)(nil)).Elem()
+}
+
+func (o GetProjectsResultIpAddressesOutput) ToGetProjectsResultIpAddressesOutput() GetProjectsResultIpAddressesOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesOutput) ToGetProjectsResultIpAddressesOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesOutput) Services() GetProjectsResultIpAddressesServicesOutput {
+ return o.ApplyT(func(v GetProjectsResultIpAddresses) GetProjectsResultIpAddressesServices { return v.Services }).(GetProjectsResultIpAddressesServicesOutput)
+}
+
+type GetProjectsResultIpAddressesServices struct {
+ Clusters []GetProjectsResultIpAddressesServicesCluster `pulumi:"clusters"`
+}
+
+// GetProjectsResultIpAddressesServicesInput is an input type that accepts GetProjectsResultIpAddressesServicesArgs and GetProjectsResultIpAddressesServicesOutput values.
+// You can construct a concrete instance of `GetProjectsResultIpAddressesServicesInput` via:
+//
+// GetProjectsResultIpAddressesServicesArgs{...}
+type GetProjectsResultIpAddressesServicesInput interface {
+ pulumi.Input
+
+ ToGetProjectsResultIpAddressesServicesOutput() GetProjectsResultIpAddressesServicesOutput
+ ToGetProjectsResultIpAddressesServicesOutputWithContext(context.Context) GetProjectsResultIpAddressesServicesOutput
+}
+
+type GetProjectsResultIpAddressesServicesArgs struct {
+ Clusters GetProjectsResultIpAddressesServicesClusterArrayInput `pulumi:"clusters"`
+}
+
+func (GetProjectsResultIpAddressesServicesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectsResultIpAddressesServices)(nil)).Elem()
+}
+
+func (i GetProjectsResultIpAddressesServicesArgs) ToGetProjectsResultIpAddressesServicesOutput() GetProjectsResultIpAddressesServicesOutput {
+ return i.ToGetProjectsResultIpAddressesServicesOutputWithContext(context.Background())
+}
+
+func (i GetProjectsResultIpAddressesServicesArgs) ToGetProjectsResultIpAddressesServicesOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesServicesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectsResultIpAddressesServicesOutput)
+}
+
+type GetProjectsResultIpAddressesServicesOutput struct{ *pulumi.OutputState }
+
+func (GetProjectsResultIpAddressesServicesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectsResultIpAddressesServices)(nil)).Elem()
+}
+
+func (o GetProjectsResultIpAddressesServicesOutput) ToGetProjectsResultIpAddressesServicesOutput() GetProjectsResultIpAddressesServicesOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesServicesOutput) ToGetProjectsResultIpAddressesServicesOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesServicesOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesServicesOutput) Clusters() GetProjectsResultIpAddressesServicesClusterArrayOutput {
+ return o.ApplyT(func(v GetProjectsResultIpAddressesServices) []GetProjectsResultIpAddressesServicesCluster {
+ return v.Clusters
+ }).(GetProjectsResultIpAddressesServicesClusterArrayOutput)
+}
+
+type GetProjectsResultIpAddressesServicesCluster struct {
+ ClusterName string `pulumi:"clusterName"`
+ Inbounds []string `pulumi:"inbounds"`
+ Outbounds []string `pulumi:"outbounds"`
+}
+
+// GetProjectsResultIpAddressesServicesClusterInput is an input type that accepts GetProjectsResultIpAddressesServicesClusterArgs and GetProjectsResultIpAddressesServicesClusterOutput values.
+// You can construct a concrete instance of `GetProjectsResultIpAddressesServicesClusterInput` via:
+//
+// GetProjectsResultIpAddressesServicesClusterArgs{...}
+type GetProjectsResultIpAddressesServicesClusterInput interface {
+ pulumi.Input
+
+ ToGetProjectsResultIpAddressesServicesClusterOutput() GetProjectsResultIpAddressesServicesClusterOutput
+ ToGetProjectsResultIpAddressesServicesClusterOutputWithContext(context.Context) GetProjectsResultIpAddressesServicesClusterOutput
+}
+
+type GetProjectsResultIpAddressesServicesClusterArgs struct {
+ ClusterName pulumi.StringInput `pulumi:"clusterName"`
+ Inbounds pulumi.StringArrayInput `pulumi:"inbounds"`
+ Outbounds pulumi.StringArrayInput `pulumi:"outbounds"`
+}
+
+func (GetProjectsResultIpAddressesServicesClusterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectsResultIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (i GetProjectsResultIpAddressesServicesClusterArgs) ToGetProjectsResultIpAddressesServicesClusterOutput() GetProjectsResultIpAddressesServicesClusterOutput {
+ return i.ToGetProjectsResultIpAddressesServicesClusterOutputWithContext(context.Background())
+}
+
+func (i GetProjectsResultIpAddressesServicesClusterArgs) ToGetProjectsResultIpAddressesServicesClusterOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesServicesClusterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectsResultIpAddressesServicesClusterOutput)
+}
+
+// GetProjectsResultIpAddressesServicesClusterArrayInput is an input type that accepts GetProjectsResultIpAddressesServicesClusterArray and GetProjectsResultIpAddressesServicesClusterArrayOutput values.
+// You can construct a concrete instance of `GetProjectsResultIpAddressesServicesClusterArrayInput` via:
+//
+// GetProjectsResultIpAddressesServicesClusterArray{ GetProjectsResultIpAddressesServicesClusterArgs{...} }
+type GetProjectsResultIpAddressesServicesClusterArrayInput interface {
+ pulumi.Input
+
+ ToGetProjectsResultIpAddressesServicesClusterArrayOutput() GetProjectsResultIpAddressesServicesClusterArrayOutput
+ ToGetProjectsResultIpAddressesServicesClusterArrayOutputWithContext(context.Context) GetProjectsResultIpAddressesServicesClusterArrayOutput
+}
+
+type GetProjectsResultIpAddressesServicesClusterArray []GetProjectsResultIpAddressesServicesClusterInput
+
+func (GetProjectsResultIpAddressesServicesClusterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetProjectsResultIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (i GetProjectsResultIpAddressesServicesClusterArray) ToGetProjectsResultIpAddressesServicesClusterArrayOutput() GetProjectsResultIpAddressesServicesClusterArrayOutput {
+ return i.ToGetProjectsResultIpAddressesServicesClusterArrayOutputWithContext(context.Background())
+}
+
+func (i GetProjectsResultIpAddressesServicesClusterArray) ToGetProjectsResultIpAddressesServicesClusterArrayOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesServicesClusterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetProjectsResultIpAddressesServicesClusterArrayOutput)
+}
+
+type GetProjectsResultIpAddressesServicesClusterOutput struct{ *pulumi.OutputState }
+
+func (GetProjectsResultIpAddressesServicesClusterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetProjectsResultIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterOutput) ToGetProjectsResultIpAddressesServicesClusterOutput() GetProjectsResultIpAddressesServicesClusterOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterOutput) ToGetProjectsResultIpAddressesServicesClusterOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesServicesClusterOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterOutput) ClusterName() pulumi.StringOutput {
+ return o.ApplyT(func(v GetProjectsResultIpAddressesServicesCluster) string { return v.ClusterName }).(pulumi.StringOutput)
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterOutput) Inbounds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetProjectsResultIpAddressesServicesCluster) []string { return v.Inbounds }).(pulumi.StringArrayOutput)
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterOutput) Outbounds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetProjectsResultIpAddressesServicesCluster) []string { return v.Outbounds }).(pulumi.StringArrayOutput)
+}
+
+type GetProjectsResultIpAddressesServicesClusterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetProjectsResultIpAddressesServicesClusterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetProjectsResultIpAddressesServicesCluster)(nil)).Elem()
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterArrayOutput) ToGetProjectsResultIpAddressesServicesClusterArrayOutput() GetProjectsResultIpAddressesServicesClusterArrayOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterArrayOutput) ToGetProjectsResultIpAddressesServicesClusterArrayOutputWithContext(ctx context.Context) GetProjectsResultIpAddressesServicesClusterArrayOutput {
+ return o
+}
+
+func (o GetProjectsResultIpAddressesServicesClusterArrayOutput) Index(i pulumi.IntInput) GetProjectsResultIpAddressesServicesClusterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProjectsResultIpAddressesServicesCluster {
+ return vs[0].([]GetProjectsResultIpAddressesServicesCluster)[vs[1].(int)]
+ }).(GetProjectsResultIpAddressesServicesClusterOutput)
+}
+
type GetProjectsResultLimit struct {
+ // Amount that indicates the current usage of the limit.
CurrentUsage int `pulumi:"currentUsage"`
+ // Default value of the limit.
DefaultLimit int `pulumi:"defaultLimit"`
+ // Maximum value of the limit.
MaximumLimit int `pulumi:"maximumLimit"`
- // The name of the project you want to create.
- Name string `pulumi:"name"`
- Value int `pulumi:"value"`
+ // Human-readable label that identifies this project limit.
+ Name string `pulumi:"name"`
+ // Amount the limit is set to.
+ Value int `pulumi:"value"`
}
// GetProjectsResultLimitInput is an input type that accepts GetProjectsResultLimitArgs and GetProjectsResultLimitOutput values.
@@ -44020,12 +44165,16 @@ type GetProjectsResultLimitInput interface {
}
type GetProjectsResultLimitArgs struct {
+ // Amount that indicates the current usage of the limit.
CurrentUsage pulumi.IntInput `pulumi:"currentUsage"`
+ // Default value of the limit.
DefaultLimit pulumi.IntInput `pulumi:"defaultLimit"`
+ // Maximum value of the limit.
MaximumLimit pulumi.IntInput `pulumi:"maximumLimit"`
- // The name of the project you want to create.
- Name pulumi.StringInput `pulumi:"name"`
- Value pulumi.IntInput `pulumi:"value"`
+ // Human-readable label that identifies this project limit.
+ Name pulumi.StringInput `pulumi:"name"`
+ // Amount the limit is set to.
+ Value pulumi.IntInput `pulumi:"value"`
}
func (GetProjectsResultLimitArgs) ElementType() reflect.Type {
@@ -44079,23 +44228,27 @@ func (o GetProjectsResultLimitOutput) ToGetProjectsResultLimitOutputWithContext(
return o
}
+// Amount that indicates the current usage of the limit.
func (o GetProjectsResultLimitOutput) CurrentUsage() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectsResultLimit) int { return v.CurrentUsage }).(pulumi.IntOutput)
}
+// Default value of the limit.
func (o GetProjectsResultLimitOutput) DefaultLimit() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectsResultLimit) int { return v.DefaultLimit }).(pulumi.IntOutput)
}
+// Maximum value of the limit.
func (o GetProjectsResultLimitOutput) MaximumLimit() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectsResultLimit) int { return v.MaximumLimit }).(pulumi.IntOutput)
}
-// The name of the project you want to create.
+// Human-readable label that identifies this project limit.
func (o GetProjectsResultLimitOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectsResultLimit) string { return v.Name }).(pulumi.StringOutput)
}
+// Amount the limit is set to.
func (o GetProjectsResultLimitOutput) Value() pulumi.IntOutput {
return o.ApplyT(func(v GetProjectsResultLimit) int { return v.Value }).(pulumi.IntOutput)
}
@@ -44121,8 +44274,10 @@ func (o GetProjectsResultLimitArrayOutput) Index(i pulumi.IntInput) GetProjectsR
}
type GetProjectsResultTeam struct {
+ // Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
RoleNames []string `pulumi:"roleNames"`
- TeamId string `pulumi:"teamId"`
+ // The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
+ TeamId string `pulumi:"teamId"`
}
// GetProjectsResultTeamInput is an input type that accepts GetProjectsResultTeamArgs and GetProjectsResultTeamOutput values.
@@ -44137,8 +44292,10 @@ type GetProjectsResultTeamInput interface {
}
type GetProjectsResultTeamArgs struct {
+ // Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
RoleNames pulumi.StringArrayInput `pulumi:"roleNames"`
- TeamId pulumi.StringInput `pulumi:"teamId"`
+ // The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
+ TeamId pulumi.StringInput `pulumi:"teamId"`
}
func (GetProjectsResultTeamArgs) ElementType() reflect.Type {
@@ -44192,10 +44349,12 @@ func (o GetProjectsResultTeamOutput) ToGetProjectsResultTeamOutputWithContext(ct
return o
}
+// Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The [MongoDB Documentation](https://www.mongodb.com/docs/atlas/reference/user-roles/#organization-roles) describes the roles a user can have.
func (o GetProjectsResultTeamOutput) RoleNames() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetProjectsResultTeam) []string { return v.RoleNames }).(pulumi.StringArrayOutput)
}
+// The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
func (o GetProjectsResultTeamOutput) TeamId() pulumi.StringOutput {
return o.ApplyT(func(v GetProjectsResultTeam) string { return v.TeamId }).(pulumi.StringOutput)
}
@@ -44221,9 +44380,9 @@ func (o GetProjectsResultTeamArrayOutput) Index(i pulumi.IntInput) GetProjectsRe
}
type GetSearchDeploymentSpec struct {
- // (Required) Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
+ // Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
InstanceSize string `pulumi:"instanceSize"`
- // (Required) Number of search nodes in the cluster.
+ // Number of search nodes in the cluster.
NodeCount int `pulumi:"nodeCount"`
}
@@ -44239,9 +44398,9 @@ type GetSearchDeploymentSpecInput interface {
}
type GetSearchDeploymentSpecArgs struct {
- // (Required) Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
+ // Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
InstanceSize pulumi.StringInput `pulumi:"instanceSize"`
- // (Required) Number of search nodes in the cluster.
+ // Number of search nodes in the cluster.
NodeCount pulumi.IntInput `pulumi:"nodeCount"`
}
@@ -44296,12 +44455,12 @@ func (o GetSearchDeploymentSpecOutput) ToGetSearchDeploymentSpecOutputWithContex
return o
}
-// (Required) Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
+// Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
func (o GetSearchDeploymentSpecOutput) InstanceSize() pulumi.StringOutput {
return o.ApplyT(func(v GetSearchDeploymentSpec) string { return v.InstanceSize }).(pulumi.StringOutput)
}
-// (Required) Number of search nodes in the cluster.
+// Number of search nodes in the cluster.
func (o GetSearchDeploymentSpecOutput) NodeCount() pulumi.IntOutput {
return o.ApplyT(func(v GetSearchDeploymentSpec) int { return v.NodeCount }).(pulumi.IntOutput)
}
@@ -44461,7 +44620,8 @@ type GetSearchIndexesResult struct {
ProjectId string `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
SearchAnalyzer *string `pulumi:"searchAnalyzer"`
- Status string `pulumi:"status"`
+ // Current status of the index.
+ Status string `pulumi:"status"`
// Synonyms mapping definition to use in this index.
// * `synonyms.#.name` - Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref).
// * `synonyms.#.source_collection` - Name of the source MongoDB collection for the synonyms.
@@ -44505,7 +44665,8 @@ type GetSearchIndexesResultArgs struct {
ProjectId pulumi.StringInput `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
SearchAnalyzer pulumi.StringPtrInput `pulumi:"searchAnalyzer"`
- Status pulumi.StringInput `pulumi:"status"`
+ // Current status of the index.
+ Status pulumi.StringInput `pulumi:"status"`
// Synonyms mapping definition to use in this index.
// * `synonyms.#.name` - Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref).
// * `synonyms.#.source_collection` - Name of the source MongoDB collection for the synonyms.
@@ -44624,6 +44785,7 @@ func (o GetSearchIndexesResultOutput) SearchAnalyzer() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetSearchIndexesResult) *string { return v.SearchAnalyzer }).(pulumi.StringPtrOutput)
}
+// Current status of the index.
func (o GetSearchIndexesResultOutput) Status() pulumi.StringOutput {
return o.ApplyT(func(v GetSearchIndexesResult) string { return v.Status }).(pulumi.StringOutput)
}
@@ -46100,8 +46262,6 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessAuthorizationAzurePtrInput)(nil)).Elem(), CloudProviderAccessAuthorizationAzureArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessAuthorizationFeatureUsageInput)(nil)).Elem(), CloudProviderAccessAuthorizationFeatureUsageArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessAuthorizationFeatureUsageArrayInput)(nil)).Elem(), CloudProviderAccessAuthorizationFeatureUsageArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessFeatureUsageInput)(nil)).Elem(), CloudProviderAccessFeatureUsageArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessFeatureUsageArrayInput)(nil)).Elem(), CloudProviderAccessFeatureUsageArray{})
pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessSetupAwsConfigInput)(nil)).Elem(), CloudProviderAccessSetupAwsConfigArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessSetupAwsConfigArrayInput)(nil)).Elem(), CloudProviderAccessSetupAwsConfigArray{})
pulumi.RegisterInputType(reflect.TypeOf((*CloudProviderAccessSetupAzureConfigInput)(nil)).Elem(), CloudProviderAccessSetupAzureConfigArgs{})
@@ -46216,6 +46376,12 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*ProjectApiKeyProjectAssignmentArrayInput)(nil)).Elem(), ProjectApiKeyProjectAssignmentArray{})
pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAccessListTimeoutsInput)(nil)).Elem(), ProjectIpAccessListTimeoutsArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAccessListTimeoutsPtrInput)(nil)).Elem(), ProjectIpAccessListTimeoutsArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAddressesInput)(nil)).Elem(), ProjectIpAddressesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAddressesPtrInput)(nil)).Elem(), ProjectIpAddressesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAddressesServicesInput)(nil)).Elem(), ProjectIpAddressesServicesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAddressesServicesPtrInput)(nil)).Elem(), ProjectIpAddressesServicesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAddressesServicesClusterInput)(nil)).Elem(), ProjectIpAddressesServicesClusterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*ProjectIpAddressesServicesClusterArrayInput)(nil)).Elem(), ProjectIpAddressesServicesClusterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*ProjectLimitInput)(nil)).Elem(), ProjectLimitArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*ProjectLimitArrayInput)(nil)).Elem(), ProjectLimitArray{})
pulumi.RegisterInputType(reflect.TypeOf((*ProjectTeamInput)(nil)).Elem(), ProjectTeamArgs{})
@@ -46333,11 +46499,8 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetAtlasUsersResultRoleInput)(nil)).Elem(), GetAtlasUsersResultRoleArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetAtlasUsersResultRoleArrayInput)(nil)).Elem(), GetAtlasUsersResultRoleArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyOnDemandPolicyItemInput)(nil)).Elem(), GetBackupCompliancePolicyOnDemandPolicyItemArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyOnDemandPolicyItemPtrInput)(nil)).Elem(), GetBackupCompliancePolicyOnDemandPolicyItemArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyPolicyItemDailyInput)(nil)).Elem(), GetBackupCompliancePolicyPolicyItemDailyArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyPolicyItemDailyPtrInput)(nil)).Elem(), GetBackupCompliancePolicyPolicyItemDailyArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyPolicyItemHourlyInput)(nil)).Elem(), GetBackupCompliancePolicyPolicyItemHourlyArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyPolicyItemHourlyPtrInput)(nil)).Elem(), GetBackupCompliancePolicyPolicyItemHourlyArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyPolicyItemMonthlyInput)(nil)).Elem(), GetBackupCompliancePolicyPolicyItemMonthlyArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyPolicyItemMonthlyArrayInput)(nil)).Elem(), GetBackupCompliancePolicyPolicyItemMonthlyArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBackupCompliancePolicyPolicyItemWeeklyInput)(nil)).Elem(), GetBackupCompliancePolicyPolicyItemWeeklyArgs{})
@@ -46374,10 +46537,6 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetCloudBackupSnapshotsResultArrayInput)(nil)).Elem(), GetCloudBackupSnapshotsResultArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCloudBackupSnapshotsResultMemberInput)(nil)).Elem(), GetCloudBackupSnapshotsResultMemberArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCloudBackupSnapshotsResultMemberArrayInput)(nil)).Elem(), GetCloudBackupSnapshotsResultMemberArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProviderAccessAwsIamRoleInput)(nil)).Elem(), GetCloudProviderAccessAwsIamRoleArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProviderAccessAwsIamRoleArrayInput)(nil)).Elem(), GetCloudProviderAccessAwsIamRoleArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProviderAccessAwsIamRoleFeatureUsageInput)(nil)).Elem(), GetCloudProviderAccessAwsIamRoleFeatureUsageArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput)(nil)).Elem(), GetCloudProviderAccessAwsIamRoleFeatureUsageArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProviderAccessSetupAwsConfigInput)(nil)).Elem(), GetCloudProviderAccessSetupAwsConfigArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProviderAccessSetupAwsConfigArrayInput)(nil)).Elem(), GetCloudProviderAccessSetupAwsConfigArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProviderAccessSetupAzureConfigInput)(nil)).Elem(), GetCloudProviderAccessSetupAzureConfigArgs{})
@@ -46644,12 +46803,20 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectApiKeysResultArrayInput)(nil)).Elem(), GetProjectApiKeysResultArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectApiKeysResultProjectAssignmentInput)(nil)).Elem(), GetProjectApiKeysResultProjectAssignmentArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectApiKeysResultProjectAssignmentArrayInput)(nil)).Elem(), GetProjectApiKeysResultProjectAssignmentArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectIpAddressesInput)(nil)).Elem(), GetProjectIpAddressesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectIpAddressesServicesInput)(nil)).Elem(), GetProjectIpAddressesServicesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectIpAddressesServicesClusterInput)(nil)).Elem(), GetProjectIpAddressesServicesClusterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectIpAddressesServicesClusterArrayInput)(nil)).Elem(), GetProjectIpAddressesServicesClusterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLimitInput)(nil)).Elem(), GetProjectLimitArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLimitArrayInput)(nil)).Elem(), GetProjectLimitArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectTeamInput)(nil)).Elem(), GetProjectTeamArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectTeamArrayInput)(nil)).Elem(), GetProjectTeamArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultInput)(nil)).Elem(), GetProjectsResultArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultArrayInput)(nil)).Elem(), GetProjectsResultArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultIpAddressesInput)(nil)).Elem(), GetProjectsResultIpAddressesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultIpAddressesServicesInput)(nil)).Elem(), GetProjectsResultIpAddressesServicesArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultIpAddressesServicesClusterInput)(nil)).Elem(), GetProjectsResultIpAddressesServicesClusterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultIpAddressesServicesClusterArrayInput)(nil)).Elem(), GetProjectsResultIpAddressesServicesClusterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultLimitInput)(nil)).Elem(), GetProjectsResultLimitArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultLimitArrayInput)(nil)).Elem(), GetProjectsResultLimitArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsResultTeamInput)(nil)).Elem(), GetProjectsResultTeamArgs{})
@@ -46752,8 +46919,6 @@ func init() {
pulumi.RegisterOutputType(CloudProviderAccessAuthorizationAzurePtrOutput{})
pulumi.RegisterOutputType(CloudProviderAccessAuthorizationFeatureUsageOutput{})
pulumi.RegisterOutputType(CloudProviderAccessAuthorizationFeatureUsageArrayOutput{})
- pulumi.RegisterOutputType(CloudProviderAccessFeatureUsageOutput{})
- pulumi.RegisterOutputType(CloudProviderAccessFeatureUsageArrayOutput{})
pulumi.RegisterOutputType(CloudProviderAccessSetupAwsConfigOutput{})
pulumi.RegisterOutputType(CloudProviderAccessSetupAwsConfigArrayOutput{})
pulumi.RegisterOutputType(CloudProviderAccessSetupAzureConfigOutput{})
@@ -46868,6 +47033,12 @@ func init() {
pulumi.RegisterOutputType(ProjectApiKeyProjectAssignmentArrayOutput{})
pulumi.RegisterOutputType(ProjectIpAccessListTimeoutsOutput{})
pulumi.RegisterOutputType(ProjectIpAccessListTimeoutsPtrOutput{})
+ pulumi.RegisterOutputType(ProjectIpAddressesOutput{})
+ pulumi.RegisterOutputType(ProjectIpAddressesPtrOutput{})
+ pulumi.RegisterOutputType(ProjectIpAddressesServicesOutput{})
+ pulumi.RegisterOutputType(ProjectIpAddressesServicesPtrOutput{})
+ pulumi.RegisterOutputType(ProjectIpAddressesServicesClusterOutput{})
+ pulumi.RegisterOutputType(ProjectIpAddressesServicesClusterArrayOutput{})
pulumi.RegisterOutputType(ProjectLimitOutput{})
pulumi.RegisterOutputType(ProjectLimitArrayOutput{})
pulumi.RegisterOutputType(ProjectTeamOutput{})
@@ -46985,11 +47156,8 @@ func init() {
pulumi.RegisterOutputType(GetAtlasUsersResultRoleOutput{})
pulumi.RegisterOutputType(GetAtlasUsersResultRoleArrayOutput{})
pulumi.RegisterOutputType(GetBackupCompliancePolicyOnDemandPolicyItemOutput{})
- pulumi.RegisterOutputType(GetBackupCompliancePolicyOnDemandPolicyItemPtrOutput{})
pulumi.RegisterOutputType(GetBackupCompliancePolicyPolicyItemDailyOutput{})
- pulumi.RegisterOutputType(GetBackupCompliancePolicyPolicyItemDailyPtrOutput{})
pulumi.RegisterOutputType(GetBackupCompliancePolicyPolicyItemHourlyOutput{})
- pulumi.RegisterOutputType(GetBackupCompliancePolicyPolicyItemHourlyPtrOutput{})
pulumi.RegisterOutputType(GetBackupCompliancePolicyPolicyItemMonthlyOutput{})
pulumi.RegisterOutputType(GetBackupCompliancePolicyPolicyItemMonthlyArrayOutput{})
pulumi.RegisterOutputType(GetBackupCompliancePolicyPolicyItemWeeklyOutput{})
@@ -47026,10 +47194,6 @@ func init() {
pulumi.RegisterOutputType(GetCloudBackupSnapshotsResultArrayOutput{})
pulumi.RegisterOutputType(GetCloudBackupSnapshotsResultMemberOutput{})
pulumi.RegisterOutputType(GetCloudBackupSnapshotsResultMemberArrayOutput{})
- pulumi.RegisterOutputType(GetCloudProviderAccessAwsIamRoleOutput{})
- pulumi.RegisterOutputType(GetCloudProviderAccessAwsIamRoleArrayOutput{})
- pulumi.RegisterOutputType(GetCloudProviderAccessAwsIamRoleFeatureUsageOutput{})
- pulumi.RegisterOutputType(GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput{})
pulumi.RegisterOutputType(GetCloudProviderAccessSetupAwsConfigOutput{})
pulumi.RegisterOutputType(GetCloudProviderAccessSetupAwsConfigArrayOutput{})
pulumi.RegisterOutputType(GetCloudProviderAccessSetupAzureConfigOutput{})
@@ -47296,12 +47460,20 @@ func init() {
pulumi.RegisterOutputType(GetProjectApiKeysResultArrayOutput{})
pulumi.RegisterOutputType(GetProjectApiKeysResultProjectAssignmentOutput{})
pulumi.RegisterOutputType(GetProjectApiKeysResultProjectAssignmentArrayOutput{})
+ pulumi.RegisterOutputType(GetProjectIpAddressesOutput{})
+ pulumi.RegisterOutputType(GetProjectIpAddressesServicesOutput{})
+ pulumi.RegisterOutputType(GetProjectIpAddressesServicesClusterOutput{})
+ pulumi.RegisterOutputType(GetProjectIpAddressesServicesClusterArrayOutput{})
pulumi.RegisterOutputType(GetProjectLimitOutput{})
pulumi.RegisterOutputType(GetProjectLimitArrayOutput{})
pulumi.RegisterOutputType(GetProjectTeamOutput{})
pulumi.RegisterOutputType(GetProjectTeamArrayOutput{})
pulumi.RegisterOutputType(GetProjectsResultOutput{})
pulumi.RegisterOutputType(GetProjectsResultArrayOutput{})
+ pulumi.RegisterOutputType(GetProjectsResultIpAddressesOutput{})
+ pulumi.RegisterOutputType(GetProjectsResultIpAddressesServicesOutput{})
+ pulumi.RegisterOutputType(GetProjectsResultIpAddressesServicesClusterOutput{})
+ pulumi.RegisterOutputType(GetProjectsResultIpAddressesServicesClusterArrayOutput{})
pulumi.RegisterOutputType(GetProjectsResultLimitOutput{})
pulumi.RegisterOutputType(GetProjectsResultLimitArrayOutput{})
pulumi.RegisterOutputType(GetProjectsResultTeamOutput{})
diff --git a/sdk/go/mongodbatlas/searchDeployment.go b/sdk/go/mongodbatlas/searchDeployment.go
index dcbb039e..a10d3e2a 100644
--- a/sdk/go/mongodbatlas/searchDeployment.go
+++ b/sdk/go/mongodbatlas/searchDeployment.go
@@ -18,30 +18,19 @@ import (
//
// > **NOTE:** Only a single search deployment resource can be defined for each cluster.
//
-// ## Import
-//
-// Search node resource can be imported using the project ID and cluster name, in the format `PROJECT_ID-CLUSTER_NAME`, e.g.
-//
-// ```sh
-//
-// $ pulumi import mongodbatlas:index/searchDeployment:SearchDeployment test 650972848269185c55f40ca1-Cluster0
-//
-// ```
-//
-// For more information see[MongoDB Atlas API - Search Node](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) Documentation.
+// ## Example Usage
type SearchDeployment struct {
pulumi.CustomResourceState
- // Label that identifies the cluster to create search nodes for.
+ // Label that identifies the cluster to return the search nodes for.
ClusterName pulumi.StringOutput `pulumi:"clusterName"`
- // Unique 24-hexadecimal digit string that identifies your project.
+ // Unique 24-hexadecimal character string that identifies the project.
ProjectId pulumi.StringOutput `pulumi:"projectId"`
- // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
+ // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
Specs SearchDeploymentSpecArrayOutput `pulumi:"specs"`
- // Human-readable label that indicates the current operating condition of this search node deployment.
- StateName pulumi.StringOutput `pulumi:"stateName"`
- // The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
- Timeouts SearchDeploymentTimeoutsPtrOutput `pulumi:"timeouts"`
+ // Human-readable label that indicates the current operating condition of this search deployment.
+ StateName pulumi.StringOutput `pulumi:"stateName"`
+ Timeouts SearchDeploymentTimeoutsPtrOutput `pulumi:"timeouts"`
}
// NewSearchDeployment registers a new resource with the given unique name, arguments, and options.
@@ -83,29 +72,27 @@ func GetSearchDeployment(ctx *pulumi.Context,
// Input properties used for looking up and filtering SearchDeployment resources.
type searchDeploymentState struct {
- // Label that identifies the cluster to create search nodes for.
+ // Label that identifies the cluster to return the search nodes for.
ClusterName *string `pulumi:"clusterName"`
- // Unique 24-hexadecimal digit string that identifies your project.
+ // Unique 24-hexadecimal character string that identifies the project.
ProjectId *string `pulumi:"projectId"`
- // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
+ // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
Specs []SearchDeploymentSpec `pulumi:"specs"`
- // Human-readable label that indicates the current operating condition of this search node deployment.
- StateName *string `pulumi:"stateName"`
- // The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
- Timeouts *SearchDeploymentTimeouts `pulumi:"timeouts"`
+ // Human-readable label that indicates the current operating condition of this search deployment.
+ StateName *string `pulumi:"stateName"`
+ Timeouts *SearchDeploymentTimeouts `pulumi:"timeouts"`
}
type SearchDeploymentState struct {
- // Label that identifies the cluster to create search nodes for.
+ // Label that identifies the cluster to return the search nodes for.
ClusterName pulumi.StringPtrInput
- // Unique 24-hexadecimal digit string that identifies your project.
+ // Unique 24-hexadecimal character string that identifies the project.
ProjectId pulumi.StringPtrInput
- // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
+ // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
Specs SearchDeploymentSpecArrayInput
- // Human-readable label that indicates the current operating condition of this search node deployment.
+ // Human-readable label that indicates the current operating condition of this search deployment.
StateName pulumi.StringPtrInput
- // The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
- Timeouts SearchDeploymentTimeoutsPtrInput
+ Timeouts SearchDeploymentTimeoutsPtrInput
}
func (SearchDeploymentState) ElementType() reflect.Type {
@@ -113,25 +100,23 @@ func (SearchDeploymentState) ElementType() reflect.Type {
}
type searchDeploymentArgs struct {
- // Label that identifies the cluster to create search nodes for.
+ // Label that identifies the cluster to return the search nodes for.
ClusterName string `pulumi:"clusterName"`
- // Unique 24-hexadecimal digit string that identifies your project.
+ // Unique 24-hexadecimal character string that identifies the project.
ProjectId string `pulumi:"projectId"`
- // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
- Specs []SearchDeploymentSpec `pulumi:"specs"`
- // The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
+ // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
+ Specs []SearchDeploymentSpec `pulumi:"specs"`
Timeouts *SearchDeploymentTimeouts `pulumi:"timeouts"`
}
// The set of arguments for constructing a SearchDeployment resource.
type SearchDeploymentArgs struct {
- // Label that identifies the cluster to create search nodes for.
+ // Label that identifies the cluster to return the search nodes for.
ClusterName pulumi.StringInput
- // Unique 24-hexadecimal digit string that identifies your project.
+ // Unique 24-hexadecimal character string that identifies the project.
ProjectId pulumi.StringInput
- // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
- Specs SearchDeploymentSpecArrayInput
- // The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
+ // List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
+ Specs SearchDeploymentSpecArrayInput
Timeouts SearchDeploymentTimeoutsPtrInput
}
@@ -222,27 +207,26 @@ func (o SearchDeploymentOutput) ToSearchDeploymentOutputWithContext(ctx context.
return o
}
-// Label that identifies the cluster to create search nodes for.
+// Label that identifies the cluster to return the search nodes for.
func (o SearchDeploymentOutput) ClusterName() pulumi.StringOutput {
return o.ApplyT(func(v *SearchDeployment) pulumi.StringOutput { return v.ClusterName }).(pulumi.StringOutput)
}
-// Unique 24-hexadecimal digit string that identifies your project.
+// Unique 24-hexadecimal character string that identifies the project.
func (o SearchDeploymentOutput) ProjectId() pulumi.StringOutput {
return o.ApplyT(func(v *SearchDeployment) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput)
}
-// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element. See specs.
+// List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
func (o SearchDeploymentOutput) Specs() SearchDeploymentSpecArrayOutput {
return o.ApplyT(func(v *SearchDeployment) SearchDeploymentSpecArrayOutput { return v.Specs }).(SearchDeploymentSpecArrayOutput)
}
-// Human-readable label that indicates the current operating condition of this search node deployment.
+// Human-readable label that indicates the current operating condition of this search deployment.
func (o SearchDeploymentOutput) StateName() pulumi.StringOutput {
return o.ApplyT(func(v *SearchDeployment) pulumi.StringOutput { return v.StateName }).(pulumi.StringOutput)
}
-// The time to wait for search nodes to be created, updated, or deleted. The timeout value is defined by a signed sequence of decimal numbers with a time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The attribute must be defined with nested attributes.
func (o SearchDeploymentOutput) Timeouts() SearchDeploymentTimeoutsPtrOutput {
return o.ApplyT(func(v *SearchDeployment) SearchDeploymentTimeoutsPtrOutput { return v.Timeouts }).(SearchDeploymentTimeoutsPtrOutput)
}
diff --git a/sdk/go/mongodbatlas/searchIndex.go b/sdk/go/mongodbatlas/searchIndex.go
index d2ff6c7f..b9092dbe 100644
--- a/sdk/go/mongodbatlas/searchIndex.go
+++ b/sdk/go/mongodbatlas/searchIndex.go
@@ -202,7 +202,8 @@ type SearchIndex struct {
ProjectId pulumi.StringOutput `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
SearchAnalyzer pulumi.StringPtrOutput `pulumi:"searchAnalyzer"`
- Status pulumi.StringOutput `pulumi:"status"`
+ // Current status of the index.
+ Status pulumi.StringOutput `pulumi:"status"`
// Synonyms mapping definition to use in this index.
Synonyms SearchIndexSynonymArrayOutput `pulumi:"synonyms"`
// Type of index: `search` or `vectorSearch`. Default type is `search`.
@@ -275,7 +276,8 @@ type searchIndexState struct {
ProjectId *string `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
SearchAnalyzer *string `pulumi:"searchAnalyzer"`
- Status *string `pulumi:"status"`
+ // Current status of the index.
+ Status *string `pulumi:"status"`
// Synonyms mapping definition to use in this index.
Synonyms []SearchIndexSynonym `pulumi:"synonyms"`
// Type of index: `search` or `vectorSearch`. Default type is `search`.
@@ -307,7 +309,8 @@ type SearchIndexState struct {
ProjectId pulumi.StringPtrInput
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
SearchAnalyzer pulumi.StringPtrInput
- Status pulumi.StringPtrInput
+ // Current status of the index.
+ Status pulumi.StringPtrInput
// Synonyms mapping definition to use in this index.
Synonyms SearchIndexSynonymArrayInput
// Type of index: `search` or `vectorSearch`. Default type is `search`.
@@ -342,7 +345,6 @@ type searchIndexArgs struct {
ProjectId string `pulumi:"projectId"`
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
SearchAnalyzer *string `pulumi:"searchAnalyzer"`
- Status *string `pulumi:"status"`
// Synonyms mapping definition to use in this index.
Synonyms []SearchIndexSynonym `pulumi:"synonyms"`
// Type of index: `search` or `vectorSearch`. Default type is `search`.
@@ -374,7 +376,6 @@ type SearchIndexArgs struct {
ProjectId pulumi.StringInput
// [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
SearchAnalyzer pulumi.StringPtrInput
- Status pulumi.StringPtrInput
// Synonyms mapping definition to use in this index.
Synonyms SearchIndexSynonymArrayInput
// Type of index: `search` or `vectorSearch`. Default type is `search`.
@@ -528,6 +529,7 @@ func (o SearchIndexOutput) SearchAnalyzer() pulumi.StringPtrOutput {
return o.ApplyT(func(v *SearchIndex) pulumi.StringPtrOutput { return v.SearchAnalyzer }).(pulumi.StringPtrOutput)
}
+// Current status of the index.
func (o SearchIndexOutput) Status() pulumi.StringOutput {
return o.ApplyT(func(v *SearchIndex) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput)
}
diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/ApiKey.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/ApiKey.java
index 330c1700..8a6b25f3 100644
--- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/ApiKey.java
+++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/ApiKey.java
@@ -15,6 +15,38 @@
import javax.annotation.Nullable;
/**
+ * ## Example Usage
+ * ```java
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.mongodbatlas.ApiKey;
+ * import com.pulumi.mongodbatlas.ApiKeyArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ *
+ * public class App {
+ * public static void main(String[] args) {
+ * Pulumi.run(App::stack);
+ * }
+ *
+ * public static void stack(Context ctx) {
+ * var test = new ApiKey("test", ApiKeyArgs.builder()
+ * .description("key-name")
+ * .orgId("<ORG_ID>")
+ * .roleNames("ORG_READ_ONLY")
+ * .build());
+ *
+ * }
+ * }
+ * ```
+ *
* ## Import
*
* API Keys must be imported using org ID, API Key ID e.g.
diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicy.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicy.java
index 24168009..9c514570 100644
--- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicy.java
+++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicy.java
@@ -84,28 +84,28 @@ public Output authorizedUserLastName() {
*
*/
@Export(name="copyProtectionEnabled", refs={Boolean.class}, tree="[0]")
- private Output copyProtectionEnabled;
+ private Output* @Nullable */ Boolean> copyProtectionEnabled;
/**
* @return Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
*
*/
- public Output copyProtectionEnabled() {
- return this.copyProtectionEnabled;
+ public Output> copyProtectionEnabled() {
+ return Codegen.optional(this.copyProtectionEnabled);
}
/**
* Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
*
*/
@Export(name="encryptionAtRestEnabled", refs={Boolean.class}, tree="[0]")
- private Output encryptionAtRestEnabled;
+ private Output* @Nullable */ Boolean> encryptionAtRestEnabled;
/**
* @return Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false.
*
*/
- public Output encryptionAtRestEnabled() {
- return this.encryptionAtRestEnabled;
+ public Output> encryptionAtRestEnabled() {
+ return Codegen.optional(this.encryptionAtRestEnabled);
}
@Export(name="onDemandPolicyItem", refs={BackupCompliancePolicyOnDemandPolicyItem.class}, tree="[0]")
private Output onDemandPolicyItem;
@@ -118,14 +118,14 @@ public Output onDemandPolicyItem() {
*
*/
@Export(name="pitEnabled", refs={Boolean.class}, tree="[0]")
- private Output pitEnabled;
+ private Output* @Nullable */ Boolean> pitEnabled;
/**
* @return Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false.
*
*/
- public Output pitEnabled() {
- return this.pitEnabled;
+ public Output> pitEnabled() {
+ return Codegen.optional(this.pitEnabled);
}
@Export(name="policyItemDaily", refs={BackupCompliancePolicyPolicyItemDaily.class}, tree="[0]")
private Output* @Nullable */ BackupCompliancePolicyPolicyItemDaily> policyItemDaily;
diff --git a/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicyArgs.java b/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicyArgs.java
index 3819be3f..cb29d6a8 100644
--- a/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicyArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/mongodbatlas/BackupCompliancePolicyArgs.java
@@ -73,30 +73,30 @@ public Output authorizedUserLastName() {
* Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
*
*/
- @Import(name="copyProtectionEnabled", required=true)
- private Output copyProtectionEnabled;
+ @Import(name="copyProtectionEnabled")
+ private @Nullable Output copyProtectionEnabled;
/**
* @return Flag that indicates whether to enable additional backup copies for the cluster. If unspecified, this value defaults to false.
*
*/
- public Output copyProtectionEnabled() {
- return this.copyProtectionEnabled;
+ public Optional