mediaservices

package
v0.0.0-...-37ff63d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// One or more `storageAccount` blocks as defined below.
	StorageAccounts AccountStorageAccountArrayOutput `pulumi:"storageAccounts"`
}

Manages a Media Services Account.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/media_services_account.html.markdown.

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

NewAccount registers a new resource with the given unique name, arguments, and options.

type AccountArgs

type AccountArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// One or more `storageAccount` blocks as defined below.
	StorageAccounts AccountStorageAccountArrayInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountState

type AccountState struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Media Services Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// One or more `storageAccount` blocks as defined below.
	StorageAccounts AccountStorageAccountArrayInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type AccountStorageAccount

type AccountStorageAccount struct {
	// Specifies the ID of the Storage Account that will be associated with the Media Services instance.
	Id string `pulumi:"id"`
	// Specifies whether the storage account should be the primary account or not. Defaults to `false`.
	IsPrimary *bool `pulumi:"isPrimary"`
}

type AccountStorageAccountArgs

type AccountStorageAccountArgs struct {
	// Specifies the ID of the Storage Account that will be associated with the Media Services instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies whether the storage account should be the primary account or not. Defaults to `false`.
	IsPrimary pulumi.BoolPtrInput `pulumi:"isPrimary"`
}

func (AccountStorageAccountArgs) ElementType

func (AccountStorageAccountArgs) ElementType() reflect.Type

func (AccountStorageAccountArgs) ToAccountStorageAccountOutput

func (i AccountStorageAccountArgs) ToAccountStorageAccountOutput() AccountStorageAccountOutput

func (AccountStorageAccountArgs) ToAccountStorageAccountOutputWithContext

func (i AccountStorageAccountArgs) ToAccountStorageAccountOutputWithContext(ctx context.Context) AccountStorageAccountOutput

type AccountStorageAccountArray

type AccountStorageAccountArray []AccountStorageAccountInput

func (AccountStorageAccountArray) ElementType

func (AccountStorageAccountArray) ElementType() reflect.Type

func (AccountStorageAccountArray) ToAccountStorageAccountArrayOutput

func (i AccountStorageAccountArray) ToAccountStorageAccountArrayOutput() AccountStorageAccountArrayOutput

func (AccountStorageAccountArray) ToAccountStorageAccountArrayOutputWithContext

func (i AccountStorageAccountArray) ToAccountStorageAccountArrayOutputWithContext(ctx context.Context) AccountStorageAccountArrayOutput

type AccountStorageAccountArrayInput

type AccountStorageAccountArrayInput interface {
	pulumi.Input

	ToAccountStorageAccountArrayOutput() AccountStorageAccountArrayOutput
	ToAccountStorageAccountArrayOutputWithContext(context.Context) AccountStorageAccountArrayOutput
}

type AccountStorageAccountArrayOutput

type AccountStorageAccountArrayOutput struct{ *pulumi.OutputState }

func (AccountStorageAccountArrayOutput) ElementType

func (AccountStorageAccountArrayOutput) Index

func (AccountStorageAccountArrayOutput) ToAccountStorageAccountArrayOutput

func (o AccountStorageAccountArrayOutput) ToAccountStorageAccountArrayOutput() AccountStorageAccountArrayOutput

func (AccountStorageAccountArrayOutput) ToAccountStorageAccountArrayOutputWithContext

func (o AccountStorageAccountArrayOutput) ToAccountStorageAccountArrayOutputWithContext(ctx context.Context) AccountStorageAccountArrayOutput

type AccountStorageAccountInput

type AccountStorageAccountInput interface {
	pulumi.Input

	ToAccountStorageAccountOutput() AccountStorageAccountOutput
	ToAccountStorageAccountOutputWithContext(context.Context) AccountStorageAccountOutput
}

type AccountStorageAccountOutput

type AccountStorageAccountOutput struct{ *pulumi.OutputState }

func (AccountStorageAccountOutput) ElementType

func (AccountStorageAccountOutput) Id

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

func (AccountStorageAccountOutput) IsPrimary

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

func (AccountStorageAccountOutput) ToAccountStorageAccountOutput

func (o AccountStorageAccountOutput) ToAccountStorageAccountOutput() AccountStorageAccountOutput

func (AccountStorageAccountOutput) ToAccountStorageAccountOutputWithContext

func (o AccountStorageAccountOutput) ToAccountStorageAccountOutputWithContext(ctx context.Context) AccountStorageAccountOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL