BatchAttachConfiguration Class

Represents configuration parameters for attaching BatchCompute targets.

Use the attach_configuration method of the BatchCompute class to specify attach parameters.

Initialize the configuration object.

Inheritance
BatchAttachConfiguration

Constructor

BatchAttachConfiguration(resource_group=None, account_name=None, resource_id=None)

Parameters

Name Description
resource_group
str

The name of the resource group in which the Batch account is located.

Default value: None
account_name
str

The Batch account name.

Default value: None
resource_id
str

The Azure resource ID for the compute resource being attached.

Default value: None
resource_group
Required
str

Name of the resource group in which the Batch account is located.

account_name
Required
str

The Batch account name

resource_id
Required
str

The Azure resource ID for the compute resource being attached

Methods

validate_configuration

Check that the specified configuration values are valid.

Raises a ComputeTargetException if validation fails.

validate_configuration

Check that the specified configuration values are valid.

Raises a ComputeTargetException if validation fails.

validate_configuration()

Exceptions

Type Description