Share via


SiteAgentProperties Class

Definition

Class for site agent properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.SiteAgentPropertiesTypeConverter))]
public class SiteAgentProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.ISiteAgentProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.SiteAgentPropertiesTypeConverter))>]
type SiteAgentProperties = class
    interface ISiteAgentProperties
    interface IJsonSerializable
Public Class SiteAgentProperties
Implements ISiteAgentProperties
Inheritance
SiteAgentProperties
Attributes
Implements

Constructors

SiteAgentProperties()

Creates an new SiteAgentProperties instance.

Properties

Id

ID of the agent.

KeyVaultId

Key vault ARM Id.

KeyVaultUri

Key vault URI.

LastHeartBeatUtc

Last heartbeat time of the agent in UTC.

Version

Version of the agent.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SiteAgentProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SiteAgentProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.ISiteAgentProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SiteAgentProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to