Freigeben über


ArmCosmosDBModelFactory.MongoClusterData Methode

Definition

Initialisiert eine neue instance von MongoClusterData.

public static Azure.ResourceManager.CosmosDB.MongoClusterData MongoClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, Azure.ResourceManager.CosmosDB.Models.MongoClusterRestoreParameters restoreParameters = default, string administratorLogin = default, string administratorLoginPassword = default, string serverVersion = default, string connectionString = default, string earliestRestoreTime = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBProvisioningState? provisioningState = default, Azure.ResourceManager.CosmosDB.Models.MongoClusterStatus? clusterStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.NodeGroupSpec> nodeGroupSpecs = default);
static member MongoClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * Azure.ResourceManager.CosmosDB.Models.MongoClusterRestoreParameters * string * string * string * string * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBProvisioningState> * Nullable<Azure.ResourceManager.CosmosDB.Models.MongoClusterStatus> * seq<Azure.ResourceManager.CosmosDB.Models.NodeGroupSpec> -> Azure.ResourceManager.CosmosDB.MongoClusterData
Public Shared Function MongoClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional restoreParameters As MongoClusterRestoreParameters = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional serverVersion As String = Nothing, Optional connectionString As String = Nothing, Optional earliestRestoreTime As String = Nothing, Optional provisioningState As Nullable(Of CosmosDBProvisioningState) = Nothing, Optional clusterStatus As Nullable(Of MongoClusterStatus) = Nothing, Optional nodeGroupSpecs As IEnumerable(Of NodeGroupSpec) = Nothing) As MongoClusterData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

createMode
Nullable<CosmosDBAccountCreateMode>

Der Modus zum Erstellen eines Mongoclusters.

restoreParameters
MongoClusterRestoreParameters

Parameter, die für Wiederherstellungsvorgänge verwendet werden.

administratorLogin
String

Die Administratoranmeldung für den Mongo-Cluster.

administratorLoginPassword
String

Das Kennwort der Administratoranmeldung.

serverVersion
String

Die Mongo DB-Serverversion. Wenn nicht angegeben, wird standardmäßig die neueste verfügbare Version verwendet.

connectionString
String

Die Standardmäßige Mongo-Verbindungszeichenfolge für den Cluster.

earliestRestoreTime
String

Frühester Wiederherstellungszeitstempel im UTC-Format ISO8601.

provisioningState
Nullable<CosmosDBProvisioningState>

Ein Bereitstellungsstatus des Mongoclusters.

clusterStatus
Nullable<MongoClusterStatus>

Eine status des Mongoclusters.

nodeGroupSpecs
IEnumerable<NodeGroupSpec>

Die Liste der Knotengruppenspezifikationen im Cluster.

Gibt zurück

Eine neue MongoClusterData instance zum Simulieren.

Gilt für: