Sdílet prostřednictvím


ArmNetworkModelFactory.PrivateEndpointData Method

Definition

Initializes a new instance of PrivateEndpointData.

public static Azure.ResourceManager.Network.PrivateEndpointData PrivateEndpointData (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, Azure.ResourceManager.Network.SubnetData subnet = 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.Models.NetworkPrivateLinkServiceConnection> privateLinkServiceConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection> manualPrivateLinkServiceConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.CustomDnsConfigProperties> customDnsConfigs = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ApplicationSecurityGroupData> applicationSecurityGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.PrivateEndpointIPConfiguration> ipConfigurations = default, string customNetworkInterfaceName = default);
static member PrivateEndpointData : 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> * Azure.ResourceManager.Network.SubnetData * seq<Azure.ResourceManager.Network.NetworkInterfaceData> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection> * seq<Azure.ResourceManager.Network.Models.NetworkPrivateLinkServiceConnection> * seq<Azure.ResourceManager.Network.Models.CustomDnsConfigProperties> * seq<Azure.ResourceManager.Network.ApplicationSecurityGroupData> * seq<Azure.ResourceManager.Network.Models.PrivateEndpointIPConfiguration> * string -> Azure.ResourceManager.Network.PrivateEndpointData
Public Shared Function PrivateEndpointData (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 subnet As SubnetData = Nothing, Optional networkInterfaces As IEnumerable(Of NetworkInterfaceData) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional privateLinkServiceConnections As IEnumerable(Of NetworkPrivateLinkServiceConnection) = Nothing, Optional manualPrivateLinkServiceConnections As IEnumerable(Of NetworkPrivateLinkServiceConnection) = Nothing, Optional customDnsConfigs As IEnumerable(Of CustomDnsConfigProperties) = Nothing, Optional applicationSecurityGroups As IEnumerable(Of ApplicationSecurityGroupData) = Nothing, Optional ipConfigurations As IEnumerable(Of PrivateEndpointIPConfiguration) = Nothing, Optional customNetworkInterfaceName As String = Nothing) As PrivateEndpointData

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.

subnet
SubnetData

The ID of the subnet from which the private IP will be allocated.

networkInterfaces
IEnumerable<NetworkInterfaceData>

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

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the private endpoint resource.

privateLinkServiceConnections
IEnumerable<NetworkPrivateLinkServiceConnection>

A grouping of information about the connection to the remote resource.

manualPrivateLinkServiceConnections
IEnumerable<NetworkPrivateLinkServiceConnection>

A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.

customDnsConfigs
IEnumerable<CustomDnsConfigProperties>

An array of custom dns configurations.

applicationSecurityGroups
IEnumerable<ApplicationSecurityGroupData>

Application security groups in which the private endpoint IP configuration is included.

ipConfigurations
IEnumerable<PrivateEndpointIPConfiguration>

A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.

customNetworkInterfaceName
String

The custom name of the network interface attached to the private endpoint.

Returns

A new PrivateEndpointData instance for mocking.

Applies to