AutoImportJobProperties Class

Properties of the auto import job.

Constructor

AutoImportJobProperties(*args: Any, **kwargs: Any)

Variables

Name Description
provisioning_state

ARM provisioning state. Known values are: "Succeeded", "Failed", "Creating", "Deleting", "Updating", and "Canceled".

admin_status

The administrative status of the auto import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto import job. By default it is set to 'Enable'. Known values are: "Enable" and "Disable".

auto_import_prefixes

An array of blob paths/prefixes that get auto imported to the cluster namespace. It has '/' as the default value. Number of maximum allowed paths is 100.

conflict_resolution_mode

How the auto import job will handle conflicts. For example, if the auto import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the auto import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the auto import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or is currently released. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/blob-integration#conflict-resolution-mode for a thorough explanation of these resolution modes. Known values are: "Fail", "Skip", "OverwriteIfDirty", and "OverwriteAlways".

enable_deletions

Whether or not to enable deletions during auto import. This only affects overwrite-dirty.

maximum_errors
int

Total non-conflict-oriented errors (e.g., OS errors) Import will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately on any error.

status

The status of the auto import job.

Attributes

admin_status

'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto import job. By default it is set to 'Enable'. Known values are: "Enable" and "Disable".

admin_status: str | _models.AutoImportJobPropertiesAdminStatus | None

auto_import_prefixes

An array of blob paths/prefixes that get auto imported to the cluster namespace. It has '/' as the default value. Number of maximum allowed paths is 100.

auto_import_prefixes: list[str] | None

conflict_resolution_mode

How the auto import job will handle conflicts. For example, if the auto import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the auto import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the auto import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or is currently released. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/blob-integration#conflict-resolution-mode for a thorough explanation of these resolution modes. Known values are: "Fail", "Skip", "OverwriteIfDirty", and "OverwriteAlways".

conflict_resolution_mode: str | _models.ConflictResolutionMode | None

enable_deletions

Whether or not to enable deletions during auto import. This only affects overwrite-dirty.

enable_deletions: bool | None

maximum_errors

Total non-conflict-oriented errors (e.g., OS errors) Import will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately on any error.

maximum_errors: int | None

provisioning_state

"Succeeded", "Failed", "Creating", "Deleting", "Updating", and "Canceled".

provisioning_state: str | _models.AutoImportJobPropertiesProvisioningState | None

status

The status of the auto import job.

status: _models.AutoImportJobPropertiesStatus | None