Share via


ManagedNetworkFabricExtensions.GetNetworkFabricIPCommunityAsync Method

Definition

Implements an IP Community GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}
  • Operation Id: IpCommunities_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>> GetNetworkFabricIPCommunityAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string ipCommunityName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricIPCommunityAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>>
<Extension()>
Public Function GetNetworkFabricIPCommunityAsync (resourceGroupResource As ResourceGroupResource, ipCommunityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricIPCommunityResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

ipCommunityName
String

Name of the IP Community.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or ipCommunityName is null.

ipCommunityName is an empty string, and was expected to be non-empty.

Applies to