Skip to main content

auto_export_jobs

Creates, updates, deletes, gets or lists an auto_export_jobs resource.

Overview

Nameauto_export_jobs
TypeResource
Idazure.storage_cache.auto_export_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
adminStatusstringThe administrative status of the auto export job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto export job. By default it is set to 'Enable'. Known values are: "Enable" and "Disable". (Enable, Disable)
autoExportPrefixesarrayAn array of blob paths/prefixes that get auto exported to the cluster namespace. It has '/' as the default value. Number of maximum allowed paths for now is 1.
locationstringThe geo-location where the resource lives. Required.
provisioningStatestringARM provisioning state. Known values are: "Succeeded", "Failed", "Creating", "Deleting", "Updating", and "Canceled". (Succeeded, Failed, Creating, Deleting, Updating, Canceled)
statusobjectThe status of the auto export.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, aml_filesystem_name, auto_export_job_name, subscription_idReturns an auto export job.
list_by_aml_filesystemselectresource_group_name, aml_filesystem_name, subscription_idReturns all the auto export jobs the user has access to under an AML File System.
create_or_updateinsertresource_group_name, aml_filesystem_name, auto_export_job_name, subscription_id, locationCreate or update an auto export job.
updateupdateresource_group_name, aml_filesystem_name, auto_export_job_name, subscription_idUpdate an auto export job instance.
create_or_updatereplaceresource_group_name, aml_filesystem_name, auto_export_job_name, subscription_id, locationCreate or update an auto export job.
deletedeleteresource_group_name, aml_filesystem_name, auto_export_job_name, subscription_idSchedules an auto export job for deletion.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
aml_filesystem_namestringName for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.
auto_export_job_namestringName for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Returns an auto export job.

SELECT
id,
name,
adminStatus,
autoExportPrefixes,
location,
provisioningState,
status,
systemData,
tags,
type
FROM azure.storage_cache.auto_export_jobs
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND aml_filesystem_name = '{{ aml_filesystem_name }}' -- required
AND auto_export_job_name = '{{ auto_export_job_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update an auto export job.

INSERT INTO azure.storage_cache.auto_export_jobs (
tags,
location,
properties,
resource_group_name,
aml_filesystem_name,
auto_export_job_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ resource_group_name }}',
'{{ aml_filesystem_name }}',
'{{ auto_export_job_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Update an auto export job instance.

UPDATE azure.storage_cache.auto_export_jobs
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND aml_filesystem_name = '{{ aml_filesystem_name }}' --required
AND auto_export_job_name = '{{ auto_export_job_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

REPLACE examples

Create or update an auto export job.

REPLACE azure.storage_cache.auto_export_jobs
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND aml_filesystem_name = '{{ aml_filesystem_name }}' --required
AND auto_export_job_name = '{{ auto_export_job_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Schedules an auto export job for deletion.

DELETE FROM azure.storage_cache.auto_export_jobs
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND aml_filesystem_name = '{{ aml_filesystem_name }}' --required
AND auto_export_job_name = '{{ auto_export_job_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;