StorageTargetInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storagecache. models. StorageTargetResource - com.
azure. resourcemanager. storagecache. fluent. models. StorageTargetInner
- com.
- com.
- com.
public final class StorageTargetInner
extends StorageTargetResource
Type of the Storage Target.
Constructor Summary
Constructor | Description |
---|---|
StorageTargetInner() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
allocationPercentage()
Get the allocation |
Blob |
blobNfs()
Get the blob |
Clfs |
clfs()
Get the clfs property: Properties when target |
List<Namespace |
junctions()
Get the junctions property: List of cache namespace junctions to target for namespace associations. |
Nfs3Target |
nfs3()
Get the nfs3 property: Properties when target |
Provisioning |
provisioningState()
Get the provisioning |
Operational |
state()
Get the state property: Storage target operational state. |
Storage |
targetType()
Get the target |
Unknown |
unknown()
Get the unknown property: Properties when target |
void |
validate()
Validates the instance. |
Storage |
withBlobNfs(BlobNfsTarget blobNfs)
Set the blob |
Storage |
withClfs(ClfsTarget clfs)
Set the clfs property: Properties when target |
Storage |
withJunctions(List<NamespaceJunction> junctions)
Set the junctions property: List of cache namespace junctions to target for namespace associations. |
Storage |
withNfs3(Nfs3Target nfs3)
Set the nfs3 property: Properties when target |
Storage |
withState(OperationalStateType state)
Set the state property: Storage target operational state. |
Storage |
withTargetType(StorageTargetType targetType)
Set the target |
Storage |
withUnknown(UnknownTarget unknown)
Set the unknown property: Properties when target |
Methods inherited from ProxyResource
Methods inherited from StorageTargetResource
Methods inherited from java.lang.Object
Constructor Details
StorageTargetInner
public StorageTargetInner()
Creates an instance of StorageTargetInner class.
Method Details
allocationPercentage
public Integer allocationPercentage()
Get the allocationPercentage property: The percentage of cache space allocated for this storage target.
Returns:
blobNfs
public BlobNfsTarget blobNfs()
Get the blobNfs property: Properties when targetType is blobNfs.
Returns:
clfs
public ClfsTarget clfs()
Get the clfs property: Properties when targetType is clfs.
Returns:
junctions
public List
Get the junctions property: List of cache namespace junctions to target for namespace associations.
Returns:
nfs3
public Nfs3Target nfs3()
Get the nfs3 property: Properties when targetType is nfs3.
Returns:
provisioningState
public ProvisioningStateType provisioningState()
Get the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md\#provisioningstate-property.
Returns:
state
public OperationalStateType state()
Get the state property: Storage target operational state.
Returns:
targetType
public StorageTargetType targetType()
Get the targetType property: Type of the Storage Target.
Returns:
unknown
public UnknownTarget unknown()
Get the unknown property: Properties when targetType is unknown.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
StorageTargetInner.validate()withBlobNfs
public StorageTargetInner withBlobNfs(BlobNfsTarget blobNfs)
Set the blobNfs property: Properties when targetType is blobNfs.
Parameters:
Returns:
withClfs
public StorageTargetInner withClfs(ClfsTarget clfs)
Set the clfs property: Properties when targetType is clfs.
Parameters:
Returns:
withJunctions
public StorageTargetInner withJunctions(List
Set the junctions property: List of cache namespace junctions to target for namespace associations.
Parameters:
Returns:
withNfs3
public StorageTargetInner withNfs3(Nfs3Target nfs3)
Set the nfs3 property: Properties when targetType is nfs3.
Parameters:
Returns:
withState
public StorageTargetInner withState(OperationalStateType state)
Set the state property: Storage target operational state.
Parameters:
Returns:
withTargetType
public StorageTargetInner withTargetType(StorageTargetType targetType)
Set the targetType property: Type of the Storage Target.
Parameters:
Returns:
withUnknown
public StorageTargetInner withUnknown(UnknownTarget unknown)
Set the unknown property: Properties when targetType is unknown.
Parameters:
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