MongoDB Atlas v3.18.0 published on Thursday, Sep 12, 2024 by Pulumi
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 string
- The unique name of the resource.
- args CloudProviderAccessSetupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args CloudProviderAccessSetupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudProviderAccessSetupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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=[mongodbatlas.CloudProviderAccessSetupAzureConfigArgs(
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
The CloudProviderAccessSetup resource accepts the following input properties:
- project
Id String - provider
Name String - 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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 CloudProvider Access Setup Aws Config[] - azure
Configs CloudProvider Access Setup Azure Config[] - created
Date string - last
Updated stringDate - project
Id string - provider
Name string - role
Id string
- aws
Configs List<Property Map> - azure
Configs List<Property Map> - created
Date String - last
Updated StringDate - project
Id String - provider
Name String - 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 stringApp Id - Service
Principal stringId - Tenant
Id string
- Atlas
Azure stringApp Id - Service
Principal stringId - Tenant
Id string
- atlas
Azure StringApp Id - service
Principal StringId - tenant
Id String
- atlas
Azure stringApp Id - service
Principal stringId - tenant
Id string
- atlas_
azure_ strapp_ id - service_
principal_ strid - tenant_
id str
- atlas
Azure StringApp Id - service
Principal StringId - tenant
Id String
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.