ManagedNetworkResource.GetManagedNetworkPeeringPolicy Method

Definition

The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_Get
public virtual Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkPeeringPolicyResource> GetManagedNetworkPeeringPolicy (string managedNetworkPeeringPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedNetworkPeeringPolicy : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkPeeringPolicyResource>
override this.GetManagedNetworkPeeringPolicy : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkPeeringPolicyResource>
Public Overridable Function GetManagedNetworkPeeringPolicy (managedNetworkPeeringPolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedNetworkPeeringPolicyResource)

Parameters

managedNetworkPeeringPolicyName
String

The name of the Managed Network Peering Policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managedNetworkPeeringPolicyName is null.

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

Applies to