AutoImportJobsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

StorageCacheManagementClient's

<xref:auto_import_jobs> attribute.

Constructor

AutoImportJobsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update an auto import job.

begin_delete

Schedules an auto import job for deletion.

begin_update

Update an auto import job instance.

get

Returns an auto import job.

list_by_aml_filesystem

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

begin_create_or_update

Create or update an auto import job.

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

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_import_job_name
Required
str

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

auto_import_job
Required

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

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Schedules an auto import job for deletion.

begin_delete(resource_group_name: str, aml_filesystem_name: str, auto_import_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_import_job_name
Required
str

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

begin_update(resource_group_name: str, aml_filesystem_name: str, auto_import_job_name: str, auto_import_job: _models.AutoImportJobUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AutoImportJob]

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_import_job_name
Required
str

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

auto_import_job
Required

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

Returns

Type Description

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

Exceptions

Type Description

get

Returns an auto import job.

get(resource_group_name: str, aml_filesystem_name: str, auto_import_job_name: str, **kwargs: Any) -> AutoImportJob

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_import_job_name
Required
str

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

Returns

Type Description

AutoImportJob. The AutoImportJob is compatible with MutableMapping

Exceptions

Type Description

list_by_aml_filesystem

Returns all the auto import 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[AutoImportJob]

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 AutoImportJob

Exceptions

Type Description