Get-AzStandbyContainerGroupPoolStatus
This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus .
Get a StandbyContainerGroupPoolRuntimeViewResource
Syntax
Get (Default)
Get-AzStandbyContainerGroupPoolStatus
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzStandbyContainerGroupPoolStatus
-InputObject <IStandbyPoolIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityStandbyContainerGroupPool
Get-AzStandbyContainerGroupPoolStatus
-StandbyContainerGroupPoolInputObject <IStandbyPoolIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
List
Get-AzStandbyContainerGroupPoolStatus
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get a StandbyContainerGroupPoolRuntimeViewResource
Examples
Example 1: Get runtime view of a standby container group pool
Get-AzStandbyContainerGroupPoolStatus `
-SubscriptionId f8da6e30-a9d8-48ab-b05c-3f7fe482e13b `
-Name testPool `
-ResourceGroupName test-standbypool
ForecastValueInstancesRequestedCount :
Id : /subscriptions/f8da6e30-a9d8-48ab-b05c-3f7fe482e13b/resourceGroups/test-standbypool/providers/Microsoft.Standb
yPool/standbyContainerGroupPools/testPool/runtimeViews/latest
InstanceCountSummary : {{
"zone": 1,
"instanceCountsByState": [
{
"state": "Running",
"count": 0
},
{
"state": "Deleting",
"count": 1
},
{
"state": "Creating",
"count": 0
}
]
}}
Name : latest
PredictionForecastInfo :
PredictionForecastStartTime :
ProvisioningState : Succeeded
ResourceGroupName : test-standbypool
StatusCode : HealthState/degraded
StatusMessage :
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews
Above command is getting a runtime veiw of standby container group pool.
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
Name of the standby container group pool
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
List
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
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentityStandbyContainerGroupPool
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
The value must be an UUID.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
List
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