Interface StorageTarget


  • public interface StorageTarget
    An immutable client-side representation of StorageTarget.
    • 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.