Get-AzStandbyVMPoolStatus
Een StandbyVirtualMachinePoolRuntimeViewResource ophalen
Syntaxis
Get-AzStandbyVMPoolStatus
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStandbyVMPoolStatus
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStandbyVMPoolStatus
-InputObject <IStandbyPoolIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStandbyVMPoolStatus
-StandbyVirtualMachinePoolInputObject <IStandbyPoolIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Een StandbyVirtualMachinePoolRuntimeViewResource ophalen
Voorbeelden
Voorbeeld 1: Runtime-weergave van een stand-by-vm-pool ophalen
Get-AzStandbyVMPoolStatus `
-SubscriptionId f8da6e30-a9d8-48ab-b05c-3f7fe482e13b `
-ResourceGroupName test-standbypool `
-Name testPool
Id : /subscriptions/f8da6e30-a9d8-48ab-b05c-3f7fe482e13b/resourceGroups/test-standbypool/providers/Microsoft.Standb
yPool/standbyVirtualMachinePools/testPool/runtimeViews/latest
InstanceCountSummary : {{
"instanceCountsByState": [
{
"state": "Creating",
"count": 0
},
{
"state": "Starting",
"count": 0
},
{
"state": "Running",
"count": 1
},
{
"state": "Deallocating",
"count": 0
},
{
"state": "Deallocated",
"count": 0
},
{
"state": "Deleting",
"count": 0
}
]
}}
Name : latest
ProvisioningState : Succeeded
ResourceGroupName : test-standbypool
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.StandbyPool/standbyVirtualMachinePools/runtimeViews
De bovenstaande opdracht krijgt een runtime-veiw van de stand-by-vm-pool.
Parameters
-DefaultProfile
De parameter DefaultProfile is niet functioneel. Gebruik de parameter SubscriptionId indien beschikbaar als u de cmdlet uitvoert voor een ander abonnement.
Type: | PSObject |
Aliassen: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Identiteitsparameter
Type: | IStandbyPoolIdentity |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-Name
Naam van de stand-by-vm-pool
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceGroupName
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-StandbyVirtualMachinePoolInputObject
Identiteitsparameter
Type: | IStandbyPoolIdentity |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-SubscriptionId
De id van het doelabonnement. De waarde moet een UUID zijn.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
Uitvoerwaarden
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure PowerShell