AutoExportJobsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

StorageCacheManagementClient's

<xref:auto_export_jobs> attribute.

Constructor

AutoExportJobsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update an auto export job.

begin_delete

Schedules an auto export job for deletion.

begin_update

Update an auto export job instance.

get

Returns an auto export job.

list_by_aml_filesystem

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

begin_create_or_update

Create or update an auto export job.

begin_create_or_update(resource_group_name: str, aml_filesystem_name: str, auto_export_job_name: str, auto_export_job: _models.AutoExportJob, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AutoExportJob]

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.

auto_export_job_name
Required
str

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

auto_export_job
Required

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

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Schedules an auto export job for deletion.

begin_delete(resource_group_name: str, aml_filesystem_name: str, auto_export_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.

auto_export_job_name
Required
str

Name for the auto export 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 auto export job instance.

begin_update(resource_group_name: str, aml_filesystem_name: str, auto_export_job_name: str, auto_export_job: _models.AutoExportJobUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AutoExportJob]

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.

auto_export_job_name
Required
str

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

auto_export_job
Required

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

Returns

Type Description

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

Exceptions

Type Description

get

Returns an auto export job.

get(resource_group_name: str, aml_filesystem_name: str, auto_export_job_name: str, **kwargs: Any) -> AutoExportJob

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.

auto_export_job_name
Required
str

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

Returns

Type Description

AutoExportJob. The AutoExportJob is compatible with MutableMapping

Exceptions

Type Description

list_by_aml_filesystem

Returns all the auto export 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[AutoExportJob]

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 AutoExportJob

Exceptions

Type Description