ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlClusterPatch 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 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.
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.
- preferredPrimaryZone
- String
Preferred primary availability zone (AZ) for all cluster servers.
- coordinatorServerEdition
- String
The edition of the coordinator (default: GeneralPurpose).
- nodeServerEdition
- String
The edition of a node (default: MemoryOptimized).
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.
- maintenanceWindow
- CosmosDBForPostgreSqlMaintenanceWindow
Maintenance window of a cluster.
Returns
A new CosmosDBForPostgreSqlClusterPatch instance for mocking.