Udostępnij za pośrednictwem


ArmMongoClusterModelFactory.MongoClusterProperties Method

Definition

Initializes a new instance of MongoClusterProperties.

public static Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties MongoClusterProperties (Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode? createMode = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterRestoreContent restoreParameters = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicaContent replicaParameters = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties administrator = default, string serverVersion = default, string connectionString = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState? provisioningState = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus? clusterStatus = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? highAvailabilityTargetMode = default, long? storageSizeGb = default, int? shardingShardCount = default, string computeTier = default, string backupEarliestRestoreTime = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateEndpointConnection> privateEndpointConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MongoCluster.Models.MongoClusterPreviewFeature> previewFeatures = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties replica = default, string infrastructureVersion = default);
static member MongoClusterProperties : Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode> * Azure.ResourceManager.MongoCluster.Models.MongoClusterRestoreContent * Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicaContent * Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties * string * string * Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState> * Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus> * Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess> * Nullable<Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode> * Nullable<int64> * Nullable<int> * string * string * seq<Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateEndpointConnection> * seq<Azure.ResourceManager.MongoCluster.Models.MongoClusterPreviewFeature> * Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties * string -> Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties
Public Shared Function MongoClusterProperties (Optional createMode As Nullable(Of MongoClusterCreateMode) = Nothing, Optional restoreParameters As MongoClusterRestoreContent = Nothing, Optional replicaParameters As MongoClusterReplicaContent = Nothing, Optional administrator As MongoClusterAdministratorProperties = Nothing, Optional serverVersion As String = Nothing, Optional connectionString As String = Nothing, Optional provisioningState As Nullable(Of MongoClusterProvisioningState) = Nothing, Optional clusterStatus As Nullable(Of MongoClusterStatus) = Nothing, Optional publicNetworkAccess As Nullable(Of MongoClusterPublicNetworkAccess) = Nothing, Optional highAvailabilityTargetMode As Nullable(Of HighAvailabilityMode) = Nothing, Optional storageSizeGb As Nullable(Of Long) = Nothing, Optional shardingShardCount As Nullable(Of Integer) = Nothing, Optional computeTier As String = Nothing, Optional backupEarliestRestoreTime As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of MongoClusterPrivateEndpointConnection) = Nothing, Optional previewFeatures As IEnumerable(Of MongoClusterPreviewFeature) = Nothing, Optional replica As MongoClusterReplicationProperties = Nothing, Optional infrastructureVersion As String = Nothing) As MongoClusterProperties

Parameters

createMode
Nullable<MongoClusterCreateMode>

The mode to create a mongo cluster.

restoreParameters
MongoClusterRestoreContent

The parameters to create a point-in-time restore mongo cluster.

replicaParameters
MongoClusterReplicaContent

The parameters to create a replica mongo cluster.

administrator
MongoClusterAdministratorProperties

The local administrator properties for the mongo cluster.

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.

provisioningState
Nullable<MongoClusterProvisioningState>

The provisioning state of the mongo cluster.

clusterStatus
Nullable<MongoClusterStatus>

The status of the mongo cluster.

publicNetworkAccess
Nullable<MongoClusterPublicNetworkAccess>

Whether or not public endpoint access is allowed for this mongo cluster.

highAvailabilityTargetMode
Nullable<HighAvailabilityMode>

The high availability properties of the mongo cluster.

storageSizeGb
Nullable<Int64>

The storage properties of the mongo cluster.

shardingShardCount
Nullable<Int32>

The sharding properties of the mongo cluster.

computeTier
String

The compute properties of the mongo cluster.

backupEarliestRestoreTime
String

The backup properties of the mongo cluster.

privateEndpointConnections
IEnumerable<MongoClusterPrivateEndpointConnection>

List of private endpoint connections.

previewFeatures
IEnumerable<MongoClusterPreviewFeature>

List of private endpoint connections.

replica
MongoClusterReplicationProperties

The replication properties for the mongo cluster.

infrastructureVersion
String

The infrastructure version the cluster is provisioned on.

Returns

A new MongoClusterProperties instance for mocking.

Applies to