This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi
azure-native.automanage.Account
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi
Definition of the Automanage account. Azure REST API version: 2020-06-30-preview. Prior API version in Azure Native 1.x: 2020-06-30-preview.
Example Usage
Create or update Automanage account
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var account = new AzureNative.Automanage.Account("account", new()
{
AccountName = "account",
Identity = new AzureNative.Automanage.Inputs.AccountIdentityArgs
{
Type = AzureNative.Automanage.ResourceIdentityType.SystemAssigned,
},
Location = "East US",
ResourceGroupName = "resourceGroup",
Tags =
{
{ "Organization", "Administration" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/automanage/v2"
"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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.automanage.Account;
import com.pulumi.azurenative.automanage.AccountArgs;
import com.pulumi.azurenative.automanage.inputs.AccountIdentityArgs;
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 account = new Account("account", AccountArgs.builder()
.accountName("account")
.identity(AccountIdentityArgs.builder()
.type("SystemAssigned")
.build())
.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 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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - Name of the Automanage account.
- Identity
Pulumi.
Azure Native. Automanage. Inputs. Account Identity - The identity of the Automanage account.
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - Name of the Automanage account.
- Identity
Account
Identity Args - The identity of the Automanage account.
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name String - Name of the Automanage account.
- identity
Account
Identity - The identity of the Automanage account.
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- account
Name string - Name of the Automanage account.
- identity
Account
Identity - The identity of the Automanage account.
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- account_
name str - Name of the Automanage account.
- identity
Account
Identity Args - The identity of the Automanage account.
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name String - Name of the Automanage account.
- identity Property Map
- The identity of the Automanage account.
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
Supporting Types
AccountIdentity, AccountIdentityArgs
- Type
Pulumi.
Azure Native. Automanage. Resource Identity Type - The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
- Type
Resource
Identity Type - The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
- type
Resource
Identity Type - The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
- type
Resource
Identity Type - The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
- type
Resource
Identity Type - The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
- type
"System
Assigned" | "None" - The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
AccountIdentityResponse, AccountIdentityResponseArgs
- Principal
Id string - The principal id of Automanage account identity.
- Tenant
Id 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 string - The principal id of Automanage account identity.
- Tenant
Id 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 String - The principal id of Automanage account identity.
- tenant
Id 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 string - The principal id of Automanage account identity.
- tenant
Id 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.
- principal
Id String - The principal id of Automanage account identity.
- tenant
Id 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, ResourceIdentityTypeArgs
- System
Assigned - SystemAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- NONE
- None
- "System
Assigned" - 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automanage/accounts/{accountName}
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi