mongodbatlas.CloudProviderAccessSetup
Explore with Pulumi AI
Create CloudProviderAccessSetup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudProviderAccessSetup(name: string, args: CloudProviderAccessSetupArgs, opts?: CustomResourceOptions);
@overload
def CloudProviderAccessSetup(resource_name: str,
args: CloudProviderAccessSetupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudProviderAccessSetup(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
provider_name: Optional[str] = None,
azure_configs: Optional[Sequence[CloudProviderAccessSetupAzureConfigArgs]] = None)
func NewCloudProviderAccessSetup(ctx *Context, name string, args CloudProviderAccessSetupArgs, opts ...ResourceOption) (*CloudProviderAccessSetup, error)
public CloudProviderAccessSetup(string name, CloudProviderAccessSetupArgs args, CustomResourceOptions? opts = null)
public CloudProviderAccessSetup(String name, CloudProviderAccessSetupArgs args)
public CloudProviderAccessSetup(String name, CloudProviderAccessSetupArgs args, CustomResourceOptions options)
type: mongodbatlas:CloudProviderAccessSetup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CloudProviderAccessSetupArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. CloudProviderAccessSetupArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CloudProviderAccessSetupArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CloudProviderAccessSetupArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. CloudProviderAccessSetupArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudProviderAccessSetupResource = new Mongodbatlas.CloudProviderAccessSetup("cloudProviderAccessSetupResource", new()
{
ProjectId = "string",
ProviderName = "string",
AzureConfigs = new[]
{
new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs
{
AtlasAzureAppId = "string",
ServicePrincipalId = "string",
TenantId = "string",
},
},
});
example, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, "cloudProviderAccessSetupResource", &mongodbatlas.CloudProviderAccessSetupArgs{
ProjectId: pulumi.String("string"),
ProviderName: pulumi.String("string"),
AzureConfigs: mongodbatlas.CloudProviderAccessSetupAzureConfigArray{
&mongodbatlas.CloudProviderAccessSetupAzureConfigArgs{
AtlasAzureAppId: pulumi.String("string"),
ServicePrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
},
})
var cloudProviderAccessSetupResource = new CloudProviderAccessSetup("cloudProviderAccessSetupResource", CloudProviderAccessSetupArgs.builder()
.projectId("string")
.providerName("string")
.azureConfigs(CloudProviderAccessSetupAzureConfigArgs.builder()
.atlasAzureAppId("string")
.servicePrincipalId("string")
.tenantId("string")
.build())
.build());
cloud_provider_access_setup_resource = mongodbatlas.CloudProviderAccessSetup("cloudProviderAccessSetupResource",
project_id="string",
provider_name="string",
azure_configs=[{
"atlas_azure_app_id": "string",
"service_principal_id": "string",
"tenant_id": "string",
}])
const cloudProviderAccessSetupResource = new mongodbatlas.CloudProviderAccessSetup("cloudProviderAccessSetupResource", {
projectId: "string",
providerName: "string",
azureConfigs: [{
atlasAzureAppId: "string",
servicePrincipalId: "string",
tenantId: "string",
}],
});
type: mongodbatlas:CloudProviderAccessSetup
properties:
azureConfigs:
- atlasAzureAppId: string
servicePrincipalId: string
tenantId: string
projectId: string
providerName: string
CloudProviderAccessSetup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CloudProviderAccessSetup resource accepts the following input properties:
- Project
Id This property is required. string - Provider
Name This property is required. Changes to this property will trigger replacement.
- Azure
Configs List<CloudProvider Access Setup Azure Config>
- Project
Id This property is required. string - Provider
Name This property is required. Changes to this property will trigger replacement.
- Azure
Configs []CloudProvider Access Setup Azure Config Args
- project
Id This property is required. String - provider
Name This property is required. Changes to this property will trigger replacement.
- azure
Configs List<CloudProvider Access Setup Azure Config>
- project
Id This property is required. string - provider
Name This property is required. Changes to this property will trigger replacement.
- azure
Configs CloudProvider Access Setup Azure Config[]
- project_
id This property is required. str - provider_
name This property is required. Changes to this property will trigger replacement.
- azure_
configs Sequence[CloudProvider Access Setup Azure Config Args]
- project
Id This property is required. String - provider
Name This property is required. Changes to this property will trigger replacement.
- azure
Configs List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudProviderAccessSetup resource produces the following output properties:
- Aws
Configs List<CloudProvider Access Setup Aws Config> - Created
Date string - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Role
Id string
- Aws
Configs []CloudProvider Access Setup Aws Config - Created
Date string - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringDate - Role
Id string
- aws
Configs List<CloudProvider Access Setup Aws Config> - created
Date String - id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - role
Id String
- aws
Configs CloudProvider Access Setup Aws Config[] - created
Date string - id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringDate - role
Id string
- aws_
configs Sequence[CloudProvider Access Setup Aws Config] - created_
date str - id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strdate - role_
id str
- aws
Configs List<Property Map> - created
Date String - id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringDate - role
Id String
Look up Existing CloudProviderAccessSetup Resource
Get an existing CloudProviderAccessSetup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudProviderAccessSetupState, opts?: CustomResourceOptions): CloudProviderAccessSetup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws_configs: Optional[Sequence[CloudProviderAccessSetupAwsConfigArgs]] = None,
azure_configs: Optional[Sequence[CloudProviderAccessSetupAzureConfigArgs]] = None,
created_date: Optional[str] = None,
last_updated_date: Optional[str] = None,
project_id: Optional[str] = None,
provider_name: Optional[str] = None,
role_id: Optional[str] = None) -> CloudProviderAccessSetup
func GetCloudProviderAccessSetup(ctx *Context, name string, id IDInput, state *CloudProviderAccessSetupState, opts ...ResourceOption) (*CloudProviderAccessSetup, error)
public static CloudProviderAccessSetup Get(string name, Input<string> id, CloudProviderAccessSetupState? state, CustomResourceOptions? opts = null)
public static CloudProviderAccessSetup get(String name, Output<String> id, CloudProviderAccessSetupState state, CustomResourceOptions options)
resources: _: type: mongodbatlas:CloudProviderAccessSetup get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Aws
Configs List<CloudProvider Access Setup Aws Config> - Azure
Configs List<CloudProvider Access Setup Azure Config> - Created
Date string - Last
Updated stringDate - Project
Id string - Provider
Name Changes to this property will trigger replacement.
- Role
Id string
- Aws
Configs []CloudProvider Access Setup Aws Config Args - Azure
Configs []CloudProvider Access Setup Azure Config Args - Created
Date string - Last
Updated stringDate - Project
Id string - Provider
Name Changes to this property will trigger replacement.
- Role
Id string
- aws
Configs List<CloudProvider Access Setup Aws Config> - azure
Configs List<CloudProvider Access Setup Azure Config> - created
Date String - last
Updated StringDate - project
Id String - provider
Name Changes to this property will trigger replacement.
- role
Id String
- aws
Configs CloudProvider Access Setup Aws Config[] - azure
Configs CloudProvider Access Setup Azure Config[] - created
Date string - last
Updated stringDate - project
Id string - provider
Name Changes to this property will trigger replacement.
- role
Id string
- aws_
configs Sequence[CloudProvider Access Setup Aws Config Args] - azure_
configs Sequence[CloudProvider Access Setup Azure Config Args] - created_
date str - last_
updated_ strdate - project_
id str - provider_
name Changes to this property will trigger replacement.
- role_
id str
- aws
Configs List<Property Map> - azure
Configs List<Property Map> - created
Date String - last
Updated StringDate - project
Id String - provider
Name Changes to this property will trigger replacement.
- role
Id String
Supporting Types
CloudProviderAccessSetupAwsConfig, CloudProviderAccessSetupAwsConfigArgs
- Atlas
Assumed stringRole External Id - Atlas
Aws stringAccount Arn
- Atlas
Assumed stringRole External Id - Atlas
Aws stringAccount Arn
- atlas
Assumed StringRole External Id - atlas
Aws StringAccount Arn
- atlas
Assumed stringRole External Id - atlas
Aws stringAccount Arn
- atlas
Assumed StringRole External Id - atlas
Aws StringAccount Arn
CloudProviderAccessSetupAzureConfig, CloudProviderAccessSetupAzureConfigArgs
- Atlas
Azure App Id This property is required. string - Service
Principal Id This property is required. string - Tenant
Id This property is required. string
- Atlas
Azure App Id This property is required. string - Service
Principal Id This property is required. string - Tenant
Id This property is required. string
- atlas
Azure App Id This property is required. String - service
Principal Id This property is required. String - tenant
Id This property is required. String
- atlas
Azure App Id This property is required. string - service
Principal Id This property is required. string - tenant
Id This property is required. string
- atlas_
azure_ app_ id This property is required. str - service_
principal_ id This property is required. str - tenant_
id This property is required. str
- atlas
Azure App Id This property is required. String - service
Principal Id This property is required. String - tenant
Id This property is required. String
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.