RebalanceJobsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

StorageCacheManagementClient's

<xref:rebalance_jobs> attribute.

Constructor

RebalanceJobsOperations(*args, **kwargs)

Methods

begin_delete

Schedules a rebalance job for deletion.

begin_update

Update a rebalance job instance.

get

Returns a rebalance job.

list_by_aml_filesystem

Returns all the rebalance jobs the user has access to under an AML File System.

begin_delete

Schedules a rebalance job for deletion.

begin_delete(resource_group_name: str, aml_filesystem_name: str, rebalance_job_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

aml_filesystem_name
Required
str

Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.

rebalance_job_name
Required
str

Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_update

Update a rebalance job instance.

begin_update(resource_group_name: str, aml_filesystem_name: str, rebalance_job_name: str, properties: _models.RebalanceJobUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.RebalanceJob]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

aml_filesystem_name
Required
str

Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.

rebalance_job_name
Required
str

Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.

properties
Required

Object containing the user-selectable properties of the rebalance job. If read-only properties are included, they must match the existing values of those properties. Is either a RebalanceJobUpdate type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns RebalanceJob. The RebalanceJob is compatible with MutableMapping

Exceptions

Type Description

get

Returns a rebalance job.

get(resource_group_name: str, aml_filesystem_name: str, rebalance_job_name: str, **kwargs: Any) -> RebalanceJob

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

aml_filesystem_name
Required
str

Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.

rebalance_job_name
Required
str

Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.

Returns

Type Description

RebalanceJob. The RebalanceJob is compatible with MutableMapping

Exceptions

Type Description

list_by_aml_filesystem

Returns all the rebalance jobs the user has access to under an AML File System.

list_by_aml_filesystem(resource_group_name: str, aml_filesystem_name: str, **kwargs: Any) -> ItemPaged[RebalanceJob]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

aml_filesystem_name
Required
str

Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.

Returns

Type Description

An iterator like instance of RebalanceJob

Exceptions

Type Description