Share via


AppPlatformDeploymentResourceRequirements Class

Definition

Deployment resource request payload.

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

Constructors

AppPlatformDeploymentResourceRequirements()

Initializes a new instance of AppPlatformDeploymentResourceRequirements.

Properties

Cpu

Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier.

Memory

Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier.

Explicit Interface Implementations

IJsonModel<AppPlatformDeploymentResourceRequirements>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppPlatformDeploymentResourceRequirements>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppPlatformDeploymentResourceRequirements>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppPlatformDeploymentResourceRequirements>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppPlatformDeploymentResourceRequirements>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to