Freigeben über


IPAllocationCollection Klasse

Definition

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

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

Konstruktoren

IPAllocationCollection()

Initialisiert eine neue instance der IPAllocationCollection -Klasse zum Mocking.

Eigenschaften

Client

Ruft die Ressource ab, aus ArmClient der 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, IPAllocationData, CancellationToken)

Erstellt oder aktualisiert eine IpAllocation in der angegebenen Ressourcengruppe.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, IPAllocationData, CancellationToken)

Erstellt oder aktualisiert eine IpAllocation in der angegebenen Ressourcengruppe.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_CreateOrUpdate
Exists(String, String, CancellationToken)

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_Get
ExistsAsync(String, String, CancellationToken)

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_Get
Get(String, String, CancellationToken)

Ruft die angegebene IpAllocation nach Ressourcengruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_Get
GetAll(CancellationToken)

Ruft alle IpAllocations in einer Ressourcengruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations
  • Vorgang IdIpAllocations_ListByResourceGroup
GetAllAsync(CancellationToken)

Ruft alle IpAllocations in einer Ressourcengruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations
  • Vorgang IdIpAllocations_ListByResourceGroup
GetAsync(String, String, CancellationToken)

Ruft die angegebene IpAllocation nach Ressourcengruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_Get
GetIfExists(String, String, CancellationToken)

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_Get
GetIfExistsAsync(String, String, CancellationToken)

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgang IdIpAllocations_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<IPAllocationResource>.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<IPAllocationResource>.GetEnumerator()

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

Gilt für: