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.
Initializes a new instance of NetworkPrivateLinkServiceConnection.
public static Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection NetworkPrivateLinkServiceConnection (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = 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 connectionState = default);
static member NetworkPrivateLinkServiceConnection : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * seq<string> * string * Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnectionState -> Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection
Public Shared Function NetworkPrivateLinkServiceConnection (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = 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 connectionState As NetworkPrivateLinkServiceConnectionState = Nothing) As NetworkPrivateLinkServiceConnection
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
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.
- connectionState
- NetworkPrivateLinkServiceConnectionState
A collection of read-only information about the state of the connection to the remote resource.
Returns
A new NetworkPrivateLinkServiceConnection instance for mocking.
Applies to
Azure SDK for .NET