Account

Manages a Media Services Account.

Create a Account Resource

new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
def Account(resource_name, opts=None, location=None, name=None, resource_group_name=None, storage_accounts=None, __props__=None);
func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
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.
opts ResourceOptions
A bag of options that control this 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.

Account Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Account resource accepts the following input properties:

ResourceGroupName string

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

StorageAccounts List<AccountStorageAccountArgs>

One or more storage_account blocks as defined below.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

StorageAccounts []AccountStorageAccount

One or more storage_account blocks as defined below.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

storageAccounts AccountStorageAccount[]

One or more storage_account blocks as defined below.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

storage_accounts List[AccountStorageAccount]

One or more storage_account blocks as defined below.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

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.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Account Resource

Get an existing Account 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?: AccountState, opts?: CustomResourceOptions): Account
static get(resource_name, id, opts=None, location=None, name=None, resource_group_name=None, storage_accounts=None, __props__=None);
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

StorageAccounts List<AccountStorageAccountArgs>

One or more storage_account blocks as defined below.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

StorageAccounts []AccountStorageAccount

One or more storage_account blocks as defined below.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

storageAccounts AccountStorageAccount[]

One or more storage_account blocks as defined below.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the Media Services Account. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

storage_accounts List[AccountStorageAccount]

One or more storage_account blocks as defined below.

Supporting Types

AccountStorageAccount

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Id string

Specifies the ID of the Storage Account that will be associated with the Media Services instance.

IsPrimary bool

Specifies whether the storage account should be the primary account or not. Defaults to false.

Id string

Specifies the ID of the Storage Account that will be associated with the Media Services instance.

IsPrimary bool

Specifies whether the storage account should be the primary account or not. Defaults to false.

id string

Specifies the ID of the Storage Account that will be associated with the Media Services instance.

isPrimary boolean

Specifies whether the storage account should be the primary account or not. Defaults to false.

id str

Specifies the ID of the Storage Account that will be associated with the Media Services instance.

isPrimary bool

Specifies whether the storage account should be the primary account or not. Defaults to false.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.