Get-AzStorageCacheAutoImportJob
This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus .
Returns an auto import job.
Syntax
List (Default)
Get-AzStorageCacheAutoImportJob
-AmlFilesystemName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzStorageCacheAutoImportJob
-AmlFilesystemName <String>
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityAmlFilesystem
Get-AzStorageCacheAutoImportJob
-Name <String>
-AmlFilesystemInputObject <IStorageCacheIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzStorageCacheAutoImportJob
-InputObject <IStorageCacheIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Returns an auto import job.
Examples
Example 1: List all auto import jobs for an AML filesystem
Get-AzStorageCacheAutoImportJob -AmlFilesystemName 'myamlfilesystem' -ResourceGroupName 'myresourcegroup'
AdminStatus : Enable
AutoImportPrefix : {/path1, /path2}
AzureAsyncOperation :
ConflictResolutionMode : Fail
EnableDeletion : False
Id : /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/myresourcegroup/providers/Microsoft.StorageCache/amlFilesyst
ems/myamlfilesystem/autoImportJobs/myautoimportjob
Location : eastus
MaximumError : 0
Name : myautoimportjob
ProvisioningState : Succeeded
ResourceGroupName : myresourcegroup
Status : {
"blobSyncEvents": {
"importedFiles": 0,
"importedDirectories": 0,
"importedSymlinks": 0,
"preexistingFiles": 0,
"preexistingDirectories": 0,
"preexistingSymlinks": 0,
"totalBlobsImported": 0,
"rateOfBlobImport": 0,
"totalErrors": 0,
"totalConflicts": 0,
"deletions": 0
},
"state": "InProgress",
"totalBlobsWalked": 0,
"rateOfBlobWalk": 0,
"totalBlobsImported": 0,
"rateOfBlobImport": 0,
"importedFiles": 0,
"importedDirectories": 0,
"importedSymlinks": 0,
"preexistingFiles": 0,
"preexistingDirectories": 0,
"preexistingSymlinks": 0,
"totalErrors": 0,
"totalConflicts": 0,
"lastStartedTimeUTC": "2025-09-06T02:29:26.4888208Z"
}
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : {
}
Type : Microsoft.StorageCache/amlFilesystems/autoImportJobs
Lists all auto import jobs for the specified AML filesystem.
Parameters
Identity Parameter
GetViaIdentityAmlFilesystem
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-AmlFilesystemName
Name for the AML file system.
Allows alphanumerics, underscores, and hyphens.
Start and end with alphanumeric.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Name for the auto import job.
Allows alphanumerics, underscores, and hyphens.
Start and end with alphanumeric.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AutoImportJobName
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
GetViaIdentityAmlFilesystem
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs