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

ArmNeonPostgresModelFactory.ConnectionUriProperties Method

Definition

Initializes a new instance of ConnectionUriProperties.

public static Azure.ResourceManager.NeonPostgres.Models.ConnectionUriProperties ConnectionUriProperties(string projectId = default, string branchId = default, string databaseName = default, string roleName = default, string endpointId = default, bool? isPooled = default, string connectionStringUri = default);
static member ConnectionUriProperties : string * string * string * string * string * Nullable<bool> * string -> Azure.ResourceManager.NeonPostgres.Models.ConnectionUriProperties
Public Shared Function ConnectionUriProperties (Optional projectId As String = Nothing, Optional branchId As String = Nothing, Optional databaseName As String = Nothing, Optional roleName As String = Nothing, Optional endpointId As String = Nothing, Optional isPooled As Nullable(Of Boolean) = Nothing, Optional connectionStringUri As String = Nothing) As ConnectionUriProperties

Parameters

projectId
String

Project Id associated with this connection.

branchId
String

Branch Id associated with this connection.

databaseName
String

Database name associated with this connection.

roleName
String

The role name used for authentication.

endpointId
String

the endpoint Id with this connection.

isPooled
Nullable<Boolean>

Indicates if the connection is pooled.

connectionStringUri
String

connection uri returned for the database.

Returns

A new ConnectionUriProperties instance for mocking.

Applies to