PolicyResource.ActivateBringYourOwnRootAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Activates or renews a Bring Your Own Root policy by accepting a customer-provided signed certificate. This is a long-running operation that returns no content upon completion.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}/activateBringYourOwnRoot.
- Operation Id. : Policies_ActivateBringYourOwnRoot.
- Default Api Version. : 2026-03-01-preview.
- Resource. : PolicyResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> ActivateBringYourOwnRootAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DeviceRegistry.Models.ActivateBringYourOwnRootRequest content, System.Threading.CancellationToken cancellationToken = default);
abstract member ActivateBringYourOwnRootAsync : Azure.WaitUntil * Azure.ResourceManager.DeviceRegistry.Models.ActivateBringYourOwnRootRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.ActivateBringYourOwnRootAsync : Azure.WaitUntil * Azure.ResourceManager.DeviceRegistry.Models.ActivateBringYourOwnRootRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function ActivateBringYourOwnRootAsync (waitUntil As WaitUntil, content As ActivateBringYourOwnRootRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)
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
- ActivateBringYourOwnRootRequest
The content of the action request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.