Interface Agent
public interface Agent
An immutable client-side representation of Agent.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the Agent definition.static interfaceThe Agent definition stages.static interfaceThe template for Agent update.static interfaceThe Agent update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets 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.name()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.refresh()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.SystemDataGets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.timeZone()Gets the timeZone property: The agent's local time zone represented in Windows format.type()Gets the type property: The type of the resource.update()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
AgentPropertiesErrorDetails 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
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-