v20170501

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PoolAllocationModeBatchService     = PoolAllocationMode("BatchService")
	PoolAllocationModeUserSubscription = PoolAllocationMode("UserSubscription")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	pulumi.CustomResourceState

	// A value indicating whether packages within the application may be overwritten using the same version string.
	AllowUpdates pulumi.BoolPtrOutput `pulumi:"allowUpdates"`
	// The package to use if a client requests the application but does not specify a version.
	DefaultVersion pulumi.StringPtrOutput `pulumi:"defaultVersion"`
	// The display name for the application.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The list of packages under this application.
	Packages ApplicationPackageResponseArrayOutput `pulumi:"packages"`
}

Contains information about an application in a Batch account.

func GetApplication

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)

GetApplication gets an existing Application 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 NewApplication

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)

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

func (*Application) ElementType added in v0.2.6

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput added in v0.2.6

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext added in v0.2.6

func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationArgs

type ApplicationArgs struct {
	// The name of the Batch account.
	AccountName pulumi.StringInput
	// A value indicating whether packages within the application may be overwritten using the same version string.
	AllowUpdates pulumi.BoolPtrInput
	// The ID of the application.
	ApplicationId pulumi.StringInput
	// The display name for the application.
	DisplayName pulumi.StringPtrInput
	// The name of the resource group that contains the Batch account.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationInput added in v0.2.6

type ApplicationInput interface {
	pulumi.Input

	ToApplicationOutput() ApplicationOutput
	ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
}

type ApplicationOutput added in v0.2.6

type ApplicationOutput struct {
	*pulumi.OutputState
}

func (ApplicationOutput) ElementType added in v0.2.6

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) ToApplicationOutput added in v0.2.6

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext added in v0.2.6

func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationPackage

type ApplicationPackage struct {
	pulumi.CustomResourceState

	// The format of the application package, if the package is active.
	Format pulumi.StringOutput `pulumi:"format"`
	// The time at which the package was last activated, if the package is active.
	LastActivationTime pulumi.StringOutput `pulumi:"lastActivationTime"`
	// The current state of the application package.
	State pulumi.StringOutput `pulumi:"state"`
	// The URL for the application package in Azure Storage.
	StorageUrl pulumi.StringOutput `pulumi:"storageUrl"`
	// The UTC time at which the Azure Storage URL will expire.
	StorageUrlExpiry pulumi.StringOutput `pulumi:"storageUrlExpiry"`
	// The version of the application package.
	Version pulumi.StringOutput `pulumi:"version"`
}

An application package which represents a particular version of an application.

func GetApplicationPackage

func GetApplicationPackage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationPackageState, opts ...pulumi.ResourceOption) (*ApplicationPackage, error)

GetApplicationPackage gets an existing ApplicationPackage 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 NewApplicationPackage

func NewApplicationPackage(ctx *pulumi.Context,
	name string, args *ApplicationPackageArgs, opts ...pulumi.ResourceOption) (*ApplicationPackage, error)

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

func (*ApplicationPackage) ElementType added in v0.2.6

func (*ApplicationPackage) ElementType() reflect.Type

func (*ApplicationPackage) ToApplicationPackageOutput added in v0.2.6

func (i *ApplicationPackage) ToApplicationPackageOutput() ApplicationPackageOutput

func (*ApplicationPackage) ToApplicationPackageOutputWithContext added in v0.2.6

func (i *ApplicationPackage) ToApplicationPackageOutputWithContext(ctx context.Context) ApplicationPackageOutput

type ApplicationPackageArgs

type ApplicationPackageArgs struct {
	// The name of the Batch account.
	AccountName pulumi.StringInput
	// The ID of the application.
	ApplicationId pulumi.StringInput
	// The name of the resource group that contains the Batch account.
	ResourceGroupName pulumi.StringInput
	// The version of the application.
	Version pulumi.StringInput
}

The set of arguments for constructing a ApplicationPackage resource.

func (ApplicationPackageArgs) ElementType

func (ApplicationPackageArgs) ElementType() reflect.Type

type ApplicationPackageInput added in v0.2.6

type ApplicationPackageInput interface {
	pulumi.Input

	ToApplicationPackageOutput() ApplicationPackageOutput
	ToApplicationPackageOutputWithContext(ctx context.Context) ApplicationPackageOutput
}

type ApplicationPackageOutput added in v0.2.6

type ApplicationPackageOutput struct {
	*pulumi.OutputState
}

func (ApplicationPackageOutput) ElementType added in v0.2.6

func (ApplicationPackageOutput) ElementType() reflect.Type

func (ApplicationPackageOutput) ToApplicationPackageOutput added in v0.2.6

func (o ApplicationPackageOutput) ToApplicationPackageOutput() ApplicationPackageOutput

func (ApplicationPackageOutput) ToApplicationPackageOutputWithContext added in v0.2.6

func (o ApplicationPackageOutput) ToApplicationPackageOutputWithContext(ctx context.Context) ApplicationPackageOutput

type ApplicationPackageResponse

type ApplicationPackageResponse struct {
	// The format of the application package, if the package is active.
	Format string `pulumi:"format"`
	// The ID of the application.
	Id string `pulumi:"id"`
	// The time at which the package was last activated, if the package is active.
	LastActivationTime string `pulumi:"lastActivationTime"`
	// The current state of the application package.
	State string `pulumi:"state"`
	// The URL for the application package in Azure Storage.
	StorageUrl string `pulumi:"storageUrl"`
	// The UTC time at which the Azure Storage URL will expire.
	StorageUrlExpiry string `pulumi:"storageUrlExpiry"`
	// The version of the application package.
	Version string `pulumi:"version"`
}

An application package which represents a particular version of an application.

type ApplicationPackageResponseArgs

type ApplicationPackageResponseArgs struct {
	// The format of the application package, if the package is active.
	Format pulumi.StringInput `pulumi:"format"`
	// The ID of the application.
	Id pulumi.StringInput `pulumi:"id"`
	// The time at which the package was last activated, if the package is active.
	LastActivationTime pulumi.StringInput `pulumi:"lastActivationTime"`
	// The current state of the application package.
	State pulumi.StringInput `pulumi:"state"`
	// The URL for the application package in Azure Storage.
	StorageUrl pulumi.StringInput `pulumi:"storageUrl"`
	// The UTC time at which the Azure Storage URL will expire.
	StorageUrlExpiry pulumi.StringInput `pulumi:"storageUrlExpiry"`
	// The version of the application package.
	Version pulumi.StringInput `pulumi:"version"`
}

An application package which represents a particular version of an application.

func (ApplicationPackageResponseArgs) ElementType

func (ApplicationPackageResponseArgs) ToApplicationPackageResponseOutput

func (i ApplicationPackageResponseArgs) ToApplicationPackageResponseOutput() ApplicationPackageResponseOutput

func (ApplicationPackageResponseArgs) ToApplicationPackageResponseOutputWithContext

func (i ApplicationPackageResponseArgs) ToApplicationPackageResponseOutputWithContext(ctx context.Context) ApplicationPackageResponseOutput

type ApplicationPackageResponseArray

type ApplicationPackageResponseArray []ApplicationPackageResponseInput

func (ApplicationPackageResponseArray) ElementType

func (ApplicationPackageResponseArray) ToApplicationPackageResponseArrayOutput

func (i ApplicationPackageResponseArray) ToApplicationPackageResponseArrayOutput() ApplicationPackageResponseArrayOutput

func (ApplicationPackageResponseArray) ToApplicationPackageResponseArrayOutputWithContext

func (i ApplicationPackageResponseArray) ToApplicationPackageResponseArrayOutputWithContext(ctx context.Context) ApplicationPackageResponseArrayOutput

type ApplicationPackageResponseArrayInput

type ApplicationPackageResponseArrayInput interface {
	pulumi.Input

	ToApplicationPackageResponseArrayOutput() ApplicationPackageResponseArrayOutput
	ToApplicationPackageResponseArrayOutputWithContext(context.Context) ApplicationPackageResponseArrayOutput
}

ApplicationPackageResponseArrayInput is an input type that accepts ApplicationPackageResponseArray and ApplicationPackageResponseArrayOutput values. You can construct a concrete instance of `ApplicationPackageResponseArrayInput` via:

ApplicationPackageResponseArray{ ApplicationPackageResponseArgs{...} }

type ApplicationPackageResponseArrayOutput

type ApplicationPackageResponseArrayOutput struct{ *pulumi.OutputState }

func (ApplicationPackageResponseArrayOutput) ElementType

func (ApplicationPackageResponseArrayOutput) Index

func (ApplicationPackageResponseArrayOutput) ToApplicationPackageResponseArrayOutput

func (o ApplicationPackageResponseArrayOutput) ToApplicationPackageResponseArrayOutput() ApplicationPackageResponseArrayOutput

func (ApplicationPackageResponseArrayOutput) ToApplicationPackageResponseArrayOutputWithContext

func (o ApplicationPackageResponseArrayOutput) ToApplicationPackageResponseArrayOutputWithContext(ctx context.Context) ApplicationPackageResponseArrayOutput

type ApplicationPackageResponseInput

type ApplicationPackageResponseInput interface {
	pulumi.Input

	ToApplicationPackageResponseOutput() ApplicationPackageResponseOutput
	ToApplicationPackageResponseOutputWithContext(context.Context) ApplicationPackageResponseOutput
}

ApplicationPackageResponseInput is an input type that accepts ApplicationPackageResponseArgs and ApplicationPackageResponseOutput values. You can construct a concrete instance of `ApplicationPackageResponseInput` via:

ApplicationPackageResponseArgs{...}

type ApplicationPackageResponseOutput

type ApplicationPackageResponseOutput struct{ *pulumi.OutputState }

An application package which represents a particular version of an application.

func (ApplicationPackageResponseOutput) ElementType

func (ApplicationPackageResponseOutput) Format

The format of the application package, if the package is active.

func (ApplicationPackageResponseOutput) Id

The ID of the application.

func (ApplicationPackageResponseOutput) LastActivationTime

func (o ApplicationPackageResponseOutput) LastActivationTime() pulumi.StringOutput

The time at which the package was last activated, if the package is active.

func (ApplicationPackageResponseOutput) State

The current state of the application package.

func (ApplicationPackageResponseOutput) StorageUrl

The URL for the application package in Azure Storage.

func (ApplicationPackageResponseOutput) StorageUrlExpiry

The UTC time at which the Azure Storage URL will expire.

func (ApplicationPackageResponseOutput) ToApplicationPackageResponseOutput

func (o ApplicationPackageResponseOutput) ToApplicationPackageResponseOutput() ApplicationPackageResponseOutput

func (ApplicationPackageResponseOutput) ToApplicationPackageResponseOutputWithContext

func (o ApplicationPackageResponseOutput) ToApplicationPackageResponseOutputWithContext(ctx context.Context) ApplicationPackageResponseOutput

func (ApplicationPackageResponseOutput) Version

The version of the application package.

type ApplicationPackageState

type ApplicationPackageState struct {
	// The format of the application package, if the package is active.
	Format pulumi.StringPtrInput
	// The time at which the package was last activated, if the package is active.
	LastActivationTime pulumi.StringPtrInput
	// The current state of the application package.
	State pulumi.StringPtrInput
	// The URL for the application package in Azure Storage.
	StorageUrl pulumi.StringPtrInput
	// The UTC time at which the Azure Storage URL will expire.
	StorageUrlExpiry pulumi.StringPtrInput
	// The version of the application package.
	Version pulumi.StringPtrInput
}

func (ApplicationPackageState) ElementType

func (ApplicationPackageState) ElementType() reflect.Type

type ApplicationState

type ApplicationState struct {
	// A value indicating whether packages within the application may be overwritten using the same version string.
	AllowUpdates pulumi.BoolPtrInput
	// The package to use if a client requests the application but does not specify a version.
	DefaultVersion pulumi.StringPtrInput
	// The display name for the application.
	DisplayName pulumi.StringPtrInput
	// The list of packages under this application.
	Packages ApplicationPackageResponseArrayInput
}

func (ApplicationState) ElementType

func (ApplicationState) ElementType() reflect.Type

type AutoStorageBaseProperties

type AutoStorageBaseProperties struct {
	// The resource ID of the storage account to be used for auto-storage account.
	StorageAccountId string `pulumi:"storageAccountId"`
}

The properties related to the auto-storage account.

type AutoStorageBasePropertiesArgs

type AutoStorageBasePropertiesArgs struct {
	// The resource ID of the storage account to be used for auto-storage account.
	StorageAccountId pulumi.StringInput `pulumi:"storageAccountId"`
}

The properties related to the auto-storage account.

func (AutoStorageBasePropertiesArgs) ElementType

func (AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesOutput

func (i AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesOutput() AutoStorageBasePropertiesOutput

func (AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesOutputWithContext

func (i AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesOutputWithContext(ctx context.Context) AutoStorageBasePropertiesOutput

func (AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesPtrOutput

func (i AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesPtrOutput() AutoStorageBasePropertiesPtrOutput

func (AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesPtrOutputWithContext

func (i AutoStorageBasePropertiesArgs) ToAutoStorageBasePropertiesPtrOutputWithContext(ctx context.Context) AutoStorageBasePropertiesPtrOutput

type AutoStorageBasePropertiesInput

type AutoStorageBasePropertiesInput interface {
	pulumi.Input

	ToAutoStorageBasePropertiesOutput() AutoStorageBasePropertiesOutput
	ToAutoStorageBasePropertiesOutputWithContext(context.Context) AutoStorageBasePropertiesOutput
}

AutoStorageBasePropertiesInput is an input type that accepts AutoStorageBasePropertiesArgs and AutoStorageBasePropertiesOutput values. You can construct a concrete instance of `AutoStorageBasePropertiesInput` via:

AutoStorageBasePropertiesArgs{...}

type AutoStorageBasePropertiesOutput

type AutoStorageBasePropertiesOutput struct{ *pulumi.OutputState }

The properties related to the auto-storage account.

func (AutoStorageBasePropertiesOutput) ElementType

func (AutoStorageBasePropertiesOutput) StorageAccountId

The resource ID of the storage account to be used for auto-storage account.

func (AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesOutput

func (o AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesOutput() AutoStorageBasePropertiesOutput

func (AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesOutputWithContext

func (o AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesOutputWithContext(ctx context.Context) AutoStorageBasePropertiesOutput

func (AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesPtrOutput

func (o AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesPtrOutput() AutoStorageBasePropertiesPtrOutput

func (AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesPtrOutputWithContext

func (o AutoStorageBasePropertiesOutput) ToAutoStorageBasePropertiesPtrOutputWithContext(ctx context.Context) AutoStorageBasePropertiesPtrOutput

type AutoStorageBasePropertiesPtrInput

type AutoStorageBasePropertiesPtrInput interface {
	pulumi.Input

	ToAutoStorageBasePropertiesPtrOutput() AutoStorageBasePropertiesPtrOutput
	ToAutoStorageBasePropertiesPtrOutputWithContext(context.Context) AutoStorageBasePropertiesPtrOutput
}

AutoStorageBasePropertiesPtrInput is an input type that accepts AutoStorageBasePropertiesArgs, AutoStorageBasePropertiesPtr and AutoStorageBasePropertiesPtrOutput values. You can construct a concrete instance of `AutoStorageBasePropertiesPtrInput` via:

        AutoStorageBasePropertiesArgs{...}

or:

        nil

type AutoStorageBasePropertiesPtrOutput

type AutoStorageBasePropertiesPtrOutput struct{ *pulumi.OutputState }

func (AutoStorageBasePropertiesPtrOutput) Elem

func (AutoStorageBasePropertiesPtrOutput) ElementType

func (AutoStorageBasePropertiesPtrOutput) StorageAccountId

The resource ID of the storage account to be used for auto-storage account.

func (AutoStorageBasePropertiesPtrOutput) ToAutoStorageBasePropertiesPtrOutput

func (o AutoStorageBasePropertiesPtrOutput) ToAutoStorageBasePropertiesPtrOutput() AutoStorageBasePropertiesPtrOutput

func (AutoStorageBasePropertiesPtrOutput) ToAutoStorageBasePropertiesPtrOutputWithContext

func (o AutoStorageBasePropertiesPtrOutput) ToAutoStorageBasePropertiesPtrOutputWithContext(ctx context.Context) AutoStorageBasePropertiesPtrOutput

type AutoStoragePropertiesResponse

type AutoStoragePropertiesResponse struct {
	// The UTC time at which storage keys were last synchronized with the Batch account.
	LastKeySync string `pulumi:"lastKeySync"`
	// The resource ID of the storage account to be used for auto-storage account.
	StorageAccountId string `pulumi:"storageAccountId"`
}

Contains information about the auto-storage account associated with a Batch account.

type AutoStoragePropertiesResponseArgs

type AutoStoragePropertiesResponseArgs struct {
	// The UTC time at which storage keys were last synchronized with the Batch account.
	LastKeySync pulumi.StringInput `pulumi:"lastKeySync"`
	// The resource ID of the storage account to be used for auto-storage account.
	StorageAccountId pulumi.StringInput `pulumi:"storageAccountId"`
}

Contains information about the auto-storage account associated with a Batch account.

func (AutoStoragePropertiesResponseArgs) ElementType

func (AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponseOutput

func (i AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponseOutput() AutoStoragePropertiesResponseOutput

func (AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponseOutputWithContext

func (i AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponseOutputWithContext(ctx context.Context) AutoStoragePropertiesResponseOutput

func (AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponsePtrOutput

func (i AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponsePtrOutput() AutoStoragePropertiesResponsePtrOutput

func (AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponsePtrOutputWithContext

func (i AutoStoragePropertiesResponseArgs) ToAutoStoragePropertiesResponsePtrOutputWithContext(ctx context.Context) AutoStoragePropertiesResponsePtrOutput

type AutoStoragePropertiesResponseInput

type AutoStoragePropertiesResponseInput interface {
	pulumi.Input

	ToAutoStoragePropertiesResponseOutput() AutoStoragePropertiesResponseOutput
	ToAutoStoragePropertiesResponseOutputWithContext(context.Context) AutoStoragePropertiesResponseOutput
}

AutoStoragePropertiesResponseInput is an input type that accepts AutoStoragePropertiesResponseArgs and AutoStoragePropertiesResponseOutput values. You can construct a concrete instance of `AutoStoragePropertiesResponseInput` via:

AutoStoragePropertiesResponseArgs{...}

type AutoStoragePropertiesResponseOutput

type AutoStoragePropertiesResponseOutput struct{ *pulumi.OutputState }

Contains information about the auto-storage account associated with a Batch account.

func (AutoStoragePropertiesResponseOutput) ElementType

func (AutoStoragePropertiesResponseOutput) LastKeySync

The UTC time at which storage keys were last synchronized with the Batch account.

func (AutoStoragePropertiesResponseOutput) StorageAccountId

The resource ID of the storage account to be used for auto-storage account.

func (AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponseOutput

func (o AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponseOutput() AutoStoragePropertiesResponseOutput

func (AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponseOutputWithContext

func (o AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponseOutputWithContext(ctx context.Context) AutoStoragePropertiesResponseOutput

func (AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponsePtrOutput

func (o AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponsePtrOutput() AutoStoragePropertiesResponsePtrOutput

func (AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponsePtrOutputWithContext

func (o AutoStoragePropertiesResponseOutput) ToAutoStoragePropertiesResponsePtrOutputWithContext(ctx context.Context) AutoStoragePropertiesResponsePtrOutput

type AutoStoragePropertiesResponsePtrInput

type AutoStoragePropertiesResponsePtrInput interface {
	pulumi.Input

	ToAutoStoragePropertiesResponsePtrOutput() AutoStoragePropertiesResponsePtrOutput
	ToAutoStoragePropertiesResponsePtrOutputWithContext(context.Context) AutoStoragePropertiesResponsePtrOutput
}

AutoStoragePropertiesResponsePtrInput is an input type that accepts AutoStoragePropertiesResponseArgs, AutoStoragePropertiesResponsePtr and AutoStoragePropertiesResponsePtrOutput values. You can construct a concrete instance of `AutoStoragePropertiesResponsePtrInput` via:

        AutoStoragePropertiesResponseArgs{...}

or:

        nil

type AutoStoragePropertiesResponsePtrOutput

type AutoStoragePropertiesResponsePtrOutput struct{ *pulumi.OutputState }

func (AutoStoragePropertiesResponsePtrOutput) Elem

func (AutoStoragePropertiesResponsePtrOutput) ElementType

func (AutoStoragePropertiesResponsePtrOutput) LastKeySync

The UTC time at which storage keys were last synchronized with the Batch account.

func (AutoStoragePropertiesResponsePtrOutput) StorageAccountId

The resource ID of the storage account to be used for auto-storage account.

func (AutoStoragePropertiesResponsePtrOutput) ToAutoStoragePropertiesResponsePtrOutput

func (o AutoStoragePropertiesResponsePtrOutput) ToAutoStoragePropertiesResponsePtrOutput() AutoStoragePropertiesResponsePtrOutput

func (AutoStoragePropertiesResponsePtrOutput) ToAutoStoragePropertiesResponsePtrOutputWithContext

func (o AutoStoragePropertiesResponsePtrOutput) ToAutoStoragePropertiesResponsePtrOutputWithContext(ctx context.Context) AutoStoragePropertiesResponsePtrOutput

type BatchAccount

type BatchAccount struct {
	pulumi.CustomResourceState

	// The account endpoint used to interact with the Batch service.
	AccountEndpoint              pulumi.StringOutput `pulumi:"accountEndpoint"`
	ActiveJobAndJobScheduleQuota pulumi.IntOutput    `pulumi:"activeJobAndJobScheduleQuota"`
	// Contains information about the auto-storage account associated with a Batch account.
	AutoStorage        AutoStoragePropertiesResponseOutput `pulumi:"autoStorage"`
	DedicatedCoreQuota pulumi.IntOutput                    `pulumi:"dedicatedCoreQuota"`
	// Identifies the Azure key vault associated with a Batch account.
	KeyVaultReference KeyVaultReferenceResponseOutput `pulumi:"keyVaultReference"`
	// The location of the resource.
	Location             pulumi.StringOutput `pulumi:"location"`
	LowPriorityCoreQuota pulumi.IntOutput    `pulumi:"lowPriorityCoreQuota"`
	// The name of the resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// The allocation mode for creating pools in the Batch account.
	PoolAllocationMode pulumi.StringOutput `pulumi:"poolAllocationMode"`
	PoolQuota          pulumi.IntOutput    `pulumi:"poolQuota"`
	// The provisioned state of the resource
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// The tags of the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The type of the resource.
	Type pulumi.StringOutput `pulumi:"type"`
}

Contains information about an Azure Batch account.

func GetBatchAccount

func GetBatchAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BatchAccountState, opts ...pulumi.ResourceOption) (*BatchAccount, error)

GetBatchAccount gets an existing BatchAccount 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 NewBatchAccount

func NewBatchAccount(ctx *pulumi.Context,
	name string, args *BatchAccountArgs, opts ...pulumi.ResourceOption) (*BatchAccount, error)

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

func (*BatchAccount) ElementType added in v0.2.6

func (*BatchAccount) ElementType() reflect.Type

func (*BatchAccount) ToBatchAccountOutput added in v0.2.6

func (i *BatchAccount) ToBatchAccountOutput() BatchAccountOutput

func (*BatchAccount) ToBatchAccountOutputWithContext added in v0.2.6

func (i *BatchAccount) ToBatchAccountOutputWithContext(ctx context.Context) BatchAccountOutput

type BatchAccountArgs

type BatchAccountArgs struct {
	// A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
	AccountName pulumi.StringInput
	// The properties related to the auto-storage account.
	AutoStorage AutoStorageBasePropertiesPtrInput
	// A reference to the Azure key vault associated with the Batch account.
	KeyVaultReference KeyVaultReferencePtrInput
	// The region in which to create the account.
	Location pulumi.StringPtrInput
	// The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.
	PoolAllocationMode *PoolAllocationMode
	// The name of the resource group that contains the Batch account.
	ResourceGroupName pulumi.StringInput
	// The user-specified tags associated with the account.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a BatchAccount resource.

func (BatchAccountArgs) ElementType

func (BatchAccountArgs) ElementType() reflect.Type

type BatchAccountInput added in v0.2.6

type BatchAccountInput interface {
	pulumi.Input

	ToBatchAccountOutput() BatchAccountOutput
	ToBatchAccountOutputWithContext(ctx context.Context) BatchAccountOutput
}

type BatchAccountOutput added in v0.2.6

type BatchAccountOutput struct {
	*pulumi.OutputState
}

func (BatchAccountOutput) ElementType added in v0.2.6

func (BatchAccountOutput) ElementType() reflect.Type

func (BatchAccountOutput) ToBatchAccountOutput added in v0.2.6

func (o BatchAccountOutput) ToBatchAccountOutput() BatchAccountOutput

func (BatchAccountOutput) ToBatchAccountOutputWithContext added in v0.2.6

func (o BatchAccountOutput) ToBatchAccountOutputWithContext(ctx context.Context) BatchAccountOutput

type BatchAccountState

type BatchAccountState struct {
	// The account endpoint used to interact with the Batch service.
	AccountEndpoint              pulumi.StringPtrInput
	ActiveJobAndJobScheduleQuota pulumi.IntPtrInput
	// Contains information about the auto-storage account associated with a Batch account.
	AutoStorage        AutoStoragePropertiesResponsePtrInput
	DedicatedCoreQuota pulumi.IntPtrInput
	// Identifies the Azure key vault associated with a Batch account.
	KeyVaultReference KeyVaultReferenceResponsePtrInput
	// The location of the resource.
	Location             pulumi.StringPtrInput
	LowPriorityCoreQuota pulumi.IntPtrInput
	// The name of the resource.
	Name pulumi.StringPtrInput
	// The allocation mode for creating pools in the Batch account.
	PoolAllocationMode pulumi.StringPtrInput
	PoolQuota          pulumi.IntPtrInput
	// The provisioned state of the resource
	ProvisioningState pulumi.StringPtrInput
	// The tags of the resource.
	Tags pulumi.StringMapInput
	// The type of the resource.
	Type pulumi.StringPtrInput
}

func (BatchAccountState) ElementType

func (BatchAccountState) ElementType() reflect.Type

type KeyVaultReference

type KeyVaultReference struct {
	// The resource ID of the Azure key vault associated with the Batch account.
	Id string `pulumi:"id"`
	// The URL of the Azure key vault associated with the Batch account.
	Url string `pulumi:"url"`
}

Identifies the Azure key vault associated with a Batch account.

type KeyVaultReferenceArgs

type KeyVaultReferenceArgs struct {
	// The resource ID of the Azure key vault associated with the Batch account.
	Id pulumi.StringInput `pulumi:"id"`
	// The URL of the Azure key vault associated with the Batch account.
	Url pulumi.StringInput `pulumi:"url"`
}

Identifies the Azure key vault associated with a Batch account.

func (KeyVaultReferenceArgs) ElementType

func (KeyVaultReferenceArgs) ElementType() reflect.Type

func (KeyVaultReferenceArgs) ToKeyVaultReferenceOutput

func (i KeyVaultReferenceArgs) ToKeyVaultReferenceOutput() KeyVaultReferenceOutput

func (KeyVaultReferenceArgs) ToKeyVaultReferenceOutputWithContext

func (i KeyVaultReferenceArgs) ToKeyVaultReferenceOutputWithContext(ctx context.Context) KeyVaultReferenceOutput

func (KeyVaultReferenceArgs) ToKeyVaultReferencePtrOutput

func (i KeyVaultReferenceArgs) ToKeyVaultReferencePtrOutput() KeyVaultReferencePtrOutput

func (KeyVaultReferenceArgs) ToKeyVaultReferencePtrOutputWithContext

func (i KeyVaultReferenceArgs) ToKeyVaultReferencePtrOutputWithContext(ctx context.Context) KeyVaultReferencePtrOutput

type KeyVaultReferenceInput

type KeyVaultReferenceInput interface {
	pulumi.Input

	ToKeyVaultReferenceOutput() KeyVaultReferenceOutput
	ToKeyVaultReferenceOutputWithContext(context.Context) KeyVaultReferenceOutput
}

KeyVaultReferenceInput is an input type that accepts KeyVaultReferenceArgs and KeyVaultReferenceOutput values. You can construct a concrete instance of `KeyVaultReferenceInput` via:

KeyVaultReferenceArgs{...}

type KeyVaultReferenceOutput

type KeyVaultReferenceOutput struct{ *pulumi.OutputState }

Identifies the Azure key vault associated with a Batch account.

func (KeyVaultReferenceOutput) ElementType

func (KeyVaultReferenceOutput) ElementType() reflect.Type

func (KeyVaultReferenceOutput) Id

The resource ID of the Azure key vault associated with the Batch account.

func (KeyVaultReferenceOutput) ToKeyVaultReferenceOutput

func (o KeyVaultReferenceOutput) ToKeyVaultReferenceOutput() KeyVaultReferenceOutput

func (KeyVaultReferenceOutput) ToKeyVaultReferenceOutputWithContext

func (o KeyVaultReferenceOutput) ToKeyVaultReferenceOutputWithContext(ctx context.Context) KeyVaultReferenceOutput

func (KeyVaultReferenceOutput) ToKeyVaultReferencePtrOutput

func (o KeyVaultReferenceOutput) ToKeyVaultReferencePtrOutput() KeyVaultReferencePtrOutput

func (KeyVaultReferenceOutput) ToKeyVaultReferencePtrOutputWithContext

func (o KeyVaultReferenceOutput) ToKeyVaultReferencePtrOutputWithContext(ctx context.Context) KeyVaultReferencePtrOutput

func (KeyVaultReferenceOutput) Url

The URL of the Azure key vault associated with the Batch account.

type KeyVaultReferencePtrInput

type KeyVaultReferencePtrInput interface {
	pulumi.Input

	ToKeyVaultReferencePtrOutput() KeyVaultReferencePtrOutput
	ToKeyVaultReferencePtrOutputWithContext(context.Context) KeyVaultReferencePtrOutput
}

KeyVaultReferencePtrInput is an input type that accepts KeyVaultReferenceArgs, KeyVaultReferencePtr and KeyVaultReferencePtrOutput values. You can construct a concrete instance of `KeyVaultReferencePtrInput` via:

        KeyVaultReferenceArgs{...}

or:

        nil

type KeyVaultReferencePtrOutput

type KeyVaultReferencePtrOutput struct{ *pulumi.OutputState }

func (KeyVaultReferencePtrOutput) Elem

func (KeyVaultReferencePtrOutput) ElementType

func (KeyVaultReferencePtrOutput) ElementType() reflect.Type

func (KeyVaultReferencePtrOutput) Id

The resource ID of the Azure key vault associated with the Batch account.

func (KeyVaultReferencePtrOutput) ToKeyVaultReferencePtrOutput

func (o KeyVaultReferencePtrOutput) ToKeyVaultReferencePtrOutput() KeyVaultReferencePtrOutput

func (KeyVaultReferencePtrOutput) ToKeyVaultReferencePtrOutputWithContext

func (o KeyVaultReferencePtrOutput) ToKeyVaultReferencePtrOutputWithContext(ctx context.Context) KeyVaultReferencePtrOutput

func (KeyVaultReferencePtrOutput) Url

The URL of the Azure key vault associated with the Batch account.

type KeyVaultReferenceResponse

type KeyVaultReferenceResponse struct {
	// The resource ID of the Azure key vault associated with the Batch account.
	Id string `pulumi:"id"`
	// The URL of the Azure key vault associated with the Batch account.
	Url string `pulumi:"url"`
}

Identifies the Azure key vault associated with a Batch account.

type KeyVaultReferenceResponseArgs

type KeyVaultReferenceResponseArgs struct {
	// The resource ID of the Azure key vault associated with the Batch account.
	Id pulumi.StringInput `pulumi:"id"`
	// The URL of the Azure key vault associated with the Batch account.
	Url pulumi.StringInput `pulumi:"url"`
}

Identifies the Azure key vault associated with a Batch account.

func (KeyVaultReferenceResponseArgs) ElementType

func (KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponseOutput

func (i KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponseOutput() KeyVaultReferenceResponseOutput

func (KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponseOutputWithContext

func (i KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponseOutputWithContext(ctx context.Context) KeyVaultReferenceResponseOutput

func (KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponsePtrOutput

func (i KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponsePtrOutput() KeyVaultReferenceResponsePtrOutput

func (KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponsePtrOutputWithContext

func (i KeyVaultReferenceResponseArgs) ToKeyVaultReferenceResponsePtrOutputWithContext(ctx context.Context) KeyVaultReferenceResponsePtrOutput

type KeyVaultReferenceResponseInput

type KeyVaultReferenceResponseInput interface {
	pulumi.Input

	ToKeyVaultReferenceResponseOutput() KeyVaultReferenceResponseOutput
	ToKeyVaultReferenceResponseOutputWithContext(context.Context) KeyVaultReferenceResponseOutput
}

KeyVaultReferenceResponseInput is an input type that accepts KeyVaultReferenceResponseArgs and KeyVaultReferenceResponseOutput values. You can construct a concrete instance of `KeyVaultReferenceResponseInput` via:

KeyVaultReferenceResponseArgs{...}

type KeyVaultReferenceResponseOutput

type KeyVaultReferenceResponseOutput struct{ *pulumi.OutputState }

Identifies the Azure key vault associated with a Batch account.

func (KeyVaultReferenceResponseOutput) ElementType

func (KeyVaultReferenceResponseOutput) Id

The resource ID of the Azure key vault associated with the Batch account.

func (KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponseOutput

func (o KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponseOutput() KeyVaultReferenceResponseOutput

func (KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponseOutputWithContext

func (o KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponseOutputWithContext(ctx context.Context) KeyVaultReferenceResponseOutput

func (KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponsePtrOutput

func (o KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponsePtrOutput() KeyVaultReferenceResponsePtrOutput

func (KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponsePtrOutputWithContext

func (o KeyVaultReferenceResponseOutput) ToKeyVaultReferenceResponsePtrOutputWithContext(ctx context.Context) KeyVaultReferenceResponsePtrOutput

func (KeyVaultReferenceResponseOutput) Url

The URL of the Azure key vault associated with the Batch account.

type KeyVaultReferenceResponsePtrInput

type KeyVaultReferenceResponsePtrInput interface {
	pulumi.Input

	ToKeyVaultReferenceResponsePtrOutput() KeyVaultReferenceResponsePtrOutput
	ToKeyVaultReferenceResponsePtrOutputWithContext(context.Context) KeyVaultReferenceResponsePtrOutput
}

KeyVaultReferenceResponsePtrInput is an input type that accepts KeyVaultReferenceResponseArgs, KeyVaultReferenceResponsePtr and KeyVaultReferenceResponsePtrOutput values. You can construct a concrete instance of `KeyVaultReferenceResponsePtrInput` via:

        KeyVaultReferenceResponseArgs{...}

or:

        nil

type KeyVaultReferenceResponsePtrOutput

type KeyVaultReferenceResponsePtrOutput struct{ *pulumi.OutputState }

func (KeyVaultReferenceResponsePtrOutput) Elem

func (KeyVaultReferenceResponsePtrOutput) ElementType

func (KeyVaultReferenceResponsePtrOutput) Id

The resource ID of the Azure key vault associated with the Batch account.

func (KeyVaultReferenceResponsePtrOutput) ToKeyVaultReferenceResponsePtrOutput

func (o KeyVaultReferenceResponsePtrOutput) ToKeyVaultReferenceResponsePtrOutput() KeyVaultReferenceResponsePtrOutput

func (KeyVaultReferenceResponsePtrOutput) ToKeyVaultReferenceResponsePtrOutputWithContext

func (o KeyVaultReferenceResponsePtrOutput) ToKeyVaultReferenceResponsePtrOutputWithContext(ctx context.Context) KeyVaultReferenceResponsePtrOutput

func (KeyVaultReferenceResponsePtrOutput) Url

The URL of the Azure key vault associated with the Batch account.

type ListBatchAccountKeysArgs

type ListBatchAccountKeysArgs struct {
	// The name of the Batch account.
	AccountName string `pulumi:"accountName"`
	// The name of the resource group that contains the Batch account.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type ListBatchAccountKeysResult

type ListBatchAccountKeysResult struct {
	// The Batch account name.
	AccountName string `pulumi:"accountName"`
	// The primary key associated with the account.
	Primary string `pulumi:"primary"`
	// The secondary key associated with the account.
	Secondary string `pulumi:"secondary"`
}

A set of Azure Batch account keys.

type LookupApplicationArgs

type LookupApplicationArgs struct {
	// The name of the Batch account.
	AccountName string `pulumi:"accountName"`
	// The ID of the application.
	ApplicationId string `pulumi:"applicationId"`
	// The name of the resource group that contains the Batch account.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupApplicationPackageArgs

type LookupApplicationPackageArgs struct {
	// The name of the Batch account.
	AccountName string `pulumi:"accountName"`
	// The ID of the application.
	ApplicationId string `pulumi:"applicationId"`
	// The name of the resource group that contains the Batch account.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The version of the application.
	Version string `pulumi:"version"`
}

type LookupApplicationPackageResult

type LookupApplicationPackageResult struct {
	// The format of the application package, if the package is active.
	Format string `pulumi:"format"`
	// The ID of the application.
	Id string `pulumi:"id"`
	// The time at which the package was last activated, if the package is active.
	LastActivationTime string `pulumi:"lastActivationTime"`
	// The current state of the application package.
	State string `pulumi:"state"`
	// The URL for the application package in Azure Storage.
	StorageUrl string `pulumi:"storageUrl"`
	// The UTC time at which the Azure Storage URL will expire.
	StorageUrlExpiry string `pulumi:"storageUrlExpiry"`
	// The version of the application package.
	Version string `pulumi:"version"`
}

An application package which represents a particular version of an application.

type LookupApplicationResult

type LookupApplicationResult struct {
	// A value indicating whether packages within the application may be overwritten using the same version string.
	AllowUpdates *bool `pulumi:"allowUpdates"`
	// The package to use if a client requests the application but does not specify a version.
	DefaultVersion *string `pulumi:"defaultVersion"`
	// The display name for the application.
	DisplayName *string `pulumi:"displayName"`
	// A string that uniquely identifies the application within the account.
	Id *string `pulumi:"id"`
	// The list of packages under this application.
	Packages []ApplicationPackageResponse `pulumi:"packages"`
}

Contains information about an application in a Batch account.

type LookupBatchAccountArgs

type LookupBatchAccountArgs struct {
	// The name of the Batch account.
	AccountName string `pulumi:"accountName"`
	// The name of the resource group that contains the Batch account.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupBatchAccountResult

type LookupBatchAccountResult struct {
	// The account endpoint used to interact with the Batch service.
	AccountEndpoint              string `pulumi:"accountEndpoint"`
	ActiveJobAndJobScheduleQuota int    `pulumi:"activeJobAndJobScheduleQuota"`
	// Contains information about the auto-storage account associated with a Batch account.
	AutoStorage        AutoStoragePropertiesResponse `pulumi:"autoStorage"`
	DedicatedCoreQuota int                           `pulumi:"dedicatedCoreQuota"`
	// The ID of the resource.
	Id string `pulumi:"id"`
	// Identifies the Azure key vault associated with a Batch account.
	KeyVaultReference KeyVaultReferenceResponse `pulumi:"keyVaultReference"`
	// The location of the resource.
	Location             string `pulumi:"location"`
	LowPriorityCoreQuota int    `pulumi:"lowPriorityCoreQuota"`
	// The name of the resource.
	Name string `pulumi:"name"`
	// The allocation mode for creating pools in the Batch account.
	PoolAllocationMode string `pulumi:"poolAllocationMode"`
	PoolQuota          int    `pulumi:"poolQuota"`
	// The provisioned state of the resource
	ProvisioningState string `pulumi:"provisioningState"`
	// The tags of the resource.
	Tags map[string]string `pulumi:"tags"`
	// The type of the resource.
	Type string `pulumi:"type"`
}

Contains information about an Azure Batch account.

type PoolAllocationMode added in v0.3.1

type PoolAllocationMode pulumi.String

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.

func (PoolAllocationMode) ElementType added in v0.3.1

func (PoolAllocationMode) ElementType() reflect.Type

func (PoolAllocationMode) ToStringOutput added in v0.3.1

func (e PoolAllocationMode) ToStringOutput() pulumi.StringOutput

func (PoolAllocationMode) ToStringOutputWithContext added in v0.3.1

func (e PoolAllocationMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PoolAllocationMode) ToStringPtrOutput added in v0.3.1

func (e PoolAllocationMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (PoolAllocationMode) ToStringPtrOutputWithContext added in v0.3.1

func (e PoolAllocationMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

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