cpln.CloudAccount
Explore with Pulumi AI
Create CloudAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudAccount(name: string, args?: CloudAccountArgs, opts?: CustomResourceOptions);@overload
def CloudAccount(resource_name: str,
                 args: Optional[CloudAccountArgs] = None,
                 opts: Optional[ResourceOptions] = None)
@overload
def CloudAccount(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 aws: Optional[CloudAccountAwsArgs] = None,
                 azure: Optional[CloudAccountAzureArgs] = None,
                 description: Optional[str] = None,
                 gcp: Optional[CloudAccountGcpArgs] = None,
                 name: Optional[str] = None,
                 ngs: Optional[CloudAccountNgsArgs] = None,
                 tags: Optional[Mapping[str, str]] = None)func NewCloudAccount(ctx *Context, name string, args *CloudAccountArgs, opts ...ResourceOption) (*CloudAccount, error)public CloudAccount(string name, CloudAccountArgs? args = null, CustomResourceOptions? opts = null)
public CloudAccount(String name, CloudAccountArgs args)
public CloudAccount(String name, CloudAccountArgs args, CustomResourceOptions options)
type: cpln:CloudAccount
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 CloudAccountArgs
- 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 CloudAccountArgs
- 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 CloudAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudAccountArgs
- 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 cloudAccountResource = new Cpln.CloudAccount("cloudAccountResource", new()
{
    Aws = new Cpln.Inputs.CloudAccountAwsArgs
    {
        RoleArn = "string",
    },
    Azure = new Cpln.Inputs.CloudAccountAzureArgs
    {
        SecretLink = "string",
    },
    Description = "string",
    Gcp = new Cpln.Inputs.CloudAccountGcpArgs
    {
        ProjectId = "string",
    },
    Name = "string",
    Ngs = new Cpln.Inputs.CloudAccountNgsArgs
    {
        SecretLink = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := cpln.NewCloudAccount(ctx, "cloudAccountResource", &cpln.CloudAccountArgs{
	Aws: &cpln.CloudAccountAwsArgs{
		RoleArn: pulumi.String("string"),
	},
	Azure: &cpln.CloudAccountAzureArgs{
		SecretLink: pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	Gcp: &cpln.CloudAccountGcpArgs{
		ProjectId: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Ngs: &cpln.CloudAccountNgsArgs{
		SecretLink: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var cloudAccountResource = new CloudAccount("cloudAccountResource", CloudAccountArgs.builder()
    .aws(CloudAccountAwsArgs.builder()
        .roleArn("string")
        .build())
    .azure(CloudAccountAzureArgs.builder()
        .secretLink("string")
        .build())
    .description("string")
    .gcp(CloudAccountGcpArgs.builder()
        .projectId("string")
        .build())
    .name("string")
    .ngs(CloudAccountNgsArgs.builder()
        .secretLink("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
cloud_account_resource = cpln.CloudAccount("cloudAccountResource",
    aws={
        "role_arn": "string",
    },
    azure={
        "secret_link": "string",
    },
    description="string",
    gcp={
        "project_id": "string",
    },
    name="string",
    ngs={
        "secret_link": "string",
    },
    tags={
        "string": "string",
    })
const cloudAccountResource = new cpln.CloudAccount("cloudAccountResource", {
    aws: {
        roleArn: "string",
    },
    azure: {
        secretLink: "string",
    },
    description: "string",
    gcp: {
        projectId: "string",
    },
    name: "string",
    ngs: {
        secretLink: "string",
    },
    tags: {
        string: "string",
    },
});
type: cpln:CloudAccount
properties:
    aws:
        roleArn: string
    azure:
        secretLink: string
    description: string
    gcp:
        projectId: string
    name: string
    ngs:
        secretLink: string
    tags:
        string: string
CloudAccount 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 CloudAccount resource accepts the following input properties:
- Aws
Pulumiverse.Cpln. Inputs. Cloud Account Aws 
- Contains AWS cloud account configuration.
- Azure
Pulumiverse.Cpln. Inputs. Cloud Account Azure 
- Contains Azure cloud account configuration.
- Description string
- Description of the Cloud Account.
- Gcp
Pulumiverse.Cpln. Inputs. Cloud Account Gcp 
- Contains GCP cloud account configuration.
- Name string
- Name of the Cloud Account.
- Ngs
Pulumiverse.Cpln. Inputs. Cloud Account Ngs 
- Dictionary<string, string>
- Key-value map of resource tags.
- Aws
CloudAccount Aws Args 
- Contains AWS cloud account configuration.
- Azure
CloudAccount Azure Args 
- Contains Azure cloud account configuration.
- Description string
- Description of the Cloud Account.
- Gcp
CloudAccount Gcp Args 
- Contains GCP cloud account configuration.
- Name string
- Name of the Cloud Account.
- Ngs
CloudAccount Ngs Args 
- map[string]string
- Key-value map of resource tags.
- aws
CloudAccount Aws 
- Contains AWS cloud account configuration.
- azure
CloudAccount Azure 
- Contains Azure cloud account configuration.
- description String
- Description of the Cloud Account.
- gcp
CloudAccount Gcp 
- Contains GCP cloud account configuration.
- name String
- Name of the Cloud Account.
- ngs
CloudAccount Ngs 
- Map<String,String>
- Key-value map of resource tags.
- aws
CloudAccount Aws 
- Contains AWS cloud account configuration.
- azure
CloudAccount Azure 
- Contains Azure cloud account configuration.
- description string
- Description of the Cloud Account.
- gcp
CloudAccount Gcp 
- Contains GCP cloud account configuration.
- name string
- Name of the Cloud Account.
- ngs
CloudAccount Ngs 
- {[key: string]: string}
- Key-value map of resource tags.
- aws
CloudAccount Aws Args 
- Contains AWS cloud account configuration.
- azure
CloudAccount Azure Args 
- Contains Azure cloud account configuration.
- description str
- Description of the Cloud Account.
- gcp
CloudAccount Gcp Args 
- Contains GCP cloud account configuration.
- name str
- Name of the Cloud Account.
- ngs
CloudAccount Ngs Args 
- Mapping[str, str]
- Key-value map of resource tags.
- aws Property Map
- Contains AWS cloud account configuration.
- azure Property Map
- Contains Azure cloud account configuration.
- description String
- Description of the Cloud Account.
- gcp Property Map
- Contains GCP cloud account configuration.
- name String
- Name of the Cloud Account.
- ngs Property Map
- Map<String>
- Key-value map of resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudAccount resource produces the following output properties:
- CplnId string
- The ID, in GUID format, of the Cloud Account.
- GcpRoles List<string>
- GcpService stringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- Id string
- The provider-assigned unique ID for this managed resource.
- SelfLink string
- CplnId string
- The ID, in GUID format, of the Cloud Account.
- GcpRoles []string
- GcpService stringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- Id string
- The provider-assigned unique ID for this managed resource.
- SelfLink string
- cplnId String
- The ID, in GUID format, of the Cloud Account.
- gcpRoles List<String>
- gcpService StringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- id String
- The provider-assigned unique ID for this managed resource.
- selfLink String
- cplnId string
- The ID, in GUID format, of the Cloud Account.
- gcpRoles string[]
- gcpService stringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- id string
- The provider-assigned unique ID for this managed resource.
- selfLink string
- cpln_id str
- The ID, in GUID format, of the Cloud Account.
- gcp_roles Sequence[str]
- gcp_service_ straccount_ name 
- GCP service account name used during the configuration of the cloud account at GCP.
- id str
- The provider-assigned unique ID for this managed resource.
- self_link str
- cplnId String
- The ID, in GUID format, of the Cloud Account.
- gcpRoles List<String>
- gcpService StringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- id String
- The provider-assigned unique ID for this managed resource.
- selfLink String
Look up Existing CloudAccount Resource
Get an existing CloudAccount 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?: CloudAccountState, opts?: CustomResourceOptions): CloudAccount@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aws: Optional[CloudAccountAwsArgs] = None,
        azure: Optional[CloudAccountAzureArgs] = None,
        cpln_id: Optional[str] = None,
        description: Optional[str] = None,
        gcp: Optional[CloudAccountGcpArgs] = None,
        gcp_roles: Optional[Sequence[str]] = None,
        gcp_service_account_name: Optional[str] = None,
        name: Optional[str] = None,
        ngs: Optional[CloudAccountNgsArgs] = None,
        self_link: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> CloudAccountfunc GetCloudAccount(ctx *Context, name string, id IDInput, state *CloudAccountState, opts ...ResourceOption) (*CloudAccount, error)public static CloudAccount Get(string name, Input<string> id, CloudAccountState? state, CustomResourceOptions? opts = null)public static CloudAccount get(String name, Output<String> id, CloudAccountState state, CustomResourceOptions options)resources:  _:    type: cpln:CloudAccount    get:      id: ${id}- 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
Pulumiverse.Cpln. Inputs. Cloud Account Aws 
- Contains AWS cloud account configuration.
- Azure
Pulumiverse.Cpln. Inputs. Cloud Account Azure 
- Contains Azure cloud account configuration.
- CplnId string
- The ID, in GUID format, of the Cloud Account.
- Description string
- Description of the Cloud Account.
- Gcp
Pulumiverse.Cpln. Inputs. Cloud Account Gcp 
- Contains GCP cloud account configuration.
- GcpRoles List<string>
- GcpService stringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- Name string
- Name of the Cloud Account.
- Ngs
Pulumiverse.Cpln. Inputs. Cloud Account Ngs 
- SelfLink string
- Dictionary<string, string>
- Key-value map of resource tags.
- Aws
CloudAccount Aws Args 
- Contains AWS cloud account configuration.
- Azure
CloudAccount Azure Args 
- Contains Azure cloud account configuration.
- CplnId string
- The ID, in GUID format, of the Cloud Account.
- Description string
- Description of the Cloud Account.
- Gcp
CloudAccount Gcp Args 
- Contains GCP cloud account configuration.
- GcpRoles []string
- GcpService stringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- Name string
- Name of the Cloud Account.
- Ngs
CloudAccount Ngs Args 
- SelfLink string
- map[string]string
- Key-value map of resource tags.
- aws
CloudAccount Aws 
- Contains AWS cloud account configuration.
- azure
CloudAccount Azure 
- Contains Azure cloud account configuration.
- cplnId String
- The ID, in GUID format, of the Cloud Account.
- description String
- Description of the Cloud Account.
- gcp
CloudAccount Gcp 
- Contains GCP cloud account configuration.
- gcpRoles List<String>
- gcpService StringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- name String
- Name of the Cloud Account.
- ngs
CloudAccount Ngs 
- selfLink String
- Map<String,String>
- Key-value map of resource tags.
- aws
CloudAccount Aws 
- Contains AWS cloud account configuration.
- azure
CloudAccount Azure 
- Contains Azure cloud account configuration.
- cplnId string
- The ID, in GUID format, of the Cloud Account.
- description string
- Description of the Cloud Account.
- gcp
CloudAccount Gcp 
- Contains GCP cloud account configuration.
- gcpRoles string[]
- gcpService stringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- name string
- Name of the Cloud Account.
- ngs
CloudAccount Ngs 
- selfLink string
- {[key: string]: string}
- Key-value map of resource tags.
- aws
CloudAccount Aws Args 
- Contains AWS cloud account configuration.
- azure
CloudAccount Azure Args 
- Contains Azure cloud account configuration.
- cpln_id str
- The ID, in GUID format, of the Cloud Account.
- description str
- Description of the Cloud Account.
- gcp
CloudAccount Gcp Args 
- Contains GCP cloud account configuration.
- gcp_roles Sequence[str]
- gcp_service_ straccount_ name 
- GCP service account name used during the configuration of the cloud account at GCP.
- name str
- Name of the Cloud Account.
- ngs
CloudAccount Ngs Args 
- self_link str
- Mapping[str, str]
- Key-value map of resource tags.
- aws Property Map
- Contains AWS cloud account configuration.
- azure Property Map
- Contains Azure cloud account configuration.
- cplnId String
- The ID, in GUID format, of the Cloud Account.
- description String
- Description of the Cloud Account.
- gcp Property Map
- Contains GCP cloud account configuration.
- gcpRoles List<String>
- gcpService StringAccount Name 
- GCP service account name used during the configuration of the cloud account at GCP.
- name String
- Name of the Cloud Account.
- ngs Property Map
- selfLink String
- Map<String>
- Key-value map of resource tags.
Supporting Types
CloudAccountAws, CloudAccountAwsArgs      
- RoleArn string
- Amazon Resource Name (ARN) Role.
- RoleArn string
- Amazon Resource Name (ARN) Role.
- roleArn String
- Amazon Resource Name (ARN) Role.
- roleArn string
- Amazon Resource Name (ARN) Role.
- role_arn str
- Amazon Resource Name (ARN) Role.
- roleArn String
- Amazon Resource Name (ARN) Role.
CloudAccountAzure, CloudAccountAzureArgs      
- SecretLink string
- Full link to an Azure secret. (e.g., /org/ORG_NAME/secret/AZURE_SECRET).
- SecretLink string
- Full link to an Azure secret. (e.g., /org/ORG_NAME/secret/AZURE_SECRET).
- secretLink String
- Full link to an Azure secret. (e.g., /org/ORG_NAME/secret/AZURE_SECRET).
- secretLink string
- Full link to an Azure secret. (e.g., /org/ORG_NAME/secret/AZURE_SECRET).
- secret_link str
- Full link to an Azure secret. (e.g., /org/ORG_NAME/secret/AZURE_SECRET).
- secretLink String
- Full link to an Azure secret. (e.g., /org/ORG_NAME/secret/AZURE_SECRET).
CloudAccountGcp, CloudAccountGcpArgs      
- ProjectId string
- GCP project ID. Obtained from the GCP cloud console.
- ProjectId string
- GCP project ID. Obtained from the GCP cloud console.
- projectId String
- GCP project ID. Obtained from the GCP cloud console.
- projectId string
- GCP project ID. Obtained from the GCP cloud console.
- project_id str
- GCP project ID. Obtained from the GCP cloud console.
- projectId String
- GCP project ID. Obtained from the GCP cloud console.
CloudAccountNgs, CloudAccountNgsArgs      
- SecretLink string
- Full link to a NATS Account Secret secret. (e.g., /org/ORG_NAME/secret/NATS_ACCOUNT_SECRET).
- SecretLink string
- Full link to a NATS Account Secret secret. (e.g., /org/ORG_NAME/secret/NATS_ACCOUNT_SECRET).
- secretLink String
- Full link to a NATS Account Secret secret. (e.g., /org/ORG_NAME/secret/NATS_ACCOUNT_SECRET).
- secretLink string
- Full link to a NATS Account Secret secret. (e.g., /org/ORG_NAME/secret/NATS_ACCOUNT_SECRET).
- secret_link str
- Full link to a NATS Account Secret secret. (e.g., /org/ORG_NAME/secret/NATS_ACCOUNT_SECRET).
- secretLink String
- Full link to a NATS Account Secret secret. (e.g., /org/ORG_NAME/secret/NATS_ACCOUNT_SECRET).
Package Details
- Repository
- cpln pulumiverse/pulumi-cpln
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cplnTerraform Provider.
