共用方式為


PeeringExtensions.InitializePeeringServiceConnectionMonitorAsync Method

Definition

Initialize Peering Service for Connection Monitor functionality

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/initializeConnectionMonitor
  • Operation Id: PeeringServices_InitializeConnectionMonitor
public static System.Threading.Tasks.Task<Azure.Response> InitializePeeringServiceConnectionMonitorAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member InitializePeeringServiceConnectionMonitorAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
<Extension()>
Public Function InitializePeeringServiceConnectionMonitorAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to