Share via


ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlClusterServerData Method

Definition

Initializes a new instance of CosmosDBForPostgreSqlClusterServerData.

public static Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlClusterServerData CosmosDBForPostgreSqlClusterServerData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serverEdition = default, int? storageQuotaInMb = default, int? vCores = default, bool? isHAEnabled = default, bool? isPublicIPAccessEnabled = default, bool? isReadOnly = default, string administratorLogin = default, string fullyQualifiedDomainName = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlServerRole? role = default, string state = default, string haState = default, string availabilityZone = default, string postgresqlVersion = default, string citusVersion = default);
static member CosmosDBForPostgreSqlClusterServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * Nullable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlServerRole> * string * string * string * string * string -> Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlClusterServerData
Public Shared Function CosmosDBForPostgreSqlClusterServerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serverEdition As String = Nothing, Optional storageQuotaInMb As Nullable(Of Integer) = Nothing, Optional vCores As Nullable(Of Integer) = Nothing, Optional isHAEnabled As Nullable(Of Boolean) = Nothing, Optional isPublicIPAccessEnabled As Nullable(Of Boolean) = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing, Optional administratorLogin As String = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional role As Nullable(Of CosmosDBForPostgreSqlServerRole) = Nothing, Optional state As String = Nothing, Optional haState As String = Nothing, Optional availabilityZone As String = Nothing, Optional postgresqlVersion As String = Nothing, Optional citusVersion As String = Nothing) As CosmosDBForPostgreSqlClusterServerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

serverEdition
String

The edition of a server.

storageQuotaInMb
Nullable<Int32>

The storage of a server in MB.

vCores
Nullable<Int32>

The vCores count of a server.

isHAEnabled
Nullable<Boolean>

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

isPublicIPAccessEnabled
Nullable<Boolean>

If public access is enabled on server.

isReadOnly
Nullable<Boolean>

If server database is set to read-only by system maintenance depending on high disk space usage.

administratorLogin
String

The administrator's login name of the servers in the cluster.

fullyQualifiedDomainName
String

The fully qualified domain name of a server.

role
Nullable<CosmosDBForPostgreSqlServerRole>

The role of server in the cluster.

state
String

A state of a cluster/server that is visible to user.

haState
String

A state of HA feature for the cluster.

availabilityZone
String

Availability Zone information of the server.

postgresqlVersion
String

The major PostgreSQL version of server.

citusVersion
String

The Citus extension version of server.

Returns

A new CosmosDBForPostgreSqlClusterServerData instance for mocking.

Applies to