Delen via


StorageCacheResource.StartPrimingJob 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 Azure.ResourceManager.ArmOperation StartPrimingJob (Azure.WaitUntil waitUntil, Azure.ResourceManager.StorageCache.Models.PrimingJob primingjob = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartPrimingJob : Azure.WaitUntil * Azure.ResourceManager.StorageCache.Models.PrimingJob * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.StartPrimingJob : Azure.WaitUntil * Azure.ResourceManager.StorageCache.Models.PrimingJob * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function StartPrimingJob (waitUntil As WaitUntil, Optional primingjob As PrimingJob = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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