Share via


AgentProperties Class

Definition

The properties that determine the run agent configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.AgentPropertiesTypeConverter))]
public class AgentProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IAgentProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.AgentPropertiesTypeConverter))>]
type AgentProperties = class
    interface IAgentProperties
    interface IJsonSerializable
Public Class AgentProperties
Implements IAgentProperties
Inheritance
AgentProperties
Attributes
Implements

Constructors

AgentProperties()

Creates an new AgentProperties instance.

Properties

Cpu

The CPU configuration in terms of number of cores required for the run.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IAgentProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to