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

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

    Modifier and Type
    Method
    Description
    Gets the agentStatus property: The Agent status.
    Gets the agentVersion property: The Agent version.
    Gets the arcResourceId property: The fully qualified resource ID of the Hybrid Compute resource for the Agent.
    Gets the arcVmUuid property: The VM UUID of the Hybrid Compute resource for the Agent.
    Gets the description property: A description for the Agent.
    Gets the errorDetails property: The errorDetails property.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.storagemover.fluent.models.AgentInner object.
    Gets the lastStatusUpdate property: The last updated time of the Agent status.
    Gets the localIpAddress property: Local IP address reported by the Agent.
    Gets the memoryInMB property: Available memory reported by the Agent, in MB.
    Gets the name property: The name of the resource.
    Gets the numberOfCores property: Available compute cores reported by the Agent.
    Gets the provisioningState property: The provisioning state of this resource.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the name of the resource group.
    com.azure.core.management.SystemData
    Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Gets the timeZone property: The agent's local time zone represented in Windows format.
    Gets the type property: The type of the resource.
    Begins update for the Agent resource.
    Gets the uploadLimitSchedule property: The WAN-link upload limit schedule that applies to any Job Run the agent executes.
    Gets the uptimeInSeconds property: Uptime of the Agent in seconds.
  • 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.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • description

      String description()
      Gets the description property: A description for the Agent.
      Returns:
      the description value.
    • agentVersion

      String agentVersion()
      Gets the agentVersion property: The Agent version.
      Returns:
      the agentVersion value.
    • arcResourceId

      String arcResourceId()
      Gets the arcResourceId property: The fully qualified resource ID of the Hybrid Compute resource for the Agent.
      Returns:
      the arcResourceId value.
    • arcVmUuid

      String arcVmUuid()
      Gets the arcVmUuid property: The VM UUID of the Hybrid Compute resource for the Agent.
      Returns:
      the arcVmUuid value.
    • agentStatus

      AgentStatus agentStatus()
      Gets the agentStatus property: The Agent status.
      Returns:
      the agentStatus value.
    • lastStatusUpdate

      OffsetDateTime lastStatusUpdate()
      Gets the lastStatusUpdate property: The last updated time of the Agent status.
      Returns:
      the lastStatusUpdate value.
    • localIpAddress

      String localIpAddress()
      Gets the localIpAddress property: Local IP address reported by the Agent.
      Returns:
      the localIpAddress value.
    • memoryInMB

      Long memoryInMB()
      Gets the memoryInMB property: Available memory reported by the Agent, in MB.
      Returns:
      the memoryInMB value.
    • numberOfCores

      Long numberOfCores()
      Gets the numberOfCores property: Available compute cores reported by the Agent.
      Returns:
      the numberOfCores value.
    • uptimeInSeconds

      Long uptimeInSeconds()
      Gets the uptimeInSeconds property: Uptime of the Agent in seconds.
      Returns:
      the uptimeInSeconds value.
    • timeZone

      String timeZone()
      Gets the timeZone property: The agent's local time zone represented in Windows format.
      Returns:
      the timeZone value.
    • uploadLimitSchedule

      UploadLimitSchedule uploadLimitSchedule()
      Gets the uploadLimitSchedule property: The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The schedule is interpreted with the agent's local time.
      Returns:
      the uploadLimitSchedule value.
    • errorDetails

      Gets the errorDetails property: The errorDetails property.
      Returns:
      the errorDetails value.
    • provisioningState

      ProvisioningState provisioningState()
      Gets the provisioningState property: The provisioning state of this resource.
      Returns:
      the provisioningState value.
    • resourceGroupName

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

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

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

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

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