Compartilhar via


ArmCosmosDBModelFactory.MongoClusterData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

createMode
Nullable<CosmosDBAccountCreateMode>

O modo para criar um cluster mongo.

restoreParameters
MongoClusterRestoreParameters

Parâmetros usados para operações de restauração.

administratorLogin
String

O logon do administrador para o cluster mongo.

administratorLoginPassword
String

A senha do logon do administrador.

serverVersion
String

A versão do servidor do Mongo DB. O padrão será a versão mais recente disponível, se não for especificada.

connectionString
String

A cadeia de conexão padrão do Mongo para o cluster.

earliestRestoreTime
String

Carimbo de data/hora de restauração mais antigo no formato UTC ISO8601.

provisioningState
Nullable<CosmosDBProvisioningState>

Um estado de provisionamento do cluster mongo.

clusterStatus
Nullable<MongoClusterStatus>

Um status do cluster mongo.

nodeGroupSpecs
IEnumerable<NodeGroupSpec>

A lista de especificações de grupo de nós no cluster.

Retornos

Uma nova MongoClusterData instância para zombar.

Aplica-se a