Documentation ¶
Index ¶
- type Account
- func (r *Account) ID() *pulumi.IDOutput
- func (r *Account) Location() *pulumi.StringOutput
- func (r *Account) Name() *pulumi.StringOutput
- func (r *Account) PoolAllocationMode() *pulumi.StringOutput
- func (r *Account) ResourceGroupName() *pulumi.StringOutput
- func (r *Account) StorageAccountId() *pulumi.StringOutput
- func (r *Account) Tags() *pulumi.MapOutput
- func (r *Account) URN() *pulumi.URNOutput
- type AccountArgs
- type AccountState
- type GetAccountArgs
- type GetAccountResult
- type GetPoolArgs
- type GetPoolResult
- type Pool
- func (r *Pool) AccountName() *pulumi.StringOutput
- func (r *Pool) AutoScale() *pulumi.Output
- func (r *Pool) DisplayName() *pulumi.StringOutput
- func (r *Pool) FixedScale() *pulumi.Output
- func (r *Pool) ID() *pulumi.IDOutput
- func (r *Pool) MaxTasksPerNode() *pulumi.IntOutput
- func (r *Pool) Name() *pulumi.StringOutput
- func (r *Pool) NodeAgentSkuId() *pulumi.StringOutput
- func (r *Pool) ResourceGroupName() *pulumi.StringOutput
- func (r *Pool) StartTask() *pulumi.Output
- func (r *Pool) StopPendingResizeOperation() *pulumi.BoolOutput
- func (r *Pool) StorageImageReference() *pulumi.Output
- func (r *Pool) URN() *pulumi.URNOutput
- func (r *Pool) VmSize() *pulumi.StringOutput
- type PoolArgs
- type PoolState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Manages an Azure Batch account.
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.ID, state *AccountState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) Location ¶
func (r *Account) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*Account) Name ¶
func (r *Account) Name() *pulumi.StringOutput
Specifies the name of the Batch account. Changing this forces a new resource to be created.
func (*Account) PoolAllocationMode ¶
func (r *Account) PoolAllocationMode() *pulumi.StringOutput
Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
func (*Account) ResourceGroupName ¶
func (r *Account) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
func (*Account) StorageAccountId ¶
func (r *Account) StorageAccountId() *pulumi.StringOutput
Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
type AccountArgs ¶
type AccountArgs struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Batch account. Changing this forces a new resource to be created. Name interface{} // Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`. PoolAllocationMode interface{} // The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. ResourceGroupName interface{} // Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. StorageAccountId interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a Account resource.
type AccountState ¶
type AccountState struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Batch account. Changing this forces a new resource to be created. Name interface{} // Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`. PoolAllocationMode interface{} // The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. ResourceGroupName interface{} // Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. StorageAccountId interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Account resources.
type GetAccountArgs ¶
type GetAccountArgs struct { // The name of the Batch account. Name interface{} // The Name of the Resource Group where this Batch account exists. ResourceGroupName interface{} }
A collection of arguments for invoking getAccount.
type GetAccountResult ¶
type GetAccountResult struct { // The Azure Region in which this Batch account exists. Location interface{} // The pool allocation mode configured for this Batch account. PoolAllocationMode interface{} // The ID of the Storage Account used for this Batch account. StorageAccountId interface{} // A map of tags assigned to the Batch account. Tags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getAccount.
func LookupAccount ¶
func LookupAccount(ctx *pulumi.Context, args *GetAccountArgs) (*GetAccountResult, error)
Use this data source to access information about an existing Batch Account.
type GetPoolArgs ¶
type GetPoolArgs struct { AccountName interface{} Name interface{} ResourceGroupName interface{} StartTask interface{} }
A collection of arguments for invoking getPool.
type GetPoolResult ¶
type GetPoolResult struct { // A `auto_scale` block that describes the scale settings when using auto scale. AutoScales interface{} DisplayName interface{} // A `fixed_scale` block that describes the scale settings when using fixed scale. FixedScales interface{} // The maximum number of tasks that can run concurrently on a single compute node in the pool. MaxTasksPerNode interface{} // The Sku of the node agents in the Batch pool. NodeAgentSkuId interface{} // The reference of the storage image used by the nodes in the Batch pool. StorageImageReferences interface{} // The size of the VM created in the Batch pool. VmSize interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getPool.
func LookupPool ¶
func LookupPool(ctx *pulumi.Context, args *GetPoolArgs) (*GetPoolResult, error)
Use this data source to access information about an existing Batch pool
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Manages an Azure Batch pool.
func GetPool ¶
func GetPool(ctx *pulumi.Context, name string, id pulumi.ID, state *PoolState, opts ...pulumi.ResourceOpt) (*Pool, error)
GetPool gets an existing Pool 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 NewPool ¶
func NewPool(ctx *pulumi.Context, name string, args *PoolArgs, opts ...pulumi.ResourceOpt) (*Pool, error)
NewPool registers a new resource with the given unique name, arguments, and options.
func (*Pool) AccountName ¶
func (r *Pool) AccountName() *pulumi.StringOutput
Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
func (*Pool) AutoScale ¶
A `auto_scale` block that describes the scale settings when using auto scale.
func (*Pool) DisplayName ¶
func (r *Pool) DisplayName() *pulumi.StringOutput
Specifies the display name of the Batch pool.
func (*Pool) FixedScale ¶
A `fixed_scale` block that describes the scale settings when using fixed scale.
func (*Pool) MaxTasksPerNode ¶ added in v0.16.8
Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to `1`. Changing this forces a new resource to be created.
func (*Pool) Name ¶
func (r *Pool) Name() *pulumi.StringOutput
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
func (*Pool) NodeAgentSkuId ¶
func (r *Pool) NodeAgentSkuId() *pulumi.StringOutput
Specifies the Sku of the node agents that will be created in the Batch pool.
func (*Pool) ResourceGroupName ¶
func (r *Pool) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
func (*Pool) StartTask ¶
A `start_task` block that describes the start task settings for the Batch pool.
func (*Pool) StopPendingResizeOperation ¶
func (r *Pool) StopPendingResizeOperation() *pulumi.BoolOutput
func (*Pool) StorageImageReference ¶
A `storage_image_reference` for the virtual machines that will compose the Batch pool.
func (*Pool) VmSize ¶
func (r *Pool) VmSize() *pulumi.StringOutput
Specifies the size of the VM created in the Batch pool.
type PoolArgs ¶
type PoolArgs struct { // Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created. AccountName interface{} // A `auto_scale` block that describes the scale settings when using auto scale. AutoScale interface{} // Specifies the display name of the Batch pool. DisplayName interface{} // A `fixed_scale` block that describes the scale settings when using fixed scale. FixedScale interface{} // Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to `1`. Changing this forces a new resource to be created. MaxTasksPerNode interface{} // Specifies the name of the Batch pool. Changing this forces a new resource to be created. Name interface{} // Specifies the Sku of the node agents that will be created in the Batch pool. NodeAgentSkuId interface{} // The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created. ResourceGroupName interface{} // A `start_task` block that describes the start task settings for the Batch pool. StartTask interface{} StopPendingResizeOperation interface{} // A `storage_image_reference` for the virtual machines that will compose the Batch pool. StorageImageReference interface{} // Specifies the size of the VM created in the Batch pool. VmSize interface{} }
The set of arguments for constructing a Pool resource.
type PoolState ¶
type PoolState struct { // Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created. AccountName interface{} // A `auto_scale` block that describes the scale settings when using auto scale. AutoScale interface{} // Specifies the display name of the Batch pool. DisplayName interface{} // A `fixed_scale` block that describes the scale settings when using fixed scale. FixedScale interface{} // Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to `1`. Changing this forces a new resource to be created. MaxTasksPerNode interface{} // Specifies the name of the Batch pool. Changing this forces a new resource to be created. Name interface{} // Specifies the Sku of the node agents that will be created in the Batch pool. NodeAgentSkuId interface{} // The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created. ResourceGroupName interface{} // A `start_task` block that describes the start task settings for the Batch pool. StartTask interface{} StopPendingResizeOperation interface{} // A `storage_image_reference` for the virtual machines that will compose the Batch pool. StorageImageReference interface{} // Specifies the size of the VM created in the Batch pool. VmSize interface{} }
Input properties used for looking up and filtering Pool resources.