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

      String description()
      Gets the description property: Description for the share.
      Returns:
      the description value.
    • shareStatus

      ShareStatus shareStatus()
      Gets the shareStatus property: Current status of the share.
      Returns:
      the shareStatus value.
    • monitoringStatus

      MonitoringStatus monitoringStatus()
      Gets the monitoringStatus property: Current monitoring status of the share.
      Returns:
      the monitoringStatus value.
    • azureContainerInfo

      AzureContainerInfo azureContainerInfo()
      Gets the azureContainerInfo property: Azure container mapping for the share.
      Returns:
      the azureContainerInfo value.
    • accessProtocol

      ShareAccessProtocol accessProtocol()
      Gets the accessProtocol property: Access protocol to be used by the share.
      Returns:
      the accessProtocol value.
    • userAccessRights

      List<UserAccessRight> userAccessRights()
      Gets the userAccessRights property: Mapping of users and corresponding access rights on the share (required for SMB protocol).
      Returns:
      the userAccessRights value.
    • clientAccessRights

      List<ClientAccessRight> clientAccessRights()
      Gets the clientAccessRights property: List of IP addresses and corresponding access rights on the share(required for NFS protocol).
      Returns:
      the clientAccessRights value.
    • refreshDetails

      RefreshDetails refreshDetails()
      Gets the refreshDetails property: Details of the refresh job on this share.
      Returns:
      the refreshDetails value.
    • shareMappings

      List<MountPointMap> shareMappings()
      Gets the shareMappings property: Share mount point to the role.
      Returns:
      the shareMappings value.
    • dataPolicy

      DataPolicy dataPolicy()
      Gets the dataPolicy property: Data policy of the share.
      Returns:
      the dataPolicy value.
    • resourceGroupName

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

      ShareInner innerModel()
      Gets the inner com.azure.resourcemanager.databoxedge.fluent.models.ShareInner object.
      Returns:
      the inner object.
    • update

      Share.Update update()
      Begins update for the Share resource.
      Returns:
      the stage of resource update.
    • refresh

      Share refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Share 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.