StorageCacheResource.Update Method

Definition

Update a cache instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}
  • Operation Id: Caches_Update
  • Default Api Version: 2024-03-01
  • Resource: StorageCacheResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageCache.StorageCacheResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.StorageCache.StorageCacheData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.StorageCache.StorageCacheData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageCache.StorageCacheResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.StorageCache.StorageCacheData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageCache.StorageCacheResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As StorageCacheData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of StorageCacheResource)

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.

data
StorageCacheData

Object containing the user-selectable properties of the cache. If read-only properties are included, they must match the existing values of those properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to