你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlConfigurationData 方法

定义

重载

CosmosDBForPostgreSqlConfigurationData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<CosmosDBForPostgreSqlConfigurationDataType>, String, Nullable<Boolean>, IEnumerable<CosmosDBForPostgreSqlServerRoleGroupConfiguration>, Nullable<CosmosDBForPostgreSqlProvisioningState>)

初始化 CosmosDBForPostgreSqlConfigurationData 的新实例。

CosmosDBForPostgreSqlConfigurationData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<CosmosDBForPostgreSqlConfigurationDataType>, String, Nullable<Boolean>, IEnumerable<CosmosDBForPostgreSqlServerRoleGroupConfiguration>, Nullable<ProvisioningState>)

初始化 CosmosDBForPostgreSqlConfigurationData 的新实例。

CosmosDBForPostgreSqlConfigurationData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<CosmosDBForPostgreSqlConfigurationDataType>, String, Nullable<Boolean>, IEnumerable<CosmosDBForPostgreSqlServerRoleGroupConfiguration>, Nullable<CosmosDBForPostgreSqlProvisioningState>)

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

description
String

配置说明。

dataType
Nullable<CosmosDBForPostgreSqlConfigurationDataType>

配置的数据类型。

allowedValues
String

配置的允许值。

isRestartRequired
Nullable<Boolean>

如果配置更改需要重启。

serverRoleGroupConfigurations
IEnumerable<CosmosDBForPostgreSqlServerRoleGroupConfiguration>

服务器角色组配置值的列表。

provisioningState
Nullable<CosmosDBForPostgreSqlProvisioningState>

配置的预配状态。

返回

用于模拟的新 CosmosDBForPostgreSqlConfigurationData 实例。

适用于

CosmosDBForPostgreSqlConfigurationData(ResourceIdentifier, String, ResourceType, SystemData, String, Nullable<CosmosDBForPostgreSqlConfigurationDataType>, String, Nullable<Boolean>, IEnumerable<CosmosDBForPostgreSqlServerRoleGroupConfiguration>, Nullable<ProvisioningState>)

初始化 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.ProvisioningState? 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.ProvisioningState> -> 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 ProvisioningState) = Nothing) As CosmosDBForPostgreSqlConfigurationData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

description
String

配置说明。

dataType
Nullable<CosmosDBForPostgreSqlConfigurationDataType>

配置的数据类型。

allowedValues
String

配置的允许值。

isRestartRequired
Nullable<Boolean>

如果配置更改需要重启。

serverRoleGroupConfigurations
IEnumerable<CosmosDBForPostgreSqlServerRoleGroupConfiguration>

服务器角色组配置值的列表。

provisioningState
Nullable<ProvisioningState>

配置的预配状态。

返回

用于模拟的新 CosmosDBForPostgreSqlConfigurationData 实例。

适用于