LinkService
Manages a Private Link Service.
NOTE Private Link is now in GA.
Create a LinkService Resource
new LinkService(name: string, args: LinkServiceArgs, opts?: CustomResourceOptions);def LinkService(resource_name, opts=None, auto_approval_subscription_ids=None, enable_proxy_protocol=None, load_balancer_frontend_ip_configuration_ids=None, location=None, name=None, nat_ip_configurations=None, resource_group_name=None, tags=None, visibility_subscription_ids=None, __props__=None);func NewLinkService(ctx *Context, name string, args LinkServiceArgs, opts ...ResourceOption) (*LinkService, error)public LinkService(string name, LinkServiceArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args LinkServiceArgs
- 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 LinkServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LinkServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
LinkService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The LinkService resource accepts the following input properties:
- Load
Balancer List<string>Frontend Ip Configuration Ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- Nat
Ip List<LinkConfigurations Service Nat Ip Configuration Args> One or more (up to 8)
nat_ip_configurationblock as defined below.- Resource
Group stringName The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- Auto
Approval List<string>Subscription Ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- Enable
Proxy boolProtocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- Visibility
Subscription List<string>Ids A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
- Load
Balancer []stringFrontend Ip Configuration Ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- Nat
Ip []LinkConfigurations Service Nat Ip Configuration One or more (up to 8)
nat_ip_configurationblock as defined below.- Resource
Group stringName The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- Auto
Approval []stringSubscription Ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- Enable
Proxy boolProtocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- Visibility
Subscription []stringIds A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
- load
Balancer string[]Frontend Ip Configuration Ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- nat
Ip LinkConfigurations Service Nat Ip Configuration[] One or more (up to 8)
nat_ip_configurationblock as defined below.- resource
Group stringName The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- auto
Approval string[]Subscription Ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- enable
Proxy booleanProtocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- visibility
Subscription string[]Ids A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
- load_
balancer_ List[str]frontend_ ip_ configuration_ ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- nat_
ip_ List[Linkconfigurations Service Nat Ip Configuration] One or more (up to 8)
nat_ip_configurationblock as defined below.- resource_
group_ strname The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- auto_
approval_ List[str]subscription_ ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- enable_
proxy_ boolprotocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- visibility_
subscription_ List[str]ids A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
Outputs
All input properties are implicitly available as output properties. Additionally, the LinkService resource produces the following output properties:
Look up an Existing LinkService Resource
Get an existing LinkService 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?: LinkServiceState, opts?: CustomResourceOptions): LinkServicestatic get(resource_name, id, opts=None, alias=None, auto_approval_subscription_ids=None, enable_proxy_protocol=None, load_balancer_frontend_ip_configuration_ids=None, location=None, name=None, nat_ip_configurations=None, resource_group_name=None, tags=None, visibility_subscription_ids=None, __props__=None);func GetLinkService(ctx *Context, name string, id IDInput, state *LinkServiceState, opts ...ResourceOption) (*LinkService, error)public static LinkService Get(string name, Input<string> id, LinkServiceState? 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:
- Alias string
A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.
- Auto
Approval List<string>Subscription Ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- Enable
Proxy boolProtocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- Load
Balancer List<string>Frontend Ip Configuration Ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- Nat
Ip List<LinkConfigurations Service Nat Ip Configuration Args> One or more (up to 8)
nat_ip_configurationblock as defined below.- Resource
Group stringName The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- Visibility
Subscription List<string>Ids A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
- Alias string
A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.
- Auto
Approval []stringSubscription Ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- Enable
Proxy boolProtocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- Load
Balancer []stringFrontend Ip Configuration Ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- Nat
Ip []LinkConfigurations Service Nat Ip Configuration One or more (up to 8)
nat_ip_configurationblock as defined below.- Resource
Group stringName The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- Visibility
Subscription []stringIds A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
- alias string
A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.
- auto
Approval string[]Subscription Ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- enable
Proxy booleanProtocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- load
Balancer string[]Frontend Ip Configuration Ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- nat
Ip LinkConfigurations Service Nat Ip Configuration[] One or more (up to 8)
nat_ip_configurationblock as defined below.- resource
Group stringName The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- visibility
Subscription string[]Ids A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
- alias str
A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.
- auto_
approval_ List[str]subscription_ ids A list of Subscription UUID/GUID’s that will be automatically be able to use this Private Link Service.
- enable_
proxy_ boolprotocol Should the Private Link Service support the Proxy Protocol? Defaults to
false.- load_
balancer_ List[str]frontend_ ip_ configuration_ ids A list of Frontend IP Configuration ID’s from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running.
- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
- nat_
ip_ List[Linkconfigurations Service Nat Ip Configuration] One or more (up to 8)
nat_ip_configurationblock as defined below.- resource_
group_ strname The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
- visibility_
subscription_ List[str]ids A list of Subscription UUID/GUID’s that will be able to see this Private Link Service.
Supporting Types
LinkServiceNatIpConfiguration
- Name string
Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.
- Primary bool
Is this is the Primary IP Configuration? Changing this forces a new resource to be created.
- Subnet
Id string Specifies the ID of the Subnet which should be used for the Private Link Service.
- Private
Ip stringAddress Specifies a Private Static IP Address for this IP Configuration.
- Private
Ip stringAddress Version The version of the IP Protocol which should be used. At this time the only supported value is
IPv4. Defaults toIPv4.
- Name string
Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.
- Primary bool
Is this is the Primary IP Configuration? Changing this forces a new resource to be created.
- Subnet
Id string Specifies the ID of the Subnet which should be used for the Private Link Service.
- Private
Ip stringAddress Specifies a Private Static IP Address for this IP Configuration.
- Private
Ip stringAddress Version The version of the IP Protocol which should be used. At this time the only supported value is
IPv4. Defaults toIPv4.
- name string
Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.
- primary boolean
Is this is the Primary IP Configuration? Changing this forces a new resource to be created.
- subnet
Id string Specifies the ID of the Subnet which should be used for the Private Link Service.
- private
Ip stringAddress Specifies a Private Static IP Address for this IP Configuration.
- private
Ip stringAddress Version The version of the IP Protocol which should be used. At this time the only supported value is
IPv4. Defaults toIPv4.
- name str
Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.
- primary bool
Is this is the Primary IP Configuration? Changing this forces a new resource to be created.
- subnet_
id str Specifies the ID of the Subnet which should be used for the Private Link Service.
- private
Ip strAddress Version The version of the IP Protocol which should be used. At this time the only supported value is
IPv4. Defaults toIPv4.- private_
ip_ straddress Specifies a Private Static IP Address for this IP Configuration.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.