Udostępnij za pośrednictwem


StorageTargets Class

Definition

StorageTargets operations.

public class StorageTargets : Microsoft.Azure.Management.StorageCache.IStorageTargets, Microsoft.Rest.IServiceOperations<Microsoft.Azure.Management.StorageCache.StorageCacheManagementClient>
type StorageTargets = class
    interface IServiceOperations<StorageCacheManagementClient>
    interface IStorageTargets
Public Class StorageTargets
Implements IServiceOperations(Of StorageCacheManagementClient), IStorageTargets
Inheritance
StorageTargets
Implements

Constructors

StorageTargets(StorageCacheManagementClient)

Initializes a new instance of the StorageTargets class.

Properties

Client

Gets a reference to the StorageCacheManagementClient

Methods

CreateOrUpdateWithHttpMessagesAsync(String, String, String, StorageTarget, Dictionary<String,List<String>>, 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.

DeleteWithHttpMessagesAsync(String, String, String, Dictionary<String,List<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.

DnsRefreshWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Tells a storage target to refresh its DNS information.

GetWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Returns a Storage Target from a Cache.

ListByCacheWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Returns a list of Storage Targets for the specified Cache.

Extension 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