MongoClusterProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The properties of a mongo cluster.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.MongoClusterPropertiesTypeConverter))]
public class MongoClusterProperties : Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IMongoClusterProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.MongoClusterPropertiesTypeConverter))>]
type MongoClusterProperties = class
interface IMongoClusterProperties
interface IJsonSerializable
Public Class MongoClusterProperties
Implements IMongoClusterProperties
- Inheritance
-
MongoClusterProperties
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| MongoClusterProperties() |
Creates an new MongoClusterProperties instance. |
Properties
| Name | Description |
|---|---|
| AdministratorPassword |
The administrator password. |
| AdministratorUserName |
The administrator user name. |
| AuthConfigAllowedMode |
Allowed authentication modes for data access on the cluster. |
| BackupEarliestRestoreTime |
Earliest restore timestamp in UTC ISO8601 format. |
| ClusterStatus |
The status of the mongo cluster. |
| ComputeTier |
The compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size. Example values: 'M30', 'M40'. |
| ConnectionString |
The default mongo connection string for the cluster. |
| CreateMode |
The mode to create a mongo cluster. |
| CustomerManagedKeyEncryptionKeyUrl |
The URI of the key vault key used for encryption. |
| DataApiMode |
The mode to indicate whether the Mongo Data API is enabled for a cluster. |
| HighAvailabilityTargetMode |
The target high availability mode requested for the cluster. |
| InfrastructureVersion |
The infrastructure version the cluster is provisioned on. |
| KeyEncryptionKeyIdentityType |
The type of identity. Only 'UserAssignedIdentity' is supported. |
| KeyEncryptionKeyIdentityUserAssignedIdentityResourceId |
The user assigned identity resource id. |
| NetworkBypassMode |
The network bypass mode for the cluster. Setting to 'AzureCosmosDB' allows Azure Cosmos DB service to bypass network restrictions. |
| PreviewFeature |
List of private endpoint connections. |
| PrivateEndpointConnection |
List of private endpoint connections. |
| ProvisioningState |
The provisioning state of the mongo cluster. |
| PublicNetworkAccess |
Whether or not public endpoint access is allowed for this mongo cluster. |
| ReplicaParameterSourceLocation |
The location of the source cluster |
| ReplicaParameterSourceResourceId |
The id of the replication source cluster. |
| ReplicaReplicationState |
The replication link state of the replica cluster. |
| ReplicaRole |
The replication role of the cluster |
| ReplicaSourceResourceId |
The resource id the source cluster for the replica cluster. |
| RestoreParameterPointInTimeUtc |
UTC point in time to restore a mongo cluster |
| RestoreParameterSourceResourceId |
Resource ID to locate the source cluster to restore |
| ServerVersion |
The Mongo DB server version. Defaults to the latest available version if not specified. |
| ShardingShardCount |
Number of shards to provision on the cluster. |
| StorageSizeGb |
The size of the data disk assigned to each server. |
| StorageType |
The type of storage to provision the cluster servers with. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MongoClusterProperties. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MongoClusterProperties. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IMongoClusterProperties. |
| FromJsonString(String) |
Creates a new instance of MongoClusterProperties, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of MongoClusterProperties into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |