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
AutoScalePolicyEnforcement :
AvailabilityZone :
BaseSizeTiB : 1
CapacityUnitScaleUpLimitTiB :
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan1
IncreaseCapacityUnitByTiB :
Location : eastus
Name : myelasticsan1
PrivateEndpointConnection :
ProvisioningState : Succeeded
PublicNetworkAccess :
ResourceGroupName : myresourcegroup
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 9/29/2024 2:34:21 AM
SystemDataCreatedBy : example@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/29/2024 2:34:21 AM
SystemDataLastModifiedBy : example@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"tag1": "value1",
"tag2": "value2"
}
TotalIops : 5000
TotalMBps : 200
TotalSizeTiB : 7
TotalVolumeSizeGiB : 120
Type : Microsoft.ElasticSan/ElasticSans
UnusedSizeTiB :
VolumeGroupCount : 4
AutoScalePolicyEnforcement :
AvailabilityZone :
BaseSizeTiB : 1
CapacityUnitScaleUpLimitTiB :
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan2
IncreaseCapacityUnitByTiB :
Location : eastus
Name : myelasticsan2
PrivateEndpointConnection :
ProvisioningState : Succeeded
PublicNetworkAccess :
ResourceGroupName : myresourcegroup
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 9/29/2024 2:34:48 AM
SystemDataCreatedBy : example@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/29/2024 2:34:48 AM
SystemDataLastModifiedBy : example@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"tag1": "value1",
"tag2": "value2"
}
TotalIops : 5000
TotalMBps : 200
TotalSizeTiB : 7
TotalVolumeSizeGiB : 0
Type : Microsoft.ElasticSan/ElasticSans
UnusedSizeTiB :
VolumeGroupCount : 0
This command gets all the Elastic SANs in a subscription.
Example 2: Get all Elastic Sans in a resource group
Get-AzElasticSan -ResourceGroupName myresourcegroup
AutoScalePolicyEnforcement :
AvailabilityZone :
BaseSizeTiB : 1
CapacityUnitScaleUpLimitTiB :
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan1
IncreaseCapacityUnitByTiB :
Location : eastus
Name : myelasticsan1
PrivateEndpointConnection :
ProvisioningState : Succeeded
PublicNetworkAccess :
ResourceGroupName : myresourcegroup
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 9/29/2024 2:34:21 AM
SystemDataCreatedBy : example@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/29/2024 2:34:21 AM
SystemDataLastModifiedBy : example@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"tag1": "value1",
"tag2": "value2"
}
TotalIops : 5000
TotalMBps : 200
TotalSizeTiB : 7
TotalVolumeSizeGiB : 120
Type : Microsoft.ElasticSan/ElasticSans
UnusedSizeTiB :
VolumeGroupCount : 4
AutoScalePolicyEnforcement :
AvailabilityZone :
BaseSizeTiB : 1
CapacityUnitScaleUpLimitTiB :
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan2
IncreaseCapacityUnitByTiB :
Location : eastus
Name : myelasticsan2
PrivateEndpointConnection :
ProvisioningState : Succeeded
PublicNetworkAccess :
ResourceGroupName : myresourcegroup
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 9/29/2024 2:34:48 AM
SystemDataCreatedBy : example@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/29/2024 2:34:48 AM
SystemDataLastModifiedBy : example@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"tag1": "value1",
"tag2": "value2"
}
TotalIops : 5000
TotalMBps : 200
TotalSizeTiB : 7
TotalVolumeSizeGiB : 0
Type : Microsoft.ElasticSan/ElasticSans
UnusedSizeTiB :
VolumeGroupCount : 0
This command gets all Elastic SANs in a resource group.
Example 3: Get a specific Elastic SAN
Get-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan
AutoScalePolicyEnforcement :
AvailabilityZone :
BaseSizeTiB : 1
CapacityUnitScaleUpLimitTiB :
ExtendedCapacitySizeTiB : 6
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan
IncreaseCapacityUnitByTiB :
Location : eastus2
Name : myelasticsan
PrivateEndpointConnection :
ProvisioningState : Succeeded
PublicNetworkAccess :
ResourceGroupName : myresourcegroup
SkuName : Premium_LRS
SkuTier :
SystemDataCreatedAt : 9/29/2024 2:34:21 AM
SystemDataCreatedBy : example@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 9/29/2024 2:34:21 AM
SystemDataLastModifiedBy : example@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"tag1": "value1",
"tag2": "value2"
}
TotalIops : 5000
TotalMBps : 200
TotalSizeTiB : 7
TotalVolumeSizeGiB : 120
Type : Microsoft.ElasticSan/ElasticSans
UnusedSizeTiB :
VolumeGroupCount : 4
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