StorageTargetsExtensions Class

Definition

Extension methods for StorageTargets.

public static class StorageTargetsExtensions
type StorageTargetsExtensions = class
Public Module StorageTargetsExtensions
Inheritance
System.Object
StorageTargetsExtensions

Methods

CreateOrUpdate(IStorageTargets, String, String, String, StorageTarget)

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.

CreateOrUpdateAsync(IStorageTargets, String, String, String, StorageTarget, CancellationToken)

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(IStorageTargets, String, String, String)

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.

DeleteAsync(IStorageTargets, String, String, String, CancellationToken)

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(IStorageTargets, String, String, String)

Tells a storage target to refresh its DNS information.

DnsRefreshAsync(IStorageTargets, String, String, String, CancellationToken)

Tells a storage target to refresh its DNS information.

Get(IStorageTargets, String, String, String)

Returns a Storage Target from a Cache.

GetAsync(IStorageTargets, String, String, String, CancellationToken)

Returns a Storage Target from a Cache.

ListByCache(IStorageTargets, String, String)

Returns a list of Storage Targets for the specified Cache.

ListByCacheAsync(IStorageTargets, String, String, CancellationToken)

Returns a list of Storage Targets for the specified Cache.

Applies to