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 allocation |
abstract
Blob |
blobNfs()
Gets the blob |
abstract
Clfs |
clfs()
Gets the clfs property: Properties when target |
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
Storage |
innerModel()
Gets the inner com. |
abstract
List<Namespace |
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 target |
abstract
Provisioning |
provisioningState()
Gets the provisioning |
abstract
Storage |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Storage |
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
Operational |
state()
Gets the state property: Storage target operational state. |
abstract
System |
systemData()
Gets the system |
abstract
Storage |
targetType()
Gets the target |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract
Unknown |
unknown()
Gets the unknown property: Properties when target |
abstract Update |
update()
Begins update for the Storage |
Method Details
allocationPercentage
public abstract Integer allocationPercentage()
Gets the allocationPercentage property: The percentage of cache space allocated for this storage target.
Returns:
blobNfs
public abstract BlobNfsTarget blobNfs()
Gets the blobNfs property: Properties when targetType is blobNfs.
Returns:
clfs
public abstract ClfsTarget clfs()
Gets the clfs property: Properties when targetType is clfs.
Returns:
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:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract StorageTargetInner innerModel()
Gets the inner com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner object.
Returns:
junctions
public abstract List
Gets the junctions property: List of cache namespace junctions to target for namespace associations.
Returns:
location
public abstract String location()
Gets the location property: Region name string.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
nfs3
public abstract Nfs3Target nfs3()
Gets the nfs3 property: Properties when targetType is nfs3.
Returns:
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:
refresh
public abstract StorageTarget refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract StorageTarget refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
state
public abstract OperationalStateType state()
Gets the state property: Storage target operational state.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: The system meta data relating to this resource.
Returns:
targetType
public abstract StorageTargetType targetType()
Gets the targetType property: Type of the Storage Target.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
unknown
public abstract UnknownTarget unknown()
Gets the unknown property: Properties when targetType is unknown.
Returns:
update
public abstract StorageTarget.Update update()
Begins update for the StorageTarget resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for