Interface StorageTarget
-
public interface StorageTarget
An immutable client-side representation of StorageTarget.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StorageTarget.Definition
The entirety of the StorageTarget definition.static interface
StorageTarget.DefinitionStages
The StorageTarget definition stages.static interface
StorageTarget.Update
The template for StorageTarget update.static interface
StorageTarget.UpdateStages
The StorageTarget update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobNfsTarget
blobNfs()
Gets the blobNfs property: Properties when targetType is blobNfs.ClfsTarget
clfs()
Gets the clfs property: Properties when targetType is clfs.void
dnsRefresh()
Tells a storage target to refresh its DNS information.void
dnsRefresh(com.azure.core.util.Context context)
Tells a storage target to refresh its DNS information.String
id()
Gets the id property: Fully qualified resource Id for the resource.StorageTargetInner
innerModel()
Gets the inner com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner object.List<NamespaceJunction>
junctions()
Gets the junctions property: List of Cache namespace junctions to target for namespace associations.String
location()
Gets the location property: Region name string.String
name()
Gets the name property: The name of the resource.Nfs3Target
nfs3()
Gets the nfs3 property: Properties when targetType is nfs3.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.StorageTarget
refresh()
Refreshes the resource to sync with Azure.StorageTarget
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.OperationalStateType
state()
Gets the state property: Storage target operational state.com.azure.core.management.SystemData
systemData()
Gets the systemData property: The system meta data relating to this resource.StorageTargetType
targetType()
Gets the targetType property: Type of the Storage Target.String
type()
Gets the type property: The type of the resource.UnknownTarget
unknown()
Gets the unknown property: Properties when targetType is unknown.StorageTarget.Update
update()
Begins update for the StorageTarget resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()
Gets the location property: Region name string.- Returns:
- the location value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: The system meta data relating to this resource.- Returns:
- the systemData value.
-
junctions
List<NamespaceJunction> junctions()
Gets the junctions property: List of Cache namespace junctions to target for namespace associations.- Returns:
- the junctions value.
-
targetType
StorageTargetType targetType()
Gets the targetType property: Type of the Storage Target.- Returns:
- the targetType value.
-
provisioningState
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.
-
state
OperationalStateType state()
Gets the state property: Storage target operational state.- Returns:
- the state value.
-
nfs3
Nfs3Target nfs3()
Gets the nfs3 property: Properties when targetType is nfs3.- Returns:
- the nfs3 value.
-
clfs
ClfsTarget clfs()
Gets the clfs property: Properties when targetType is clfs.- Returns:
- the clfs value.
-
unknown
UnknownTarget unknown()
Gets the unknown property: Properties when targetType is unknown.- Returns:
- the unknown value.
-
blobNfs
BlobNfsTarget blobNfs()
Gets the blobNfs property: Properties when targetType is blobNfs.- Returns:
- the blobNfs value.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
StorageTargetInner innerModel()
Gets the inner com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner object.- Returns:
- the inner object.
-
update
StorageTarget.Update update()
Begins update for the StorageTarget resource.- Returns:
- the stage of resource update.
-
refresh
StorageTarget refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
StorageTarget refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
dnsRefresh
void dnsRefresh()
Tells a storage target to refresh its DNS information.- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
dnsRefresh
void dnsRefresh(com.azure.core.util.Context context)
Tells a storage target to refresh its DNS information.- Parameters:
context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-