Compartilhar via


ArmCosmosDBModelFactory.CosmosDBPrivateEndpointConnectionData Method

Definition

Initializes a new instance of CosmosDBPrivateEndpointConnectionData.

public static Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionData CosmosDBPrivateEndpointConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier privateEndpointId = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBPrivateLinkServiceConnectionStateProperty connectionState = default, string groupId = default, string provisioningState = default);
static member CosmosDBPrivateEndpointConnectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Azure.ResourceManager.CosmosDB.Models.CosmosDBPrivateLinkServiceConnectionStateProperty * string * string -> Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionData
Public Shared Function CosmosDBPrivateEndpointConnectionData (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 connectionState As CosmosDBPrivateLinkServiceConnectionStateProperty = Nothing, Optional groupId As String = Nothing, Optional provisioningState As String = Nothing) As CosmosDBPrivateEndpointConnectionData

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.

connectionState
CosmosDBPrivateLinkServiceConnectionStateProperty

Connection State of the Private Endpoint Connection.

groupId
String

Group id of the private endpoint.

provisioningState
String

Provisioning state of the private endpoint.

Returns

A new CosmosDBPrivateEndpointConnectionData instance for mocking.

Applies to