Class StorageTargetInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.storagecache.models.StorageTargetResource
com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner
Type of the Storage Target.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allocationPercentage property: The percentage of cache space allocated for this storage target.blobNfs()
Get the blobNfs property: Properties when targetType is blobNfs.clfs()
Get the clfs property: Properties when targetType is clfs.Get the junctions property: List of Cache namespace junctions to target for namespace associations.nfs3()
Get the nfs3 property: Properties when targetType is nfs3.Get the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.state()
Get the state property: Storage target operational state.Get the targetType property: Type of the Storage Target.unknown()
Get the unknown property: Properties when targetType is unknown.void
validate()
Validates the instance.withBlobNfs
(BlobNfsTarget blobNfs) Set the blobNfs property: Properties when targetType is blobNfs.withClfs
(ClfsTarget clfs) Set the clfs property: Properties when targetType is clfs.withJunctions
(List<NamespaceJunction> junctions) Set the junctions property: List of Cache namespace junctions to target for namespace associations.withNfs3
(Nfs3Target nfs3) Set the nfs3 property: Properties when targetType is nfs3.withState
(OperationalStateType state) Set the state property: Storage target operational state.withTargetType
(StorageTargetType targetType) Set the targetType property: Type of the Storage Target.withUnknown
(UnknownTarget unknown) Set the unknown property: Properties when targetType is unknown.Methods inherited from class com.azure.resourcemanager.storagecache.models.StorageTargetResource
location, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
StorageTargetInner
public StorageTargetInner()
-
-
Method Details
-
junctions
Get the junctions property: List of Cache namespace junctions to target for namespace associations.- Returns:
- the junctions value.
-
withJunctions
Set the junctions property: List of Cache namespace junctions to target for namespace associations.- Parameters:
junctions
- the junctions value to set.- Returns:
- the StorageTargetInner object itself.
-
targetType
Get the targetType property: Type of the Storage Target.- Returns:
- the targetType value.
-
withTargetType
Set the targetType property: Type of the Storage Target.- Parameters:
targetType
- the targetType value to set.- Returns:
- the StorageTargetInner object itself.
-
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:
- the provisioningState value.
-
state
Get the state property: Storage target operational state.- Returns:
- the state value.
-
withState
Set the state property: Storage target operational state.- Parameters:
state
- the state value to set.- Returns:
- the StorageTargetInner object itself.
-
nfs3
Get the nfs3 property: Properties when targetType is nfs3.- Returns:
- the nfs3 value.
-
withNfs3
Set the nfs3 property: Properties when targetType is nfs3.- Parameters:
nfs3
- the nfs3 value to set.- Returns:
- the StorageTargetInner object itself.
-
clfs
Get the clfs property: Properties when targetType is clfs.- Returns:
- the clfs value.
-
withClfs
Set the clfs property: Properties when targetType is clfs.- Parameters:
clfs
- the clfs value to set.- Returns:
- the StorageTargetInner object itself.
-
unknown
Get the unknown property: Properties when targetType is unknown.- Returns:
- the unknown value.
-
withUnknown
Set the unknown property: Properties when targetType is unknown.- Parameters:
unknown
- the unknown value to set.- Returns:
- the StorageTargetInner object itself.
-
blobNfs
Get the blobNfs property: Properties when targetType is blobNfs.- Returns:
- the blobNfs value.
-
withBlobNfs
Set the blobNfs property: Properties when targetType is blobNfs.- Parameters:
blobNfs
- the blobNfs value to set.- Returns:
- the StorageTargetInner object itself.
-
allocationPercentage
Get the allocationPercentage property: The percentage of cache space allocated for this storage target.- Returns:
- the allocationPercentage value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classStorageTargetResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-