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

ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlSimplePrivateEndpointConnection 方法

定义

初始化 CosmosDBForPostgreSqlSimplePrivateEndpointConnection 的新实例。

public static Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlSimplePrivateEndpointConnection CosmosDBForPostgreSqlSimplePrivateEndpointConnection(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier privateEndpointId = default, System.Collections.Generic.IEnumerable<string> groupIds = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlPrivateLinkServiceConnectionState privateLinkServiceConnectionState = default);
static member CosmosDBForPostgreSqlSimplePrivateEndpointConnection : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * seq<string> * Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlPrivateLinkServiceConnectionState -> Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlSimplePrivateEndpointConnection
Public Shared Function CosmosDBForPostgreSqlSimplePrivateEndpointConnection (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional privateEndpointId As ResourceIdentifier = Nothing, Optional groupIds As IEnumerable(Of String) = Nothing, Optional privateLinkServiceConnectionState As CosmosDBForPostgreSqlPrivateLinkServiceConnectionState = Nothing) As CosmosDBForPostgreSqlSimplePrivateEndpointConnection

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

privateEndpointId
ResourceIdentifier

连接所属的专用终结点。

groupIds
IEnumerable<String>

专用终结点连接的组 ID。

privateLinkServiceConnectionState
CosmosDBForPostgreSqlPrivateLinkServiceConnectionState

有关服务使用者和提供程序之间的连接状态的信息集合。

返回

用于模拟的新 CosmosDBForPostgreSqlSimplePrivateEndpointConnection 实例。

适用于