Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

Account

Definition of the Automanage account. API Version: 2020-06-30-preview.

Example Usage

Create or update Automanage account

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var account = new AzureNative.Automanage.Account("account", new AzureNative.Automanage.AccountArgs
        {
            AccountName = "account",
            Identity = new AzureNative.Automanage.Inputs.AccountIdentityArgs
            {
                Type = AzureNative.Automanage.ResourceIdentityType.SystemAssigned,
            },
            Location = "East US",
            ResourceGroupName = "resourceGroup",
            Tags = 
            {
                { "Organization", "Administration" },
            },
        });
    }

}
package main

import (
	automanage "github.com/pulumi/pulumi-azure-native/sdk/go/azure/automanage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automanage.NewAccount(ctx, "account", &automanage.AccountArgs{
			AccountName: pulumi.String("account"),
			Identity: &automanage.AccountIdentityArgs{
				Type: automanage.ResourceIdentityTypeSystemAssigned,
			},
			Location:          pulumi.String("East US"),
			ResourceGroupName: pulumi.String("resourceGroup"),
			Tags: pulumi.StringMap{
				"Organization": pulumi.String("Administration"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var account = new Account("account", AccountArgs.builder()        
            .accountName("account")
            .identity(Map.of("type", "SystemAssigned"))
            .location("East US")
            .resourceGroupName("resourceGroup")
            .tags(Map.of("Organization", "Administration"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

account = azure_native.automanage.Account("account",
    account_name="account",
    identity=azure_native.automanage.AccountIdentityArgs(
        type=azure_native.automanage.ResourceIdentityType.SYSTEM_ASSIGNED,
    ),
    location="East US",
    resource_group_name="resourceGroup",
    tags={
        "Organization": "Administration",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const account = new azure_native.automanage.Account("account", {
    accountName: "account",
    identity: {
        type: azure_native.automanage.ResourceIdentityType.SystemAssigned,
    },
    location: "East US",
    resourceGroupName: "resourceGroup",
    tags: {
        Organization: "Administration",
    },
});
resources:
  account:
    type: azure-native:automanage:Account
    properties:
      accountName: account
      identity:
        type: SystemAssigned
      location: East US
      resourceGroupName: resourceGroup
      tags:
        Organization: Administration

Create a Account Resource

new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            account_name: Optional[str] = None,
            identity: Optional[AccountIdentityArgs] = None,
            location: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)
@overload
def Account(resource_name: str,
            args: AccountArgs,
            opts: Optional[ResourceOptions] = None)
func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: azure-native:automanage:Account
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AccountArgs
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 AccountArgs
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 AccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AccountArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Account 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 Account resource accepts the following input properties:

ResourceGroupName string

The name of the resource group. The name is case insensitive.

AccountName string

Name of the Automanage account.

Identity Pulumi.AzureNative.Automanage.Inputs.AccountIdentityArgs

The identity of the Automanage account.

Location string

The geo-location where the resource lives

Tags Dictionary<string, string>

Resource tags.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

AccountName string

Name of the Automanage account.

Identity AccountIdentityArgs

The identity of the Automanage account.

Location string

The geo-location where the resource lives

Tags map[string]string

Resource tags.

resourceGroupName String

The name of the resource group. The name is case insensitive.

accountName String

Name of the Automanage account.

identity AccountIdentityArgs

The identity of the Automanage account.

location String

The geo-location where the resource lives

tags Map<String,String>

Resource tags.

resourceGroupName string

The name of the resource group. The name is case insensitive.

accountName string

Name of the Automanage account.

identity AccountIdentityArgs

The identity of the Automanage account.

location string

The geo-location where the resource lives

tags {[key: string]: string}

Resource tags.

resource_group_name str

The name of the resource group. The name is case insensitive.

account_name str

Name of the Automanage account.

identity AccountIdentityArgs

The identity of the Automanage account.

location str

The geo-location where the resource lives

tags Mapping[str, str]

Resource tags.

resourceGroupName String

The name of the resource group. The name is case insensitive.

accountName String

Name of the Automanage account.

identity Property Map

The identity of the Automanage account.

location String

The geo-location where the resource lives

tags Map<String>

Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AccountIdentity

Type Pulumi.AzureNative.Automanage.ResourceIdentityType

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

Type ResourceIdentityType

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

type ResourceIdentityType

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

type ResourceIdentityType

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

type ResourceIdentityType

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

type "SystemAssigned" | "None"

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

AccountIdentityResponse

PrincipalId string

The principal id of Automanage account identity.

TenantId string

The tenant id associated with the Automanage account.

Type string

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

PrincipalId string

The principal id of Automanage account identity.

TenantId string

The tenant id associated with the Automanage account.

Type string

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

principalId String

The principal id of Automanage account identity.

tenantId String

The tenant id associated with the Automanage account.

type String

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

principalId string

The principal id of Automanage account identity.

tenantId string

The tenant id associated with the Automanage account.

type string

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

principal_id str

The principal id of Automanage account identity.

tenant_id str

The tenant id associated with the Automanage account.

type str

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

principalId String

The principal id of Automanage account identity.

tenantId String

The tenant id associated with the Automanage account.

type String

The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.

ResourceIdentityType

SystemAssigned
SystemAssigned
None
None
ResourceIdentityTypeSystemAssigned
SystemAssigned
ResourceIdentityTypeNone
None
SystemAssigned
SystemAssigned
None
None
SystemAssigned
SystemAssigned
None
None
SYSTEM_ASSIGNED
SystemAssigned
NONE
None
"SystemAssigned"
SystemAssigned
"None"
None

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:automanage:Account account /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automanage/accounts/account 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0