StorageTargetOperations class
Class representing a StorageTargetOperations.
Constructors
| Storage |
Create 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 |
Resumes client access to a previously suspended storage target. |
| begin |
Suspends client access to a storage target. |
| flush(string, string, string, ms |
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. |
| resume(string, string, string, ms |
Resumes client access to a previously suspended storage target. |
| suspend(string, string, string, ms |
Suspends client access to a storage target. |
Constructor Details
StorageTargetOperations(StorageCacheManagementClientContext)
Create a StorageTargetOperations.
new StorageTargetOperations(client: StorageCacheManagementClientContext)
Parameters
Reference to the service client.
Method Details
beginFlush(string, string, string, msRest.RequestOptionsBase)
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?: msRest.RequestOptionsBase)
Parameters
- 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.
- options
- msRest.RequestOptionsBase
Returns
Promise<LROPoller>
Promise<msRestAzure.LROPoller>
beginResume(string, string, string, msRest.RequestOptionsBase)
Resumes client access to a previously suspended storage target.
function beginResume(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase)
Parameters
- 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.
- options
- msRest.RequestOptionsBase
Returns
Promise<LROPoller>
Promise<msRestAzure.LROPoller>
beginSuspend(string, string, string, msRest.RequestOptionsBase)
Suspends client access to a storage target.
function beginSuspend(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase)
Parameters
- 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.
- options
- msRest.RequestOptionsBase
Returns
Promise<LROPoller>
Promise<msRestAzure.LROPoller>
flush(string, string, string, msRest.RequestOptionsBase)
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 flush(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase)
Parameters
- 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.
- options
- msRest.RequestOptionsBase
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
resume(string, string, string, msRest.RequestOptionsBase)
Resumes client access to a previously suspended storage target.
function resume(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase)
Parameters
- 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.
- options
- msRest.RequestOptionsBase
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
suspend(string, string, string, msRest.RequestOptionsBase)
Suspends client access to a storage target.
function suspend(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase)
Parameters
- 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.
- options
- msRest.RequestOptionsBase
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>