ManagedNetworkFabricExtensions.GetNetworkFabricRoutePolicy Method

Definition

Implements Route Policy GET method.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

routePolicyName
String

Name of the Route Policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or routePolicyName is null.

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

Applies to