Language

ArmNetworkModelFactory.NetworkPrivateLinkServiceConnection Method

Definition

public static Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection NetworkPrivateLinkServiceConnection(Azure.Core.ResourceIdentifier id, string name, string type, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState, Azure.Core.ResourceIdentifier privateLinkServiceId, System.Collections.Generic.IEnumerable<string> groupIds, string requestMessage, Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnectionState privateLinkServiceConnectionState, Azure.Core.ResourceIdentifier approvalReferencePrivateEndpointId, Azure.ETag? eTag);
static member NetworkPrivateLinkServiceConnection : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * seq<string> * string * Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnectionState * Azure.Core.ResourceIdentifier * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection
Public Shared Function NetworkPrivateLinkServiceConnection (id As ResourceIdentifier, name As String, type As String, provisioningState As Nullable(Of NetworkProvisioningState), privateLinkServiceId As ResourceIdentifier, groupIds As IEnumerable(Of String), requestMessage As String, privateLinkServiceConnectionState As NetworkPrivateLinkServiceConnectionState, approvalReferencePrivateEndpointId As ResourceIdentifier, eTag As Nullable(Of ETag)) As NetworkPrivateLinkServiceConnection

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Name of the resource.

type
String

Resource type.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the private link service connection resource.

privateLinkServiceId
ResourceIdentifier

The resource id of private link service.

groupIds
IEnumerable<String>

The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.

requestMessage
String

A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.

privateLinkServiceConnectionState
NetworkPrivateLinkServiceConnectionState

A collection of read-only information about the state of the connection to the remote resource.

approvalReferencePrivateEndpointId
ResourceIdentifier

The ARM resource id of an existing approved private endpoint whose approval state is inherited by this connection.

eTag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

Returns

A new NetworkPrivateLinkServiceConnection instance for mocking.

Applies to