Cache Interface

public interface Cache

An immutable client-side representation of Cache.

Method Summary

Modifier and Type Method and Description
abstract String etag()

Gets the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract CacheInner innerModel()

Gets the inner com.azure.resourcemanager.netapp.fluent.models.CacheInner object.

abstract PeeringPassphrases listPeeringPassphrases()

This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command.

abstract Response<PeeringPassphrases> listPeeringPassphrasesWithResponse(Context context)

This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract Cache poolChange(PoolChangeRequest body)

Moves Cache to another Capacity Pool.

abstract Cache poolChange(PoolChangeRequest body, Context context)

Moves Cache to another Capacity Pool.

abstract CacheProperties properties()

Gets the properties property: Cache properties.

abstract Cache refresh()

Refreshes the resource to sync with Azure.

abstract Cache refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract Cache resetSmbPassword()

Resets the SMB password for the cache.

abstract Cache resetSmbPassword(Context context)

Resets the SMB password for the cache.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Cache resource.

abstract List<String> zones()

Gets the zones property: The availability zones.

Method Details

etag

public abstract String etag()

Gets the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").

Returns:

the etag value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract CacheInner innerModel()

Gets the inner com.azure.resourcemanager.netapp.fluent.models.CacheInner object.

Returns:

the inner object.

listPeeringPassphrases

public abstract PeeringPassphrases listPeeringPassphrases()

This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command.

Returns:

the response containing peering passphrases and commands for cluster and vserver peering.

listPeeringPassphrasesWithResponse

public abstract Response<PeeringPassphrases> listPeeringPassphrasesWithResponse(Context context)

This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command.

Parameters:

context - The context to associate with this operation.

Returns:

the response containing peering passphrases and commands for cluster and vserver peering along with Response<T>.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

poolChange

public abstract Cache poolChange(PoolChangeRequest body)

Moves Cache to another Capacity Pool.

Parameters:

body - Move cache to the pool supplied in the body of the operation.

Returns:

cache resource.

poolChange

public abstract Cache poolChange(PoolChangeRequest body, Context context)

Moves Cache to another Capacity Pool.

Parameters:

body - Move cache to the pool supplied in the body of the operation.
context - The context to associate with this operation.

Returns:

cache resource.

properties

public abstract CacheProperties properties()

Gets the properties property: Cache properties.

Returns:

the properties value.

refresh

public abstract Cache refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Cache refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resetSmbPassword

public abstract Cache resetSmbPassword()

Resets the SMB password for the cache.

Returns:

cache resource.

resetSmbPassword

public abstract Cache resetSmbPassword(Context context)

Resets the SMB password for the cache.

Parameters:

context - The context to associate with this operation.

Returns:

cache resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Cache.Update update()

Begins update for the Cache resource.

Returns:

the stage of resource update.

zones

public abstract List<String> zones()

Gets the zones property: The availability zones.

Returns:

the zones value.

Applies to