ArmNetworkModelFactory.NetworkPrivateLinkServiceConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
Returns
A new NetworkPrivateLinkServiceConnection instance for mocking.