Language

ComputeProperties Class

Definition

The compute properties of the cluster. This includes the virtual-cores/memory and scaling options applied to servers in the cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.ComputePropertiesTypeConverter))]
public class ComputeProperties : Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IComputeProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.ComputePropertiesTypeConverter))>]
type ComputeProperties = class
    interface IComputeProperties
    interface IJsonSerializable
Public Class ComputeProperties
Implements IComputeProperties
Inheritance
ComputeProperties
Attributes
Implements

Constructors

Name Description
ComputeProperties()

Creates an new ComputeProperties instance.

Properties

Name Description
Tier

The compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size. Example values: 'M30', 'M40'.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ComputeProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ComputeProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IComputeProperties.

FromJsonString(String)

Creates a new instance of ComputeProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ComputeProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to