Share via


ManagedNetworkFabricExtensions.GetNetworkFabricIPPrefixAsync Method

Definition

Implements IP Prefix GET method.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

ipPrefixName
String

Name of the IP Prefix.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or ipPrefixName is null.

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

Applies to