StorageTarget Interface

public interface StorageTarget

An immutable client-side representation of StorageTarget.

Method Summary

Modifier and Type Method and Description
abstract Integer allocationPercentage()

Gets the allocationPercentage property: The percentage of cache space allocated for this storage target.

abstract BlobNfsTarget blobNfs()

Gets the blobNfs property: Properties when targetType is blobNfs.

abstract ClfsTarget clfs()

Gets the clfs property: Properties when targetType is clfs.

abstract void dnsRefresh()

Tells a storage target to refresh its DNS information.

abstract void dnsRefresh(Context context)

Tells a storage target to refresh its DNS information.

abstract String id()

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

abstract StorageTargetInner innerModel()

Gets the inner com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner object.

abstract List<NamespaceJunction> junctions()

Gets the junctions property: List of cache namespace junctions to target for namespace associations.

abstract String location()

Gets the location property: Region name string.

abstract String name()

Gets the name property: The name of the resource.

abstract Nfs3Target nfs3()

Gets the nfs3 property: Properties when targetType is nfs3.

abstract ProvisioningStateType provisioningState()

Gets the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.

abstract StorageTarget refresh()

Refreshes the resource to sync with Azure.

abstract StorageTarget 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 String resourceGroupName()

Gets the name of the resource group.

abstract OperationalStateType state()

Gets the state property: Storage target operational state.

abstract SystemData systemData()

Gets the systemData property: The system meta data relating to this resource.

abstract StorageTargetType targetType()

Gets the targetType property: Type of the Storage Target.

abstract String type()

Gets the type property: The type of the resource.

abstract UnknownTarget unknown()

Gets the unknown property: Properties when targetType is unknown.

abstract Update update()

Begins update for the StorageTarget resource.

Method Details

allocationPercentage

public abstract Integer allocationPercentage()

Gets the allocationPercentage property: The percentage of cache space allocated for this storage target.

Returns:

the allocationPercentage value.

blobNfs

public abstract BlobNfsTarget blobNfs()

Gets the blobNfs property: Properties when targetType is blobNfs.

Returns:

the blobNfs value.

clfs

public abstract ClfsTarget clfs()

Gets the clfs property: Properties when targetType is clfs.

Returns:

the clfs value.

dnsRefresh

public abstract void dnsRefresh()

Tells a storage target to refresh its DNS information.

dnsRefresh

public abstract void dnsRefresh(Context context)

Tells a storage target to refresh its DNS information.

Parameters:

context - The context to associate with this operation.

id

public abstract String id()

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

Returns:

the id value.

innerModel

public abstract StorageTargetInner innerModel()

Gets the inner com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner object.

Returns:

the inner object.

junctions

public abstract List junctions()

Gets the junctions property: List of cache namespace junctions to target for namespace associations.

Returns:

the junctions value.

location

public abstract String location()

Gets the location property: Region name string.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

nfs3

public abstract Nfs3Target nfs3()

Gets the nfs3 property: Properties when targetType is nfs3.

Returns:

the nfs3 value.

provisioningState

public abstract ProvisioningStateType provisioningState()

Gets the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md\#provisioningstate-property.

Returns:

the provisioningState value.

refresh

public abstract StorageTarget refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract StorageTarget 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.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

state

public abstract OperationalStateType state()

Gets the state property: Storage target operational state.

Returns:

the state value.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

targetType

public abstract StorageTargetType targetType()

Gets the targetType property: Type of the Storage Target.

Returns:

the targetType value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

unknown

public abstract UnknownTarget unknown()

Gets the unknown property: Properties when targetType is unknown.

Returns:

the unknown value.

update

public abstract StorageTarget.Update update()

Begins update for the StorageTarget resource.

Returns:

the stage of resource update.

Applies to