ArmCosmosDBModelFactory.MongoClusterData Method
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.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- createMode
- Nullable<CosmosDBAccountCreateMode>
The mode to create a mongo cluster.
- restoreParameters
- MongoClusterRestoreParameters
Parameters used for restore operations.
- administratorLogin
- String
The administrator's login for the mongo cluster.
- administratorLoginPassword
- String
The password of the administrator login.
- serverVersion
- String
The Mongo DB server version. Defaults to the latest available version if not specified.
- connectionString
- String
The default mongo connection string for the cluster.
- earliestRestoreTime
- String
Earliest restore timestamp in UTC ISO8601 format.
- provisioningState
- Nullable<CosmosDBProvisioningState>
A provisioning state of the mongo cluster.
- clusterStatus
- Nullable<MongoClusterStatus>
A status of the mongo cluster.
- nodeGroupSpecs
- IEnumerable<NodeGroupSpec>
The list of node group specs in the cluster.
Returns
A new MongoClusterData instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor