Sdílet prostřednictvím


ArmNetworkModelFactory.PrivateLinkServiceData Method

Definition

Initializes a new instance of PrivateLinkServiceData.

public static Azure.ResourceManager.Network.PrivateLinkServiceData PrivateLinkServiceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.FrontendIPConfigurationData> loadBalancerFrontendIPConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.PrivateLinkServiceIPConfiguration> ipConfigurations = default, string destinationIPAddress = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceData> networkInterfaces = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData> privateEndpointConnections = default, System.Collections.Generic.IEnumerable<string> visibilitySubscriptions = default, System.Collections.Generic.IEnumerable<string> autoApprovalSubscriptions = default, System.Collections.Generic.IEnumerable<string> fqdns = default, string alias = default, bool? enableProxyProtocol = default);
static member PrivateLinkServiceData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Network.FrontendIPConfigurationData> * seq<Azure.ResourceManager.Network.Models.PrivateLinkServiceIPConfiguration> * string * seq<Azure.ResourceManager.Network.NetworkInterfaceData> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData> * seq<string> * seq<string> * seq<string> * string * Nullable<bool> -> Azure.ResourceManager.Network.PrivateLinkServiceData
Public Shared Function PrivateLinkServiceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional loadBalancerFrontendIPConfigurations As IEnumerable(Of FrontendIPConfigurationData) = Nothing, Optional ipConfigurations As IEnumerable(Of PrivateLinkServiceIPConfiguration) = Nothing, Optional destinationIPAddress As String = Nothing, Optional networkInterfaces As IEnumerable(Of NetworkInterfaceData) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional privateEndpointConnections As IEnumerable(Of NetworkPrivateEndpointConnectionData) = Nothing, Optional visibilitySubscriptions As IEnumerable(Of String) = Nothing, Optional autoApprovalSubscriptions As IEnumerable(Of String) = Nothing, Optional fqdns As IEnumerable(Of String) = Nothing, Optional alias As String = Nothing, Optional enableProxyProtocol As Nullable(Of Boolean) = Nothing) As PrivateLinkServiceData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

extendedLocation
ExtendedLocation

The extended location of the load balancer.

etag
Nullable<ETag>

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

loadBalancerFrontendIPConfigurations
IEnumerable<FrontendIPConfigurationData>

An array of references to the load balancer IP configurations.

ipConfigurations
IEnumerable<PrivateLinkServiceIPConfiguration>

An array of private link service IP configurations.

destinationIPAddress
String

The destination IP address of the private link service.

networkInterfaces
IEnumerable<NetworkInterfaceData>

An array of references to the network interfaces created for this private link service.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the private link service resource.

privateEndpointConnections
IEnumerable<NetworkPrivateEndpointConnectionData>

An array of list about connections to the private endpoint.

visibilitySubscriptions
IEnumerable<String>

The visibility list of the private link service.

autoApprovalSubscriptions
IEnumerable<String>

The auto-approval list of the private link service.

fqdns
IEnumerable<String>

The list of Fqdn.

alias
String

The alias of the private link service.

enableProxyProtocol
Nullable<Boolean>

Whether the private link service is enabled for proxy protocol or not.

Returns

A new PrivateLinkServiceData instance for mocking.

Applies to