Share via


ContainerResources Class

Definition

Container App container resource requirements.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ContainerResourcesTypeConverter))]
public class ContainerResources : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IContainerResources
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ContainerResourcesTypeConverter))>]
type ContainerResources = class
    interface IContainerResources
    interface IJsonSerializable
Public Class ContainerResources
Implements IContainerResources
Inheritance
ContainerResources
Attributes
Implements

Constructors

ContainerResources()

Creates an new ContainerResources instance.

Properties

Cpu

Required CPU in cores, e.g. 0.5

Memory

Required memory, e.g. "250Mb"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerResources.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerResources.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IContainerResources.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerResources into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to