Freigeben über


NetworkFabricIPCommunityCollection.GetAsync(String, CancellationToken) Methode

Definition

Implementiert eine IP Community GET-Methode.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}
  • Vorgang IdIpCommunities_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>> GetAsync (string ipCommunityName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>>
Public Overridable Function GetAsync (ipCommunityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricIPCommunityResource))

Parameter

ipCommunityName
String

Name der IP-Community.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

ipCommunityName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

ipCommunityName ist NULL.

Gilt für: