MongoClusterData Class

Definition

A class representing the MongoCluster data model. Represents a mongo cluster resource.

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

Constructors

MongoClusterData(AzureLocation)

Initializes a new instance of MongoClusterData.

Properties

AdministratorLogin

The administrator's login for the mongo cluster.

AdministratorLoginPassword

The password of the administrator login.

ClusterStatus

A status of the mongo cluster.

ConnectionString

The default mongo connection string for the cluster.

CreateMode

The mode to create a mongo cluster.

EarliestRestoreTime

Earliest restore timestamp in UTC ISO8601 format.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
NodeGroupSpecs

The list of node group specs in the cluster.

ProvisioningState

A provisioning state of the mongo cluster.

ResourceType

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

(Inherited from ResourceData)
RestoreParameters

Parameters used for restore operations.

ServerVersion

The Mongo DB server version. Defaults to the latest available version if not specified.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<MongoClusterData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MongoClusterData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoClusterData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoClusterData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MongoClusterData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to