Share via


PeeringResource.Get(CancellationToken) Method

Definition

Gets an existing peering with the specified name under the given subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}
  • Operation Id: Peerings_Get
public virtual Azure.Response<Azure.ResourceManager.Peering.PeeringResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.PeeringResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.PeeringResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of PeeringResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to