共用方式為


SecurityCenterExtensions.GetMdeOnboardingAsync Method

Definition

The default configuration or data needed to onboard the machine to MDE

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings/default
  • Operation Id: MdeOnboardings_Get
  • Default Api Version: 2021-10-01-preview
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.MdeOnboarding>> GetMdeOnboardingAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMdeOnboardingAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.MdeOnboarding>>
<Extension()>
Public Function GetMdeOnboardingAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MdeOnboarding))

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