StorageTargetOperationsOperations interface

Interface representing a StorageTargetOperations operations.

Properties

beginFlush
beginFlushAndWait
beginInvalidate
beginInvalidateAndWait
beginResume
beginResumeAndWait
beginSuspend
beginSuspendAndWait
flush

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.

invalidate

Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.

resume

Resumes client access to a previously suspended storage target.

suspend

Suspends client access to a storage target.

Property Details

beginFlush

Warning

This API is now deprecated.

use flush instead

beginFlush: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsFlushOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsFlushOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginFlushAndWait

Warning

This API is now deprecated.

use flush instead

beginFlushAndWait: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsFlushOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsFlushOptionalParams) => Promise<void>

beginInvalidate

Warning

This API is now deprecated.

use invalidate instead

beginInvalidate: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsInvalidateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsInvalidateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginInvalidateAndWait

Warning

This API is now deprecated.

use invalidate instead

beginInvalidateAndWait: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsInvalidateOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsInvalidateOptionalParams) => Promise<void>

beginResume

Warning

This API is now deprecated.

use resume instead

beginResume: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsResumeOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsResumeOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginResumeAndWait

Warning

This API is now deprecated.

use resume instead

beginResumeAndWait: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsResumeOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsResumeOptionalParams) => Promise<void>

beginSuspend

Warning

This API is now deprecated.

use suspend instead

beginSuspend: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsSuspendOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsSuspendOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginSuspendAndWait

Warning

This API is now deprecated.

use suspend instead

beginSuspendAndWait: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsSuspendOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsSuspendOptionalParams) => Promise<void>

flush

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.

flush: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsFlushOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsFlushOptionalParams) => PollerLike<OperationState<void>, void>

invalidate

Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.

invalidate: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsInvalidateOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsInvalidateOptionalParams) => PollerLike<OperationState<void>, void>

resume

Resumes client access to a previously suspended storage target.

resume: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsResumeOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsResumeOptionalParams) => PollerLike<OperationState<void>, void>

suspend

Suspends client access to a storage target.

suspend: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsSuspendOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetOperationsSuspendOptionalParams) => PollerLike<OperationState<void>, void>