AgentProperties 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 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() |