Edit

Get-AzStorageCacheExpansionJob

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 expansion job.

Syntax

List (Default)

Get-AzStorageCacheExpansionJob
    -AmlFilesystemName <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzStorageCacheExpansionJob
    -AmlFilesystemName <String>
    -Name <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentityAmlFilesystem

Get-AzStorageCacheExpansionJob
    -Name <String>
    -AmlFilesystemInputObject <IStorageCacheIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzStorageCacheExpansionJob
    -InputObject <IStorageCacheIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Returns an expansion job.

Examples

Example 1: List expansion jobs by AML file system

Get-AzStorageCacheExpansionJob -AmlFilesystemName 'fs1' -ResourceGroupName 'scgroup'

Lists all expansion jobs for the specified AML file system.

Example 2: Get a specific expansion job

Get-AzStorageCacheExpansionJob -AmlFilesystemName 'fs1' -Name 'expansionjob1' -ResourceGroupName 'scgroup'

Gets the specified expansion job by name.

Parameters

-AmlFilesystemInputObject

Identity Parameter

Parameter properties

Type:IStorageCacheIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-InputObject

Identity Parameter

Parameter properties

Type:IStorageCacheIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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 expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ExpansionJobName

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.

Inputs

IStorageCacheIdentity

Outputs

Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.IExpansionJob