Get-AzProximityPlacementGroup
Resource(s) voor nabijheidsplaatsingsgroep ophalen of vermelden.
Notitie
Dit is de vorige versie van onze documentatie. Raadpleeg de meest recente versie voor actuele informatie.
Syntax
Get-AzProximityPlacementGroup
[[-ResourceGroupName] <String>]
[[-Name] <String>]
[-ColocationStatus]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzProximityPlacementGroup
[-ColocationStatus]
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Deze cmdlet haalt of vermeldt nabijheidsplaatsingsgroepresources.
Voorbeelden
Voorbeeld 1
Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName -Name $proximityPlacementGroupName
ResourceGroupName : rg0
ProximityPlacementGroupType : Standard
VirtualMachines : {}
VirtualMachineScaleSets : {}
AvailabilitySets : {}
Id : /subscriptions/5393f919-a68a-43d0-9063-4b2bda6bffdf/resourceGroups/rg0/providers/Microsoft.Compute/proximityPlacementGroups/ppg0
Name : ppg0
Type : Microsoft.Compute/proximityPlacementGroups
Location : westcentralus
Tags : {[key1, val1]}
Met deze opdracht wordt de nabijheidsplaatsingsgroep ophaalt
Voorbeeld 2
Get-AzProximityPlacementGroup -ResourceGroupName $resourceGroupName
ResourceGroupName Name Location Type
----------------- ---- -------- ----
rg0 ppg0 westcentralus Standard
rg0 ppg1 westcentralus Standard
Met deze opdracht worden alle nabijheidsplaatsingsgroepen onder de opgegeven resourcegroep weergegeven.
Voorbeeld 3
Get-AzProximityPlacementGroup
ResourceGroupName Name Location Type
----------------- ---- -------- ----
rg0 ppg0 westcentralus Standard
rg0 ppg1 westcentralus Standard
rg1 ppg2 centralus Standard
Met deze opdracht worden alle nabijheidsplaatsingsgroepen onder het abonnement weergegeven.
Parameters
Toont de colocatiestatus van een resource in de nabijheidsplaatsingsgroep.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De naam van de nabijheidsplaatsingsgroep.
| Type: | String |
| Aliases: | ProximityPlacementGroupName |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | True |
De naam van de resourcegroep.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | True |
De resource-id voor de nabijheidsplaatsingsgroep.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |