NodeGroupSpec Class

Definition

Specification for a node group.

public class NodeGroupSpec : Azure.ResourceManager.CosmosDB.Models.NodeGroupProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.NodeGroupSpec>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.NodeGroupSpec>
type NodeGroupSpec = class
    inherit NodeGroupProperties
    interface IJsonModel<NodeGroupSpec>
    interface IPersistableModel<NodeGroupSpec>
Public Class NodeGroupSpec
Inherits NodeGroupProperties
Implements IJsonModel(Of NodeGroupSpec), IPersistableModel(Of NodeGroupSpec)
Inheritance
NodeGroupSpec
Implements

Constructors

NodeGroupSpec()

Initializes a new instance of NodeGroupSpec.

Properties

DiskSizeInGB

The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.

(Inherited from NodeGroupProperties)
EnableHa

Whether high availability is enabled on the node group.

(Inherited from NodeGroupProperties)
Kind

The node type deployed in the node group.

NodeCount

The number of nodes in the node group.

Sku

The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.

(Inherited from NodeGroupProperties)

Explicit Interface Implementations

IJsonModel<NodeGroupProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from NodeGroupProperties)
IJsonModel<NodeGroupProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NodeGroupProperties)
IJsonModel<NodeGroupSpec>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NodeGroupSpec>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NodeGroupProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NodeGroupProperties)
IPersistableModel<NodeGroupProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from NodeGroupProperties)
IPersistableModel<NodeGroupProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NodeGroupProperties)
IPersistableModel<NodeGroupSpec>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NodeGroupSpec>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NodeGroupSpec>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to