StorageTargetsOperations interface

Interface representing a StorageTargets operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginDnsRefresh
beginDnsRefreshAndWait
beginRestoreDefaults
beginRestoreDefaultsAndWait
createOrUpdate

Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.

delete

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.

dnsRefresh

Tells a storage target to refresh its DNS information.

get

Returns a Storage Target from a cache.

listByCache

Returns a list of Storage Targets for the specified cache.

restoreDefaults

Tells a storage target to restore its settings to their default values.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<StorageTarget>, StorageTarget>>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<StorageTarget>, StorageTarget>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams) => Promise<StorageTarget>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams) => Promise<StorageTarget>

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDnsRefresh

Warning

This API is now deprecated.

use dnsRefresh instead

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

Property Value

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

beginDnsRefreshAndWait

Warning

This API is now deprecated.

use dnsRefresh instead

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

Property Value

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

beginRestoreDefaults

Warning

This API is now deprecated.

use restoreDefaults instead

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

Property Value

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

beginRestoreDefaultsAndWait

Warning

This API is now deprecated.

use restoreDefaults instead

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

Property Value

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

createOrUpdate

Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.

createOrUpdate: (resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams) => PollerLike<OperationState<StorageTarget>, StorageTarget>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams) => PollerLike<OperationState<StorageTarget>, StorageTarget>

delete

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.

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

Property Value

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

dnsRefresh

Tells a storage target to refresh its DNS information.

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

Property Value

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

get

Returns a Storage Target from a cache.

get: (resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsGetOptionalParams) => Promise<StorageTarget>

Property Value

(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsGetOptionalParams) => Promise<StorageTarget>

listByCache

Returns a list of Storage Targets for the specified cache.

listByCache: (resourceGroupName: string, cacheName: string, options?: StorageTargetsListByCacheOptionalParams) => PagedAsyncIterableIterator<StorageTarget, StorageTarget[], PageSettings>

Property Value

(resourceGroupName: string, cacheName: string, options?: StorageTargetsListByCacheOptionalParams) => PagedAsyncIterableIterator<StorageTarget, StorageTarget[], PageSettings>

restoreDefaults

Tells a storage target to restore its settings to their default values.

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

Property Value

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