Interface StorageTarget


public interface StorageTarget
An immutable client-side representation of StorageTarget.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the StorageTarget definition.
    static interface 
    The StorageTarget definition stages.
    static interface 
    The template for StorageTarget update.
    static interface 
    The StorageTarget update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the allocationPercentage property: The percentage of cache space allocated for this storage target.
    Gets the blobNfs property: Properties when targetType is blobNfs.
    Gets the clfs property: Properties when targetType is clfs.
    void
    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.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner object.
    Gets the junctions property: List of Cache namespace junctions to target for namespace associations.
    Gets the location property: Region name string.
    Gets the name property: The name of the resource.
    Gets the nfs3 property: Properties when targetType is nfs3.
    Gets the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    com.azure.core.management.Region
    Gets the region of the resource.
    Gets the name of the resource region.
    Gets the name of the resource group.
    Gets the state property: Storage target operational state.
    com.azure.core.management.SystemData
    Gets the systemData property: The system meta data relating to this resource.
    Gets the targetType property: Type of the Storage Target.
    Gets the type property: The type of the resource.
    Gets the unknown property: Properties when targetType is unknown.
    Begins update for the StorageTarget resource.
  • Method Details

    • 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

      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.
    • allocationPercentage

      Integer allocationPercentage()
      Gets the allocationPercentage property: The percentage of cache space allocated for this storage target.
      Returns:
      the allocationPercentage 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.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      StorageTargetInner innerModel()
      Gets the inner com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner object.
      Returns:
      the inner object.
    • 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.