ManagedNetworkPeeringPolicyCollection.Get(String, CancellationToken) 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> Get (string managedNetworkPeeringPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkPeeringPolicyResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetwork.ManagedNetworkPeeringPolicyResource>
Public Overridable Function Get (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 an empty string, and was expected to be non-empty.

managedNetworkPeeringPolicyName is null.

Applies to