Caches Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.collection.SupportsListing<Cache> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.storagecache.v2020_03_01.implementation.CachesInner> com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<Cache> com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<Cache>

public interface Caches
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup, com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion, com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup<Cache>, com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup<Cache>, com.microsoft.azure.arm.collection.SupportsListing<Cache>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.storagecache.v2020_03_01.implementation.CachesInner>

Type representing Caches.

Method Summary

Modifier and Type Method and Description
abstract rx.Observable<java.lang.Object> flushAsync(String resourceGroupName, String cacheName)

Tells a Cache to write all dirty data to the Storage Target(s).

abstract rx.Observable<java.lang.Object> startAsync(String resourceGroupName, String cacheName)

Tells a Stopped state Cache to transition to Active state.

abstract rx.Observable<java.lang.Object> stopAsync(String resourceGroupName, String cacheName)

Tells an Active Cache to transition to Stopped state.

abstract rx.Observable<java.lang.Object> upgradeFirmwareAsync(String resourceGroupName, String cacheName)

Upgrade a Cache's firmware if a new version is available.

Method Details

flushAsync

public abstract Observable flushAsync(String resourceGroupName, String cacheName)

Tells a Cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.

Parameters:

resourceGroupName - Target resource group.
cacheName - Name of Cache. Length of name must be not greater than 80 and chars must be in list of [-0-9a-zA-Z_] char class.

Returns:

the observable for the request

startAsync

public abstract Observable startAsync(String resourceGroupName, String cacheName)

Tells a Stopped state Cache to transition to Active state.

Parameters:

resourceGroupName - Target resource group.
cacheName - Name of Cache. Length of name must be not greater than 80 and chars must be in list of [-0-9a-zA-Z_] char class.

Returns:

the observable for the request

stopAsync

public abstract Observable stopAsync(String resourceGroupName, String cacheName)

Tells an Active Cache to transition to Stopped state.

Parameters:

resourceGroupName - Target resource group.
cacheName - Name of Cache. Length of name must be not greater than 80 and chars must be in list of [-0-9a-zA-Z_] char class.

Returns:

the observable for the request

upgradeFirmwareAsync

public abstract Observable upgradeFirmwareAsync(String resourceGroupName, String cacheName)

Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no effect.

Parameters:

resourceGroupName - Target resource group.
cacheName - Name of Cache. Length of name must be not greater than 80 and chars must be in list of [-0-9a-zA-Z_] char class.

Returns:

the observable for the request

Applies to

Azure SDK for Java

Latest