Dela via


FunctionAppResourceConfig Class

Definition

Function app resource requirements.

public class FunctionAppResourceConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.FunctionAppResourceConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.FunctionAppResourceConfig>
type FunctionAppResourceConfig = class
    interface IJsonModel<FunctionAppResourceConfig>
    interface IPersistableModel<FunctionAppResourceConfig>
Public Class FunctionAppResourceConfig
Implements IJsonModel(Of FunctionAppResourceConfig), IPersistableModel(Of FunctionAppResourceConfig)
Inheritance
FunctionAppResourceConfig
Implements

Constructors

FunctionAppResourceConfig()

Initializes a new instance of FunctionAppResourceConfig.

Properties

Cpu

Required CPU in cores, e.g. 0.5.

Memory

Required memory, e.g. "1Gi".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FunctionAppResourceConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FunctionAppResourceConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FunctionAppResourceConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FunctionAppResourceConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FunctionAppResourceConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to