Get-AzElasticSan
Get either a list of Elastic SANs from a subscription or a resource group, or get a single Elastic SAN.
Syntax
List (Default)
Get-AzElasticSan
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzElasticSan
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
List1
Get-AzElasticSan
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzElasticSan
-InputObject <IElasticSanIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get either a list of Elastic SANs from a subscription or a resource group, or get a single Elastic SAN.
Examples
Example 1: Get all Elastic SANs in a subscription
Get-AzElasticSan
AvailabilityZone :
BaseSizeTiB : 1
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myresourcegroup
/providers/Microsoft.ElasticSan/elasticSans/myelasticsan1
Location : eastus
Name : myelasticsan1
ProvisioningState : Succeeded
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 9/19/2022 9:50:25 AM
SystemDataCreatedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 9/19/2022 9:50:25 AM
SystemDataLastModifiedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataLastModifiedByType : Application
Tag : Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.Api20211120Preview.ResourceTags
TotalIops : 5000
TotalMBps : 80
TotalSizeTiB : 7
TotalVolumeSizeGiB : 0
Type : Microsoft.ElasticSan/ElasticSans
VolumeGroupCount : 0
AvailabilityZone :
BaseSizeTiB : 1
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myresourcegroup/providers/Micr
osoft.ElasticSan/elasticSans/myelasticsan2
Location : eastus
Name : myelasticsan2
ProvisioningState : Succeeded
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 8/18/2022 8:42:21 AM
SystemDataCreatedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 8/18/2022 8:42:21 AM
SystemDataLastModifiedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataLastModifiedByType : Application
Tag : Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.Api20211120Preview.ResourceTags
TotalIops : 5000
TotalMBps : 80
TotalSizeTiB : 7
TotalVolumeSizeGiB : 100
Type : Microsoft.ElasticSan/ElasticSans
VolumeGroupCount : 7
This command gets all the Elastic SANs in a subscription.
Example 2: Get all Elastic Sans in a resource group
Get-AzElasticSan -ResourceGroupName myresourcegroup
AvailabilityZone :
BaseSizeTiB : 1
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myresourcegroup
/providers/Microsoft.ElasticSan/elasticSans/myelasticsan1
Location : eastus
Name : myelasticsan1
ProvisioningState : Succeeded
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 9/19/2022 9:50:25 AM
SystemDataCreatedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 9/19/2022 9:50:25 AM
SystemDataLastModifiedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataLastModifiedByType : Application
Tag : Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.Api20211120Preview.ResourceTags
TotalIops : 5000
TotalMBps : 80
TotalSizeTiB : 7
TotalVolumeSizeGiB : 0
Type : Microsoft.ElasticSan/ElasticSans
VolumeGroupCount : 0
AvailabilityZone :
BaseSizeTiB : 1
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myresourcegroup/providers/Micr
osoft.ElasticSan/elasticSans/myelasticsan2
Location : eastus
Name : myelasticsan2
ProvisioningState : Succeeded
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 8/18/2022 8:42:21 AM
SystemDataCreatedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 8/18/2022 8:42:21 AM
SystemDataLastModifiedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataLastModifiedByType : Application
Tag : Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.Api20211120Preview.ResourceTags
TotalIops : 5000
TotalMBps : 80
TotalSizeTiB : 7
TotalVolumeSizeGiB : 100
Type : Microsoft.ElasticSan/ElasticSans
VolumeGroupCount : 7
This command gets all Elastic SANs in a resource group.
Example 3: Get a specific Elastic SAN
Get-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan
AvailabilityZone :
BaseSizeTiB : 1
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myresourcegroup/providers/Micr
osoft.ElasticSan/elasticSans/myelasticsan
Location : eastus
Name : myelasticsan
ProvisioningState : Succeeded
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 8/18/2022 8:42:21 AM
SystemDataCreatedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 8/18/2022 8:42:21 AM
SystemDataLastModifiedBy : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
SystemDataLastModifiedByType : Application
Tag : Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.Api20211120Preview.ResourceTags
TotalIops : 5000
TotalMBps : 80
TotalSizeTiB : 7
TotalVolumeSizeGiB : 100
Type : Microsoft.ElasticSan/ElasticSans
VolumeGroupCount : 7
This command gets a specific Elastic SAN.
Parameters
-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
The name of the ElasticSan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: ElasticSanName
Parameter sets
Get
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
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
List1
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
List1
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