Share via


ProximityPlacementGroupCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren ProximityPlacementGroupResource Vorgänge darstellt. Jedes ProximityPlacementGroupResource in der Auflistung gehört zum gleichen instance von ResourceGroupResource. Um eine ProximityPlacementGroupCollection instance rufen Sie die GetProximityPlacementGroups-Methode aus einer instance von aufResourceGroupResource.

public class ProximityPlacementGroupCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
type ProximityPlacementGroupCollection = class
    inherit ArmCollection
    interface seq<ProximityPlacementGroupResource>
    interface IEnumerable
    interface IAsyncEnumerable<ProximityPlacementGroupResource>
Public Class ProximityPlacementGroupCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ProximityPlacementGroupResource), IEnumerable(Of ProximityPlacementGroupResource)
Vererbung
ProximityPlacementGroupCollection
Implementiert

Konstruktoren

ProximityPlacementGroupCollection()

Initialisiert eine neue instance der -Klasse für die ProximityPlacementGroupCollection Simulation.

Eigenschaften

Client

Ruft den ArmClient ab, aus dem dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

CreateOrUpdate(WaitUntil, String, ProximityPlacementGroupData, CancellationToken)

Erstellen oder aktualisieren Sie eine Näherungsplatzierungsgruppe.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Vorgangs-IdProximityPlacementGroups_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ProximityPlacementGroupData, CancellationToken)

Erstellen oder aktualisieren Sie eine Näherungsplatzierungsgruppe.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Vorgangs-IdProximityPlacementGroups_CreateOrUpdate
Exists(String, String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Vorgangs-IdProximityPlacementGroups_Get
ExistsAsync(String, String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Vorgangs-IdProximityPlacementGroups_Get
Get(String, String, CancellationToken)

Ruft Informationen zu einer Näherungsplatzierungsgruppe ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Vorgangs-IdProximityPlacementGroups_Get
GetAll(CancellationToken)

Listet alle Näherungsplatzierungsgruppen in einer Ressourcengruppe auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups
  • Vorgangs-IdProximityPlacementGroups_ListByResourceGroup
GetAllAsync(CancellationToken)

Listet alle Näherungsplatzierungsgruppen in einer Ressourcengruppe auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups
  • Vorgangs-IdProximityPlacementGroups_ListByResourceGroup
GetAsync(String, String, CancellationToken)

Ruft Informationen zu einer Näherungsplatzierungsgruppe ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Vorgangs-IdProximityPlacementGroups_Get
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<ProximityPlacementGroupResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<ProximityPlacementGroupResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: