Share via


ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlConfigurationData Method

Definition

Initializes a new instance of CosmosDBForPostgreSqlConfigurationData.

public static Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlConfigurationData CosmosDBForPostgreSqlConfigurationData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlConfigurationDataType? dataType = default, string allowedValues = default, bool? isRestartRequired = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlServerRoleGroupConfiguration> serverRoleGroupConfigurations = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlProvisioningState? provisioningState = default);
static member CosmosDBForPostgreSqlConfigurationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlConfigurationDataType> * string * Nullable<bool> * seq<Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlServerRoleGroupConfiguration> * Nullable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlProvisioningState> -> Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlConfigurationData
Public Shared Function CosmosDBForPostgreSqlConfigurationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional dataType As Nullable(Of CosmosDBForPostgreSqlConfigurationDataType) = Nothing, Optional allowedValues As String = Nothing, Optional isRestartRequired As Nullable(Of Boolean) = Nothing, Optional serverRoleGroupConfigurations As IEnumerable(Of CosmosDBForPostgreSqlServerRoleGroupConfiguration) = Nothing, Optional provisioningState As Nullable(Of CosmosDBForPostgreSqlProvisioningState) = Nothing) As CosmosDBForPostgreSqlConfigurationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Description of the configuration.

dataType
Nullable<CosmosDBForPostgreSqlConfigurationDataType>

Data type of the configuration.

allowedValues
String

Allowed values of the configuration.

isRestartRequired
Nullable<Boolean>

If configuration change requires restart.

serverRoleGroupConfigurations
IEnumerable<CosmosDBForPostgreSqlServerRoleGroupConfiguration>

The list of server role group configuration values.

provisioningState
Nullable<CosmosDBForPostgreSqlProvisioningState>

Provisioning state of the configuration.

Returns

A new CosmosDBForPostgreSqlConfigurationData instance for mocking.

Applies to