Freigeben über


NetworkExtensions.GetNetworkProfiles Methode

Definition

Überlädt

GetNetworkProfiles(ResourceGroupResource)

Ruft eine Auflistung von NetworkProfileResources in resourceGroupResource ab.

GetNetworkProfiles(SubscriptionResource, CancellationToken)

Ruft alle Netzwerkprofile in einem Abonnement ab.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Network/networkProfiles
  • Vorgangs-IdNetworkProfiles_ListAll

GetNetworkProfiles(ResourceGroupResource)

Ruft eine Auflistung von NetworkProfileResources in resourceGroupResource ab.

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

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance die -Methode ausgeführt wird.

Gibt zurück

Ein Objekt, das die Auflistung von NetworkProfileResources und deren Vorgänge über eine NetworkProfileResource darstellt.

Gilt für:

GetNetworkProfiles(SubscriptionResource, CancellationToken)

Ruft alle Netzwerkprofile in einem Abonnement ab.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Network/networkProfiles
  • Vorgangs-IdNetworkProfiles_ListAll
public static Azure.Pageable<Azure.ResourceManager.Network.NetworkProfileResource> GetNetworkProfiles (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkProfiles : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.NetworkProfileResource>
<Extension()>
Public Function GetNetworkProfiles (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkProfileResource)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von NetworkProfileResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: