Endpoint
Manages a Private Endpoint.
NOTE Private Endpoint is currently in Public Preview.
Azure Private Endpoint is a network interface that connects you privately and securely to a service powered by Azure Private Link. Private Endpoint uses a private IP address from your VNet, effectively bringing the service into your VNet. The service could be an Azure service such as Azure Storage, SQL, etc. or your own Private Link Service.
Create a Endpoint Resource
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);def Endpoint(resource_name, opts=None, location=None, name=None, private_dns_zone_group=None, private_service_connection=None, resource_group_name=None, subnet_id=None, tags=None, __props__=None);func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Endpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Endpoint resource accepts the following input properties:
- Private
Service EndpointConnection Private Service Connection Args A
private_service_connectionblock as defined below.- Resource
Group stringName Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- Subnet
Id string The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Private
Dns EndpointZone Group Private Dns Zone Group Args A
private_dns_zone_groupblock as defined below.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Private
Service EndpointConnection Private Service Connection A
private_service_connectionblock as defined below.- Resource
Group stringName Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- Subnet
Id string The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Private
Dns EndpointZone Group Private Dns Zone Group A
private_dns_zone_groupblock as defined below.- map[string]string
A mapping of tags to assign to the resource.
- private
Service EndpointConnection Private Service Connection A
private_service_connectionblock as defined below.- resource
Group stringName Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- subnet
Id string The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- private
Dns EndpointZone Group Private Dns Zone Group A
private_dns_zone_groupblock as defined below.- {[key: string]: string}
A mapping of tags to assign to the resource.
- private_
service_ Dict[Endpointconnection Private Service Connection] A
private_service_connectionblock as defined below.- resource_
group_ strname Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- subnet_
id str The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- location str
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- private_
dns_ Dict[Endpointzone_ group Private Dns Zone Group] A
private_dns_zone_groupblock as defined below.- Dict[str, str]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:
- Custom
Dns List<EndpointConfigs Custom Dns Config> - Id string
- The provider-assigned unique ID for this managed resource.
- Private
Dns List<EndpointZone Configs Private Dns Zone Config>
- Custom
Dns []EndpointConfigs Custom Dns Config - Id string
- The provider-assigned unique ID for this managed resource.
- Private
Dns []EndpointZone Configs Private Dns Zone Config
- custom
Dns EndpointConfigs Custom Dns Config[] - id string
- The provider-assigned unique ID for this managed resource.
- private
Dns EndpointZone Configs Private Dns Zone Config[]
- custom_
dns_ List[Endpointconfigs Custom Dns Config] - id str
- The provider-assigned unique ID for this managed resource.
- private_
dns_ List[Endpointzone_ configs Private Dns Zone Config]
Look up an Existing Endpoint Resource
Get an existing Endpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EndpointState, opts?: CustomResourceOptions): Endpointstatic get(resource_name, id, opts=None, custom_dns_configs=None, location=None, name=None, private_dns_zone_configs=None, private_dns_zone_group=None, private_service_connection=None, resource_group_name=None, subnet_id=None, tags=None, __props__=None);func GetEndpoint(ctx *Context, name string, id IDInput, state *EndpointState, opts ...ResourceOption) (*Endpoint, error)public static Endpoint Get(string name, Input<string> id, EndpointState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Custom
Dns List<EndpointConfigs Custom Dns Config Args> - Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Private
Dns List<EndpointZone Configs Private Dns Zone Config Args> - Private
Dns EndpointZone Group Private Dns Zone Group Args A
private_dns_zone_groupblock as defined below.- Private
Service EndpointConnection Private Service Connection Args A
private_service_connectionblock as defined below.- Resource
Group stringName Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- Subnet
Id string The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Custom
Dns []EndpointConfigs Custom Dns Config - Location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Private
Dns []EndpointZone Configs Private Dns Zone Config - Private
Dns EndpointZone Group Private Dns Zone Group A
private_dns_zone_groupblock as defined below.- Private
Service EndpointConnection Private Service Connection A
private_service_connectionblock as defined below.- Resource
Group stringName Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- Subnet
Id string The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- custom
Dns EndpointConfigs Custom Dns Config[] - location string
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- private
Dns EndpointZone Configs Private Dns Zone Config[] - private
Dns EndpointZone Group Private Dns Zone Group A
private_dns_zone_groupblock as defined below.- private
Service EndpointConnection Private Service Connection A
private_service_connectionblock as defined below.- resource
Group stringName Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- subnet
Id string The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- custom_
dns_ List[Endpointconfigs Custom Dns Config] - location str
The supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- private_
dns_ List[Endpointzone_ configs Private Dns Zone Config] - private_
dns_ Dict[Endpointzone_ group Private Dns Zone Group] A
private_dns_zone_groupblock as defined below.- private_
service_ Dict[Endpointconnection Private Service Connection] A
private_service_connectionblock as defined below.- resource_
group_ strname Specifies the Name of the Resource Group within which the Private Endpoint should exist. Changing this forces a new resource to be created.
- subnet_
id str The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
Supporting Types
EndpointCustomDnsConfig
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Fqdn string
The fully qualified domain name to the
private_dns_zone.- Ip
Addresses List<string> A list of all IP Addresses that map to the
private_dns_zonefqdn.
- Fqdn string
The fully qualified domain name to the
private_dns_zone.- Ip
Addresses []string A list of all IP Addresses that map to the
private_dns_zonefqdn.
- fqdn string
The fully qualified domain name to the
private_dns_zone.- ip
Addresses string[] A list of all IP Addresses that map to the
private_dns_zonefqdn.
- fqdn str
The fully qualified domain name to the
private_dns_zone.- ip
Addresses List[str] A list of all IP Addresses that map to the
private_dns_zonefqdn.
EndpointPrivateDnsZoneConfig
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Id string
The ID of the Private DNS Zone Config.
- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Private
Dns stringZone Id A list of IP Addresses
- Record
Sets List<EndpointPrivate Dns Zone Config Record Set Args> A
record_setsblock as defined below.
- Id string
The ID of the Private DNS Zone Config.
- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Private
Dns stringZone Id A list of IP Addresses
- Record
Sets []EndpointPrivate Dns Zone Config Record Set A
record_setsblock as defined below.
- id string
The ID of the Private DNS Zone Config.
- name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- private
Dns stringZone Id A list of IP Addresses
- record
Sets EndpointPrivate Dns Zone Config Record Set[] A
record_setsblock as defined below.
- id str
The ID of the Private DNS Zone Config.
- name str
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- private
Dns strZone Id A list of IP Addresses
- record
Sets List[EndpointPrivate Dns Zone Config Record Set] A
record_setsblock as defined below.
EndpointPrivateDnsZoneConfigRecordSet
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Fqdn string
The fully qualified domain name to the
private_dns_zone.- Ip
Addresses List<string> A list of all IP Addresses that map to the
private_dns_zonefqdn.- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Ttl int
The time to live for each connection to the
private_dns_zone.- Type string
The type of DNS record.
- Fqdn string
The fully qualified domain name to the
private_dns_zone.- Ip
Addresses []string A list of all IP Addresses that map to the
private_dns_zonefqdn.- Name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- Ttl int
The time to live for each connection to the
private_dns_zone.- Type string
The type of DNS record.
- fqdn string
The fully qualified domain name to the
private_dns_zone.- ip
Addresses string[] A list of all IP Addresses that map to the
private_dns_zonefqdn.- name string
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- ttl number
The time to live for each connection to the
private_dns_zone.- type string
The type of DNS record.
- fqdn str
The fully qualified domain name to the
private_dns_zone.- ip
Addresses List[str] A list of all IP Addresses that map to the
private_dns_zonefqdn.- name str
Specifies the Name of the Private Endpoint. Changing this forces a new resource to be created.
- ttl float
The time to live for each connection to the
private_dns_zone.- type str
The type of DNS record.
EndpointPrivateDnsZoneGroup
- Name string
Specifies the Name of the Private DNS Zone Group. Changing this forces a new
private_dns_zone_groupresource to be created.- Private
Dns List<string>Zone Ids Specifies the list of Private DNS Zones to include within the
private_dns_zone_group.- Id string
The ID of the Private DNS Zone Config.
EndpointPrivateServiceConnection
- Is
Manual boolConnection Does the Private Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource to be created.
- Name string
Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.
- Private
Connection stringResource Id The ID of the Private Link Enabled Remote Resource which this Private Endpoint should be connected to. Changing this forces a new resource to be created.
- Private
Ip stringAddress The private IP address associated with the private endpoint, note that you will have a private IP address assigned to the private endpoint even if the connection request was
Rejected.- Request
Message string A message passed to the owner of the remote resource when the private endpoint attempts to establish the connection to the remote resource. The request message can be a maximum of
140characters in length. Only valid ifis_manual_connectionis set totrue.- Subresource
Names List<string> A list of subresource names which the Private Endpoint is able to connect to.
subresource_namescorresponds togroup_id. Changing this forces a new resource to be created.
- Is
Manual boolConnection Does the Private Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource to be created.
- Name string
Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.
- Private
Connection stringResource Id The ID of the Private Link Enabled Remote Resource which this Private Endpoint should be connected to. Changing this forces a new resource to be created.
- Private
Ip stringAddress The private IP address associated with the private endpoint, note that you will have a private IP address assigned to the private endpoint even if the connection request was
Rejected.- Request
Message string A message passed to the owner of the remote resource when the private endpoint attempts to establish the connection to the remote resource. The request message can be a maximum of
140characters in length. Only valid ifis_manual_connectionis set totrue.- Subresource
Names []string A list of subresource names which the Private Endpoint is able to connect to.
subresource_namescorresponds togroup_id. Changing this forces a new resource to be created.
- is
Manual booleanConnection Does the Private Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource to be created.
- name string
Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.
- private
Connection stringResource Id The ID of the Private Link Enabled Remote Resource which this Private Endpoint should be connected to. Changing this forces a new resource to be created.
- private
Ip stringAddress The private IP address associated with the private endpoint, note that you will have a private IP address assigned to the private endpoint even if the connection request was
Rejected.- request
Message string A message passed to the owner of the remote resource when the private endpoint attempts to establish the connection to the remote resource. The request message can be a maximum of
140characters in length. Only valid ifis_manual_connectionis set totrue.- subresource
Names string[] A list of subresource names which the Private Endpoint is able to connect to.
subresource_namescorresponds togroup_id. Changing this forces a new resource to be created.
- is
Manual boolConnection Does the Private Endpoint require Manual Approval from the remote resource owner? Changing this forces a new resource to be created.
- name str
Specifies the Name of the Private Service Connection. Changing this forces a new resource to be created.
- private
Connection strResource Id The ID of the Private Link Enabled Remote Resource which this Private Endpoint should be connected to. Changing this forces a new resource to be created.
- private_
ip_ straddress The private IP address associated with the private endpoint, note that you will have a private IP address assigned to the private endpoint even if the connection request was
Rejected.- request
Message str A message passed to the owner of the remote resource when the private endpoint attempts to establish the connection to the remote resource. The request message can be a maximum of
140characters in length. Only valid ifis_manual_connectionis set totrue.- subresource
Names List[str] A list of subresource names which the Private Endpoint is able to connect to.
subresource_namescorresponds togroup_id. Changing this forces a new resource to be created.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.