Get-AzElasticSan
Obtenha uma lista de SANs elásticas de uma assinatura ou de um grupo de recursos ou obtenha uma única SAN elástica.
Sintaxe
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
Obtenha uma lista de SANs elásticas de uma assinatura ou de um grupo de recursos ou obtenha uma única SAN elástica.
Exemplos
Exemplo 1: obter todas as SANs elásticas em uma assinatura
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
Este comando obtém todas as SANs elásticas em uma assinatura.
Exemplo 2: Obter todos os Elastic Sans em um grupo de recursos
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
Este comando obtém todas as SANs elásticas em um grupo de recursos.
Exemplo 3: Obter uma SAN elástica específica
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
Este comando obtém uma SAN elástica específica.
Parâmetros
-DefaultProfile
O parâmetro DefaultProfile não é funcional. Use o parâmetro SubscriptionId quando disponível se estiver executando o cmdlet em uma assinatura diferente.
Tipo: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-InputObject
Parâmetro de identidade
Tipo: | IElasticSanIdentity |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | True |
Aceitar carateres universais: | False |
-Name
O nome do ElasticSan.
Tipo: | String |
Aliases: | ElasticSanName |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-ResourceGroupName
O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.
Tipo: | String |
Position: | Named |
Default value: | None |
Necessário: | True |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
-SubscriptionId
A ID da assinatura de destino.
Tipo: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Necessário: | False |
Aceitar entrada de pipeline: | False |
Aceitar carateres universais: | False |
Entradas
Saídas
Azure PowerShell