Get-AzElasticSan
Get either a list of Elastic SANs from a subscription or a resource group, or get a single Elastic SAN.
Syntax
Get-AzElasticSan
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzElasticSan
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzElasticSan
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
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.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter
Type: | IElasticSanIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the ElasticSan.
Type: | String |
Aliases: | ElasticSanName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell