Share via


AgentProfile Class

Definition

The agent profile of the machines in the pool.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.AgentProfileTypeConverter))]
public class AgentProfile : Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.IAgentProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.AgentProfileTypeConverter))>]
type AgentProfile = class
    interface IAgentProfile
    interface IJsonSerializable
Public Class AgentProfile
Implements IAgentProfile
Inheritance
AgentProfile
Attributes
Implements

Constructors

AgentProfile()

Creates an new AgentProfile instance.

Properties

Kind

Discriminator property for AgentProfile.

ResourcePrediction

Defines pool buffer/stand-by agents.

ResourcePredictionsProfile

Defines how the pool buffer/stand-by agents is provided.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.IAgentProfile. Note: the Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.IAgentProfile interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to