你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PrivateEndpoint 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PrivateEndpoint()
初始化 PrivateEndpoint 类的新实例。
public PrivateEndpoint();
Public Sub New ()
适用于
PrivateEndpoint(String, String, String, String, IDictionary<String, String>, ExtendedLocation, Subnet, IList<NetworkInterface>, String, IList<PrivateLinkServiceConnection>, IList<PrivateLinkServiceConnection>, IList<CustomDnsConfigPropertiesFormat>, IList<ApplicationSecurityGroup>, IList<PrivateEndpointIPConfiguration>, String, String)
初始化 PrivateEndpoint 类的新实例。
public PrivateEndpoint(string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.Network.Models.Subnet subnet = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterface> networkInterfaces = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PrivateLinkServiceConnection> privateLinkServiceConnections = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PrivateLinkServiceConnection> manualPrivateLinkServiceConnections = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.CustomDnsConfigPropertiesFormat> customDnsConfigs = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationSecurityGroup> applicationSecurityGroups = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PrivateEndpointIPConfiguration> ipConfigurations = default, string customNetworkInterfaceName = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.PrivateEndpoint : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.ExtendedLocation * Microsoft.Azure.Management.Network.Models.Subnet * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterface> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PrivateLinkServiceConnection> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PrivateLinkServiceConnection> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.CustomDnsConfigPropertiesFormat> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationSecurityGroup> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PrivateEndpointIPConfiguration> * string * string -> Microsoft.Azure.Management.Network.Models.PrivateEndpoint
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional subnet As Subnet = Nothing, Optional networkInterfaces As IList(Of NetworkInterface) = Nothing, Optional provisioningState As String = Nothing, Optional privateLinkServiceConnections As IList(Of PrivateLinkServiceConnection) = Nothing, Optional manualPrivateLinkServiceConnections As IList(Of PrivateLinkServiceConnection) = Nothing, Optional customDnsConfigs As IList(Of CustomDnsConfigPropertiesFormat) = Nothing, Optional applicationSecurityGroups As IList(Of ApplicationSecurityGroup) = Nothing, Optional ipConfigurations As IList(Of PrivateEndpointIPConfiguration) = Nothing, Optional customNetworkInterfaceName As String = Nothing, Optional etag As String = Nothing)
参数
- id
- String
资源 ID。
- name
- String
资源名称。
- type
- String
资源类型。
- location
- String
资源位置。
- tags
- IDictionary<String,String>
资源标记。
- extendedLocation
- ExtendedLocation
负载均衡器的扩展位置。
- subnet
- Subnet
将从中分配专用 IP 的子网的 ID。
- networkInterfaces
- IList<NetworkInterface>
对为此专用终结点创建的网络接口的引用数组。
- provisioningState
- String
专用终结点资源的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”
- privateLinkServiceConnections
- IList<PrivateLinkServiceConnection>
有关与远程资源的连接的信息分组。
- manualPrivateLinkServiceConnections
- IList<PrivateLinkServiceConnection>
有关与远程资源的连接的信息分组。 当网络管理员无权批准与远程资源的连接时使用。
- customDnsConfigs
- IList<CustomDnsConfigPropertiesFormat>
自定义 DNS 配置的数组。
- applicationSecurityGroups
- IList<ApplicationSecurityGroup>
包含专用终结点 IP 配置的应用程序安全组。
- ipConfigurations
- IList<PrivateEndpointIPConfiguration>
专用终结点的 IP 配置列表。 这将用于映射到第一方服务的终结点。
- customNetworkInterfaceName
- String
附加到专用终结点的网络接口的自定义名称。
- etag
- String
一个唯一的只读字符串,每当资源更新时都会更改。