Share via


ContainerGroupElasticProfile Class

Definition

Describes the elastic profile of the NGroup.

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

Constructors

ContainerGroupElasticProfile()

Initializes a new instance of ContainerGroupElasticProfile.

Properties

DesiredCount

Gets or sets the desired count.

GuidNamingPrefix

The prefix can be used when there are tooling limitations (e.g. on the Azure portal where CGs from multiple NGroups exist in the same RG). The prefix with the suffixed resource name must still follow Azure resource naming guidelines.

MaintainDesiredCount

Flag that indicates whether desiredCount should be maintained when customer deletes SPECIFIC container groups (CGs) from the NGroups. In this case, new CGs will be created by NGroup to compensate for the specific deleted ones.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerGroupElasticProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerGroupElasticProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerGroupElasticProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerGroupElasticProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerGroupElasticProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to