StorageTargetsExtensions.Delete Method

Definition

Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.

public static void Delete (this Microsoft.Azure.Management.StorageCache.IStorageTargets operations, string resourceGroupName, string cacheName, string storageTargetName);
static member Delete : Microsoft.Azure.Management.StorageCache.IStorageTargets * string * string * string -> unit
<Extension()>
Public Sub Delete (operations As IStorageTargets, resourceGroupName As String, cacheName As String, storageTargetName As String)

Parameters

operations
IStorageTargets

The operations group for this extension method.

resourceGroupName
String

Target resource group.

cacheName
String

Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.

storageTargetName
String

Name of Storage Target.

Applies to