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
|
The name of the resource group in which the Batch account is located. Default value: None
|
account_name
|
The Batch account name. Default value: None
|
resource_id
|
The Azure resource ID for the compute resource being attached. Default value: None
|
resource_group
Required
|
Name of the resource group in which the Batch account is located. |
account_name
Required
|
The Batch account name |
resource_id
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
Type | Description |
---|---|