We recommend using Azure Native.
azure.appconfiguration.LicationLoadBalancerFrontend
Explore with Pulumi AI
Manages an Application Gateway for Containers Frontend.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.appconfiguration.LicationLoadBalancer("example", {
name: "example",
resourceGroupName: "example",
location: "West Europe",
});
const exampleLicationLoadBalancerFrontend = new azure.appconfiguration.LicationLoadBalancerFrontend("example", {
name: "example",
applicationLoadBalancerId: example.id,
});
import pulumi
import pulumi_azure as azure
example = azure.appconfiguration.LicationLoadBalancer("example",
name="example",
resource_group_name="example",
location="West Europe")
example_lication_load_balancer_frontend = azure.appconfiguration.LicationLoadBalancerFrontend("example",
name="example",
application_load_balancer_id=example.id)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appconfiguration"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := appconfiguration.NewLicationLoadBalancer(ctx, "example", &appconfiguration.LicationLoadBalancerArgs{
Name: pulumi.String("example"),
ResourceGroupName: pulumi.String("example"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = appconfiguration.NewLicationLoadBalancerFrontend(ctx, "example", &appconfiguration.LicationLoadBalancerFrontendArgs{
Name: pulumi.String("example"),
ApplicationLoadBalancerId: example.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.AppConfiguration.LicationLoadBalancer("example", new()
{
Name = "example",
ResourceGroupName = "example",
Location = "West Europe",
});
var exampleLicationLoadBalancerFrontend = new Azure.AppConfiguration.LicationLoadBalancerFrontend("example", new()
{
Name = "example",
ApplicationLoadBalancerId = example.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.appconfiguration.LicationLoadBalancer;
import com.pulumi.azure.appconfiguration.LicationLoadBalancerArgs;
import com.pulumi.azure.appconfiguration.LicationLoadBalancerFrontend;
import com.pulumi.azure.appconfiguration.LicationLoadBalancerFrontendArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LicationLoadBalancer("example", LicationLoadBalancerArgs.builder()
.name("example")
.resourceGroupName("example")
.location("West Europe")
.build());
var exampleLicationLoadBalancerFrontend = new LicationLoadBalancerFrontend("exampleLicationLoadBalancerFrontend", LicationLoadBalancerFrontendArgs.builder()
.name("example")
.applicationLoadBalancerId(example.id())
.build());
}
}
resources:
example:
type: azure:appconfiguration:LicationLoadBalancer
properties:
name: example
resourceGroupName: example
location: West Europe
exampleLicationLoadBalancerFrontend:
type: azure:appconfiguration:LicationLoadBalancerFrontend
name: example
properties:
name: example
applicationLoadBalancerId: ${example.id}
Create LicationLoadBalancerFrontend Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LicationLoadBalancerFrontend(name: string, args: LicationLoadBalancerFrontendArgs, opts?: CustomResourceOptions);
@overload
def LicationLoadBalancerFrontend(resource_name: str,
args: LicationLoadBalancerFrontendArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LicationLoadBalancerFrontend(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_load_balancer_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewLicationLoadBalancerFrontend(ctx *Context, name string, args LicationLoadBalancerFrontendArgs, opts ...ResourceOption) (*LicationLoadBalancerFrontend, error)
public LicationLoadBalancerFrontend(string name, LicationLoadBalancerFrontendArgs args, CustomResourceOptions? opts = null)
public LicationLoadBalancerFrontend(String name, LicationLoadBalancerFrontendArgs args)
public LicationLoadBalancerFrontend(String name, LicationLoadBalancerFrontendArgs args, CustomResourceOptions options)
type: azure:appconfiguration:LicationLoadBalancerFrontend
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LicationLoadBalancerFrontendArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LicationLoadBalancerFrontendArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LicationLoadBalancerFrontendArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LicationLoadBalancerFrontendArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LicationLoadBalancerFrontendArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var licationLoadBalancerFrontendResource = new Azure.AppConfiguration.LicationLoadBalancerFrontend("licationLoadBalancerFrontendResource", new()
{
ApplicationLoadBalancerId = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := appconfiguration.NewLicationLoadBalancerFrontend(ctx, "licationLoadBalancerFrontendResource", &appconfiguration.LicationLoadBalancerFrontendArgs{
ApplicationLoadBalancerId: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var licationLoadBalancerFrontendResource = new LicationLoadBalancerFrontend("licationLoadBalancerFrontendResource", LicationLoadBalancerFrontendArgs.builder()
.applicationLoadBalancerId("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
lication_load_balancer_frontend_resource = azure.appconfiguration.LicationLoadBalancerFrontend("licationLoadBalancerFrontendResource",
application_load_balancer_id="string",
name="string",
tags={
"string": "string",
})
const licationLoadBalancerFrontendResource = new azure.appconfiguration.LicationLoadBalancerFrontend("licationLoadBalancerFrontendResource", {
applicationLoadBalancerId: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure:appconfiguration:LicationLoadBalancerFrontend
properties:
applicationLoadBalancerId: string
name: string
tags:
string: string
LicationLoadBalancerFrontend Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LicationLoadBalancerFrontend resource accepts the following input properties:
- Application
Load stringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- Application
Load stringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application
Load StringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application
Load stringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- name string
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application_
load_ strbalancer_ id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- name str
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application
Load StringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
Outputs
All input properties are implicitly available as output properties. Additionally, the LicationLoadBalancerFrontend resource produces the following output properties:
- Fully
Qualified stringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- Id string
- The provider-assigned unique ID for this managed resource.
- Fully
Qualified stringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- Id string
- The provider-assigned unique ID for this managed resource.
- fully
Qualified StringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- id String
- The provider-assigned unique ID for this managed resource.
- fully
Qualified stringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- id string
- The provider-assigned unique ID for this managed resource.
- fully_
qualified_ strdomain_ name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- id str
- The provider-assigned unique ID for this managed resource.
- fully
Qualified StringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing LicationLoadBalancerFrontend Resource
Get an existing LicationLoadBalancerFrontend 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?: LicationLoadBalancerFrontendState, opts?: CustomResourceOptions): LicationLoadBalancerFrontend
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_load_balancer_id: Optional[str] = None,
fully_qualified_domain_name: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> LicationLoadBalancerFrontend
func GetLicationLoadBalancerFrontend(ctx *Context, name string, id IDInput, state *LicationLoadBalancerFrontendState, opts ...ResourceOption) (*LicationLoadBalancerFrontend, error)
public static LicationLoadBalancerFrontend Get(string name, Input<string> id, LicationLoadBalancerFrontendState? state, CustomResourceOptions? opts = null)
public static LicationLoadBalancerFrontend get(String name, Output<String> id, LicationLoadBalancerFrontendState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Application
Load stringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- Fully
Qualified stringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- Name string
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- Application
Load stringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- Fully
Qualified stringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- Name string
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application
Load StringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- fully
Qualified StringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- name String
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application
Load stringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- fully
Qualified stringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- name string
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application_
load_ strbalancer_ id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- fully_
qualified_ strdomain_ name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- name str
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
- application
Load StringBalancer Id - The ID of the Application Gateway for Containers. Changing this forces a new resource to be created.
- fully
Qualified StringDomain Name - The Fully Qualified Domain Name of the DNS record associated to an Application Gateway for Containers Frontend.
- name String
- The name which should be used for this Application Gateway for Containers Frontend. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags which should be assigned to the Application Gateway for Containers Frontend.
Import
Application Gateway for Containers Frontend can be imported using the resource id
, e.g.
$ pulumi import azure:appconfiguration/licationLoadBalancerFrontend:LicationLoadBalancerFrontend example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ServiceNetworking/trafficControllers/alb1/frontends/frontend1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.