vra.CloudAccountAzure
Explore with Pulumi AI
Creates a VMware vRealize Automation Azure cloud account resource.
Example Usage
S
The following example shows how to create an Azure cloud account resource.
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = new vra.CloudAccountAzure("this", {
    applicationId: "sample-application-id",
    applicationKey: "sample-application=key",
    description: "test cloud account",
    regions: ["centralus"],
    subscriptionId: "sample-subscription-id",
    tenantId: "sample-tenant-id",
});
import pulumi
import pulumi_vra as vra
this = vra.CloudAccountAzure("this",
    application_id="sample-application-id",
    application_key="sample-application=key",
    description="test cloud account",
    regions=["centralus"],
    subscription_id="sample-subscription-id",
    tenant_id="sample-tenant-id")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vra.NewCloudAccountAzure(ctx, "this", &vra.CloudAccountAzureArgs{
			ApplicationId:  pulumi.String("sample-application-id"),
			ApplicationKey: pulumi.String("sample-application=key"),
			Description:    pulumi.String("test cloud account"),
			Regions: pulumi.StringArray{
				pulumi.String("centralus"),
			},
			SubscriptionId: pulumi.String("sample-subscription-id"),
			TenantId:       pulumi.String("sample-tenant-id"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() => 
{
    var @this = new Vra.CloudAccountAzure("this", new()
    {
        ApplicationId = "sample-application-id",
        ApplicationKey = "sample-application=key",
        Description = "test cloud account",
        Regions = new[]
        {
            "centralus",
        },
        SubscriptionId = "sample-subscription-id",
        TenantId = "sample-tenant-id",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.CloudAccountAzure;
import com.pulumi.vra.CloudAccountAzureArgs;
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 this_ = new CloudAccountAzure("this", CloudAccountAzureArgs.builder()
            .applicationId("sample-application-id")
            .applicationKey("sample-application=key")
            .description("test cloud account")
            .regions("centralus")
            .subscriptionId("sample-subscription-id")
            .tenantId("sample-tenant-id")
            .build());
    }
}
resources:
  this:
    type: vra:CloudAccountAzure
    properties:
      applicationId: sample-application-id
      applicationKey: sample-application=key
      description: test cloud account
      regions:
        - centralus
      subscriptionId: sample-subscription-id
      tenantId: sample-tenant-id
Create CloudAccountAzure Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudAccountAzure(name: string, args: CloudAccountAzureArgs, opts?: CustomResourceOptions);@overload
def CloudAccountAzure(resource_name: str,
                      args: CloudAccountAzureArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def CloudAccountAzure(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      application_id: Optional[str] = None,
                      application_key: Optional[str] = None,
                      regions: Optional[Sequence[str]] = None,
                      subscription_id: Optional[str] = None,
                      tenant_id: Optional[str] = None,
                      cloud_account_azure_id: Optional[str] = None,
                      description: Optional[str] = None,
                      name: Optional[str] = None,
                      tags: Optional[Sequence[CloudAccountAzureTagArgs]] = None)func NewCloudAccountAzure(ctx *Context, name string, args CloudAccountAzureArgs, opts ...ResourceOption) (*CloudAccountAzure, error)public CloudAccountAzure(string name, CloudAccountAzureArgs args, CustomResourceOptions? opts = null)
public CloudAccountAzure(String name, CloudAccountAzureArgs args)
public CloudAccountAzure(String name, CloudAccountAzureArgs args, CustomResourceOptions options)
type: vra:CloudAccountAzure
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 CloudAccountAzureArgs
- 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 CloudAccountAzureArgs
- 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 CloudAccountAzureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudAccountAzureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudAccountAzureArgs
- 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 cloudAccountAzureResource = new Vra.CloudAccountAzure("cloudAccountAzureResource", new()
{
    ApplicationId = "string",
    ApplicationKey = "string",
    Regions = new[]
    {
        "string",
    },
    SubscriptionId = "string",
    TenantId = "string",
    CloudAccountAzureId = "string",
    Description = "string",
    Name = "string",
    Tags = new[]
    {
        new Vra.Inputs.CloudAccountAzureTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
example, err := vra.NewCloudAccountAzure(ctx, "cloudAccountAzureResource", &vra.CloudAccountAzureArgs{
	ApplicationId:  pulumi.String("string"),
	ApplicationKey: pulumi.String("string"),
	Regions: pulumi.StringArray{
		pulumi.String("string"),
	},
	SubscriptionId:      pulumi.String("string"),
	TenantId:            pulumi.String("string"),
	CloudAccountAzureId: pulumi.String("string"),
	Description:         pulumi.String("string"),
	Name:                pulumi.String("string"),
	Tags: vra.CloudAccountAzureTagArray{
		&vra.CloudAccountAzureTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
var cloudAccountAzureResource = new CloudAccountAzure("cloudAccountAzureResource", CloudAccountAzureArgs.builder()
    .applicationId("string")
    .applicationKey("string")
    .regions("string")
    .subscriptionId("string")
    .tenantId("string")
    .cloudAccountAzureId("string")
    .description("string")
    .name("string")
    .tags(CloudAccountAzureTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
cloud_account_azure_resource = vra.CloudAccountAzure("cloudAccountAzureResource",
    application_id="string",
    application_key="string",
    regions=["string"],
    subscription_id="string",
    tenant_id="string",
    cloud_account_azure_id="string",
    description="string",
    name="string",
    tags=[{
        "key": "string",
        "value": "string",
    }])
const cloudAccountAzureResource = new vra.CloudAccountAzure("cloudAccountAzureResource", {
    applicationId: "string",
    applicationKey: "string",
    regions: ["string"],
    subscriptionId: "string",
    tenantId: "string",
    cloudAccountAzureId: "string",
    description: "string",
    name: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
});
type: vra:CloudAccountAzure
properties:
    applicationId: string
    applicationKey: string
    cloudAccountAzureId: string
    description: string
    name: string
    regions:
        - string
    subscriptionId: string
    tags:
        - key: string
          value: string
    tenantId: string
CloudAccountAzure 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 CloudAccountAzure resource accepts the following input properties:
- ApplicationId string
- Azure Client Application ID.
- ApplicationKey string
- Azure Client Application Secret Key.
- Regions List<string>
- Set of region names enabled for the cloud account.
- SubscriptionId string
- Azure Subscription ID.
- TenantId string
- Azure Tenant ID.
- CloudAccount stringAzure Id 
- Description string
- Human-friendly description.
- Name string
- Name of Azure cloud account.
- 
List<CloudAccount Azure Tag> 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- ApplicationId string
- Azure Client Application ID.
- ApplicationKey string
- Azure Client Application Secret Key.
- Regions []string
- Set of region names enabled for the cloud account.
- SubscriptionId string
- Azure Subscription ID.
- TenantId string
- Azure Tenant ID.
- CloudAccount stringAzure Id 
- Description string
- Human-friendly description.
- Name string
- Name of Azure cloud account.
- 
[]CloudAccount Azure Tag Args 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- applicationId String
- Azure Client Application ID.
- applicationKey String
- Azure Client Application Secret Key.
- regions List<String>
- Set of region names enabled for the cloud account.
- subscriptionId String
- Azure Subscription ID.
- tenantId String
- Azure Tenant ID.
- cloudAccount StringAzure Id 
- description String
- Human-friendly description.
- name String
- Name of Azure cloud account.
- 
List<CloudAccount Azure Tag> 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- applicationId string
- Azure Client Application ID.
- applicationKey string
- Azure Client Application Secret Key.
- regions string[]
- Set of region names enabled for the cloud account.
- subscriptionId string
- Azure Subscription ID.
- tenantId string
- Azure Tenant ID.
- cloudAccount stringAzure Id 
- description string
- Human-friendly description.
- name string
- Name of Azure cloud account.
- 
CloudAccount Azure Tag[] 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- application_id str
- Azure Client Application ID.
- application_key str
- Azure Client Application Secret Key.
- regions Sequence[str]
- Set of region names enabled for the cloud account.
- subscription_id str
- Azure Subscription ID.
- tenant_id str
- Azure Tenant ID.
- cloud_account_ strazure_ id 
- description str
- Human-friendly description.
- name str
- Name of Azure cloud account.
- 
Sequence[CloudAccount Azure Tag Args] 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- applicationId String
- Azure Client Application ID.
- applicationKey String
- Azure Client Application Secret Key.
- regions List<String>
- Set of region names enabled for the cloud account.
- subscriptionId String
- Azure Subscription ID.
- tenantId String
- Azure Tenant ID.
- cloudAccount StringAzure Id 
- description String
- Human-friendly description.
- name String
- Name of Azure cloud account.
- List<Property Map>
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudAccountAzure resource produces the following output properties:
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
List<CloudAccount Azure Link> 
- HATEOAS of entity.
- OrgId string
- ID of organization that entity belongs to.
- Owner string
- Email of entity owner.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
[]CloudAccount Azure Link 
- HATEOAS of entity.
- OrgId string
- ID of organization that entity belongs to.
- Owner string
- Email of entity owner.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- id String
- The provider-assigned unique ID for this managed resource.
- links
List<CloudAccount Azure Link> 
- HATEOAS of entity.
- orgId String
- ID of organization that entity belongs to.
- owner String
- Email of entity owner.
- updatedAt String
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- createdAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- id string
- The provider-assigned unique ID for this managed resource.
- links
CloudAccount Azure Link[] 
- HATEOAS of entity.
- orgId string
- ID of organization that entity belongs to.
- owner string
- Email of entity owner.
- updatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created_at str
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- id str
- The provider-assigned unique ID for this managed resource.
- links
Sequence[CloudAccount Azure Link] 
- HATEOAS of entity.
- org_id str
- ID of organization that entity belongs to.
- owner str
- Email of entity owner.
- updated_at str
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- id String
- The provider-assigned unique ID for this managed resource.
- links List<Property Map>
- HATEOAS of entity.
- orgId String
- ID of organization that entity belongs to.
- owner String
- Email of entity owner.
- updatedAt String
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
Look up Existing CloudAccountAzure Resource
Get an existing CloudAccountAzure 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?: CloudAccountAzureState, opts?: CustomResourceOptions): CloudAccountAzure@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_id: Optional[str] = None,
        application_key: Optional[str] = None,
        cloud_account_azure_id: Optional[str] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        links: Optional[Sequence[CloudAccountAzureLinkArgs]] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        owner: Optional[str] = None,
        regions: Optional[Sequence[str]] = None,
        subscription_id: Optional[str] = None,
        tags: Optional[Sequence[CloudAccountAzureTagArgs]] = None,
        tenant_id: Optional[str] = None,
        updated_at: Optional[str] = None) -> CloudAccountAzurefunc GetCloudAccountAzure(ctx *Context, name string, id IDInput, state *CloudAccountAzureState, opts ...ResourceOption) (*CloudAccountAzure, error)public static CloudAccountAzure Get(string name, Input<string> id, CloudAccountAzureState? state, CustomResourceOptions? opts = null)public static CloudAccountAzure get(String name, Output<String> id, CloudAccountAzureState state, CustomResourceOptions options)resources:  _:    type: vra:CloudAccountAzure    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.
- ApplicationId string
- Azure Client Application ID.
- ApplicationKey string
- Azure Client Application Secret Key.
- CloudAccount stringAzure Id 
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- Description string
- Human-friendly description.
- Links
List<CloudAccount Azure Link> 
- HATEOAS of entity.
- Name string
- Name of Azure cloud account.
- OrgId string
- ID of organization that entity belongs to.
- Owner string
- Email of entity owner.
- Regions List<string>
- Set of region names enabled for the cloud account.
- SubscriptionId string
- Azure Subscription ID.
- 
List<CloudAccount Azure Tag> 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- TenantId string
- Azure Tenant ID.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- ApplicationId string
- Azure Client Application ID.
- ApplicationKey string
- Azure Client Application Secret Key.
- CloudAccount stringAzure Id 
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- Description string
- Human-friendly description.
- Links
[]CloudAccount Azure Link Args 
- HATEOAS of entity.
- Name string
- Name of Azure cloud account.
- OrgId string
- ID of organization that entity belongs to.
- Owner string
- Email of entity owner.
- Regions []string
- Set of region names enabled for the cloud account.
- SubscriptionId string
- Azure Subscription ID.
- 
[]CloudAccount Azure Tag Args 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- TenantId string
- Azure Tenant ID.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- applicationId String
- Azure Client Application ID.
- applicationKey String
- Azure Client Application Secret Key.
- cloudAccount StringAzure Id 
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- description String
- Human-friendly description.
- links
List<CloudAccount Azure Link> 
- HATEOAS of entity.
- name String
- Name of Azure cloud account.
- orgId String
- ID of organization that entity belongs to.
- owner String
- Email of entity owner.
- regions List<String>
- Set of region names enabled for the cloud account.
- subscriptionId String
- Azure Subscription ID.
- 
List<CloudAccount Azure Tag> 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- tenantId String
- Azure Tenant ID.
- updatedAt String
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- applicationId string
- Azure Client Application ID.
- applicationKey string
- Azure Client Application Secret Key.
- cloudAccount stringAzure Id 
- createdAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- description string
- Human-friendly description.
- links
CloudAccount Azure Link[] 
- HATEOAS of entity.
- name string
- Name of Azure cloud account.
- orgId string
- ID of organization that entity belongs to.
- owner string
- Email of entity owner.
- regions string[]
- Set of region names enabled for the cloud account.
- subscriptionId string
- Azure Subscription ID.
- 
CloudAccount Azure Tag[] 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- tenantId string
- Azure Tenant ID.
- updatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- application_id str
- Azure Client Application ID.
- application_key str
- Azure Client Application Secret Key.
- cloud_account_ strazure_ id 
- created_at str
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- description str
- Human-friendly description.
- links
Sequence[CloudAccount Azure Link Args] 
- HATEOAS of entity.
- name str
- Name of Azure cloud account.
- org_id str
- ID of organization that entity belongs to.
- owner str
- Email of entity owner.
- regions Sequence[str]
- Set of region names enabled for the cloud account.
- subscription_id str
- Azure Subscription ID.
- 
Sequence[CloudAccount Azure Tag Args] 
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- tenant_id str
- Azure Tenant ID.
- updated_at str
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- applicationId String
- Azure Client Application ID.
- applicationKey String
- Azure Client Application Secret Key.
- cloudAccount StringAzure Id 
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- description String
- Human-friendly description.
- links List<Property Map>
- HATEOAS of entity.
- name String
- Name of Azure cloud account.
- orgId String
- ID of organization that entity belongs to.
- owner String
- Email of entity owner.
- regions List<String>
- Set of region names enabled for the cloud account.
- subscriptionId String
- Azure Subscription ID.
- List<Property Map>
- Set of tag keys and values to apply to the cloud account.
Example: [ { "key" : "vmware", "value": "provider" } ]
- tenantId String
- Azure Tenant ID.
- updatedAt String
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
Supporting Types
CloudAccountAzureLink, CloudAccountAzureLinkArgs        
CloudAccountAzureTag, CloudAccountAzureTagArgs        
Import
To import the Azure cloud account, use the ID as in the following example:
$ pulumi import vra:index/cloudAccountAzure:CloudAccountAzure new_azure 05956583-6488-4e7d-84c9-92a7b7219a15`
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the vraTerraform Provider.