ExpansionJobsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
StorageCacheManagementClient's
<xref:expansion_jobs> attribute.
Constructor
ExpansionJobsOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Create or update an expansion job. |
| begin_delete |
Schedules an expansion job for deletion. |
| begin_update |
Update an expansion job instance. |
| get |
Returns an expansion job. |
| list_by_aml_filesystem |
Returns all the expansion jobs the user has access to under an AML File System. |
begin_create_or_update
Create or update an expansion job.
begin_create_or_update(resource_group_name: str, aml_filesystem_name: str, expansion_job_name: str, expansion_job: _models.ExpansionJob, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ExpansionJob]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
aml_filesystem_name
Required
|
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required. |
|
expansion_job_name
Required
|
Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required. |
|
expansion_job
Required
|
Object containing the user-selectable properties of the expansion job. If read-only properties are included, they must match the existing values of those properties. Is either a ExpansionJob type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns ExpansionJob. The ExpansionJob is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
begin_delete
Schedules an expansion job for deletion.
begin_delete(resource_group_name: str, aml_filesystem_name: str, expansion_job_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
aml_filesystem_name
Required
|
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required. |
|
expansion_job_name
Required
|
Name for the expansion 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 an expansion job instance.
begin_update(resource_group_name: str, aml_filesystem_name: str, expansion_job_name: str, expansion_job: _models.ExpansionJobUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ExpansionJob]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
aml_filesystem_name
Required
|
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required. |
|
expansion_job_name
Required
|
Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required. |
|
expansion_job
Required
|
Object containing the user-selectable properties of the expansion job. If read-only properties are included, they must match the existing values of those properties. Is either a ExpansionJobUpdate type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns ExpansionJob. The ExpansionJob is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
get
Returns an expansion job.
get(resource_group_name: str, aml_filesystem_name: str, expansion_job_name: str, **kwargs: Any) -> ExpansionJob
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
aml_filesystem_name
Required
|
Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required. |
|
expansion_job_name
Required
|
Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required. |
Returns
| Type | Description |
|---|---|
|
ExpansionJob. The ExpansionJob is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list_by_aml_filesystem
Returns all the expansion 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[ExpansionJob]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
aml_filesystem_name
Required
|
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 ExpansionJob |
Exceptions
| Type | Description |
|---|---|