Language

Cluster Class

Definition

The MongoDB Atlas Cluster resource type. A cluster is a managed database deployment within a project.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MongoDB.Models.ClusterTypeConverter))]
public class Cluster : Microsoft.Azure.PowerShell.Cmdlets.MongoDB.Models.ICluster, Microsoft.Azure.PowerShell.Cmdlets.MongoDB.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MongoDB.Models.ClusterTypeConverter))>]
type Cluster = class
    interface ICluster
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class Cluster
Implements ICluster, IValidates
Inheritance
Cluster
Attributes
Implements

Constructors

Name Description
Cluster()

Creates an new Cluster instance.

Properties

Name Description
Backup

Whether backups are active for the cluster; null if undetermined.

ClusterName

Name of the MongoDB Atlas Cluster.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

MongoDbVersion

MongoDB version running on the cluster.

Name

The name of the resource

ProvisioningState

Provisioning state of the resource.

RegionName

Azure region where the cluster is deployed.

ResourceGroupName

Gets the resource group name

State

Current state of the cluster.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tier

Cluster tier (FREE, FLEX, M10, M30).

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Cluster.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Cluster.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MongoDB.Models.ICluster.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Cluster into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to