MongoCluster 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.
Represents a mongo cluster resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.MongoClusterTypeConverter))]
public class MongoCluster : Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IMongoCluster, Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.MongoClusterTypeConverter))>]
type MongoCluster = class
interface IMongoCluster
interface IJsonSerializable
interface ITrackedResource
interface IResource
interface IValidates
Public Class MongoCluster
Implements IMongoCluster, IValidates
- Inheritance
-
MongoCluster
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| MongoCluster() |
Creates an new MongoCluster 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. |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| IdentityPrincipalId |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| IdentityTenantId |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| IdentityType |
The type of managed identity assigned to this resource. |
| IdentityUserAssignedIdentity |
The identities assigned to this resource by the user. |
| 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. |
| Location |
The geo-location where the resource lives |
| Name |
The name of the resource |
| 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. |
| ResourceGroupName |
Gets the resource group name |
| 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. |
| 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. |
| Tag |
Resource tags. |
| 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 MongoCluster. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MongoCluster. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IMongoCluster. |
| FromJsonString(String) |
Creates a new instance of MongoCluster, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of MongoCluster into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |