Compartilhar via


NetworkExtensions.GetIPAllocations Método

Definição

Sobrecargas

GetIPAllocations(ResourceGroupResource)

Obtém uma coleção de IPAllocationResources no ResourceGroupResource.

GetIPAllocations(SubscriptionResource, CancellationToken)

Obtém todas as IpAllocations em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/IpAllocations
  • IdIpAllocations_List de operação

GetIPAllocations(ResourceGroupResource)

Obtém uma coleção de IPAllocationResources no ResourceGroupResource.

public static Azure.ResourceManager.Network.IPAllocationCollection GetIPAllocations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetIPAllocations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.IPAllocationCollection
<Extension()>
Public Function GetIPAllocations (resourceGroupResource As ResourceGroupResource) As IPAllocationCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

Retornos

Um objeto que representa a coleção de IPAllocationResources e suas operações em um IPAllocationResource.

Aplica-se a

GetIPAllocations(SubscriptionResource, CancellationToken)

Obtém todas as IpAllocations em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/IpAllocations
  • IdIpAllocations_List de operação
public static Azure.Pageable<Azure.ResourceManager.Network.IPAllocationResource> GetIPAllocations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetIPAllocations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.IPAllocationResource>
<Extension()>
Public Function GetIPAllocations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IPAllocationResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de IPAllocationResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a