Share via


ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlSimplePrivateEndpointConnection Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

privateEndpointId
ResourceIdentifier

Private endpoint which the connection belongs to.

groupIds
IEnumerable<String>

Group ids of the private endpoint connection.

privateLinkServiceConnectionState
CosmosDBForPostgreSqlPrivateLinkServiceConnectionState

A collection of information about the state of the connection between service consumer and provider.

Returns

A new CosmosDBForPostgreSqlSimplePrivateEndpointConnection instance for mocking.

Applies to