Get-AzStandbyContainerGroupPool
Get a StandbyContainerGroupPoolResource
Syntax
Get-AzStandbyContainerGroupPool
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStandbyContainerGroupPool
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStandbyContainerGroupPool
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzStandbyContainerGroupPool
-InputObject <IStandbyPoolIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get a StandbyContainerGroupPoolResource
Examples
Example 1: Get a standby container group pool
Get-AzStandbyContainerGroupPool `
-SubscriptionId f8da6e30-a9d8-48ab-b05c-3f7fe482e13b `
-Name testPool `
-ResourceGroupName test-standbypool
ContainerGroupProfileId : /subscriptions/f8da6e30-a9d8-48ab-b05c-3f7fe482e13b/resourcegroups/test-standbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/testCG
ContainerGroupProfileRevision : 1
ContainerGroupPropertySubnetId : {{
"id": "/subscriptions/f8da6e30-a9d8-48ab-b05c-3f7fe482e13b/resourceGroups/test-standbypool/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default"
}}
ElasticityProfileMaxReadyCapacity : 1
ElasticityProfileRefillPolicy : always
Id : /subscriptions/f8da6e30-a9d8-48ab-b05c-3f7fe482e13b/resourceGroups/test-standbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/testPool
Location : eastus
Name : testPool
ProvisioningState : Succeeded
ResourceGroupName : test-standbypool
SystemDataCreatedAt : 4/10/2024 7:09:36 PM
SystemDataCreatedBy : dev@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 4/10/2024 7:09:36 PM
SystemDataLastModifiedBy : dev@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
}
Type : microsoft.standbypool/standbycontainergrouppools
Above command is getting a 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.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter
Type: | IStandbyPoolIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Name of the standby container group pool
Type: | String |
Aliases: | StandbyContainerGroupPoolName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription. The value must be an UUID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell