共用方式為


ResourceConnectorExtensions.GetTelemetryConfigApplianceAsync Method

Definition

Gets the telemetry config.

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

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