Delen via


AppPlatformBuildResourceRequirements Class

Definition

Resource request payload of Build Resource.

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

Constructors

AppPlatformBuildResourceRequirements()

Initializes a new instance of AppPlatformBuildResourceRequirements.

Properties

Cpu

Optional Cpu allocated to the build resource. 1 core can be represented by 1 or 1000m. The default value is 1, this should not exceed build service agent pool cpu size.

Memory

Optional Memory allocated to the build resource. 1 GB can be represented by 1Gi or 1024Mi. The default value is 2Gi, this should not exceed build service agent pool memory size.

Explicit Interface Implementations

IJsonModel<AppPlatformBuildResourceRequirements>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppPlatformBuildResourceRequirements>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppPlatformBuildResourceRequirements>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppPlatformBuildResourceRequirements>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppPlatformBuildResourceRequirements>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to