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

resource_group
str
default value: None

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

account_name
str
default value: None

The Batch account name.

resource_id
str
default value: None

The Azure resource ID for the compute resource being attached.

resource_group
str
Required

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

account_name
str
Required

The Batch account name

resource_id
str
Required

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