Share via


MockableAppComplianceAutomationTenantResource.OnboardProviderAction Method

Definition

Onboard given subscriptions to Microsoft.AppComplianceAutomation provider.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/onboard
  • Operation Id: ProviderActions_Onboard
  • Default Api Version: 2024-06-27
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceOnboardResult> OnboardProviderAction (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceOnboardContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member OnboardProviderAction : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceOnboardContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceOnboardResult>
override this.OnboardProviderAction : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceOnboardContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceOnboardResult>
Public Overridable Function OnboardProviderAction (waitUntil As WaitUntil, content As AppComplianceOnboardContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppComplianceOnboardResult)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
AppComplianceOnboardContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to