Share via


ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlClusterPatch Method

Definition

Initializes a new instance of CosmosDBForPostgreSqlClusterPatch.

public static Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlClusterPatch CosmosDBForPostgreSqlClusterPatch(System.Collections.Generic.IDictionary<string,string> tags = default, string administratorLoginPassword = default, string postgresqlVersion = default, string citusVersion = default, bool? isShardsOnCoordinatorEnabled = default, bool? isHAEnabled = default, string preferredPrimaryZone = default, string coordinatorServerEdition = default, int? coordinatorStorageQuotaInMb = default, int? coordinatorVCores = default, bool? isCoordinatorPublicIPAccessEnabled = default, string nodeServerEdition = default, int? nodeCount = default, int? nodeStorageQuotaInMb = default, int? nodeVCores = default, bool? isNodePublicIPAccessEnabled = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlMaintenanceWindow maintenanceWindow = default);
static member CosmosDBForPostgreSqlClusterPatch : System.Collections.Generic.IDictionary<string, string> * string * string * string * Nullable<bool> * Nullable<bool> * string * string * Nullable<int> * Nullable<int> * Nullable<bool> * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlMaintenanceWindow -> Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlClusterPatch
Public Shared Function CosmosDBForPostgreSqlClusterPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional administratorLoginPassword As String = Nothing, Optional postgresqlVersion As String = Nothing, Optional citusVersion As String = Nothing, Optional isShardsOnCoordinatorEnabled As Nullable(Of Boolean) = Nothing, Optional isHAEnabled As Nullable(Of Boolean) = Nothing, Optional preferredPrimaryZone As String = Nothing, Optional coordinatorServerEdition As String = Nothing, Optional coordinatorStorageQuotaInMb As Nullable(Of Integer) = Nothing, Optional coordinatorVCores As Nullable(Of Integer) = Nothing, Optional isCoordinatorPublicIPAccessEnabled As Nullable(Of Boolean) = Nothing, Optional nodeServerEdition As String = Nothing, Optional nodeCount As Nullable(Of Integer) = Nothing, Optional nodeStorageQuotaInMb As Nullable(Of Integer) = Nothing, Optional nodeVCores As Nullable(Of Integer) = Nothing, Optional isNodePublicIPAccessEnabled As Nullable(Of Boolean) = Nothing, Optional maintenanceWindow As CosmosDBForPostgreSqlMaintenanceWindow = Nothing) As CosmosDBForPostgreSqlClusterPatch

Parameters

tags
IDictionary<String,String>

Application-specific metadata in the form of key-value pairs.

administratorLoginPassword
String

The password of the administrator login. Each cluster is created with pre-defined administrative role called ‘citus’. .

postgresqlVersion
String

The major PostgreSQL version on all cluster servers.

citusVersion
String

The Citus extension version on all cluster servers.

isShardsOnCoordinatorEnabled
Nullable<Boolean>

If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed.

isHAEnabled
Nullable<Boolean>

If high availability (HA) is enabled or not for the cluster.

preferredPrimaryZone
String

Preferred primary availability zone (AZ) for all cluster servers.

coordinatorServerEdition
String

The edition of the coordinator (default: GeneralPurpose).

coordinatorStorageQuotaInMb
Nullable<Int32>

The storage of the coordinator in MB.

coordinatorVCores
Nullable<Int32>

The vCores count of the coordinator (max: 96).

isCoordinatorPublicIPAccessEnabled
Nullable<Boolean>

If public access is enabled on coordinator.

nodeServerEdition
String

The edition of a node (default: MemoryOptimized).

nodeCount
Nullable<Int32>

Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1.

nodeStorageQuotaInMb
Nullable<Int32>

The storage in MB on each worker node.

nodeVCores
Nullable<Int32>

The compute in vCores on each worker node (max: 104).

isNodePublicIPAccessEnabled
Nullable<Boolean>

If public access is enabled on worker nodes.

maintenanceWindow
CosmosDBForPostgreSqlMaintenanceWindow

Maintenance window of a cluster.

Returns

A new CosmosDBForPostgreSqlClusterPatch instance for mocking.

Applies to