Sdílet prostřednictvím


StorageCacheResource.StartPrimingJobAsync Method

Definition

Create a priming job. This operation is only allowed when the cache is healthy.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/startPrimingJob
  • Operation Id: Caches_StartPrimingJob
  • Default Api Version: 2024-03-01
  • Resource: StorageCacheResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> StartPrimingJobAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.StorageCache.Models.PrimingJob primingjob = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartPrimingJobAsync : Azure.WaitUntil * Azure.ResourceManager.StorageCache.Models.PrimingJob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.StartPrimingJobAsync : Azure.WaitUntil * Azure.ResourceManager.StorageCache.Models.PrimingJob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function StartPrimingJobAsync (waitUntil As WaitUntil, Optional primingjob As PrimingJob = Nothing, 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.

primingjob
PrimingJob

Object containing the definition of a priming job.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to