Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 1.63 KB

Get-AzStandbyContainerGroupPoolStatus.md

File metadata and controls

40 lines (38 loc) · 1.63 KB

Example 1: Get runtime view of a standby container group pool

Get-AzStandbyContainerGroupPoolStatus `
-SubscriptionId f8da6e30-a9d8-48ab-b05c-3f7fe482e13b `
-Name testPool `
-ResourceGroupName test-standbypool
Id                           : /subscriptions/f8da6e30-a9d8-48ab-b05c-3f7fe482e13b/resourceGroups/test-standbypool/providers/Microsoft.Standb
                               yPool/standbyContainerGroupPools/testPool/runtimeViews/latest
InstanceCountSummary         : {{
                                 "instanceCountsByState": [
                                   {
                                     "state": "Creating",
                                     "count": 1
                                   },
                                   {
                                     "state": "Running",
                                     "count": 0
                                   },
                                   {
                                     "state": "Deleting",
                                     "count": 0
                                   }
                                 ]
                               }}
Name                         : latest
ProvisioningState            : Succeeded
ResourceGroupName            : test-standbypool
SystemDataCreatedAt          :
SystemDataCreatedBy          :
SystemDataCreatedByType      :
SystemDataLastModifiedAt     :
SystemDataLastModifiedBy     :
SystemDataLastModifiedByType :
Type                         : Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews

Above command is getting a runtime veiw of standby container group pool.