Agent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
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) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |