LinkServiceArgs

data class LinkServiceArgs(val autoApprovalSubscriptionIds: Output<List<String>>? = null, val enableProxyProtocol: Output<Boolean>? = null, val fqdns: Output<List<String>>? = null, val loadBalancerFrontendIpConfigurationIds: Output<List<String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val natIpConfigurations: Output<List<LinkServiceNatIpConfigurationArgs>>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val visibilitySubscriptionIds: Output<List<String>>? = null) : ConvertibleToJava<LinkServiceArgs>

Manages a Private Link Service.

NOTE Private Link is now in GA.

Example Usage

resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleVirtualNetwork:
type: azure:network:VirtualNetwork
name: example
properties:
name: example-network
resourceGroupName: ${example.name}
location: ${example.location}
addressSpaces:
- 10.5.0.0/16
exampleSubnet:
type: azure:network:Subnet
name: example
properties:
name: example-subnet
resourceGroupName: ${example.name}
virtualNetworkName: ${exampleVirtualNetwork.name}
addressPrefixes:
- 10.5.1.0/24
enforcePrivateLinkServiceNetworkPolicies: true
examplePublicIp:
type: azure:network:PublicIp
name: example
properties:
name: example-api
sku: Standard
location: ${example.location}
resourceGroupName: ${example.name}
allocationMethod: Static
exampleLoadBalancer:
type: azure:lb:LoadBalancer
name: example
properties:
name: example-lb
sku: Standard
location: ${example.location}
resourceGroupName: ${example.name}
frontendIpConfigurations:
- name: ${examplePublicIp.name}
publicIpAddressId: ${examplePublicIp.id}
exampleLinkService:
type: azure:privatedns:LinkService
name: example
properties:
name: example-privatelink
resourceGroupName: ${example.name}
location: ${example.location}
autoApprovalSubscriptionIds:
- 00000000-0000-0000-0000-000000000000
visibilitySubscriptionIds:
- 00000000-0000-0000-0000-000000000000
loadBalancerFrontendIpConfigurationIds:
- ${exampleLoadBalancer.frontendIpConfigurations[0].id}
natIpConfigurations:
- name: primary
privateIpAddress: 10.5.1.17
privateIpAddressVersion: IPv4
subnetId: ${exampleSubnet.id}
primary: true
- name: secondary
privateIpAddress: 10.5.1.18
privateIpAddressVersion: IPv4
subnetId: ${exampleSubnet.id}
primary: false

Import

Private Link Services can be imported using the resource id, e.g.

$ pulumi import azure:privatedns/linkService:LinkService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/privateLinkServices/service1

Constructors

Link copied to clipboard
constructor(autoApprovalSubscriptionIds: Output<List<String>>? = null, enableProxyProtocol: Output<Boolean>? = null, fqdns: Output<List<String>>? = null, loadBalancerFrontendIpConfigurationIds: Output<List<String>>? = null, location: Output<String>? = null, name: Output<String>? = null, natIpConfigurations: Output<List<LinkServiceNatIpConfigurationArgs>>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, visibilitySubscriptionIds: Output<List<String>>? = null)

Properties

Link copied to clipboard

A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service.

Link copied to clipboard
val enableProxyProtocol: Output<Boolean>? = null

Should the Private Link Service support the Proxy Protocol?

Link copied to clipboard
val fqdns: Output<List<String>>? = null

List of FQDNs allowed for the Private Link Service.

Link copied to clipboard

A list of Frontend IP Configuration IDs 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. Changing this forces a new resource to be created.

Link copied to clipboard
val location: Output<String>? = null

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of this Private Link Service. Changing this forces a new resource to be created.

Link copied to clipboard

One or more (up to 8) nat_ip_configuration block as defined below.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val visibilitySubscriptionIds: Output<List<String>>? = null

A list of Subscription UUID/GUID's that will be able to see this Private Link Service.

Functions

Link copied to clipboard
open override fun toJava(): LinkServiceArgs