StorageTargetOperations interface
Interface representing a StorageTargetOperations.
Methods
begin |
Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes. |
begin |
Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes. |
begin |
Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request. |
begin |
Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request. |
begin |
Resumes client access to a previously suspended storage target. |
begin |
Resumes client access to a previously suspended storage target. |
begin |
Suspends client access to a storage target. |
begin |
Suspends client access to a storage target. |
Method Details
beginFlush(string, string, string, StorageTargetFlushOptionalParams)
Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes.
function beginFlush(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetFlushOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
- options
- StorageTargetFlushOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginFlushAndWait(string, string, string, StorageTargetFlushOptionalParams)
Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes.
function beginFlushAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetFlushOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
- options
- StorageTargetFlushOptionalParams
The options parameters.
Returns
Promise<void>
beginInvalidate(string, string, string, StorageTargetInvalidateOptionalParams)
Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.
function beginInvalidate(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetInvalidateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginInvalidateAndWait(string, string, string, StorageTargetInvalidateOptionalParams)
Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.
function beginInvalidateAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetInvalidateOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<void>
beginResume(string, string, string, StorageTargetResumeOptionalParams)
Resumes client access to a previously suspended storage target.
function beginResume(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetResumeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginResumeAndWait(string, string, string, StorageTargetResumeOptionalParams)
Resumes client access to a previously suspended storage target.
function beginResumeAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetResumeOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<void>
beginSuspend(string, string, string, StorageTargetSuspendOptionalParams)
Suspends client access to a storage target.
function beginSuspend(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetSuspendOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginSuspendAndWait(string, string, string, StorageTargetSuspendOptionalParams)
Suspends client access to a storage target.
function beginSuspendAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetSuspendOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- 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.
The options parameters.
Returns
Promise<void>