你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Agent Class

Definition

The Agent resource.

[Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentTypeConverter))]
public class Agent : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentTypeConverter))>]
type Agent = class
    interface IAgent
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Agent
Implements IAgent, IValidates
Inheritance
Agent
Attributes
Implements

Constructors

Agent()

Creates an new Agent instance.

Properties

AgentStatus

The Agent status.

ArcResourceId

The fully qualified resource ID of the Hybrid Compute resource for the Agent.

ArcVMUuid

The VM UUID of the Hybrid Compute resource for the Agent.

Description

A description for the Agent.

ErrorDetailCode

Error code reported by Agent

ErrorDetailMessage

Expanded description of reported error code

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

LastStatusUpdate

The last updated time of the Agent status.

LocalIPAddress

Local IP address reported by the Agent.

MemoryInMb

Available memory reported by the Agent, in MB.

Name

The name of the resource

NumberOfCores

Available compute cores reported by the Agent.

ProvisioningState

The provisioning state of this resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

TimeZone

The agent's local time zone represented in Windows format.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

UploadLimitScheduleWeeklyRecurrence

The set of weekly repeating recurrences of the WAN-link upload limit schedule.

UptimeInSeconds

Uptime of the Agent in seconds.

Version

The Agent version.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Agent.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Agent.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent.

FromJsonString(String)

Creates a new instance of Agent, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Agent into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to