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 = default, string name = default, string type = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier privateLinkServiceId = default, System.Collections.Generic.IEnumerable<string> groupIds = default, string requestMessage = default, Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnectionState privateLinkServiceConnectionState = default, Azure.ETag? eTag = default);
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 * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection
Public Shared Function NetworkPrivateLinkServiceConnection (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional privateLinkServiceId As ResourceIdentifier = Nothing, Optional groupIds As IEnumerable(Of String) = Nothing, Optional requestMessage As String = Nothing, Optional privateLinkServiceConnectionState As NetworkPrivateLinkServiceConnectionState = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) 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.
Returns
A new NetworkPrivateLinkServiceConnection instance for mocking.