Get-AzElasticSan
Ottenere un elenco di SAN elastici da una sottoscrizione o da un gruppo di risorse oppure ottenere un singolo san elastico.
Sintassi
List (Impostazione predefinita)
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>]
Descrizione
Ottenere un elenco di SAN elastici da una sottoscrizione o da un gruppo di risorse oppure ottenere un singolo san elastico.
Esempio
Esempio 1: Ottenere tutti i san di sicurezza elastici in una sottoscrizione
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
Questo comando ottiene tutti i san elastici in una sottoscrizione.
Esempio 2: Ottenere tutti i san elastici in un gruppo di risorse
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
Questo comando ottiene tutti i san elastici in un gruppo di risorse.
Esempio 3: Ottenere una san elastica specifica
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
Questo comando ottiene una san elastica specifica.
Parametri
-DefaultProfile
Il parametro DefaultProfile non è funzionale.
Usare il parametro SubscriptionId quando disponibile se si esegue il cmdlet su una sottoscrizione diversa.
Proprietà dei parametri
Tipo: PSObject
Valore predefinito: None
Supporta i caratteri jolly: False
DontShow: False
Alias: AzureRMContext, AzureCredential
Set di parametri
(All)
Posizione: Named
Obbligatorio: False
Valore dalla pipeline: False
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
Parametro Identity
Tipo: IElasticSanIdentity
Valore predefinito: None
Supporta i caratteri jolly: False
DontShow: False
GetViaIdentity
Posizione: Named
Obbligatorio: True
Valore dalla pipeline: True
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
-Name
Nome dell'oggetto ElasticSan.
Proprietà dei parametri
Tipo: String
Valore predefinito: None
Supporta i caratteri jolly: False
DontShow: False
Alias: ElasticSanName
Set di parametri
Get
Posizione: Named
Obbligatorio: True
Valore dalla pipeline: False
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
-ResourceGroupName
Nome del gruppo di risorse.
Il nome è insensibile alle maiuscole e minuscole.
Proprietà dei parametri
Tipo: String
Valore predefinito: None
Supporta i caratteri jolly: False
DontShow: False
Set di parametri
Get
Posizione: Named
Obbligatorio: True
Valore dalla pipeline: False
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
List1
Posizione: Named
Obbligatorio: True
Valore dalla pipeline: False
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
-SubscriptionId
ID della sottoscrizione di destinazione.
Proprietà dei parametri
Tipo: String [ ]
Valore predefinito: (Get-AzContext).Subscription.Id
Supporta i caratteri jolly: False
DontShow: False
Set di parametri
List
Posizione: Named
Obbligatorio: False
Valore dalla pipeline: False
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
Get
Posizione: Named
Obbligatorio: False
Valore dalla pipeline: False
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
List1
Posizione: Named
Obbligatorio: False
Valore dalla pipeline: False
Valore dalla pipeline in base al nome della proprietà: False
Valore dagli argomenti rimanenti: False
CommonParameters
Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per altre informazioni, vedi about_CommonParameters .
Output