CommvaultContentStoreExtensions.ActivateSaasResource 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.
Resolve the token to get the SaaS resource ID and activate the SaaS resource <item> Mocking. To mock this method, please mock ActivateSaasResource(WaitUntil, CommvaultSaasActivationContent, CancellationToken) instead. </item>
public static Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CommvaultContentStore.Models.SaasResourceDetailsData> ActivateSaasResource(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.WaitUntil waitUntil, Azure.ResourceManager.CommvaultContentStore.Models.CommvaultSaasActivationContent content, System.Threading.CancellationToken cancellationToken = default);
static member ActivateSaasResource : Azure.ResourceManager.Resources.SubscriptionResource * Azure.WaitUntil * Azure.ResourceManager.CommvaultContentStore.Models.CommvaultSaasActivationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CommvaultContentStore.Models.SaasResourceDetailsData>
<Extension()>
Public Function ActivateSaasResource (subscriptionResource As SubscriptionResource, waitUntil As WaitUntil, content As CommvaultSaasActivationContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SaasResourceDetailsData)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- 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
- CommvaultSaasActivationContent
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource is null.