ResourceConfig Class

Definition

Function app resource requirements.

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

Constructors

ResourceConfig()

Creates an new ResourceConfig instance.

Properties

Cpu

Required CPU in cores, e.g. 0.5

Memory

Required memory, e.g. "1Gi"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceConfig.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to