batch

class pulumi_azure.batch.Account(resource_name, opts=None, location=None, name=None, pool_allocation_mode=None, resource_group_name=None, storage_account_id=None, tags=None, __name__=None, __opts__=None)

Manages an Azure Batch account.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the Batch account. Changing this forces a new resource to be created.
  • pool_allocation_mode (pulumi.Input[str]) – Specifies the mode to use for pool allocation. Possible values are BatchService or UserSubscription. Defaults to BatchService.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
  • storage_account_id (pulumi.Input[str]) – Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
location = None

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

name = None

Specifies the name of the Batch account. Changing this forces a new resource to be created.

pool_allocation_mode = None

Specifies the mode to use for pool allocation. Possible values are BatchService or UserSubscription. Defaults to BatchService.

resource_group_name = None

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

storage_account_id = None

Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.

tags = None

A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.batch.GetAccountResult(location=None, pool_allocation_mode=None, storage_account_id=None, tags=None, id=None)

A collection of values returned by getAccount.

location = None

The Azure Region in which this Batch account exists.

pool_allocation_mode = None

The pool allocation mode configured for this Batch account.

storage_account_id = None

The ID of the Storage Account used for this Batch account.

tags = None

A map of tags assigned to the Batch account.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.batch.GetPoolResult(auto_scales=None, display_name=None, fixed_scales=None, max_tasks_per_node=None, node_agent_sku_id=None, storage_image_references=None, vm_size=None, id=None)

A collection of values returned by getPool.

auto_scales = None

A auto_scale block that describes the scale settings when using auto scale.

fixed_scales = None

A fixed_scale block that describes the scale settings when using fixed scale.

max_tasks_per_node = None

The maximum number of tasks that can run concurrently on a single compute node in the pool.

node_agent_sku_id = None

The Sku of the node agents in the Batch pool.

storage_image_references = None

The reference of the storage image used by the nodes in the Batch pool.

vm_size = None

The size of the VM created in the Batch pool.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.batch.Pool(resource_name, opts=None, account_name=None, auto_scale=None, display_name=None, fixed_scale=None, max_tasks_per_node=None, name=None, node_agent_sku_id=None, resource_group_name=None, start_task=None, stop_pending_resize_operation=None, storage_image_reference=None, vm_size=None, __name__=None, __opts__=None)

Manages an Azure Batch pool.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • account_name (pulumi.Input[str]) – Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
  • auto_scale (pulumi.Input[dict]) – A auto_scale block that describes the scale settings when using auto scale.
  • display_name (pulumi.Input[str]) – Specifies the display name of the Batch pool.
  • fixed_scale (pulumi.Input[dict]) – A fixed_scale block that describes the scale settings when using fixed scale.
  • max_tasks_per_node (pulumi.Input[int]) – Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to 1.
  • name (pulumi.Input[str]) – Specifies the name of the Batch pool. Changing this forces a new resource to be created.
  • node_agent_sku_id (pulumi.Input[str]) – Specifies the Sku of the node agents that will be created in the Batch pool.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
  • start_task (pulumi.Input[dict]) – A start_task block that describes the start task settings for the Batch pool.

:param pulumi.Input[bool] stop_pending_resize_operation :param pulumi.Input[dict] storage_image_reference: A storage_image_reference for the virtual machines that will compose the Batch pool. :param pulumi.Input[str] vm_size: Specifies the size of the VM created in the Batch pool.

account_name = None

Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.

auto_scale = None

A auto_scale block that describes the scale settings when using auto scale.

display_name = None

Specifies the display name of the Batch pool.

fixed_scale = None

A fixed_scale block that describes the scale settings when using fixed scale.

max_tasks_per_node = None

Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to 1.

name = None

Specifies the name of the Batch pool. Changing this forces a new resource to be created.

node_agent_sku_id = None

Specifies the Sku of the node agents that will be created in the Batch pool.

resource_group_name = None

The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.

start_task = None

A start_task block that describes the start task settings for the Batch pool.

storage_image_reference = None

A storage_image_reference for the virtual machines that will compose the Batch pool.

vm_size = None

Specifies the size of the VM created in the Batch pool.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_azure.batch.get_account(name=None, resource_group_name=None)

Use this data source to access information about an existing Batch Account.

pulumi_azure.batch.get_pool(account_name=None, name=None, resource_group_name=None, start_task=None)

Use this data source to access information about an existing Batch pool